GNU bug report logs - #76607
Missing age-keygen - can't build package cache

Previous Next

Package: guix;

Reported by: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>

Date: Thu, 27 Feb 2025 12:43:01 UTC

Severity: normal

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76607 in the body.
You can then email your comments to 76607 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 12:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 27 Feb 2025 12:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: bug-guix <at> gnu.org, Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 13:41:26 +0100
Hello Sharlatan,

05e0793479 2025-02-27 gnu: age: Merge packages with executibles into
single one. (2 hours ago) Sharlatan Hellseher

leads to:

```
$ zcat /var/log/guix/drvs/6x/s2r7wcas60l907jz575a2njk6wjc4a-guix-package-cache.drv.gz
(repl-version 0 1 1)
Generating package cache for
'/gnu/store/ibhhd5ry0hpx13wh63925p7canhc7vyp-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 7fffedfb23f0 at ic…> …)
  1752:10 16 (with-exception-handler _ _ #:unwind? _ # _)
In guix/repl.scm:
    99:21 15 (_)
In unknown file:
          14 (_ #<procedure 7fffeea83320 at guix/repl.scm:100:25 ()> …)
          13 (primitive-load "/gnu/store/0h62gdalfhbgq7xzv1xq992xg9m…")
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 pass-age <at> 1.7.4a2 gnu/pac…> …)
In guix/memoization.scm:
    101:0  7 (_ #<hash-table 7fffd0dfae40 22982/28099> #<package pa…> …)
In guix/packages.scm:
  1422:39  6 (_)
  1692:16  5 (package->bag _ _ _ #:graft? _)
  1793:48  4 (thunk)
In gnu/packages/password-utils.scm:
   882:15  3 (inputs #<package pass-age <at> 1.7.4a2 gnu/packages/passwor…>)
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 (age-keygen)) (value #f))
```

Could you fix it please so that `guix pull` works again?

Cheers,
Bost




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 14:08:02 GMT) Full text and rfc822 format available.

Message #8 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>, 76607 <at> debbugs.gnu.org,
 sharlatanus <at> gmail.com
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 15:07:24 +0100
On 2025-02-27 13:41, Rostislav Svoboda wrote:

> Hello Sharlatan,
>
> 05e0793479 2025-02-27 gnu: age: Merge packages with executibles into
> single one. (2 hours ago) Sharlatan Hellseher
>
> leads to:

age-keygen binary is now part of the age package.
So if you have age-keygen in a manifest, you can simply replace it with
age.

We should've define-deprecated/public-alias though, indeed. 

-- 
Best regards,
Nicolas Graves




Reply sent to Sharlatan Hellseher <sharlatanus <at> gmail.com>:
You have taken responsibility. (Thu, 27 Feb 2025 14:25:04 GMT) Full text and rfc822 format available.

Notification sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
bug acknowledged by developer. (Thu, 27 Feb 2025 14:25:05 GMT) Full text and rfc822 format available.

Message #13 received at 76607-done <at> debbugs.gnu.org (full text, mbox):

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 76607-done <at> debbugs.gnu.org
Subject: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 14:24:14 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


Hi,

Thanks for reporting.

Fixed in follow up commit a477e1c05cc42e0d5e7ffe58c4d80d9e687e1026.

- --
Thanks,
Oleg
-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmfAdY4WHHNoYXJsYXRh
bnVzQGdtYWlsLmNvbQAKCRB21ye/9izStbVVD/9FaSq4Lzlc6keuylNRc8lcR48e
1RPt5IctG9nVNS2xZy+IG/LJdgwvOJLR4+kK4af3RiLktMY6GUCWZZ756HVTlocj
KiIQaPMTAg6yWpjVbmdRKr2nb5nKTth7lp2DJIQLFltwafX3NXl79EhU/JNh2y1V
sjDLWXbfcx04JGHAKdzPaxwBM1UGvyzOCxmFPuuEymi2GAH6iIcwFVVaNh1Zkhvx
7CG/zFeLB5UbdOjl+J2lsXmNDlI7iE6n5ErwQ8fvd71G4RZWUVnR8a0ZjUgiWyIS
ToudBC/Q1CtPMgPDGO3ym7imLQKueoMtpc/NHih670ufQgXO701IkXehNEGBLA46
DAESlxs234/riehwNIpWmtsVQhLfVJcAiQvYtoQ/PPLal/CD6BUovId+NCOccJ44
gvhRCC7iWzcboh+7SQqe5Cz0ITl8mgqxmhPixGh02BfWvqTCnafuG2MrBYYu1tMD
BTSncc2BgcWbRBu8huVOxdtych+/924fvMAlmuRTCpxGKF5Rmh2Ur1iWuEUpF2a2
6ptdqH49NRUK0B6yPbdDTQDIkPgy6Q6mf0aTpiiX2ldZsPlMb0gxyyEDGZCwiHvH
gA4zSMU56uyWWd/xgGXlCLg6zT25b/WKGJPOqHynojFMz5J5DixO5q3wdH52Bwku
NBV3eC4neL8QnoMgsg==
=Tzl0
-----END PGP SIGNATURE-----




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 14:40:12 GMT) Full text and rfc822 format available.

