On Tue, Mar 7, 2023 at 10:56 AM Ludovic Courtès <l...@gnu.org> wrote: > > But then again, I wonder why you end up rebuilding glibc. For example, > this would only rebuild LLVM and everything above: > > --8<---------------cut here---------------start------------->8--- > $ guix build clang --with-c-toolchain=llvm=gcc-toolchain@12 -n > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... > 100.0% > substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... > 100.0% > The following derivations would be built: > /gnu/store/hrpn8c11x52b9yax44x0spya90q6c3z0-clang-15.0.7.drv > /gnu/store/f95nrszbdj72wbb22irvq230nm6ci07h-clang-runtime-15.0.7.drv > /gnu/store/kxbjlkv9yjyg149aj6zc0w0sdgpdwhzn-llvm-15.0.7.drv > 109.4 MB would be downloaded: > /gnu/store/66sfk0k8419xvl7kg7r631z9yf9cpy3f-llvm-project-15.0.7-checkout > > /gnu/store/i291yk8ka6hamma955zgr2jh6cn21ybf-clang-tools-extra-15.0.7.src.tar.xz > /gnu/store/gm15qsiiy3jz3ainp6nv082m7lh9nx4p-rhash-1.4.2 > /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4 > /gnu/store/1yq0yi6hjbfhw578c4973454iwxc248n-module-import-compiled > --8<---------------cut here---------------end--------------->8---
That build fails for me, and looks to be the same error as from last year [0][1] (not sure why the mail server threads are not updated across months). [0] https://lists.gnu.org/archive/html/guix-devel/2022-02/msg00359.html [1] https://lists.gnu.org/archive/html/guix-devel/2022-03/msg00043.html --8<---------------cut here---------------start------------->8--- $ guix describe Generation 4 Mar 06 2023 17:59:09 (current) guix a0d22c4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: a0d22c41989e529859c813fb64a78250bde76991 $ guix build clang --with-c-toolchain=llvm=gcc-toolchain@12 --verbosity=1 The following derivations will be built: /gnu/store/gwj14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv /gnu/store/4f7cwjhfwnkqbmxmfpi7z3gvag9axidl-clang-runtime-15.0.7.drv /gnu/store/fl1m72g5zw1scrmvrhq0yrm44z70ia59-llvm-15.0.7.drv building /gnu/store/fl1m72g5zw1scrmvrhq0yrm44z70ia59-llvm-15.0.7.drv... building /gnu/store/4f7cwjhfwnkqbmxmfpi7z3gvag9axidl-clang-runtime-15.0.7.drv... building /gnu/store/gwj14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv... \builder for `/gnu/store/gwj14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv' failed with exit code 1 build of /gnu/store/gwj14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv failed View build log at '/var/log/guix/drvs/gw/j14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv.gz'. guix build: error: build of `/gnu/store/gwj14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv' failed $ zcat /var/log/guix/drvs/gw/j14wybh4q4x8lpdy8cr57sp3v4x1nd-clang-15.0.7.drv.gz Backtrace: 14 (primitive-load "/gnu/store/vshmhk54i0jgg6xbglbiklw2d1c?") In ice-9/eval.scm: 214:21 13 (_ #f) 217:50 12 (lp (#<procedure 7ffff42053e0 at ice-9/eval.scm:282:?> ?)) 217:50 11 (lp (#<procedure 7ffff42053c0 at ice-9/eval.scm:282:?> ?)) 217:50 10 (lp (#<procedure 7ffff4205360 at ice-9/eval.scm:649:?> ?)) 217:50 9 (lp (#<procedure 7ffff4205340 at ice-9/eval.scm:282:?> ?)) 217:50 8 (lp (#<procedure 7ffff42052e0 at ice-9/eval.scm:649:?> ?)) 217:50 7 (lp (#<procedure 7ffff42052c0 at ice-9/eval.scm:282:?> ?)) 217:50 6 (lp (#<procedure 7ffff42052a0 at ice-9/eval.scm:282:?> ?)) 217:50 5 (lp (#<procedure 7ffff4205260 at ice-9/eval.scm:282:?> ?)) 217:50 4 (lp (#<procedure 7ffff421efc0 at ice-9/eval.scm:649:?> ?)) 217:50 3 (lp (#<procedure 7ffff421efa0 at ice-9/eval.scm:282:?> ?)) 217:33 2 (lp (#<procedure 7ffff3ff3c00 at ice-9/eval.scm:212:?> ?)) 213:45 1 (_ #f) In unknown file: 0 (string-append "-DC_INCLUDE_DIRS=" #f "/include") ERROR: In procedure string-append: In procedure string-append: Wrong type (expecting string): #f --8<---------------cut here---------------end--------------->8---