From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#26271: 'guix system' does not support common build option '--root' Date: Sun, 26 Mar 2017 21:54:23 -0700 Message-ID: <871stjfhfk.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csMgJ-0006Ag-AM for bug-guix@gnu.org; Mon, 27 Mar 2017 00:55:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csMgI-0007fS-JF for bug-guix@gnu.org; Mon, 27 Mar 2017 00:55:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48458) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csMgI-0007fM-Gm for bug-guix@gnu.org; Mon, 27 Mar 2017 00:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1csMgI-0002wE-7j for bug-guix@gnu.org; Mon, 27 Mar 2017 00:55:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55298) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csMfm-000691-9y for bug-guix@gnu.org; Mon, 27 Mar 2017 00:54:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csMfl-0007YT-Fx for bug-guix@gnu.org; Mon, 27 Mar 2017 00:54:30 -0400 Received: from mail-pg0-x235.google.com ([2607:f8b0:400e:c05::235]:35169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csMfl-0007YL-AS for bug-guix@gnu.org; Mon, 27 Mar 2017 00:54:29 -0400 Received: by mail-pg0-x235.google.com with SMTP id 81so13197338pgh.2 for ; Sun, 26 Mar 2017 21:54:29 -0700 (PDT) Received: from garuda ([2601:602:9d02:4725:4e0f:6eff:fef6:70b9]) by smtp.gmail.com with ESMTPSA id h25sm17688054pfk.119.2017.03.26.21.54.26 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Mar 2017 21:54:26 -0700 (PDT) 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: 26271@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, The manual says ((guix) Invoking guix system) that the options to 'guix system' "can contain any of the common build options". Although some common build options (e.g. '--fallback') do seem to work, I have noticed that the '--root' option does not. Consider the following: =2D-8<---------------cut here---------------start------------->8--- [0] marusich@garuda:/tmp $ GUIX_BUILD_OPTIONS=3D--root=3Dfoo guix system disk-image --image-size=3D1= G ~/guix/gnu/system/install.scm guix system: error: root=3Dfoo: unrecognized option [1] marusich@garuda:/tmp $ guix system disk-image --root=3Dfoo --image-size=3D1G ~/guix/gnu/system/i= nstall.scm guix system: error: root=3Dfoo: unrecognized option [1] marusich@garuda:/tmp $ guix system disk-image -r foo --image-size=3D1G ~/guix/gnu/system/install= .scm guix system: error: r: unrecognized option [1] marusich@garuda:/tmp $=20 =2D-8<---------------cut here---------------end--------------->8--- I expected the 'guix system' command to run normally and produce an indirect GC root at path /tmp/foo. Instead, the command failed. The '--root' option does work with 'guix build'. Is the documentation incorrect, or is this a bug? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAljYmv8ACgkQ3UCaFdgi Rp3beBAAwLn9LRxPw0AIuzQJuqf0nuExNE6FYR9dbyNHEmTp10zAjIPwy3nXchWS 0u2gf0Cno4t2HL04YpAPxEqn3Qe+8/CZua/6Y/oikUMDqv6+DvXCnG3qqIaILl7v 9zcA5IoeIA6r6olsacOdaxExEQMXkijhAO8FIi1LVK6VN8pGEMTPeUfblTyDao2q b8ibpCiASQv7A3dvqtVy+oxh7dNMQkSl25CE1E0DDsPBHGAURFkzvQLi1rz2n+SP HTAONzUxzuEytspBYNKdwtCAZqKMos/Z/Njr/J8NQvjs09Xm8FYYhNUCSi4LnGFY su1E0kokqhfpuHr1wEyqPQJruZc82fw19wqzgkUoVSa0DWTRhtxMl5y+gR/EMWhA 0fFnk3Uec1YUMhKrppMvZSq/DfZiO7lbnCboxKy+zrCmOY3pcdWN5uf7tvoS5eM3 jDoW8TlApyzqLJcDt4w3Bv023Gn9dyJctoZeHvcZ7e2oLlKQR7aTbs1nAnzAeIiH VlnCi0zWmwpIIqczLgs+ptp4275bvkHIEaHNgg4CyAHesD8f651IOb+9TUydQrma IJoRrWkjnBltMc/uBCJ1Y2fpY0inoH0U9Xw0V2GDJGdgyz/J4GyNWlS4bwTl6hu8 QZ+SV70CArHE6xpvFGv7uB7MyuCw3gtpe2TFCYKw8wP9G3YFk8M= =TbK/ -----END PGP SIGNATURE----- --=-=-=--