GNU bug report logs -
#40428
Cannot use inferiors in manifest
Previous Next
Reported by: Marius Bakke <mbakke <at> fastmail.com>
Date: Sat, 4 Apr 2020 15:21:02 UTC
Severity: important
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40428 in the body.
You can then email your comments to 40428 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#40428
; Package
guix
.
(Sat, 04 Apr 2020 15:21:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 04 Apr 2020 15:21:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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>
[signature.asc (application/pgp-signature, inline)]
Severity set to 'important' from 'normal'
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 04 Apr 2020 15:39:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 04 Apr 2020 16:55:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Marius Bakke <mbakke <at> fastmail.com>
:
bug acknowledged by developer.
(Sat, 04 Apr 2020 16:55:02 GMT)
Full text and
rfc822 format available.
Message #12 received at 40428-done <at> debbugs.gnu.org (full text, mbox):
Hi Marius,
Marius Bakke <mbakke <at> fastmail.com> skribis:
> ERROR: In procedure put-bytevector:
> In procedure put-bytevector: Wrong type argument in position 1 (expecting open output port): #<closed: file 7fe4c3a77620>
This is now fixed in 8ed597f4a261fe188de82cd1f5daed83dba948eb.
Thanks for investigating!
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#40428
; Package
guix
.
(Sat, 04 Apr 2020 17:33:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 40428 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
help-debbugs <at> gnu.org (GNU bug Tracking System) writes:
> Marius Bakke <mbakke <at> fastmail.com> skribis:
>
>> ERROR: In procedure put-bytevector:
>> In procedure put-bytevector: Wrong type argument in position 1 (expecting open output port): #<closed: file 7fe4c3a77620>
>
> This is now fixed in 8ed597f4a261fe188de82cd1f5daed83dba948eb.
>
> Thanks for investigating!
Thanks for the lightning-quick fix! :-)
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 03 May 2020 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 362 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.