Package Details: llvm7 7.1.0-4

Git Clone URL: https://aur.archlinux.org/llvm7.git (read-only, click to copy)
Package Base: llvm7
Description: Collection of modular and reusable compiler and toolchain technologies
Upstream URL: https://llvm.org/
Keywords: llvm llvm7
Licenses: custom:University of Illinois/NCSA Open Source License
Conflicts: llvm
Submitter: foutrelis
Maintainer: None
Last Packager: wackbyte
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-19 05:56
Last Updated: 2020-05-11 17:02

Latest Comments

oddwel commented on 2020-07-11 07:54

I have the same error as pha-qu below.

file INSTALL cannot find
"/tmp/yay/llvm7/src/llvm-7.1.0.src/build/docs/ocamldoc/html/."

I have found an old email exchange from late 2016 about this same problem that claimed to have an idea to solve the problem by

adding ALL to the add_custom_target call

( email exchange at http://lists.llvm.org/pipermail/llvm-dev/2015-December/093389.html )

I have no idea what that means though, so I can't even test it myself.

I don't have any ocaml actual package installed, though, so it's probably some sort of environment check. Maybe I should try to remove ocaml from the path while I try to install this. Not sure if that'll help.

EDIT: Yea so I had a eval (opam env) in my fish config file, putting ocaml and other ocamldoc in the path although they were not installed globally for every user, fooled llvm into thinking something was available at system-level. Removed the eval (opam env) from the config, and the llvm upgrade worked fine.

I don't know how relevant it is to pha-qu's situation though.

jurriaanp commented on 2020-06-20 10:57

I needed to add the public key for Tom Stellard manually:

gpg --recv-keys A2C794A986419D8A

Which outputs: "gpg: key A2C794A986419D8A: public key "Tom Stellard tstellar@redhat.com" imported"

Sometimes you also need to remove the cache to prevent other errors, for example when using pacaur:

rm -rf ~/.cache/pacaur/llvm7/

shenril commented on 2020-05-18 10:33

==> Verifying source file signatures with gpg... llvm-7.1.0.src.tar.xz ... FAILED (unknown public key A2C794A986419D8A) ==> ERROR: One or more PGP signatures could not be verified! ==> ERROR: Makepkg was unable to build llvm7.

having troubles with the signature but anything to update on my side ?

pha-qu commented on 2020-05-07 21:21

Fails at the last hurdle...

CMake Error at docs/cmake_install.cmake:41 (file): file INSTALL cannot find "/var/tmp/pamac-build-spongebob/llvm7/src/llvm-7.1.0.src/build/docs/ocamldoc/html/.": No such file or directory.

Checked the path and it is indeed correcet, the path /var/tmp/pamac-build-spongebob/llvm7/src/llvm-7.1.0.src/build/docs/ is not built containing a directory CMakeFiles/ presumably containing the document sources awaiting build, and a cmake_install.cmake file

wackbyte commented on 2020-05-07 14:07

Thanks for the patch, chipbuster! It should be working now.

chipbuster commented on 2020-05-06 22:59

I don't really understand why @jakbyte and apparently lots of other are able to build this package just fine (maybe those of us that are failing have some other AUR library installed which interferes?) but I have a band-aid solution: https://gist.github.com/chipbuster/f857a9acb6ab28ee9890be7e20b1c5b0

Grab that patch and save it alongside the PKGBUILD, then add it into the source and sha256sums array.

Add the line patch -Np1 -i ../NAME_OF_SAVED_PATCH.patch into prepare() and you're off to the races.

Note: this "fixes" the issue by disabling some error messages in the test code, so it's probably not a good idea to do this long-term.

Strum355 commented on 2020-05-02 01:54

getting the following errors for the past while:

--
# llvm.org/llvm/bindings/go/llvm
/tmp/lit_tmp_owhLSy/gopath031246719/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:34:3: Errorf format %d has arg newattr of wrong type llvm.org/llvm/bindings/go/llvm.Attribute
/tmp/lit_tmp_owhLSy/gopath031246719/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:45:3: Errorf format %d has arg newattr of wrong type llvm.org/llvm/bindings/go/llvm.Attribute

--

********************
Testing Time: 363.97s
********************
Failing Tests (1):
    LLVM :: Bindings/Go/go.test

  Expected Passes    : 25715
  Expected Failures  : 143
  Unsupported Tests  : 1151
  Unexpected Failures: 1
FAILED: test/CMakeFiles/check-llvm 

tservo commented on 2020-04-28 03:30

I'm getting the same build failure as @SpotlightKid.

wackbyte commented on 2020-04-22 23:45

I was able to compile it successfully. I have no idea what the issue is.

SpotlightKid commented on 2020-04-22 14:29

Anybody else getting this?

==> Beginne check()...
[0/1] Running the LLVM regression tests
FAIL: LLVM :: Bindings/Go/go.test (5056 of 27010)
******************** TEST 'LLVM :: Bindings/Go/go.test' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/chris/.cache/yay/llvm7/src/llvm-7.1.0.src/build/bin/llvm-go go=/usr/bin/go test llvm.org/llvm/bindings/go/llvm
--
Exit Code: 1

Command Output (stdout):
--
FAIL    llvm.org/llvm/bindings/go/llvm [build failed]
FAIL

--
Command Output (stderr):
--
# llvm.org/llvm/bindings/go/llvm
/home/chris/tmp/lit_tmp_GT5iu4/gopath648056402/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:34:3: Errorf format %d has arg newattr of wrong type llvm.org/llvm/bindings/go/llvm.Attribute
/home/chris/tmp/lit_tmp_GT5iu4/gopath648056402/src/llvm.org/llvm/bindings/go/llvm/ir_test.go:45:3: Errorf format %d has arg newattr of wrong type llvm.org/llvm/bindings/go/llvm.Attribute

--

********************
Testing Time: 817.24s
********************
Failing Tests (1):
    LLVM :: Bindings/Go/go.test

  Expected Passes    : 25715
  Expected Failures  : 143
  Unsupported Tests  : 1151
  Unexpected Failures: 1
FAILED: test/CMakeFiles/check-llvm 
cd /home/chris/.cache/yay/llvm7/src/llvm-7.1.0.src/build/test && /usr/bin/python2.7 /home/chris/.cache/yay/llvm7/src/llvm-7.1.0.src/build/./bin/llvm-lit -sv /home/chris/.cache/yay/llvm7/src/llvm-7.1.0.src/build/test
ninja: build stopped: subcommand failed.
==> FEHLER: Ein Fehler geschah in check().
    Breche ab...
Error making: llvm7 (llvm7-libs)