Subject: bug#76660: current guix pull doesn't authenticate

From: Leo Famulari <[email-masked]>
Date: Sun, 2 Mar 2025 18:39:55 -0500

On Sun, Mar 02, 2025 at 08:08:50PM +0100, Tomas Volf wrote:
> Can you pull *any* commit from 6ca7b07a251739dfaefa639e74c01e3013c9454c?

Yes:

------
$ guix package -p ~/.config/guix/current -l
[...]
Generation 242	Mar 02 2025 18:24:39
 + guix   	6ca7b07	out	/gnu/store/3bp49nygmmfq340fcgwpslryvqlbmlm9-guix-6ca7b07a2
 - nonguix	87c5b72	out	/gnu/store/1kbmg93s0sc3ic01pql1jic6nr8mzkhi-nonguix
 - guix   	55a5181	out	/gnu/store/vc2sn17c6g7ww4akd7p9dcfby6zykr81-guix-55a5181e7

Generation 243	Mar 02 2025 18:31:47	(current)
 + guix	08bf8d1	out	/gnu/store/0xp5zrr6ii0xwpy0md4bgxqaprijmh47-guix-08bf8d175
 - guix	6ca7b07	out	/gnu/store/3bp49nygmmfq340fcgwpslryvqlbmlm9-guix-6ca7b07a2
------

I did notice that I was unable to pull from 6ca7b07 along with nonguix.
In that case the package-cache failed to build like this:

------
[...]
building package cache...
(repl-version 0 1 1)
Generating package cache for '/gnu/store/b4f6r9wn4wc6mvw2fv6vbm2kz1gpxmgx-profile'...

Backtrace:
In guix/repl.scm:
    141:4 19 (machine-repl _ _)
    126:7 18 (_)
In ice-9/boot-9.scm:
  1747:15 17 (with-exception-handler #<procedure 7fffefeff3f0 at ic…> …)
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/repl.scm:
    99:21 15 (_)
In unknown file:
          14 (_ #<procedure 7ffff4ab11e0 at guix/repl.scm:100:25 ()> …)
          13 (primitive-load "/gnu/store/3myfgdm742h3r3g3xl4fay58g0a…")
In ice-9/boot-9.scm:
  1752:10 12 (with-exception-handler _ _ #:unwind? _ # _)
In gnu/packages.scm:
   465:11 11 (generate-package-cache _)
In srfi/srfi-1.scm:
   460:18 10 (fold #<procedure expand-cache expr> _ _)
In gnu/packages.scm:
   425:37  9 (expand-cache . _)
In guix/packages.scm:
  1444:17  8 (supported-package? #<package [email-masked] nongnu/pa…> …)
In guix/memoization.scm:
    101:0  7 (_ #<hash-table 7fffe09093a0 9870/14051> #<package dot…> …)
In guix/packages.scm:
  1422:39  6 (_)
  1692:16  5 (package->bag _ _ _ #:graft? _)
  1793:48  4 (thunk)
In nongnu/packages/dotnet.scm:
   290:19  3 (inputs #<package [email-masked] nongnu/packages/dotnet…>)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1780:13  1 (_ #<&compound-exception components: (#<&undefined-vari…>)
In unknown file:
           0 (backtrace #<undefined>)

(exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (icu4c-71)) (value #f))
builder for `/gnu/store/m5jxnijhnkhz2y8210l67g0f9azlqm2n-guix-package-cache.drv' failed to produce output path `/gnu/store/s91dv1ihqdvavmykxialqvgifjfvsl8z-guix-package-cache'
build of /gnu/store/m5jxnijhnkhz2y8210l67g0f9azlqm2n-guix-package-cache.drv failed
hint: This usually indicates a bug in one of the channels you are pulling from, or some incompatibility among them.  You can check the build log and report the issue to the channel developers.

The channels you are pulling from are: nonguix guix.
------