GNU bug report logs - #31581
`guix system` requires guile-json?

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Thu, 24 May 2018 17:01:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

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 31581 in the body.
You can then email your comments to 31581 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#31581; Package guix. (Thu, 24 May 2018 17:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 24 May 2018 17:01:02 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: `guix system` requires guile-json?
Date: Thu, 24 May 2018 13:00:42 -0400
[Message part 1 (text/plain, inline)]
Sometime in the past couple months, `./pre-inst-env guix system` stopped
working for me on distros besides GuixSD. It fails with 'guix: system:
command not found'.

Using the installed Guix, without pre-inst-env, still works.

------
$ ./pre-inst-env guix system vm foo.scm                      
guix: system: command not found                    
Try `guix --help' for more information.
------

I used my trusty strace and found that it fails when it can't find
(json). So, I installed guile-json, and now things are good.

I wonder if this can be improved for users on foreign distros.

The manual suggests that the JSON module is required for some of the
importers, but not for `guix system`. But I see that it is used in (gnu
system vm (system-docker-image)).
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 29 May 2018 16:31:02 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Tue, 29 May 2018 16:31:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Leo Famulari <leo <at> famulari.name>
Cc: 31581-done <at> debbugs.gnu.org
Subject: Re: bug#31581: `guix system` requires guile-json?
Date: Tue, 29 May 2018 18:30:03 +0200
Hello,

Leo Famulari <leo <at> famulari.name> skribis:

> Sometime in the past couple months, `./pre-inst-env guix system` stopped
> working for me on distros besides GuixSD. It fails with 'guix: system:
> command not found'.
>
> Using the installed Guix, without pre-inst-env, still works.
>
> ------
> $ ./pre-inst-env guix system vm foo.scm                      
> guix: system: command not found                    
> Try `guix --help' for more information.
> ------
>
> I used my trusty strace and found that it fails when it can't find
> (json). So, I installed guile-json, and now things are good.
>
> I wonder if this can be improved for users on foreign distros.
>
> The manual suggests that the JSON module is required for some of the
> importers, but not for `guix system`. But I see that it is used in (gnu
> system vm (system-docker-image)).

Oh indeed, that’s a recent regression.  Fixed in
201f2c87693f0f26bb8d00dedc49060d5da43e1f.

Thanks!

Ludo’.




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

This bug report was last modified 5 years and 302 days ago.

Previous Next


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