From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#31581: `guix system` requires guile-json? Date: Thu, 24 May 2018 13:00:42 -0400 Message-ID: <20180524170042.GA17040@jasmine.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLtbw-0003mm-2f for bug-guix@gnu.org; Thu, 24 May 2018 13:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLtbq-0007lO-Jk for bug-guix@gnu.org; Thu, 24 May 2018 13:01:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLtbq-0007lG-GL for bug-guix@gnu.org; Thu, 24 May 2018 13:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLtbq-0004Ph-7s for bug-guix@gnu.org; Thu, 24 May 2018 13:01:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLtbc-0003cv-57 for bug-guix@gnu.org; Thu, 24 May 2018 13:00:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLtbZ-0007Tv-3x for bug-guix@gnu.org; Thu, 24 May 2018 13:00:48 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48531) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLtbY-0007TK-TV for bug-guix@gnu.org; Thu, 24 May 2018 13:00:45 -0400 Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 8634EE4F0B for ; Thu, 24 May 2018 13:00:43 -0400 (EDT) Content-Disposition: inline List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31581@debbugs.gnu.org --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =20 guix: system: command not found =20 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)). --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlsG77oACgkQJkb6MLrK fwgiLw/6AzHeC5h0UqMhJ+cfasio/iazmZlX2p3xdzbOfs+5wjNk7Yn489d4iOEb tqCyTSC4ts8PBT7jEJexkkTLNKDlGeQh3NjFc8L4fbhd7hK8/4HLGBbMFbIEm6Cv gdCV1QNzWPCCoBr91yTYAv0Nz7wyUHsZlkYu7Xg5Q7DppwOjVQ/oqfTDvpIfDMoC g9XvXBhhMoZ5OwLrONGiYW/+Wd0HjZwtf/4S9+2Rg7j0QHz/T+OUEPrOchwu/dSi 6wIsuSWBH9hSGr/AFdQsrc4Vs/I/c7fhZRcNantVtWBzV+RZqu7/RDuHoGf5n/oC Btl4rG9AIUpwzIAAnI5L7JrzdrVigTEhCO9p+g5np/mJ+jVFFBRbe6jdOd9Z8LSu /5fi1bGFXkSM/Fi0o/Z2bK8nVVRyB5945O9hshY12qpkHMpuyfCkIRWvuyo9CdSj gNB4iYqJeDEwFOYDclX3lSQIE13HiNzAG65IVSwHydLYvAq/AIf9qhHDucCXzqT8 yB58oVEkUtRBYx++BMtXxE/Ip5ExkUtd2VLVAwYU9eNtqjpeRt0cLVQEA6XmkIP6 7XNyOJ6PbVny0iEjAb+ll3782K5JTLBch38FjNnl3ECBHhl8tYQecyTIsrTVUvGZ IrzVysc8US5xG80KXaMJc97xGxfv1atvcg9t+KlCDrlm0lQJSnc= =bR3+ -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--