GNU bug report logs -
#59864
Emacs-Guix broken due to ABI incompatibility
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59864 in the body.
You can then email your comments to 59864 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#59864
; Package
guix
.
(Tue, 06 Dec 2022 18:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Amade Nemes Gmail <nemesamade <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 06 Dec 2022 18:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello Guix Folks,
I've updated my guix version today and found that most emacs-guix
interactive commands no longer work. For example, guix-packages-by-name throws:
guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure package-license: Wrong type argument: #<package abduco <at> 0.6 gnu/packages/abduco.scm:28 7f45f9d11f20>
similarly, guix-all-services throws:
guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure service-type-location: Wrong type argument: #<service-type account 7f45de40d7c0>
finally, guix-installed-system-packages throws:
guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure manifest-entry-name: Wrong type argument: #<<manifest-entry> name: "nss-certs" version: "3.81" output: "out" item: "/gnu/store/1klwvqm3njp070h982ydcix1gzf2zmdl-nss-certs-3.81" dependencies: () search-paths: () parent: #<promise #<procedure 7f45f99873c8 at guix/profiles.scm:576:57 ()>> properties: ()>
My guix version if following:
$ guix describe
Generation 18 Dec 06 2022 14:13:59 (current)
guix 4413512
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 44135122930c8175c6a7a1b4af5b3604bbf73bf6
I haven't made any modifications to the standard configuration of
emacs-guix. Thanks for your work!
Best,
Amade
Information forwarded
to
bug-guix <at> gnu.org
:
bug#59864
; Package
guix
.
(Wed, 07 Dec 2022 17:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 59864 <at> debbugs.gnu.org (full text, mbox):
Hi,
Amade Nemes Gmail <nemesamade <at> gmail.com> skribis:
> I've updated my guix version today and found that most emacs-guix
> interactive commands no longer work. For example, guix-packages-by-name throws:
>
> guix-geiser-eval: Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
> In procedure package-license: Wrong type argument: #<package abduco <at> 0.6 gnu/packages/abduco.scm:28 7f45f9d11f20>
I think this is caused by an ABI incompatibility: the ‘guix’ package is
currently at 1.4.0rc1, which doesn’t have the change made in:
https://issues.guix.gnu.org/59390
However, current ‘master’ does have this change.
The ‘emacs-guix’ package is built against the ‘guix’ package; it has
inlined calls like (package-name p) to something like:
--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,optimize (package-name p)
$8 = (let ((s p))
(if (eq? (struct-vtable s)
(@@ (guix packages) <package>))
(struct-ref s 0)
(throw 'wrong-type-arg
'package-name
"Wrong type argument: ~S"
(list s)
(list s))))
--8<---------------cut here---------------end--------------->8---
But on ‘master’, <package> is a macro, not a record type descriptor;
thus, the (eq? …) expression is always false.
I’ll fix this by upgrading the ‘guix’ package and/or merging the (guix
records) bit in the ‘version-1.4.0’ branch.
Thanks,
Ludo’.
Changed bug title to 'Emacs-Guix broken due to ABI incompatibility' from 'emacs-guix '
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 07 Dec 2022 17:51:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Wed, 07 Dec 2022 23:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Amade Nemes Gmail <nemesamade <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 07 Dec 2022 23:46:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 59864-done <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> skribis:
> I’ll fix this by upgrading the ‘guix’ package and/or merging the (guix
> records) bit in the ‘version-1.4.0’ branch.
Done in 81191e3410cc00c6438f532599dd0b96d521982f.
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#59864
; Package
guix
.
(Thu, 08 Dec 2022 09:35:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 59864 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
Thanks for the quick reply! Unfortunately I'm still getting the same
errors after pulling in the latest guix. Here's my emacs-guix package:
amade <at> swift ~$ guix package --show=emacs-guix
name: emacs-guix
version: 0.5.2-6.cf5b7a4
outputs:
+ out: everything
systems: x86_64-linux i686-linux
dependencies: autoconf <at> 2.69 automake <at> 1.16.3 emacs-bui <at> 1.2.1 emacs-dash <at> 2.19.1 emacs-edit-indirect <at> 0.1.10 emacs-geiser-guile <at> 0.28.1 emacs-geiser <at> 0.28.1 emacs-magit-popup <at> 2.13.3 emacs-minimal <at> 28.2
+ guile-gcrypt <at> 0.4.0 guile <at> 3.0.8 guix <at> 1.4.0rc1-1.9ccc94a pkg-config <at> 0.29.2 texinfo <at> 6.7
location: gnu/packages/emacs-xyz.scm:4346:4
homepage: https://guix.gnu.org
license: GPL 3+
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 `M-x
+ guix-about' or `M-x guix-help' command.
As you can see it's depending on the updated guix <at> 1.4.0rc1-1.9ccc94a,
however the errors persist. Let me know I've misunderstood something,
still quite new to guix:)
Best,
Amade
Information forwarded
to
bug-guix <at> gnu.org
:
bug#59864
; Package
guix
.
(Fri, 09 Dec 2022 10:06:01 GMT)
Full text and
rfc822 format available.
Message #21 received at 59864 <at> debbugs.gnu.org (full text, mbox):
False alarm, is working correctly today. Not sure why it was not working
previously. I guess I skipped the tried and tested "have you tried
turning it off and on again?" troubleshooting step:)
Amade Nemes Gmail <nemesamade <at> gmail.com> writes:
> Hi Ludo,
>
> Thanks for the quick reply! Unfortunately I'm still getting the same
> errors after pulling in the latest guix. Here's my emacs-guix package:
>
>
> amade <at> swift ~$ guix package --show=emacs-guix
> name: emacs-guix
> version: 0.5.2-6.cf5b7a4
> outputs:
> + out: everything
> systems: x86_64-linux i686-linux
> dependencies: autoconf <at> 2.69 automake <at> 1.16.3 emacs-bui <at> 1.2.1
> emacs-dash <at> 2.19.1 emacs-edit-indirect <at> 0.1.10 emacs-geiser-guile <at> 0.28.1
> emacs-geiser <at> 0.28.1 emacs-magit-popup <at> 2.13.3 emacs-minimal <at> 28.2
> + guile-gcrypt <at> 0.4.0 guile <at> 3.0.8 guix <at> 1.4.0rc1-1.9ccc94a pkg-config <at> 0.29.2 texinfo <at> 6.7
> location: gnu/packages/emacs-xyz.scm:4346:4
> homepage: https://guix.gnu.org
> license: GPL 3+
> 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 `M-x
> + guix-about' or `M-x guix-help' command.
>
>
> As you can see it's depending on the updated guix <at> 1.4.0rc1-1.9ccc94a,
> however the errors persist. Let me know I've misunderstood something,
> still quite new to guix:)
>
> Best,
> Amade
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Jan 2023 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.