GNU bug report logs - #61309
chicken bug in importer: Unrecognized keyword: #:repo->guix-package

Previous Next

Package: guix;

Reported by: "jgart" <jgart <at> dismail.de>

Date: Mon, 6 Feb 2023 03:39:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 61309 AT debbugs.gnu.org.

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#61309; Package guix. (Mon, 06 Feb 2023 03:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "jgart" <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 06 Feb 2023 03:39:02 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: bug-guix <at> gnu.org
Subject: chicken bug in importer: Unrecognized keyword:
 #:repo->guix-package
Date: Mon, 06 Feb 2023 03:38:02 +0000
šŸ¤šŸ›

I run this:

guix import egg spiffy -r

I get this:

Backtrace:
           7 (primitive-load "/home/jgart/.config/guix/current/bin/g…")
In guix/ui.scm:
   2279:7  6 (run-guix . _)
  2242:10  5 (run-guix-command _ . _)
In guix/scripts/import.scm:
    92:11  4 (guix-import . _)
In guix/scripts/import/egg.scm:
    96:19  3 (guix-import-egg . _)
In guix/import/utils.scm:
   637:27  2 (recursive-import "spiffy" #:repo->guix-package _ # _ . #)
   629:33  1 (lookup-node "spiffy" #f)
In guix/import/egg.scm:
   329:41  0 (_ _ #:version _ #:repo _)

guix/import/egg.scm:329:41: Unrecognized keyword: #:repo->guix-package

My guix describe:

Generation 39	Feb 03 2023 20:27:46	(current)
  guix c3e50c7
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c3e50c731d8c175133cae1869e445cbb7a3b4d6f




Information forwarded to bug-guix <at> gnu.org:
bug#61309; Package guix. (Mon, 13 Feb 2023 20:47:02 GMT) Full text and rfc822 format available.

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

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: jgart <jgart <at> dismail.de>,
	61309 <at> debbugs.gnu.org
Cc: Josselin Poiret <dev <at> jpoiret.xyz>
Subject: [PATCH] import: egg: Ignore extra keys for #:repo->guix-package
Date: Mon, 13 Feb 2023 21:45:49 +0100
* guix/import/egg.scm (egg-recursive-import): Do it.

Fixes: #61309
---
 guix/import/egg.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/import/egg.scm b/guix/import/egg.scm
index 90d97909b5..0555f24703 100644
--- a/guix/import/egg.scm
+++ b/guix/import/egg.scm
@@ -326,7 +326,8 @@ (define egg->guix-package/m                   ;memoized variant
 (define* (egg-recursive-import package-name #:optional version)
   (recursive-import package-name
                     #:version version
-                    #:repo->guix-package (lambda* (name #:key version repo)
+                    #:repo->guix-package (lambda* (name #:key version repo
+                                                        #:allow-other-keys)
                                            (egg->guix-package/m name version))
                     #:guix-name egg-name->guix-name))
 

base-commit: dd724cfad45d76b9dcc5b073876c995715c92a07
-- 
2.39.1





Information forwarded to bug-guix <at> gnu.org:
bug#61309; Package guix. (Mon, 13 Feb 2023 21:05:02 GMT) Full text and rfc822 format available.

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

From: "jgart" <jgart <at> dismail.de>
To: "Josselin Poiret" <dev <at> jpoiret.xyz>, 61309 <at> debbugs.gnu.org
Subject: Re: [PATCH] import: egg: Ignore extra keys for
 #:repo->guix-package
Date: Mon, 13 Feb 2023 21:04:09 +0000
> + #:allow-other-keys)

Ah, nice, thanks, allow-other-keys all the way down!




Added tag(s) patch. Request was from Simon Tournier <zimon.toutoune <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 14 Feb 2023 19:26:03 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 120 days ago.

Previous Next


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