Message #16 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: sharlatanus <at> gmail.com, 76607 <at> debbugs.gnu.org
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 15:33:08 +0100
Hello Nicolas,

> age-keygen binary is now part of the age package.

Uhm, no. I think the age-keygen is gone. See my console "screenshot" below.

Cheer,
Bost

bost <at> ecke ~/dev/guix$ git status
On branch master
Your branch is up to date with 'savannah/master'.

nothing to commit, working tree clean

bost <at> ecke ~/dev/guix$ git fetch --verbose savannah master && git
rebase savannah/master master
From https://git.savannah.gnu.org/git/guix
 * branch                  master     -> FETCH_HEAD
 = [up to date]            master     -> savannah/master
Current branch master is up to date.

bost <at> ecke ~/dev/guix$ git log --oneline --pretty=format:'%h %ad %s
%an' --max-count=1
fc4795d7d2 Thu Feb 27 14:38:52 2025 gnu: guix-data-service: Update to
0.0.1-64.5684add. Christopher Baines

bost <at> ecke ~/dev/guix$ guix shell direnv gnupg help2man git grep
--development guix --pure

bost <at> ecke ~/dev/guix [env]$ ./pre-inst-env guix build age-keygen
guix build: error: age-keygen: unknown package




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 14:45:03 GMT) Full text and rfc822 format available.

Message #19 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
Cc: sharlatanus <at> gmail.com, 76607 <at> debbugs.gnu.org
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 15:44:16 +0100
Sorry I wasn't clear. $(guix build age)/bin/age-keygen should exist.

-- 
Best regards,
Nicolas Graves




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 15:00:03 GMT) Full text and rfc822 format available.

Message #22 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: sharlatanus <at> gmail.com, 76607 <at> debbugs.gnu.org
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 15:58:13 +0100
> Sorry I wasn't clear. $(guix build age)/bin/age-keygen should exist.

Eeeeh ??? No.
No module 'guix build age' exists.  The "bin/age-keygen" is in the
gnu/packages/password-utils.scm. (See below)

Cheers,
Bost

bost <at> ecke ~/dev/guix$ rg bin\/age-keygen
gnu/packages/password-utils.scm
865:                                    "bin/age-keygen"
bost <at> ecke ~/dev/guix$ rg 'guix\s+build\s+age'
bost <at> ecke ~/dev/guix$ echo $?
1




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 15:13:02 GMT) Full text and rfc822 format available.

Message #25 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
Cc: sharlatanus <at> gmail.com, Nicolas Graves <ngraves <at> ngraves.fr>,
 76607 <at> debbugs.gnu.org
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 10:12:17 -0500
On Thu, Feb 27, 2025 at 03:58:13PM +0100, Rostislav Svoboda wrote:
> No module 'guix build age' exists.  The "bin/age-keygen" is in the
> gnu/packages/password-utils.scm. (See below)

It's a shell command, not Scheme code.

Try running `guix build age` and then looking in the age store item for
age-keygen.




Information forwarded to bug-guix <at> gnu.org:
bug#76607; Package guix. (Thu, 27 Feb 2025 15:47:02 GMT) Full text and rfc822 format available.

Message #28 received at 76607 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: sharlatanus <at> gmail.com, Nicolas Graves <ngraves <at> ngraves.fr>,
 76607 <at> debbugs.gnu.org
Subject: Re: bug#76607: Missing age-keygen - can't build package cache
Date: Thu, 27 Feb 2025 16:45:57 +0100
> > No module 'guix build age' exists.  The "bin/age-keygen" is in the
> > gnu/packages/password-utils.scm. (See below)
>
> It's a shell command, not Scheme code.

Aaah. Well that kind of minimalism is just too minimal. SRY 😉

> Try running `guix build age` and then looking in the age store item for
> age-keygen.

Thanks Leo.

bost <at> ecke ~/dev/guix [env]$ test -f $(./pre-inst-env guix build
age)/bin/age-keygen && echo "file-found" || echo "file-not-found"
file-found

Cheers,
Bost




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Mar 2025 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.