GNU bug report logs - #41063
emacs-guix: unrecognized keyword error

Previous Next

Package: guix;

Reported by: christopher <at> librehacker.com

Date: Sun, 3 May 2020 20:51:01 UTC

Severity: normal

Tags: fixed

Done: Maxim Cournoyer <maxim.cournoyer <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 41063 in the body.
You can then email your comments to 41063 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#41063; Package guix. (Sun, 03 May 2020 20:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to christopher <at> librehacker.com:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 03 May 2020 20:51:02 GMT) Full text and rfc822 format available.

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

From: Christopher Howard <christopher.howard <at> qlfiles.net>
To: bug-guix <at> gnu.org
Subject: emacs-guix: unrecognized keyword error
Date: Sun, 03 May 2020 12:50:39 -0800
If I attempt to install a package in emacs-guix, process dies with
error

'''
scheme@(emacs-guix)> (process-package-actions "/var/guix/profiles/per-
user/christopher/guix-profile" #:install '((139934396296288 "out"))
#:upgrade '() #:remove '() #:use-substitutes? #t #:dry-run? #f)
The process begins ...
The following package will be installed:
   pioneers 15.5

emacs-guix/actions.scm:118:8: In procedure process-package-actions:
Unrecognized keyword: #:use-substitutes?

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(emacs-guix) [1]> ,bt
In emacs-guix/actions.scm:
    118:8  0 (process-package-actions _ #:install _ #:upgrade _
#:remove _ #:use-substitutes? _ #:dry-run? _)
'''

I have attempted running the same command in the shell, remiving the
#:use-substitutes flag, but mysteriously get the same error.

System info:

christopher <at> nightshade ~$ guix describe
Generation 20	Apr 30 2020 05:34:14	(current)
  guix f03e5ca
    repository URL: https://git.savannah.gnu.org/git/guix.git
    commit: f03e5ca59f2f099693def2c8e6ff409e5b4ed40a
christopher <at> nightshade ~$ neofetch 
christopher <at> nightshade 
---------------------- 
OS: Guix System f03e5ca59f2f099693def2c8e6ff409e5b4ed40a x86_64 
Host: GA-880GM-UD2H 
Kernel: 5.4.36-gnu 
Uptime: 1 hour, 8 mins 
Packages: 55 (guix-system), 136 (guix-user) 
Shell: bash 5.0.7 
Resolution: 1920x1200 
DE: GNOME 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: .gnome-terminal 
CPU: AMD Athlon II X3 455 (3) @ 3.300GHz 
GPU: NVIDIA GeForce 8400 GS Rev. 3 
Memory: 1000MiB / 7960MiB
christopher <at> nightshade ~$ emacs --version
GNU Emacs 26.3
Copyright (C) 2019 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

-- 
Christopher Howard
p: +1 (907) 374-0257
w: https://librehacker.com
social: https://gnusocial.club/librehacker
gpg: ADDEAADE5D607C8D (keys.gnupg.net)





Information forwarded to bug-guix <at> gnu.org:
bug#41063; Package guix. (Tue, 05 May 2020 09:29:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Howard <christopher.howard <at> qlfiles.net>
Cc: christopher <at> librehacker.com, 41063 <at> debbugs.gnu.org
Subject: Re: bug#41063: emacs-guix: unrecognized keyword error
Date: Tue, 05 May 2020 11:28:17 +0200
Hi Christopher,

Christopher Howard <christopher.howard <at> qlfiles.net> skribis:

