unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Guillaume Le Vaillant <glv@posteo.net>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 54837@debbugs.gnu.org
Subject: bug#54837: LLVM 3.* build failure
Date: Sun, 10 Apr 2022 16:42:38 +0000	[thread overview]
Message-ID: <87ee24evb2.fsf@kitej> (raw)
In-Reply-To: <a8fcb64c1067f3c8da9e8cc1bdefea5748fe0764.camel@telenet.be>

[-- Attachment #1: Type: text/plain, Size: 2808 bytes --]

Maxime Devos <maximedevos@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---

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2022-04-10 16:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-10 14:23 bug#54837: LLVM 3.* build failure Guillaume Le Vaillant
2022-04-10 15:50 ` Maxime Devos
2022-04-10 16:42   ` Guillaume Le Vaillant [this message]
2022-04-10 17:07     ` Guillaume Le Vaillant
2022-04-10 17:23       ` Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee24evb2.fsf@kitej \
    --to=glv@posteo.net \
    --cc=54837@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).