From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Bugs in parsing build options Date: Sun, 31 May 2015 21:32:24 +0200 Message-ID: <87twus35mf.fsf@gnu.org> References: <87fvcszuno.fsf@gnu.org> <87bnkopawy.fsf_-_@gmail.com> <87oaoj7wu0.fsf@gnu.org> <871tlegiot.fsf@gmail.com> <87oaoh1tiw.fsf@gnu.org> <87h9qunia6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz8yF-0007zI-1w for guix-devel@gnu.org; Sun, 31 May 2015 15:32:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yz8yB-0000Is-RY for guix-devel@gnu.org; Sun, 31 May 2015 15:32:31 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yz8yB-0000IX-Op for guix-devel@gnu.org; Sun, 31 May 2015 15:32:27 -0400 In-Reply-To: <87h9qunia6.fsf@gmail.com> (Alex Kost's message of "Sat, 30 May 2015 19:26:25 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > 1. The following command: > > GUIX_BUILD_OPTIONS=3D"--no-grub" guix package --help > > gives the following error: > > guix package: error: no-grub: unrecognized option > > So it makes impossible to use GUIX_BUILD_OPTIONS env var or did I miss > anything? GUIX_BUILD_OPTIONS is intended for options that related to building, namely those listed in =E2=80=98%standard-build-options=E2=80=99 in (guix s= cripts build). Conversely, =E2=80=98--no-grub=E2=80=99 is specific to =E2=80=98guix system= =E2=80=99. > 2. The manual says that =E2=80=98guix package=E2=80=99 =C2=ABsupports all= the common build > options that =E2=80=98guix build=E2=80=99 supports=C2=BB and the followin= g command works > perfectly: > > guix build --system=3Di686-linux hello > > However, the following command: > > guix package --system=3Di686-linux --install hello > > gives an error again: > > guix package: error: system=3Di686-linux: unrecognized option Same issue: the manual is somewhat vague, but =E2=80=98--system=E2=80=99 is= not in =E2=80=98%standard-build-options=E2=80=99. =E2=80=98--system=E2=80=99 was intentionally not added to =E2=80=98guix pac= kage=E2=80=99 on the grounds that it wouldn=E2=80=99t be very useful to install binaries built for anoth= er system in a profile. Now, I agree that the situation is different on =E2=80=9Cmulti-personality= =E2=80=9D systems, so maybe we should revise that choice? Thoughts? Ludo=E2=80=99.