> If I attempt to install a package in emacs-guix, process dies with
> error
>
> '''
> scheme@(emacs-guix)> (process-package-actions "/var/guix/profiles/per-
> user/christopher/guix-profile" #:install '((139934396296288 "out"))
> #:upgrade '() #:remove '() #:use-substitutes? #t #:dry-run? #f)
> The process begins ...
> The following package will be installed:
>    pioneers 15.5
>
> emacs-guix/actions.scm:118:8: In procedure process-package-actions:
> Unrecognized keyword: #:use-substitutes?

This probably has to do with this API change:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161

I see it’s already reported upstream:

  https://gitlab.com/emacs-guix/emacs-guix/-/issues/18

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#41063; Package guix. (Fri, 31 Jul 2020 07:22:02 GMT) Full text and rfc822 format available.

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

From: Michael Rohleder <mike <at> rohleder.de>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: christopher <at> librehacker.com, 41063 <at> debbugs.gnu.org,
 Christopher Howard <christopher.howard <at> qlfiles.net>
Subject: Re: bug#41063: emacs-guix: unrecognized keyword error
Date: Fri, 31 Jul 2020 09:20:55 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
>> emacs-guix/actions.scm:118:8: In procedure process-package-actions:
>> Unrecognized keyword: #:use-substitutes?
>
> This probably has to do with this API change:
>
>   https://git.savannah.gnu.org/cgit/guix.git/commit/?id=65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161
>
> I see it’s already reported upstream:
>
>   https://gitlab.com/emacs-guix/emacs-guix/-/issues/18

This is fixed with the latest (gitlab) version:

[0001-gnu-emacs-guix-Update-to-latest-gitlab-version.patch (text/x-patch, inline)]
From 1c58fd7f2de4623bb051e7f8472e703290663e64 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike <at> rohleder.de>
Date: Fri, 31 Jul 2020 08:33:43 +0200
Subject: [PATCH] gnu: emacs-guix: Update to latest gitlab version.

* gnu/packages/emacs-xyz.scm (emacs-guix): Update to a 0.5.2 snapshot.
fix https://issues.guix.gnu.org/41063
[source] changes to git-getch.
[snippet] removed.
[native-inputs] added tools to build.
---
 gnu/packages/emacs-xyz.scm | 73 +++++++++++++++++++-------------------
 1 file changed, 36 insertions(+), 37 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 04bb534ce7..ba16c84402 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2566,46 +2566,45 @@ type, for example: packages, buffers, files, etc.")
     (license license:gpl3+)))
 
 (define-public emacs-guix
-  (package
-    (name "emacs-guix")
-    (version "0.5.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://emacs-guix.gitlab.io/website/"
-                                  "releases/emacs-guix-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps"))
-              (modules '((guix build utils)))
-              (snippet
-               '(begin
-                  ;; Add support for Guile 3.0.  Remove for versions > 0.5.2.
-                  (substitute* "configure"
-                    (("\"2\\.2 2\\.0\"")
-                     "\"3.0 2.2 2.0\""))
-                  #t))))
-    (build-system gnu-build-system)
-    (native-inputs
-     `(("pkg-config" ,pkg-config)
-       ("emacs" ,emacs-minimal)))
-    (inputs
-     `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
-       ("guix" ,guix)))
-    (propagated-inputs
-     `(("geiser" ,emacs-geiser)
-       ("guile-gcrypt" ,guile-gcrypt)
-       ("dash" ,emacs-dash)
-       ("bui" ,emacs-bui)
-       ("edit-indirect" ,emacs-edit-indirect)
-       ("magit-popup" ,emacs-magit-popup)))
-    (home-page "https://emacs-guix.gitlab.io/website/")
-    (synopsis "Emacs interface for GNU Guix")
-    (description
-     "Emacs-Guix provides a visual interface, tools and features for the GNU
+  (let ((commit "df1fc5d8885959fd2bb83a443137d21c6850dd74")
+        (revision "1"))
+    (package
+      (name "emacs-guix")
+      (version (git-version "0.5.2" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://gitlab.com/emacs-guix/emacs-guix")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "14rn02ay1b8zl0pg54pkqpyzh948c4qiqlvl35627shx7zw5acqh"))))
+      (build-system gnu-build-system)
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("pkg-config" ,pkg-config)
+         ("texinfo" ,texinfo)
+         ("emacs" ,emacs-minimal)))
+      (inputs
+       `(("guile" ,@(assoc-ref (package-native-inputs guix) "guile"))
+         ("guix" ,guix)))
+      (propagated-inputs
+       `(("geiser" ,emacs-geiser)
+         ("guile-gcrypt" ,guile-gcrypt)
+         ("dash" ,emacs-dash)
+         ("bui" ,emacs-bui)
+         ("edit-indirect" ,emacs-edit-indirect)
+         ("magit-popup" ,emacs-magit-popup)))
+      (home-page "https://emacs-guix.gitlab.io/website/")
+      (synopsis "Emacs interface for GNU Guix")
+      (description
+       "Emacs-Guix provides a visual interface, tools and features for the GNU
 Guix package manager.  Particularly, it allows you to do various package
 management tasks from Emacs.  To begin with, run @code{M-x guix-about} or
 @code{M-x guix-help} command.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-build-farm
   (package
-- 
2.28.0

[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 03 Aug 2020 15:05:02 GMT) Full text and rfc822 format available.

Notification sent to christopher <at> librehacker.com:
bug acknowledged by developer. (Mon, 03 Aug 2020 15:05:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: christopher <at> librehacker.com, 41063-done <at> debbugs.gnu.org,
 Christopher Howard <christopher.howard <at> qlfiles.net>
Subject: Re: bug#41063: emacs-guix: unrecognized keyword error
Date: Mon, 03 Aug 2020 17:04:04 +0200
Hi Michael,

Michael Rohleder <mike <at> rohleder.de> skribis:

>>   https://gitlab.com/emacs-guix/emacs-guix/-/issues/18
>
> This is fixed with the latest (gitlab) version:
>
> From 1c58fd7f2de4623bb051e7f8472e703290663e64 Mon Sep 17 00:00:00 2001
> From: Michael Rohleder <mike <at> rohleder.de>
> Date: Fri, 31 Jul 2020 08:33:43 +0200
> Subject: [PATCH] gnu: emacs-guix: Update to latest gitlab version.
>
> * gnu/packages/emacs-xyz.scm (emacs-guix): Update to a 0.5.2 snapshot.
> fix https://issues.guix.gnu.org/41063
> [source] changes to git-getch.
> [snippet] removed.
> [native-inputs] added tools to build.

Awesome.  Applied, thanks!

Ludo’.




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 25 Aug 2020 09:48:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#41063; Package guix. (Tue, 25 Aug 2020 09:51:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: christopher <at> librehacker.com, 41063 <at> debbugs.gnu.org,
 Christopher Howard <christopher.howard <at> qlfiles.net>
Subject: Re: bug#41063: emacs-guix: unrecognized keyword error
Date: Tue, 25 Aug 2020 11:50:07 +0200
Hi Michael,

Michael Rohleder <mike <at> rohleder.de> skribis:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>>> emacs-guix/actions.scm:118:8: In procedure process-package-actions:
>>> Unrecognized keyword: #:use-substitutes?
>>
>> This probably has to do with this API change:
>>
>>   https://git.savannah.gnu.org/cgit/guix.git/commit/?id=65ffb9388c1c3d870cb07e4cb3ef12c9ac06a161
>>
>> I see it’s already reported upstream:
>>
>>   https://gitlab.com/emacs-guix/emacs-guix/-/issues/18
>
> This is fixed with the latest (gitlab) version:
>
> From 1c58fd7f2de4623bb051e7f8472e703290663e64 Mon Sep 17 00:00:00 2001
> From: Michael Rohleder <mike <at> rohleder.de>
> Date: Fri, 31 Jul 2020 08:33:43 +0200
> Subject: [PATCH] gnu: emacs-guix: Update to latest gitlab version.
>
> * gnu/packages/emacs-xyz.scm (emacs-guix): Update to a 0.5.2 snapshot.
> fix https://issues.guix.gnu.org/41063
> [source] changes to git-getch.
> [snippet] removed.
> [native-inputs] added tools to build.

It’s perhaps not directly related but there’s still something wrong with
this snapshot.  If I do:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generacio 153   Aug 24 2020 10:53:47    (nuna)
  guix c687299
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: c6872990b51971922f3064cba54ab752fcdc1559
$ guix environment -E ^TERM  --ad-hoc emacs emacs-guix -C -- emacs -nw
--8<---------------cut here---------------end--------------->8---

and from there:

  M-x guix RET p a

I get this error in the Guix REPL:

--8<---------------cut here---------------start------------->8---
Error in evaluating guile expression: ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Unbound variable: %max-returned-list-size

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(emacs-guix) [1]>
--8<---------------cut here---------------end--------------->8---

Does that ring a bell?

Thanks,
Ludo’.




Added tag(s) fixed. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 01 Sep 2020 04:19:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 41063 <at> debbugs.gnu.org and christopher <at> librehacker.com Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 01 Sep 2020 04:19:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Sep 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 180 days ago.

Previous Next


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