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: 2019 broken eol ftbfs to-be-deleted unneeded unused-lib
Licenses: custom:University of Illinois/NCSA Open Source License
Conflicts: llvm
Submitter: foutrelis
Maintainer: MarsSeed
Last Packager: wackbyte
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-19 05:56 (UTC)
Last Updated: 2020-05-11 17:02 (UTC)

Pinned Comments

MarsSeed commented on 2023-11-24 15:55 (UTC) (edited on 2024-02-17 15:20 (UTC) by MarsSeed)

This is indeed broken (reported as such since 2020), but no functioning and required package needs this anymore.

Edit: To add some details.

The build actually goes through fine (though with 500+ compiler warnings about casts between incompatible function types, just to mention the most crash-cause-suspect issues).

Then in check(), 15 tests fail due to LLVM ERROR: inconsistency in registered CommandLine options, and 7 with other reasons, like assertion mismatches, input not found error, and a few further causes.

Latest Comments

1 2 Next › Last »

MarsSeed commented on 2023-11-24 15:55 (UTC) (edited on 2024-02-17 15:20 (UTC) by MarsSeed)

This is indeed broken (reported as such since 2020), but no functioning and required package needs this anymore.

Edit: To add some details.

The build actually goes through fine (though with 500+ compiler warnings about casts between incompatible function types, just to mention the most crash-cause-suspect issues).

Then in check(), 15 tests fail due to LLVM ERROR: inconsistency in registered CommandLine options, and 7 with other reasons, like assertion mismatches, input not found error, and a few further causes.

wspk commented on 2021-03-13 20:09 (UTC)

I'm having the same problem as @SpotlightKid. Any solution?

oddwel commented on 2020-07-11 07:54 (UTC) (edited on 2020-07-11 08:58 (UTC) by oddwel)

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 (UTC)

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 (UTC)

==> 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 (UTC)

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 (UTC)

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

chipbuster commented on 2020-05-06 22:59 (UTC)

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 (UTC)

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 (UTC)

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