From: Guillaume Le Vaillant <glv@posteo.net>
To: 54837@debbugs.gnu.org
Subject: bug#54837: LLVM 3.* build failure
Date: Sun, 10 Apr 2022 14:23:04 +0000 [thread overview]
Message-ID: <87ilrhdmyo.fsf@kitej> (raw)
[-- Attachment #1: Type: text/plain, Size: 1356 bytes --]
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.
[-- Attachment #2: kj78hgwyb11z2sxz4xfd3v9sd93xk7yc-llvm-3.6.2-builder --]
[-- Type: application/octet-stream, Size: 4339 bytes --]
(begin (use-modules (guix build cmake-build-system) (guix build utils)) (begin (define %build-inputs (quote (("source" . "/gnu/store/1dxjmdi4msbis0c06f8wsavpxms8iihf-llvm-3.6.2.src.tar.xz") ("cmake" . "/gnu/store/zga679c4nldah9l8dhd5a4hdy820hcyf-cmake-minimal-3.21.4") ("python" . "/gnu/store/j3cx0yaqdpw0mxizp5bayx93pya44dhn-python-wrapper-3.9.9") ("perl" . "/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0") ("libffi" . "/gnu/store/wgqhlc12qvlwiklam7hz2r311fdcqfim-libffi-3.3") ("zlib" . "/gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11") ("tar" . "/gnu/store/g2ajyl8xk9aarxrgjbng2hkj3qm2v0z2-tar-1.34") ("gzip" . "/gnu/store/iixwcv3k49ks1rf34pjgfzmzyhhgwng3-gzip-1.10") ("bzip2" . "/gnu/store/s3hl12jxz9ybs7nsy7kq7ybzz7qnzmsg-bzip2-1.0.8") ("xz" . "/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdzkx7-xz-5.2.5") ("file" . "/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39") ("diffutils" . "/gnu/store/ahmmvw21p11ik80lg1f953y7fd8bqkjm-diffutils-3.8") ("patch" . "/gnu/store/z39hnrwds1dgcbpfgj8dnv2cngjb2xbl-patch-2.7.6") ("findutils" . "/gnu/store/39rsx3nl4c31952jybbjb8d6idr5hx7r-findutils-4.8.0") ("gawk" . "/gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0") ("sed" . "/gnu/store/wxgv6i8g0p24q5gcyzd0yr07s8kn9680-sed-4.8") ("grep" . "/gnu/store/xjwp2hsd9256icjjybfrmznppjicywf6-grep-3.6") ("coreutils" . "/gnu/store/d251rfgc9nm2clzffzhgiipdvfvzkvwi-coreutils-8.32") ("make" . "/gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3") ("bash" . "/gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8") ("ld-wrapper" . "/gnu/store/s2pg5k98fl2g2szg9dykxyd9zl3xihv9-ld-wrapper-0") ("binutils" . "/gnu/store/rc781v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37") ("gcc" . "/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0") ("libc" . "/gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33") ("libc:static" . "/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-glibc-2.33-static") ("locales" . "/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8-locales-2.33") ("python" . "/gnu/store/b6j1qw1a5rkbfvcy7lc9fm95abbzpa4x-python-3.9.9") ("kernel-headers" . "/gnu/store/6mjww4iz4xdan74d5bbjfh7il8rngfkk-linux-libre-headers-5.10.35")))) (define %outputs (list (cons "out" ((@ (guile) getenv) "out")))) (define %output (assoc-ref %outputs "out")) (cmake-build #:source "/gnu/store/1dxjmdi4msbis0c06f8wsavpxms8iihf-llvm-3.6.2.src.tar.xz" #:system "x86_64-linux" #:outputs %outputs #:inputs %build-inputs #:search-paths (quote (("CMAKE_PREFIX_PATH" ("") ":" directory #f) ("SSL_CERT_DIR" ("etc/ssl/certs") #f directory #f) ("SSL_CERT_FILE" ("etc/ssl/certs/ca-certificates.crt") #f regular #f) ("GUIX_PYTHONPATH" ("lib/python3.9/site-packages") ":" directory #f) ("PYTHONTZPATH" ("share/zoneinfo") ":" directory #f) ("PERL5LIB" ("lib/perl5/site_perl") ":" directory #f) ("BASH_LOADABLES_PATH" ("lib/bash") ":" directory #f) ("C_INCLUDE_PATH" ("include") ":" directory #f) ("CPLUS_INCLUDE_PATH" ("include/c++" "include") ":" directory #f) ("LIBRARY_PATH" ("lib" "lib64") ":" directory #f) ("GUIX_LOCPATH" ("lib/locale") ":" directory #f))) #:phases (modify-phases #<gexp (modify-phases #<gexp-input #<gexp (modify-phases %standard-phases (add-after (quote unpack) (quote change-directory) (lambda _ (chdir "llvm"))) (add-after (quote install) (quote install-opt-viewer) (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (opt-viewer-out (assoc-ref outputs "opt-viewer")) (opt-viewer-share-dir (string-append opt-viewer-out "/share")) (opt-viewer-dir (string-append opt-viewer-share-dir "/opt-viewer"))) (mkdir-p opt-viewer-share-dir) (rename-file (string-append out "/share/opt-viewer") opt-viewer-dir))))) gnu/packages/llvm.scm:585:6 7f2a07072f60>:out> (delete (quote change-directory))) gnu/packages/llvm.scm:655:8 7f2a07072f30> (delete (quote install-opt-viewer))) #:configure-flags (list "-DCMAKE_SKIP_BUILD_RPATH=FALSE" "-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE" "-DBUILD_SHARED_LIBS:BOOL=TRUE" "-DLLVM_ENABLE_FFI:BOOL=TRUE" "-DLLVM_REQUIRES_RTTI=1" "-DLLVM_INSTALL_UTILS=ON") #:make-flags (quote ()) #:out-of-source? #t #:build-type "Release" #:tests? #t #:test-target "test" #:parallel-build? #t #:parallel-tests? #t #:validate-runpath? #t #:patch-shebangs? #t #:strip-binaries? #t #:strip-flags (quote ("--strip-debug")) #:strip-directories (quote ("lib" "lib64" "libexec" "bin" "sbin")))))
next reply other threads:[~2022-04-10 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-10 14:23 Guillaume Le Vaillant [this message]
2022-04-10 15:50 ` bug#54837: LLVM 3.* build failure Maxime Devos
2022-04-10 16:42 ` Guillaume Le Vaillant
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilrhdmyo.fsf@kitej \
--to=glv@posteo.net \
--cc=54837@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.