From: Marius Bakke <mbakke@fastmail.com>
To: 40428@debbugs.gnu.org
Subject: bug#40428: Cannot use inferiors in manifest
Date: Sat, 04 Apr 2020 17:20:31 +0200 [thread overview]
Message-ID: <87ftdjp9a8.fsf@devup.no> (raw)
[-- Attachment #1: Type: text/plain, Size: 2253 bytes --]
Hello,
On the current 'master' branch, using an inferior in a manifest will
cause a crash in 'compute-guix-derivation' as reported in
<https://lists.gnu.org/archive/html/help-guix/2020-04/msg00010.html>.
It can be reproduced by taking the inferior example from the manual:
https://guix.gnu.org/manual/en/guix.html#Inferiors
..and running 'guix build --no-grafts -n -m inferior-example.scm'.
I've attempted to bisect it, but it is difficult because once you have
successfully passed 'compute-guix-derivation', the problem is no longer
reproducible, even on known "bad" commits. So for every successful test
a new commit/channel must be chosen.
Here is a backtrace from a bad commit:
Backtrace:
In ice-9/boot-9.scm:
152:2 19 (with-fluid* _ _ _)
152:2 18 (with-fluid* _ _ _)
142:2 17 (dynamic-wind _ _ #<procedure 7fe4c47d3020 at ice-9/eva…>)
829:9 16 (catch _ _ #<procedure 7fe4c47dd540 at ice-9/eval.scm:…> …)
829:9 15 (catch _ _ #<procedure 7fe4c443eb70 at ice-9/eval.scm:…> …)
152:2 14 (with-fluid* _ _ _)
152:2 13 (with-fluid* _ _ _)
142:2 12 (dynamic-wind _ _ #<procedure 7fe4c4006b00 at ice-9/eva…>)
152:2 11 (with-fluid* _ _ _)
152:2 10 (with-fluid* _ _ _)
152:2 9 (with-fluid* _ _ _)
705:2 8 (call-with-prompt ("build handler") #<procedure 7fe497…> …)
In unknown file:
7 (_ #<procedure 7fe497a71020 at ice-9/eval.scm:330:13 ()> …)
In ice-9/eval.scm:
619:8 6 (_ #(#(#(#<directory (guix ui) 7fe4c699f960>) #<s…> …) …))
626:19 5 (_ #(#(#(#<directory (guix ui) 7fe4c699f960>) #<s…> …) …))
In guix/derivations.scm:
357:5 4 (substitution-oracle #<store-connection 256.99 7fe4b6b…> …)
329:16 3 (derivation-input-fold #<procedure 7fe4c4bfc868 at gui…> …)
In ice-9/eval.scm:
619:8 2 (_ #(#(#(#(#<directory (guix store) 7fe4c68d3…>) …) …) …))
619:8 1 (_ #(#(#<directory (guix store) 7fe4c68d3c80> #<var…> …)))
In unknown file:
0 (put-bytevector #<closed: file 7fe4c3a77620> #vu8(1 0 …) …)
ERROR: In procedure put-bytevector:
In procedure put-bytevector: Wrong type argument in position 1 (expecting open output port): #<closed: file 7fe4c3a77620>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next reply other threads:[~2020-04-04 15:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 15:20 Marius Bakke [this message]
2020-04-04 16:54 ` bug#40428: Cannot use inferiors in manifest Ludovic Courtès
[not found] ` <handler.40428.D40428.15860192833989.notifdone@debbugs.gnu.org>
2020-04-04 17:32 ` bug#40428: closed (Re: bug#40428: Cannot use inferiors in manifest) Marius Bakke
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=87ftdjp9a8.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=40428@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.