'guix substitute' crashes while running 'guix pull'

OpenSubmitted by bo0od.
Details
2 participants
  • bo0od
  • Ludovic Courtès
Owner
unassigned
Severity
important
Merged with
B
guix pull: error: You found a bug: compute-guix-derivation
(address . bug-guix@gnu.org)
842920dd-7aae-4f73-8805-e332a316de5a@riseup.net
Hi There,

Running guix pull lead to the bug attached in .txt file.

ThX!
user@host ~$ guix pull
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 050be36 (65 new commits)...
Building from this channel:
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
compute-guix-derivation 1005B 77KiB/s 00:00 [##################] 100.0%
Computing Guix derivation for 'x86_64-linux'... /Backtrace:
15 (primitive-load "/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation")
In ice-9/eval.scm:
155:9 14 (_ _)
159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
152:2 12 (with-fluid* _ _ _)
152:2 11 (with-fluid* _ _ _)
In ./guix/store.scm:
2066:24 10 (run-with-store #<store-connection 256.99 7fa3758b23c0> _ #:guile-for-build _ #:system _ #:target _)
1900:8 9 (_ _)
In ./guix/gexp.scm:
256:18 8 (_ _)
1137:2 7 (_ _)
1003:2 6 (_ _)
849:4 5 (_ _)
In ./guix/store.scm:
1948:12 4 (_ #<store-connection 256.99 7fa3758b23c0>)
1362:5 3 (map/accumulate-builds #<store-connection 256.99 7fa3758b23c0> _ _)
1373:15 2 (_ #<store-connection 256.99 7fa3758b23c0> _ _)
719:11 1 (process-stderr #<store-connection 256.99 7fa3758b23c0> _)
In ./guix/serialization.scm:
80:6 0 (read-int #<input-output: file 10>)

./guix/serialization.scm:80:6: In procedure read-int:
ERROR:
1. &nar-error:
file: #f
port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation'
failed to compute the derivation for Guix (version: "050be36cbf3a42199f64f2e44c59f1cb1b3afab5"; system: "x86_64-linux";
host version: "995f685e4de49683399715932792e730f918d2a2"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.

user@host ~$
L
L
Ludovic Courtès wrote on 18 Apr 2021 12:20
(name . bo0od)(address . bo0od@riseup.net)(address . 47782@debbugs.gnu.org)
8735vnnbc3.fsf@gnu.org
Hi,

bo0od <bo0od@riseup.net> skribis:

Toggle quote (31 lines)
> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
> 15 (primitive-load "/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation")
> In ice-9/eval.scm:
> 155:9 14 (_ _)
> 159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
> In ice-9/boot-9.scm:
> 152:2 12 (with-fluid* _ _ _)
> 152:2 11 (with-fluid* _ _ _)
> In ./guix/store.scm:
> 2066:24 10 (run-with-store #<store-connection 256.99 7fa3758b23c0> _ #:guile-for-build _ #:system _ #:target _)
> 1900:8 9 (_ _)
> In ./guix/gexp.scm:
> 256:18 8 (_ _)
> 1137:2 7 (_ _)
> 1003:2 6 (_ _)
> 849:4 5 (_ _)
> In ./guix/store.scm:
> 1948:12 4 (_ #<store-connection 256.99 7fa3758b23c0>)
> 1362:5 3 (map/accumulate-builds #<store-connection 256.99 7fa3758b23c0> _ _)
> 1373:15 2 (_ #<store-connection 256.99 7fa3758b23c0> _ _)
> 719:11 1 (process-stderr #<store-connection 256.99 7fa3758b23c0> _)
> In ./guix/serialization.scm:
> 80:6 0 (read-int #<input-output: file 10>)
>
> ./guix/serialization.scm:80:6: In procedure read-int:
> ERROR:
> 1. &nar-error:
> file: #f
> port: #<input-output: file 10>
> guix pull: error: You found a bug: the program '/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation'

Looks as if the connection to the daemon had been dropped. Could it be
that guix-daemon was restarted while ‘guix pull’ was running?

If you run ‘guix pull’ again, does that problem occur?

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 18 Apr 2021 12:20
control message for bug #47764
(address . control@debbugs.gnu.org)
871rb7nbb4.fsf@gnu.org
merge 47764 47782
quit
L
L
Ludovic Courtès wrote on 18 Apr 2021 12:20
(address . control@debbugs.gnu.org)
87zgxvlwqk.fsf@gnu.org
severity 47764 important
quit
L
L
Ludovic Courtès wrote on 18 Apr 2021 12:28
(address . control@debbugs.gnu.org)
87mttvlwdv.fsf@gnu.org
retitle 47764 'guix substitute' crashes while running 'guix pull'
quit
B
Re: bug#47782: guix pull: error: You found a bug: compute-guix-derivation
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 47782@debbugs.gnu.org)
e00bf782-af9d-2d17-c3e9-e5613e65f4ec@riseup.net
Toggle quote (2 lines)
> If you run ‘guix pull’ again, does that problem occur?

Nope, one time got this error.

Ludovic Courtès:
Toggle quote (43 lines)
> Hi,
>
> bo0od <bo0od@riseup.net> skribis:
>
>> Computing Guix derivation for 'x86_64-linux'... /Backtrace:
>> 15 (primitive-load "/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation")
>> In ice-9/eval.scm:
>> 155:9 14 (_ _)
>> 159:9 13 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
>> In ice-9/boot-9.scm:
>> 152:2 12 (with-fluid* _ _ _)
>> 152:2 11 (with-fluid* _ _ _)
>> In ./guix/store.scm:
>> 2066:24 10 (run-with-store #<store-connection 256.99 7fa3758b23c0> _ #:guile-for-build _ #:system _ #:target _)
>> 1900:8 9 (_ _)
>> In ./guix/gexp.scm:
>> 256:18 8 (_ _)
>> 1137:2 7 (_ _)
>> 1003:2 6 (_ _)
>> 849:4 5 (_ _)
>> In ./guix/store.scm:
>> 1948:12 4 (_ #<store-connection 256.99 7fa3758b23c0>)
>> 1362:5 3 (map/accumulate-builds #<store-connection 256.99 7fa3758b23c0> _ _)
>> 1373:15 2 (_ #<store-connection 256.99 7fa3758b23c0> _ _)
>> 719:11 1 (process-stderr #<store-connection 256.99 7fa3758b23c0> _)
>> In ./guix/serialization.scm:
>> 80:6 0 (read-int #<input-output: file 10>)
>>
>> ./guix/serialization.scm:80:6: In procedure read-int:
>> ERROR:
>> 1. &nar-error:
>> file: #f
>> port: #<input-output: file 10>
>> guix pull: error: You found a bug: the program '/gnu/store/0s55qkdcgpbirx39g94wlsyfp79nmmvl-compute-guix-derivation'
>
> Looks as if the connection to the daemon had been dropped. Could it be
> that guix-daemon was restarted while ‘guix pull’ was running?
>
> If you run ‘guix pull’ again, does that problem occur?
>
> Thanks,
> Ludo’.
>
?