Subject: bug#57177: `.../guix substitute' died unexpectedly

From: Philip Kaludercic <[email-masked]>
Date: Sat, 13 Aug 2022 15:42:31 +0000

I just attempted to run `guix pull', and encountered this issue:

Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to c2481b1 (755 new commits)...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	c2481b1
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
 module-import  2KiB                                                                                                       186KiB/s 00:00 [##################] 100.0%
 module-import-compiled  1.2MiB                                                                                            2.6MiB/s 00:00 [##################] 100.0%
 compute-guix-derivation  1015B                                                                                            715KiB/s 00:00 [##################] 100.0%
Computing Guix derivation for 'x86_64-linux'... \Backtrace:
          14 (primitive-load "/gnu/store/6k0xq30xw5pqihfam5z8ncykj3af7q6w-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 13 (_ _)
    159:9 12 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 11 (with-fluid* _ _ _)
    152:2 10 (with-fluid* _ _ _)
In ./guix/store.scm:
  2168:24  9 (run-with-store #<store-connection 256.99 7f840318b140> #<procedure 7f83ed7cb1e0 at ./guix/self.scm:12?> ?)
   1996:8  8 (_ #<store-connection 256.99 7f840318b140>)
In ./guix/gexp.scm:
   300:22  7 (_ #<store-connection 256.99 7f840318b140>)
   1181:2  6 (_ #<store-connection 256.99 7f83fa864c30>)
   1047:2  5 (_ #<store-connection 256.99 7f83fa864c30>)
    893:4  4 (_ #<store-connection 256.99 7f83fa864c30>)
In ./guix/store.scm:
  2053:12  3 (_ #<store-connection 256.99 7f83fa864c30>)
   1401:5  2 (map/accumulate-builds #<store-connection 256.99 7f83fa864c30> #<procedure 7f83f717b7a0 at ./guix/stor?> ?)
  1417:15  1 (_ #<store-connection 256.99 7f83fa864c30> ("/gnu/store/js3m9m2zj8bpgiln0lmvrn1q5l58c01s-guix-daemon-?") ?)
  1417:15  0 (loop #f)

./guix/store.scm:1417:15: In procedure loop:
ERROR:
  1. &store-protocol-error:
      message: "`/gnu/store/0iii8i1lc4wg3wccs1db7y7d8lg80i04-guix-1.3.0/bin/guix substitute' died unexpectedly"
      status: 1
guix pull: error: You found a bug: the program '/gnu/store/6k0xq30xw5pqihfam5z8ncykj3af7q6w-compute-guix-derivation'
failed to compute the derivation for Guix (version: "c2481b1bea56f2885110d5af0a6cff36a3d95933"; system: "x86_64-linux";
host version: "bdb2e262fcbea76de807cd829c2d2270661546a5"; pull-version: 1).
Please report the COMPLETE output above by email to <[email-masked]>.