From unknown Tue Jun 17 01:43:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#31581 <31581@debbugs.gnu.org> To: bug#31581 <31581@debbugs.gnu.org> Subject: Status: `guix system` requires guile-json? Reply-To: bug#31581 <31581@debbugs.gnu.org> Date: Tue, 17 Jun 2025 08:43:03 +0000 retitle 31581 `guix system` requires guile-json? reassign 31581 guix submitter 31581 Leo Famulari severity 31581 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 24 13:01:00 2018 Received: (at submit) by debbugs.gnu.org; 24 May 2018 17:01:00 +0000 Received: from localhost ([127.0.0.1]:46722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLtbn-0004PH-Tp for submit@debbugs.gnu.org; Thu, 24 May 2018 13:01:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fLtbm-0004P5-IV for submit@debbugs.gnu.org; Thu, 24 May 2018 13:00:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLtbd-0007Xm-DT for submit@debbugs.gnu.org; Thu, 24 May 2018 13:00:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLtbd-0007Xd-9N for submit@debbugs.gnu.org; Thu, 24 May 2018 13:00:49 -0400 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 compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D740A2233F; Thu, 24 May 2018 13:00:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 24 May 2018 13:00:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=content-type:date:from:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=mesmtp; bh=pK61LOiZYHuUMt wxa21MHW7l1db4p+C+nLhePek8T98=; b=SO02kaBKyybW7snmm8fxlHpzhQuQTr 25GdVNXr5X5d5RxYBLThAGkboPkCx3hBRXtb0XmTkspy9Ech5NUK8uUqNa6KvJOI Kpy4LwvieS8AOKEF0ZMn+lw47f38ZZFtkqm5cc5A8lH46n4NbjoSv1gJh/XXhBMo R1pGtuJRp1tno= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=pK61LOiZYHuUMtwxa21MHW7l1db4p+C+nLhePek8T98=; b=T/HN24Wb uZyH8fsBMtZkqlxIfzBJ147zjvXxCdK4qzFGrurDZ7xEFYFm+biZV3BGKCWEYv0H Q51XmQjC88Dh292fmQ5ahukA4UMcWeoH0tAkt5v+do36h1cgo6wqigfoC6laL2Wy U7uPCuH3MnhE3e7IQuzZOsGKXe2LxRCaH7HigBgZtAK0zbrm885v9brRRB7MWewr JtNp0InBnrsFZMR/DdrtMWT/gJ0elsDbzOb/vQVrUTHnh9nXpqZx0W2YIHWegZRy p5jK+ZAW1eUip17/vJbneV/xPJQG/Y2dhA05/aUNIdl60ydQMuk1xFo7w3YzFeAQ IxksIK0i+U0QoQ== X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: 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) Date: Thu, 24 May 2018 13:00:42 -0400 From: Leo Famulari To: bug-guix@gnu.org Subject: `guix system` requires guile-json? Message-ID: <20180524170042.GA17040@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline User-Agent: Mutt/1.10.0 (2018-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.1 (-----) --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-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 29 12:30:14 2018 Received: (at 31581-done) by debbugs.gnu.org; 29 May 2018 16:30:14 +0000 Received: from localhost ([127.0.0.1]:54209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhVm-00012o-4p for submit@debbugs.gnu.org; Tue, 29 May 2018 12:30:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fNhVj-00012W-Ow for 31581-done@debbugs.gnu.org; Tue, 29 May 2018 12:30:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNhVd-0004A6-Tz for 31581-done@debbugs.gnu.org; Tue, 29 May 2018 12:30:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNhVd-0004A0-RQ; Tue, 29 May 2018 12:30:05 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51380 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fNhVd-0004kj-Ed; Tue, 29 May 2018 12:30:05 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Leo Famulari Subject: Re: bug#31581: `guix system` requires guile-json? References: <20180524170042.GA17040@jasmine.lan> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Prairial an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 29 May 2018 18:30:03 +0200 In-Reply-To: <20180524170042.GA17040@jasmine.lan> (Leo Famulari's message of "Thu, 24 May 2018 13:00:42 -0400") Message-ID: <871sduxw50.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31581-done Cc: 31581-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello, Leo Famulari 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=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > guix: system: command not found=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=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)). Oh indeed, that=E2=80=99s a recent regression. Fixed in 201f2c87693f0f26bb8d00dedc49060d5da43e1f. Thanks! Ludo=E2=80=99. From unknown Tue Jun 17 01:43:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Jun 2018 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator