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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Subject: bug#31581: closed (Re: bug#31581: `guix system` requires guile-json?)
Date: Tue, 29 May 2018 16:31:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#31581: `guix system` requires guile-json?

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 31581 <at> debbugs.gnu.org.

-- 
31581: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31581
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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’.

[Message part 3 (message/rfc822, inline)]
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 4 (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)]

This bug report was last modified 6 years and 356 days ago.

Previous Next


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