From: "Ludovic Courtès" <ludo@gnu.org>
To: Amade Nemes Gmail <nemesamade@gmail.com>
Cc: 59864@debbugs.gnu.org
Subject: bug#59864: emacs-guix
Date: Wed, 07 Dec 2022 18:49:44 +0100 [thread overview]
Message-ID: <87k033hznr.fsf@gnu.org> (raw)
In-Reply-To: <87mt80zaj9.fsf@gmail.com> (Amade Nemes Gmail's message of "Tue, 06 Dec 2022 18:38:52 +0100")
Hi,
Amade Nemes Gmail <nemesamade@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@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’.
next prev parent reply other threads:[~2022-12-07 17:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-06 17:38 bug#59864: emacs-guix Amade Nemes Gmail
2022-12-07 17:49 ` Ludovic Courtès [this message]
2022-12-07 23:45 ` Ludovic Courtès
[not found] ` <handler.59864.D59864.167045673318025.notifdone@debbugs.gnu.org>
2022-12-08 9:31 ` bug#59864: closed (Re: bug#59864: emacs-guix ) Amade Nemes Gmail
2022-12-09 10:01 ` Amade Nemes Gmail
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k033hznr.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=59864@debbugs.gnu.org \
--cc=nemesamade@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).