all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59864: emacs-guix
@ 2022-12-06 17:38 Amade Nemes Gmail
  2022-12-07 17:49 ` Ludovic Courtès
       [not found] ` <handler.59864.D59864.167045673318025.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Amade Nemes Gmail @ 2022-12-06 17:38 UTC (permalink / raw)
  To: 59864

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@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59864: emacs-guix
  2022-12-06 17:38 bug#59864: emacs-guix Amade Nemes Gmail
@ 2022-12-07 17:49 ` Ludovic Courtès
  2022-12-07 23:45   ` Ludovic Courtès
       [not found] ` <handler.59864.D59864.167045673318025.notifdone@debbugs.gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-12-07 17:49 UTC (permalink / raw)
  To: Amade Nemes Gmail; +Cc: 59864

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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59864: emacs-guix
  2022-12-07 17:49 ` Ludovic Courtès
@ 2022-12-07 23:45   ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-12-07 23:45 UTC (permalink / raw)
  To: Amade Nemes Gmail; +Cc: 59864-done

Ludovic Courtès <ludo@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59864: closed (Re: bug#59864: emacs-guix )
       [not found] ` <handler.59864.D59864.167045673318025.notifdone@debbugs.gnu.org>
@ 2022-12-08  9:31   ` Amade Nemes Gmail
  2022-12-09 10:01     ` Amade Nemes Gmail
  0 siblings, 1 reply; 5+ messages in thread
From: Amade Nemes Gmail @ 2022-12-08  9:31 UTC (permalink / raw)
  To: 59864


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@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@2.69 automake@1.16.3 emacs-bui@1.2.1 emacs-dash@2.19.1 emacs-edit-indirect@0.1.10 emacs-geiser-guile@0.28.1 emacs-geiser@0.28.1 emacs-magit-popup@2.13.3 emacs-minimal@28.2
+ guile-gcrypt@0.4.0 guile@3.0.8 guix@1.4.0rc1-1.9ccc94a pkg-config@0.29.2 texinfo@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@1.4.0rc1-1.9ccc94a,
however the errors persist. Let me know I've misunderstood something,
still quite new to guix:)

Best,
Amade





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#59864: closed (Re: bug#59864: emacs-guix )
  2022-12-08  9:31   ` bug#59864: closed (Re: bug#59864: emacs-guix ) Amade Nemes Gmail
@ 2022-12-09 10:01     ` Amade Nemes Gmail
  0 siblings, 0 replies; 5+ messages in thread
From: Amade Nemes Gmail @ 2022-12-09 10:01 UTC (permalink / raw)
  To: 59864

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@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@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@2.69 automake@1.16.3 emacs-bui@1.2.1
> emacs-dash@2.19.1 emacs-edit-indirect@0.1.10 emacs-geiser-guile@0.28.1
> emacs-geiser@0.28.1 emacs-magit-popup@2.13.3 emacs-minimal@28.2
> + guile-gcrypt@0.4.0 guile@3.0.8 guix@1.4.0rc1-1.9ccc94a pkg-config@0.29.2 texinfo@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@1.4.0rc1-1.9ccc94a,
> however the errors persist. Let me know I've misunderstood something,
> still quite new to guix:)
>
> Best,
> Amade





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-12-09 10:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-06 17:38 bug#59864: emacs-guix Amade Nemes Gmail
2022-12-07 17:49 ` Ludovic Courtès
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.