Subject: bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)

From: Wiktor Żelazny <[email-masked]>
Date: Wed, 26 Oct 2022 19:07:20 +0200

Hi Guix,

Reporting as instructed. I stripped down this line

   error: #{\x0;\x0;\x0;\x0}#: unbound variable

In reality, “\x0;” inside the braces is repeated maaaaaaaany times.

The error persists after disabling my “guix-wz” channel.

--8<---------------cut here---------------start------------->8---

Updating channel 'guix-wz' from Git repository at 'file:///home/w/guix/guix-wz-git'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git	c07b55e
  guix-wz   file:///home/w/guix/guix-wz-git	ca5b233
Backtrace:
In ice-9/eval.scm:
   721:20 19 (primitive-eval _)
In ice-9/psyntax.scm:
  1230:36 18 (expand-top-sequence _ _ _ #f _ _ _)
  1222:19 17 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ e (eval) (hygiene #{ g115}#))
   259:10 16 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hygiene #{ g115}#))
In ice-9/eval.scm:
   293:34 15 (_ #<module (#{ g115}#) 7f71f5401320>)
In ice-9/boot-9.scm:
   3409:4 14 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ # _ # _ # _ ?)
  3422:24 13 (_)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:17 10 (map1 (((gnu packages perl)) ((gnu packages python)) ((gnu packages m4)) ((gnu packages man)) ((# ?)) ?))
  3326:17  9 (resolve-interface (gnu packages perl) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  3252:13  7 (_)
In ice-9/threads.scm:
    390:8  6 (_ _)
In ice-9/boot-9.scm:
  3536:20  5 (_)
   2835:4  4 (save-module-excursion _)
  3556:26  3 (_)
In unknown file:
           2 (primitive-load-path "gnu/packages/perl" #<procedure 7f71f5411f80 at ice-9/boot-9.scm:3543:37 ()>)
In ice-9/eval.scm:
   223:20  1 (proc #<module (#{ g116}#) 7f71f54010a0>)
In unknown file:
           0 (%resolve-variable (7 . #) #<module (#{ g116}#) 7f71f54010a0>)

ERROR: In procedure %resolve-variable:
error: #{\x0;\x0;\x0;\x0}#: unbound variable
Computing Guix derivation for 'x86_64-linux'...  guix pull: error: You found a bug: the program '/gnu/store/gfp2fp64pva2skb4iqdjzwfyns4ghyzl-compute-guix-derivation'
failed to compute the derivation for Guix (version: "c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652"; system: "x86_64-linux";
host version: "86ec52f66735b122b9035eba56516fd16f3be958"; pull-version: 1).
Please report the COMPLETE output above by email to <[email-masked]>.

--8<---------------cut here---------------end--------------->8---

Thanks for taking a look,

WŻ