Subject: Bug when performing guix pull

From: Silas Vedder <[email-masked]>
Date: Sun, 20 Feb 2022 19:00:41 +0000

Hello,

thanks for your good work on guix! I just got the following result when performing a guix pull:

module-import-compiled  1.2MiB                                                                                                                         2.2MiB/s 00:01 [##################] 100.0%
compute-guix-derivation  1KiB                                                                                                                          1.0MiB/s 00:00 [##################] 100.0%
gnutls-3.7.2-doc  1.0MiB                                                                                                                              1.41GiB/s 00:00 [##################] 100.0%
curl-7.79.1  377KiB                                                                                                                                  522.9MiB/s 00:00 [##################] 100.0%
gnutls-3.7.2-debug  4.4MiB                                                                                                                            14.6MiB/s 00:00 [##################] 100.0%
git-minimal-2.34.0  4.1MiB                                                                                                                             5.7MiB/s 00:01 [##################] 100.0%
libgit2-1.3.0  590KiB                                                                                                                                 1.18GiB/s 00:00 [##################] 100.0%
libssh-0.9.6  237KiB                                                                                                                                 379.3MiB/s 00:00 [##################] 100.0%
guile-git-0.5.2  494KiB                                                                                                                              867.0MiB/s 00:00 [##################] 100.0%
guile-ssh-0.13.1  235KiB                                                                                                                             503.4MiB/s 00:00 [##################] 100.0%
guile-ssh-0.13.1-debug  229KiB                                                                                                                       517.0MiB/s 00:00 [##################] 100.0%
Backtrace:
          18 (primitive-load "/gnu/store/n1mqpdkdf1iczjdsz3i9cyrwchj9hhcd-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 17 (_ _)
    159:9 16 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 15 (with-fluid* _ _ _)
    152:2 14 (with-fluid* _ _ _)
In ./guix/store.scm:
  2129:24 13 (run-with-store #<store-connection 256.99 7fad63746140> #<procedure 7fad4ee4b8c0 at ./guix/self.scm:12?> ?)
   1966:8 12 (_ #<store-connection 256.99 7fad63746140>)
In ./guix/gexp.scm:
   296:22 11 (_ #<store-connection 256.99 7fad63746140>)
   1177:2 10 (_ #<store-connection 256.99 7fad546181e0>)
   1043:2  9 (_ #<store-connection 256.99 7fad546181e0>)
    889:4  8 (_ #<store-connection 256.99 7fad546181e0>)
In ./guix/store.scm:
  2014:12  7 (_ #<store-connection 256.99 7fad546181e0>)
  1410:13  6 (map/accumulate-builds #<store-connection 256.99 7fad546181e0> #<procedure 7fad508116a0 at ./guix/stor?> ?)
   1406:5  5 (map/accumulate-builds #<store-connection 256.99 7fad546181e0> #<procedure 7fad64c1a750 at ./guix/stor?> ?)
  1421:15  4 (_ #<store-connection 256.99 7fad546181e0> ("/gnu/store/8h8yxxj575vjckaccr45jm5dvz4pp1iw-guile-avah?" ?) ?)
  1421:15  3 (loop #f)
   733:11  2 (process-stderr #<store-connection 256.99 7fad546181e0> _)
In ./guix/serialization.scm:
   102:11  1 (read-int #<input-output: file 10>)
     80:6  0 (get-bytevector-n* #<input-output: file 10> 8)

./guix/serialization.scm:80:6: In procedure get-bytevector-n*:
ERROR:
  1. &nar-error:
      file: #f
      port: #<input-output: file 10>
guix pull: error: You found a bug: the program '/gnu/store/n1mqpdkdf1iczjdsz3i9cyrwchj9hhcd-compute-guix-derivation'
failed to compute the derivation for Guix (version: "45995eab3ae62ceef89ee223a1bc805738356c1f"; system: "x86_64-linux";
host version: "755c7c80825c150b5a8b38072bcfb78699f2fbf2"; pull-version: 1).
Please report the COMPLETE output above by email to <[email-masked]>.

My terminal does not support scrolling up, therefore you won't get more complete output. I hope this is helpful.

Greetings, 

Silas Vedder