GNU bug report logs -
#54837
LLVM 3.* build failure
Previous Next
To reply to this bug, email your comments to 54837 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#54837
; Package
guix
.
(Sun, 10 Apr 2022 14:37:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Guillaume Le Vaillant <glv <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sun, 10 Apr 2022 14:37:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The clamav package can't be built right know because it depends on
llvm-3.6 which fails to build. In fact, all the llvm-3.* packages fail
to build with the same error:
--8<---------------cut here---------------start------------->8---
The following derivation will be built:
/gnu/store/7rh78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv
building /gnu/store/7rh78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv...
ice-9/read.scm:126:4: In procedure read-expr*:
/gnu/store/kj78hgwyb11z2sxz4xfd3v9sd93xk7yc-llvm-3.6.2-builder:1:3078: Unknown # object: "#<"
builder for `/gnu/store/7rh78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv' failed with exit code 1
build of /gnu/store/7rh78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv failed
View build log at '/var/log/guix/drvs/7r/h78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv.gz'.
guix build: error: build of `/gnu/store/7rh78xkkglsx289s9j6fdxwfwakqdhv8-llvm-3.6.2.drv' failed
--8<---------------cut here---------------end--------------->8---
It looks like the problem comes from a gexp in the builder. There's
a gexp inside another gexp, but I don't know if that's the problem:
--8<---------------cut here---------------start------------->8---
#:phases (modify-phases #<gexp (modify-phases #<gexp-input #<gexp ...
--8<---------------cut here---------------end--------------->8---
The full builder file is in attachment.
[kj78hgwyb11z2sxz4xfd3v9sd93xk7yc-llvm-3.6.2-builder (application/octet-stream, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54837
; Package
guix
.
(Sun, 10 Apr 2022 15:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 54837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Guillaume Le Vaillant schreef op zo 10-04-2022 om 14:23 [+0000]:
> It looks like the problem comes from a gexp in the builder. There's
> a gexp inside another gexp, but I don't know if that's the problem:
>
> --8<---------------cut here---------------start------------->8---
> #:phases (modify-phases #<gexp (modify-phases #<gexp-input #<gexp ...
Suggestion:
Replace
(substitute-keyword-arguments (package-arguments llvm)
((#:phases phases)
`(modify-phases ,phases
(delete 'install-opt-viewer)))))))
by
(substitute-keyword-arguments (package-arguments llvm)
((#:phases phases)
#~(modify-phases #$phases
(delete 'install-opt-viewer)))))))
in llvm-3.9.1.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54837
; Package
guix
.
(Sun, 10 Apr 2022 16:52:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 54837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Maxime Devos <maximedevos <at> telenet.be> skribis:
> Guillaume Le Vaillant schreef op zo 10-04-2022 om 14:23 [+0000]:
>> It looks like the problem comes from a gexp in the builder. There's
>> a gexp inside another gexp, but I don't know if that's the problem:
>>
>> --8<---------------cut here---------------start------------->8---
>> #:phases (modify-phases #<gexp (modify-phases #<gexp-input #<gexp ...
>
> Suggestion:
>
> Replace
>
> (substitute-keyword-arguments (package-arguments llvm)
> ((#:phases phases)
> `(modify-phases ,phases
> (delete 'install-opt-viewer)))))))
>
> by
>
> (substitute-keyword-arguments (package-arguments llvm)
> ((#:phases phases)
> #~(modify-phases #$phases
> (delete 'install-opt-viewer)))))))
>
> in llvm-3.9.1.
Thanks, that solves the builder issue.
However there are other issues during the build phase:
--8<---------------cut here---------------start------------->8---
../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
make[2]: *** [lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build.make:105: lib/IR/AttributesCompatFunc.inc.tmp] Error 127
make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:5233: lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
make[2]: *** [lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build.make:105: lib/LibDriver/Options.inc.tmp] Error 127
make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:12101: lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/all] Error 2
../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:123: include/llvm/IR/Attributes.inc.tmp] Error 127
make[2]: *** Waiting for unfinished jobs....
../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:165: include/llvm/IR/Intrinsics.gen.tmp] Error 127
make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:5153: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
--8<---------------cut here---------------end--------------->8---
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54837
; Package
guix
.
(Sun, 10 Apr 2022 17:10:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 54837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Guillaume Le Vaillant <glv <at> posteo.net> skribis:
> However there are other issues during the build phase:
>
> ../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
> make[2]: *** [lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build.make:105: lib/IR/AttributesCompatFunc.inc.tmp] Error 127
> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:5233: lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> ../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
> make[2]: *** [lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build.make:105: lib/LibDriver/Options.inc.tmp] Error 127
> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:12101: lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/all] Error 2
> ../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
> make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:123: include/llvm/IR/Attributes.inc.tmp] Error 127
> make[2]: *** Waiting for unfinished jobs....
> ../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
> make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:165: include/llvm/IR/Intrinsics.gen.tmp] Error 127
> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:5153: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
It looks like llvm-12 has a workaround for this issue. I'll copy it to
llvm-3.9 and test that...
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54837
; Package
guix
.
(Sun, 10 Apr 2022 17:27:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 54837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Guillaume Le Vaillant <glv <at> posteo.net> skribis:
> Guillaume Le Vaillant <glv <at> posteo.net> skribis:
>
>> However there are other issues during the build phase:
>>
>> ../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
>> make[2]: *** [lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build.make:105: lib/IR/AttributesCompatFunc.inc.tmp] Error 127
>> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
>> make[1]: *** [CMakeFiles/Makefile2:5233: lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>> ../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
>> make[2]: *** [lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build.make:105: lib/LibDriver/Options.inc.tmp] Error 127
>> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
>> make[1]: *** [CMakeFiles/Makefile2:12101: lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/all] Error 2
>> ../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
>> make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:123: include/llvm/IR/Attributes.inc.tmp] Error 127
>> make[2]: *** Waiting for unfinished jobs....
>> ../../../bin/llvm-tblgen: error while loading shared libraries: libLLVMTableGen.so: cannot open shared object file: No such file or directory
>> make[2]: *** [include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make:165: include/llvm/IR/Intrinsics.gen.tmp] Error 127
>> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
>> make[1]: *** [CMakeFiles/Makefile2:5153: include/llvm/IR/CMakeFiles/intrinsics_gen.dir/all] Error 2
>> make[2]: Leaving directory '/tmp/guix-build-llvm-3.9.1.drv-0/build'
>
> It looks like llvm-12 has a workaround for this issue. I'll copy it to
> llvm-3.9 and test that...
Partial fix pushed in 81567f751bd31d972cf05013a177311b73425d7d; the
builds for llvm-3.7 and llvm-3.8 are still failing.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 231 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.