From: Greg Hogan <code@greghogan.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix Help <help-guix@gnu.org>
Subject: Re: Wrong type argument: package-input-rewriting/spec with inferior
Date: Tue, 7 Mar 2023 14:28:25 -0500 [thread overview]
Message-ID: <CA+3U0ZkZhrWPJH_wA7EMwbCWFoU-JexzXyCsv+XPk8oHJi9dag@mail.gmail.com> (raw)
In-Reply-To: <87o7p4blnr.fsf@gnu.org>
On Tue, Mar 7, 2023 at 10:56 AM Ludovic Courtès <ludo@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---
prev parent reply other threads:[~2023-03-07 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-23 18:30 Wrong type argument: package-input-rewriting/spec with inferior Greg Hogan
2023-02-23 20:43 ` Greg Hogan
2023-03-07 15:56 ` Ludovic Courtès
2023-03-07 19:28 ` Greg Hogan [this message]
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=CA+3U0ZkZhrWPJH_wA7EMwbCWFoU-JexzXyCsv+XPk8oHJi9dag@mail.gmail.com \
--to=code@greghogan.com \
--cc=help-guix@gnu.org \
--cc=ludo@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.
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).