Subject: bug#47782: guix pull: error: You found a bug: compute-guix-derivation

From: Ludovic Courtès <[email-masked]>
Date: Sun, 18 Apr 2021 12:20:12 +0200

Hi,

bo0od <[email-masked]> 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’.