GNU bug report logs - #66358
Some options are really subcommands + ignore arguments

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "Perry, Daniel J" <dperry45@HIDDEN>; dated Thu, 5 Oct 2023 05:14:03 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 24 Oct 2023 18:14:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 24 14:14:12 2023
Received: from localhost ([127.0.0.1]:56573 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qvLuu-0008GF-Hj
	for submit <at> debbugs.gnu.org; Tue, 24 Oct 2023 14:14:12 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:38942)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>)
 id 1qvLur-0008Fq-J0; Tue, 24 Oct 2023 14:14:10 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-408423fc784so4505455e9.0; 
 Tue, 24 Oct 2023 11:13:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698171214; x=1698776014; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=2NY7nbrEvaaY95pz3GMpx2dkyvVVC+Ew2+5DnvWFbjY=;
 b=gynCuhfxf8M+UUWkl1liORQyZ+ZjJlgO+UjI7edS/6FXv7JaEKL1g0zEjbqiJO38GP
 euTJIHVwE45iUI8wrtQ2u7yyXQS++HAa1ybMMPx4qG06ibBWr/A/h8obO0X4FOSENOtW
 MCpqHkdEHhEIT/+6kKmA1hKBvNDogKMKTd5R0z+zkx2RikffyFIWECu6Ih/TAyLhxHOv
 0qoAAYJhrnWf12hp2RXk1JvEtTJpiWGsyZqRYJmp/s8ovj3766olLyrLB6KkG9rvujf8
 60mWo63bIdVtiAtGLg8MMjLBOa1UYmZrK/KKekvBvfFF0yn/irb1EBvMO/lUmfpKPidm
 HcZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698171214; x=1698776014;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=2NY7nbrEvaaY95pz3GMpx2dkyvVVC+Ew2+5DnvWFbjY=;
 b=xVTwB0UhpIiFU+3zS338QpgdLpZcphlpaf6V+cB7Yo0nLev6iQ7cugRI8sgb1xwVbI
 igaAcGBJsfhlBFTget8ALgxU3F2VipysyyT6HmzM7/rRTGzZWYmv2MyXyno6yqd9YtMh
 BCD1bqrO/ctZFWY6IY4A59053gCa6DUe4xDObFpywjz8d+gqPMiKraOoYYnofFr2Eiyz
 wWg0BoT+NHLeLmaRsI2S8RwblWklLxonNmNQaO4tyyimi8TrdveocPDIiRNw8eRvt3+K
 OsNViQCBX4xNrbgOy3AE80QAL/eANvLg5Q2hoVuRhxtVhEl4PziQ/ebanErfHRZY0xF7
 Tgxg==
X-Gm-Message-State: AOJu0Yx3GHzISPEnc9t2+Uyt9QD12Cvm6RCTxDGjy5wwqHTS1S7ywjKb
 Pb3WBoSbpbyp9VoWfAS92G5Fd/SVxL8=
X-Google-Smtp-Source: AGHT+IGG8hJ5yH23n981b83UIWlQF6mpDOdlMp8RoltP2G2ao4AOp4SLQA1mHDd0DRCSa5OgDeY0LA==
X-Received: by 2002:a05:600c:49a4:b0:405:4127:f471 with SMTP id
 h36-20020a05600c49a400b004054127f471mr10001823wmp.1.1698171213746; 
 Tue, 24 Oct 2023 11:13:33 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 l7-20020a5d6687000000b00327bf4f2f14sm10313600wru.88.2023.10.24.11.13.32
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 24 Oct 2023 11:13:32 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: bug#66358: Some options are really subcommands + ignore arguments
In-Reply-To: <87h6mg3wlp.fsf_-_@HIDDEN>
References: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
 <74541e429369739b82716cd72ee3b511@HIDDEN> <86pm1kd9kd.fsf@HIDDEN>
 <87h6mg3wlp.fsf_-_@HIDDEN>
Date: Tue, 24 Oct 2023 18:39:29 +0200
Message-ID: <87o7goht4u.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66358
Cc: control <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me@HIDDEN>, "Perry,
 Daniel J" <dperry45@HIDDEN>, 66358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Tue, 24 Oct 2023 at 10:48, Maxim Cournoyer <maxim.cournoyer@HIDDEN> wrote:

> It seems a reasonable improvement to me, but I think *all* the
> incompatible errors should be accumulated and printed in one go.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix archive --import --authorize hello --export < /tmp/hello.nar
guix archive: error: the options 'import' 'export' 'authorize' are exclusive
--8<---------------cut here---------------end--------------->8---

See v2 in #66592.

  [bug#66592] [PATCH v2] scripts: archive: Check compatibility of command line options.
  Simon Tournier <zimon.toutoune@HIDDEN>
  Tue, 24 Oct 2023 18:33:10 +0200
  id:5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@HIDDEN
  https://issues.guix.gnu.org/66592
  https://issues.guix.gnu.org/msgid/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@HIDDEN
  https://yhetil.org/guix/5c26f17bbf1b4cf9872b4a782295260ce337d3fd.1698165008.git.zimon.toutoune@HIDDEN

Cheers,
simon




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 24 Oct 2023 14:49:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 24 10:49:01 2023
Received: from localhost ([127.0.0.1]:56141 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qvIiL-0008KF-1I
	for submit <at> debbugs.gnu.org; Tue, 24 Oct 2023 10:49:01 -0400
Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]:43077)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1qvIiF-0008Iw-4k; Tue, 24 Oct 2023 10:48:59 -0400
Received: by mail-qk1-x72c.google.com with SMTP id
 af79cd13be357-778a108ae49so420745585a.0; 
 Tue, 24 Oct 2023 07:48:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1698158899; x=1698763699; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=fV2RP7quYVbY4EWlpN00C6ZggZZzIpiE49SPSOuy9Qc=;
 b=RdpbQwL5D9FiNG146GTj9UbTJuHU5GK17XzIC5fOIk1BLDq2na0L+PtSdQzD7zGK6V
 gjb04qVVVeZuJ92NqJNf7zQMms2Z3W/aXlwmhJ14GUFERJ04GjEMkJ6cblCuZZi5Aaqm
 5OG1JVVkjmiENxiNYni903JRjOSJPvsmfaO36qHqH/GP++XArhwe61Rv2xoMZWWSutC6
 BEmDBmX9v4BQBB3pq8NZ0UYUJc2mYrt/OIC6hz0DPaouGSrZV0CapIz+OzflEJLHnKO1
 83Rwu2557lJWWjJ+wWgB2YNbIgFB6jpR7vic1twYt3a0rO81GrszQVnYBg7OU/5RLa91
 5Yww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698158899; x=1698763699;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=fV2RP7quYVbY4EWlpN00C6ZggZZzIpiE49SPSOuy9Qc=;
 b=xIurvt1uLldY2zpTvTa9Sd5hRrto6UtabpxDvxEcXquYCTKzGpLvTopPl7nV7GHNSc
 EnnJHwQDPlvccwc7WrqkOC0OvVZb01Y3ooAJu6rHWGMRnQhgjFq4tgaboQil5KekqEel
 SXv1PHNKoDZ6S31pYfl3o6g6Ybg7ez2qGlRHZFx2KUTkl/geFVcB8SBPC0YfMhPLa0qQ
 6G+exHNGWHLPq9OxEQzBtZIYOQ1RoMPIYl1LPOSS2ce2CfllAmvgQkKlJ5yrmCRGhw9w
 d/MQ4TaxpFn/JBzlP7urfCwmgqnaSDrTRloHFHebP8/UXypm2hkNKlav+hT9PMHCOk2S
 8liA==
X-Gm-Message-State: AOJu0YwFr/tzO+YmID2KFW6Wm5t3/jnbE3ttd0KmDMI1+VDlwFktTpzY
 xZrvIJmjea0akDtMsWra9aGpGqUN1MKpFw==
X-Google-Smtp-Source: AGHT+IEHhod0sfBZ8y7Kqh8b38APeWiHGOtNlWtYugiKonJpJuP+4v50DAgANRnIZAqgtAiM2fxZlg==
X-Received: by 2002:a05:620a:4088:b0:76f:1614:577a with SMTP id
 f8-20020a05620a408800b0076f1614577amr21771314qko.5.1698158899575; 
 Tue, 24 Oct 2023 07:48:19 -0700 (PDT)
Received: from hurd (dsl-10-148-194.b2b2c.ca. [72.10.148.194])
 by smtp.gmail.com with ESMTPSA id
 h20-20020a05620a13f400b007743671a41fsm3487827qkl.72.2023.10.24.07.48.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 24 Oct 2023 07:48:19 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: bug#66358: Some options are really subcommands + ignore arguments
In-Reply-To: <86pm1kd9kd.fsf@HIDDEN> (Simon Tournier's message of "Thu, 12
 Oct 2023 01:27:14 +0200")
References: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
 <74541e429369739b82716cd72ee3b511@HIDDEN>
 <86pm1kd9kd.fsf@HIDDEN>
Date: Tue, 24 Oct 2023 10:48:18 -0400
Message-ID: <87h6mg3wlp.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 66358
Cc: control <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me@HIDDEN>, "Perry,
 Daniel J" <dperry45@HIDDEN>, 66358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Simon,

Simon Tournier <zimon.toutoune@HIDDEN> writes:

> Hi,
>
> On Mon, 09 Oct 2023 at 14:25, Tobias Geerinckx-Rice via Bug reports
> for GNU Guix <bug-guix@HIDDEN> wrote:
>
>> I think it would be less surprising if these =E2=80=98single, mutually e=
xclusive=20
>> actions=E2=80=99 should always be (sub)subcommands, e.g., =E2=80=98guix =
archive import=E2=80=99,=20
>> =E2=80=98guix archive authorize=E2=80=99, =E2=80=A6
>
> I am proposing to error for ambiguous cases as,
>
>     $ ./pre-inst-env guix archive --import --authorize hello < /tmp/hello=
.nar
>     guix archive: error: ambiguous options: "authorize" with "import"
>
> See attached patch.  WDYT?
>
> Please note that it errors when at least 2 options are ambiguous.  So if
> there is 3, you get the =E2=80=9Ctwo first ones=E2=80=9C.

It seems a reasonable improvement to me, but I think *all* the
incompatible errors should be accumulated and printed in one go.

--=20
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 12 Oct 2023 08:08:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 12 04:08:25 2023
Received: from localhost ([127.0.0.1]:40560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qqqk4-00012s-63
	for submit <at> debbugs.gnu.org; Thu, 12 Oct 2023 04:08:25 -0400
Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40300)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>)
 id 1qqqjx-00012C-Gt; Thu, 12 Oct 2023 04:08:19 -0400
Received: by mail-wm1-x331.google.com with SMTP id
 5b1f17b1804b1-4053e6e8ca7so2405185e9.1; 
 Thu, 12 Oct 2023 01:07:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1697098069; x=1697702869; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=2ZlzkNpGJsc5JcN8rxYuJu1bMRWhDVY9ZURGgW7xwLI=;
 b=U/lhoir01eLIhnrBeS4qvqHlVYpY0w7w1ewUD20Ky76Cz6Y08uiEm/hv5hfRbr+vqb
 lj6W0/1NdatH0uQwJbTxGJ4Hiue6gInKHAVuS85NegU1O6B3HBynnn8jD0gL2vKtXoha
 sJSklXqqwnCkHzBHnfJRB/JrX4q0wM4XC+nOcSTu0w7SRY+Qt1X8GOe3yfpoB79pWV/M
 dJ6n6q6yHA273R3G88YPmJyXqwkK82AP3z4ylNAYRxmPX7IIzbjmiRSjNOc8BsOLGmfZ
 IrEsaP4iTS/h3BclYfSfP24dzJjXC/0OHJG0pDUyGihUtszW2hAz9ybhqjV/+yRad8ts
 JoPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1697098069; x=1697702869;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=2ZlzkNpGJsc5JcN8rxYuJu1bMRWhDVY9ZURGgW7xwLI=;
 b=QF3ZGSzpLBxVZ9mqI3JWVKb+9JLTEWkVBZM7nyzI+UCb2817a+Z5qWhpR1NOXFMhNC
 LN13vhq+rQNWXqGN4wr+h7Szgdnvz0qkw2xDem+NtV2Z2zYqnvRJOjvlXVg8RKqiGCRd
 oGzcGAl52BDAQGvxnvmuFRz44ofKQ1MkOX0PHoiXGXKcTgVI5+iaKfNlmubjaZwPE2li
 J9Trm7e124uqHLAmBym5JncM6MyhDza5EppGA8B+jOBFxTi5xLuDws4kjDHjgNF7mzkO
 OrvRHV1uuaixyHPBUvr35s956jtSpnGP95I09jEjO6zTFH1/aEDnW5FUjd6pIAtjOrf0
 yu9A==
X-Gm-Message-State: AOJu0YxQBBOpyy7U4Edm5S4op7T+aKSW1QN/JhNDS9P4Dlemec5iWRy/
 0SxurhubagZarZqLXMZoB48eUI5VGvw=
X-Google-Smtp-Source: AGHT+IFUkKepMsndqlYE8RFa3O+HdH2mmKUgWaeLr860aG15F66dPz33CFdyxEtewW30V9tmA0M87A==
X-Received: by 2002:adf:e892:0:b0:328:2f4c:8185 with SMTP id
 d18-20020adfe892000000b003282f4c8185mr19688962wrm.6.1697098069432; 
 Thu, 12 Oct 2023 01:07:49 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id
 h28-20020adfa4dc000000b003296b913bbesm3984308wrb.12.2023.10.12.01.07.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 12 Oct 2023 01:07:49 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>, "Perry, Daniel J"
 <dperry45@HIDDEN>
Subject: Re: bug#66358: Can't import package using archive command
In-Reply-To: <74541e429369739b82716cd72ee3b511@HIDDEN>
References: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
 <74541e429369739b82716cd72ee3b511@HIDDEN>
Date: Thu, 12 Oct 2023 01:27:14 +0200
Message-ID: <86pm1kd9kd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 1.1 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, On Mon, 09 Oct 2023 at 14:25, Tobias Geerinckx-Rice via
    Bug reports for GNU Guix wrote: > I think it would be less surprising if
   these ‘single, mutually exclusive > actions’ should always be (sub)subcommands,
    e.g., ‘guix archive import’, > ‘guix archive authorize’, … 
 
 Content analysis details:   (1.1 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (zimon.toutoune[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  1.1 DATE_IN_PAST_06_12     Date: is 6 to 12 hours before Received: date
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2a00:1450:4864:20:0:0:0:331 listed in]
                             [list.dnswl.org]
X-Debbugs-Envelope-To: 66358
Cc: control <at> debbugs.gnu.org, 66358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.1 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, 09 Oct 2023 at 14:25, Tobias Geerinckx-Rice via Bug reports for GNU=
 Guix <bug-guix@HIDDEN> wrote:

> I think it would be less surprising if these =E2=80=98single, mutually ex=
clusive=20
> actions=E2=80=99 should always be (sub)subcommands, e.g., =E2=80=98guix a=
rchive import=E2=80=99,=20
> =E2=80=98guix archive authorize=E2=80=99, =E2=80=A6

I am proposing to error for ambiguous cases as,

    $ ./pre-inst-env guix archive --import --authorize hello < /tmp/hello.n=
ar
    guix archive: error: ambiguous options: "authorize" with "import"

See attached patch.  WDYT?

Please note that it errors when at least 2 options are ambiguous.  So if
there is 3, you get the =E2=80=9Ctwo first ones=E2=80=9C.

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix archive --import --export --authorize hello < /tmp/he=
llo.nar
guix archive: error: ambiguous options: "export" with "import"
--8<---------------cut here---------------end--------------->8---

Well, if the idea is fine, then maybe it could be worth to add one or
two sentences in the manual.

Cheers,
simon


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: inline;
 filename=0001-scripts-archive-Check-compatibility-of-command-line-.patch
Content-Transfer-Encoding: quoted-printable
Content-Description: fixes.patch

From 673afe0384427bc92fa47870e1dfa092e04aec0b Mon Sep 17 00:00:00 2001
Message-Id: <673afe0384427bc92fa47870e1dfa092e04aec0b.1697066456.git.zimon.=
toutoune@HIDDEN>
From: Simon Tournier <zimon.toutoune@HIDDEN>
Date: Thu, 12 Oct 2023 01:16:53 +0200
Subject: [PATCH] scripts: archive: Check compatibility of command line
 options.

Fixes <https://issues.guix.gnu.org/66358>.
Reported by Perry, Daniel J <dperry45@HIDDEN>.

* guix/scripts/archive.scm (compatible-option): New procedure.
(%options): Use it.
---
 guix/scripts/archive.scm | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/guix/scripts/archive.scm b/guix/scripts/archive.scm
index e32f22ec99..65932ae152 100644
--- a/guix/scripts/archive.scm
+++ b/guix/scripts/archive.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =C2=A9 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021 Ludovi=
c Court=C3=A8s <ludo@HIDDEN>
 ;;; Copyright =C2=A9 2020 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright =C2=A9 2023 Simon Tournier <zimon.toutoune@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -115,6 +116,18 @@ (define %key-generation-parameters
       "(genkey (ecdsa (curve Ed25519) (flags rfc6979)))"
       "(genkey (rsa (nbits 4:4096)))"))
=20
+(define (compatible-option action result other-actions)
+  "Return the RESULT if ACTION is compatible with the list of OTHER-ACTION=
S."
+  (let ((other-action (fold (lambda (other answer)
+                              (if (assoc-ref result (string->symbol other))
+                                  other
+                                  answer))
+                            #f
+                            other-actions)))
+    (if other-action
+        (leave (G_ "ambiguous options: ~s with ~s~%") action other-action)
+        (alist-cons (string->symbol action) #t result))))
+
 (define %options
   ;; Specifications of the command-line options.
   (cons* (option '(#\h "help") #f #f
@@ -126,13 +139,13 @@ (define %options
                    (show-version-and-exit "guix archive")))
          (option '("export") #f #f
                  (lambda (opt name arg result)
-                   (alist-cons 'export #t result)))
+                   (compatible-option "export" result (list "import" "auth=
orize"))))
          (option '(#\r "recursive") #f #f
                  (lambda (opt name arg result)
                    (alist-cons 'export-recursive? #t result)))
          (option '("import") #f #f
                  (lambda (opt name arg result)
-                   (alist-cons 'import #t result)))
+                   (compatible-option "import" result (list "export" "auth=
orize"))))
          (option '("missing") #f #f
                  (lambda (opt name arg result)
                    (alist-cons 'missing #t result)))
@@ -158,7 +171,7 @@ (define %options
                               (error-string err))))))
          (option '("authorize") #f #f
                  (lambda (opt name arg result)
-                   (alist-cons 'authorize #t result)))
+                   (compatible-option "authorize" result (list "import" "e=
xport"))))
=20
          (option '(#\S "source") #f #f
                  (lambda (opt name arg result)

base-commit: 0024ef320eed89468369ece3df05064a2afaabd1
--=20
2.38.1


--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 9 Oct 2023 16:53:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 12:53:18 2023
Received: from localhost ([127.0.0.1]:33021 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qptVN-0004XE-Rh
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 12:53:18 -0400
Received: from mail-mw2nam12on2102.outbound.protection.outlook.com
 ([40.107.244.102]:30720 helo=NAM12-MW2-obe.outbound.protection.outlook.com)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dperry45@HIDDEN>) id 1qptVL-0004Wu-6d
 for 66358 <at> debbugs.gnu.org; Mon, 09 Oct 2023 12:53:16 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=gzjIXTTO+XGOptVtQTprLXCEmLncvflTKWKk6lOYawj56gtnXYnWQWOH4Ku6fy8axMX+Dy9slWUGF6s9VCVl9opYyAR2YDbKPyMgW1weHcxrm7MtxZ8Nq1yA0OK75JdIxIFEC2bHxLP6zlKrGfibgAMwMeK4PkIzZ4ayqvZlF6+AsiNjM/gs87kWREi8pIW57agQx99dO5AKDAU0DVuZHLN7Ji5dsEMAmdG+MoO9LOx5hn46LtzL4wsFBCwogusdDuwQ9WzyXQjU18ZYPXSaYFRHHLpunnNOIpJWhClenGc2tg5K7YnpoO1XuFof0q1eOrbVpq9yYMlbfCBjx2X/zA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=LHRYhbiPvJ5NBqoRbdW09psEf9NaHmPa577/iGF7Egc=;
 b=nFG66oUlG4Fjlrrb7jx+V/HL58O1FBPMv4YmfmECOZUdhpjgng7w1rTeK/G0p4raJ9npriTi/qY2x/naMM/SUkz901QtITb+0pGg0vG6m1OU725wpiPSaJ6C7OmVAL+mR5fq9WdhOJ+dpSelX3zXWee7EcSVgJfy+i2PSXlYOKztRoXyBpndN57AGmvexActAcm6xeO9bVXPJedS5bmeHGi68gLHYHMyps0+iFxV8h3No+PhO6FlgvTFn6tGBZ8sAKH/t9bM1xloUNSC9gOns0fDNeT7J21kQLrPQ/23sauRdIHZ4zQHy7qWPMjI27dswQeKuvYjsYDjERj2hzEcfA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=gatech.edu; dmarc=pass action=none header.from=gatech.edu;
 dkim=pass header.d=gatech.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gatech.edu;
 s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=LHRYhbiPvJ5NBqoRbdW09psEf9NaHmPa577/iGF7Egc=;
 b=vqKsiWDH0H6t5fyJq39QWQUwsF6qD1AYzpe6Y9b3a0XznK42QuXn8hlCf+yZzyxVOxvSI5p2iIu162cAajv+hwjCDAS8j6p9uuEKJqnred9k0YOE14D0M/P+BGT8Ug1I4mLPd22p5bIpcvoFXQVDgCXUTY7FTFpMDY31JXc3aH8vGHgvRgFRb4bY2CQNee2mWca7y58hr/3YLeIq/AXdcECt4bg6bati7B4jh24CijoJl81ZLAyrzAAp4hNpeZ6dZ/BOGGoHaZ6ucgfuNJuWgDH5/JBEhoAyCNhJN4BNDgIwDa2x1lIzJUZWAzc09FJgy8nm5x22y9VILfQd1NsAzQ==
Received: from BLAPR07MB8289.namprd07.prod.outlook.com (2603:10b6:208:320::21)
 by SJ0PR07MB7533.namprd07.prod.outlook.com (2603:10b6:a03:286::5)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Mon, 9 Oct
 2023 16:52:45 +0000
Received: from BLAPR07MB8289.namprd07.prod.outlook.com
 ([fe80::4db5:289e:bd65:af57]) by BLAPR07MB8289.namprd07.prod.outlook.com
 ([fe80::4db5:289e:bd65:af57%4]) with mapi id 15.20.6863.029; Mon, 9 Oct 2023
 16:52:45 +0000
From: "Perry, Daniel J" <dperry45@HIDDEN>
To: "me@HIDDEN" <me@HIDDEN>
Subject: Now what about firmware?
Thread-Topic: Now what about firmware?
Thread-Index: AQHZ+tAaW+ZatRqiHkiePxESpBjcYw==
Date: Mon, 9 Oct 2023 16:52:45 +0000
Message-ID: <BLAPR07MB8289D2A3A8AC968831B837EAB5CEA@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=gatech.edu;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BLAPR07MB8289:EE_|SJ0PR07MB7533:EE_
x-ms-office365-filtering-correlation-id: 55293cbc-fcb0-4945-b7a7-08dbc8e82932
x-gt-tenant: 042d12d7-75fe-4547-b5b6-0573f80f829d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: b5e0MukIM5V+U1aDrqIlXwJqhv3pRtgNeuJtFwJ/mRp22rgzPHD2V2RP6IrpaR85pJ7ZkJ23DyXot5nsfVclLkqh6ECiWJCkHxgvSk38rMF1e1OdrPfuSvlwpaRfbgp/l0jtPyLmVuIiBF0B/s03H4hzKmzz72BIX2FmdWH77yMfo6YVTwmN22KEYQURLEgDGHy9e7w+NzckMSZojQZM2MkZfCmUjoPFhmt0NHCST1tolSjOtPCmqHAxdCxOHIO4Mkccr+gBM3vADsKhGpgz7VRJs7yaddtl508xM7fXf1xy+MAuV1ORppxC9v9Tq9UilxDKsI+TboCiumPF/o5A7ttLPMEZy+4B7oNYKROSVwRicnPHrYLr1JkeWhpJQP9HlhUZGVsDpeNl4pGT19XDlO64OfYLAaatHqxIJxiXbKyrvdq2LJ2+nqvREW9v7tc5bUEgtMyGsqpLFcUgMS3SvgVFog+1vqU5rAoA4Lj97otD3+eNjubf4BQp23YebisbhCv7zwW/92RDvM3TtYJZqY5Wn/+BD5VxYMIvmN2yOi90fGg76OeYZtqZ+hg0e/yGoy+KZTjjZWJAI0CEhjuGi/QSz6puaUpS8FgJ0M7yKQ5ds4ZMVfwY/aftKmmKrILV
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BLAPR07MB8289.namprd07.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230031)(366004)(39860400002)(376002)(346002)(396003)(136003)(230922051799003)(451199024)(1800799009)(186009)(64100799003)(55016003)(2906002)(75432002)(64756008)(66574015)(786003)(3480700007)(66556008)(66476007)(316002)(66946007)(66446008)(76116006)(6916009)(8676002)(6506007)(4326008)(5660300002)(7696005)(52536014)(8936002)(9686003)(478600001)(4744005)(41300700001)(71200400001)(33656002)(38070700005)(38100700002)(86362001)(122000001)(19627405001);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?gNXIOP9+pr2IobZjfDLs7SVRrWyrjFMocIi2WPSscHKjkBieGHoXeAzPCA?=
 =?iso-8859-1?Q?ohMDhvn4eWU/xh3Jq0F23NByZQUWjjOy4Ij0IS/y/VuM1gM0R1VxAjL0x4?=
 =?iso-8859-1?Q?nqoEZe/jyamDsxQzY8yhX54lQvj4lmzsObGE2+DKme4NbQewXMFXt3uFhc?=
 =?iso-8859-1?Q?XfScs6KH7qUOrtVHYvfeAcRvyn7vA3cvWjAfplZzzcst2ZK4PdIM9qyowD?=
 =?iso-8859-1?Q?+kbLUeSdVfnf8cbSmI5dbbSqam9TtgdRRIJotwSscR3nLos7VebMz2g1Yg?=
 =?iso-8859-1?Q?HH2gpEhoKr7fBnzetFfRPyI2cL3smIips95rmUBfh0OHvhDirSs8L06miQ?=
 =?iso-8859-1?Q?CQErYQBvS5QInfCYDKD0sYvebCxLTH4ly1SjSNN9TfDzjgtIrxtBRWSkyp?=
 =?iso-8859-1?Q?eAuyROTjVllPsBg+0bb3ZlFh7BNJc5eutt1L9XAVdl0+XRvWrSI8mobcWo?=
 =?iso-8859-1?Q?e3+iyegSvA2IFxy0zClvwvBohi4Jj9Cx3kb0zF2go3bBLVdPo142P3LbuF?=
 =?iso-8859-1?Q?tRYDvWNaicUCGP/FQpLB12OnjLeUp+V2H2THF7z9CY5rvD4IoPXPvDfjp+?=
 =?iso-8859-1?Q?shNyX3e25/8HwCG6kD05qxCZ+jkkVooStNsTdMzBeP/d5XmUyzcI5o0iXU?=
 =?iso-8859-1?Q?I4LR5gNmYzNY1I15YjvpOkd5Pv8fjaMHI2lRmLGD4OJ+KvM6NVfoP9fDHs?=
 =?iso-8859-1?Q?3+3HGe2Kxo7KJOgwIbjATxuGAr7l5vHMdSN/LWojWWIZFTYufTfHblCFmH?=
 =?iso-8859-1?Q?Lk9TaqszTe7qpn0U/BbGDIMESPQ8gf+MZJoFNL9Z1A6bNsINHzOvSALoB8?=
 =?iso-8859-1?Q?RhQx3q3QX4XaJBq7AbGsl9+RVym4EqHaUZbDcNxT6HE4HxA0ksFRY0ylkR?=
 =?iso-8859-1?Q?EIc78qzDNn3YGKWuDjrp7xyzmdeAhNJ8hL97Pn75awbcM+GJp2pJ2643Tx?=
 =?iso-8859-1?Q?6R0tibG9gAVD9WYZjERmpNr5y2Iao7gRwHZ5Mtfs8NampNfpB63HNM1lpD?=
 =?iso-8859-1?Q?QqdTpOkF65+8Ma0alFIeuw4yO8PDehxYJdMRXR/CoFjAyJXok2fDOA5V0d?=
 =?iso-8859-1?Q?ad6jjvYZX6qh+JE8gZOcDYZz28IVBv2Q5aHwDloHjBbipFT9ARM5F/5Xv5?=
 =?iso-8859-1?Q?wfvuUjQRA5trE95wIS57P6oCMuA8uuDtmVEUg3Fn97QWtwmX6btlSpgNDk?=
 =?iso-8859-1?Q?e6wUfwzYHmPXXMl6Hdc7gKWutf7SPqhEdLvnUSrI7zg8/tuj3TM10vimoJ?=
 =?iso-8859-1?Q?ROAnPugXF3Syqwh4jK1DSUgAfd6NWVneioRvi2wX1fTX5AVFA5rzSNXEE7?=
 =?iso-8859-1?Q?hBVbZPTLsQdqW4tSYWgAUqGgcUCPhZuq9BL7ugFYmUlCAF1Fx9W5NyjcO2?=
 =?iso-8859-1?Q?0RaTSxDX/2aH+lQsWGDWGlB2kXBDzh4DCvSCrcuAI7EawyIRmyU1Vgikdu?=
 =?iso-8859-1?Q?8LwxyQq0YDo4M5eg7OAQ8l0hNmn40y/AjwGGkvoMfVNJwxYn1ggDeZu2Lp?=
 =?iso-8859-1?Q?V+ko4E+Llj7ABFY4kncpBUgBQ9++kr9VzBTsHrpCKKWI3OylEriMYjt9q3?=
 =?iso-8859-1?Q?uIP4Y43vd6HfB4bXB//RV96jYSajlNbqY2ejZAdOLyCeBm1rruMaF6OKBl?=
 =?iso-8859-1?Q?q+cYsUS8Q0qirMGKoklnh2gg+Ycyhi3q7S2SNXSfAAf/O3SiSWNwBDH9jy?=
 =?iso-8859-1?Q?AL102N3rLak2njtg6GE=3D?=
Content-Type: multipart/alternative;
 boundary="_000_BLAPR07MB8289D2A3A8AC968831B837EAB5CEABLAPR07MB8289namp_"
MIME-Version: 1.0
X-OriginatorOrg: gatech.edu
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BLAPR07MB8289.namprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 55293cbc-fcb0-4945-b7a7-08dbc8e82932
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2023 16:52:45.2052 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 482198bb-ae7b-4b25-8b7a-6d7f32faa083
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 12F5HII6D21n4WGk+boCb9SWFOvtFh8Vu4FdzAQry4Esvo2zJWHDZKJr1k02wxUruimQqAjsz0mb3tzIfPRjZQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR07MB7533
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 66358
Cc: "66358 <at> debbugs.gnu.org" <66358 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

--_000_BLAPR07MB8289D2A3A8AC968831B837EAB5CEABLAPR07MB8289namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Okay, great! I didn't think that they were mutually exclusive.
However, I still have a problem. You see, the reason why I'm using "guix ar=
chive" in the first place is because I don't have the wifi drivers for my l=
aptop and I'm trying to install it without any Internet.

I don't think that simply adding the files to the store will work in this c=
ase, so I'll probably have to copy the source code, copy gcc-toolchain, cop=
y the lisp code that describes the firmware package, and build there.

In any case, thanks a lot.

--_000_BLAPR07MB8289D2A3A8AC968831B837EAB5CEABLAPR07MB8289namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
Okay, great! I didn't think that they were mutually exclusive.</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
However, I still have a problem. You see, the reason why I'm using &quot;gu=
ix archive&quot; in the first place is because I don't have the wifi driver=
s for my laptop and I'm trying to install it without any Internet.</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
I don't think that simply adding the files to the store will work in this c=
ase, so I'll probably have to copy the source code, copy gcc-toolchain, cop=
y the lisp code that describes the firmware package, and build there.</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<br>
</div>
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
In any case, thanks a lot.</div>
</body>
</html>

--_000_BLAPR07MB8289D2A3A8AC968831B837EAB5CEABLAPR07MB8289namp_--




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.
Changed bug title to 'Some options are really subcommands + ignore arguments' from 'Can't import package using archive command' Request was from Tobias Geerinckx-Rice <me@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 9 Oct 2023 12:33:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 08:33:27 2023
Received: from localhost ([127.0.0.1]:59483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qppRu-0003iD-Nc
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 08:33:26 -0400
Received: from tobias.gr ([80.241.217.52]:53816)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>)
 id 1qppRp-0003hu-Lk; Mon, 09 Oct 2023 08:33:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=v0/hq8bhnc6nd
 IATfzfM48Z+v0++dQsqT9w+xx4+v2Q=; h=subject:to:from:date;
 d=tobias.gr; 
 b=QpyW61gcFt9ZkJUCOgyLOh8ZRcw05/ieAPC9/e4P3HNagn8HhY2shoqoWuDL5Y2X1zww
 sZqdA31uidPbZ4RKwds7y9mMXf6n8QPqo3HraGLPZRmUmXffOnAwEG2kX6Eo6/7uRf3OQR
 wAMVFUwEvwI+QujbvMKt8Z79pO51J1p3C8Ek+/m9HTs6FWOxxayVinFBJZ96M2nJXGKLTD
 Xt1qqSW1JapPAQnl+DQqgioRX3ERMNROMgIhA1qdUBAZNUBY/BjMWotV8IYSBOqt6CTwry
 6HQutkKmWaiYCeBFaWRYZR9VXX98F+C3RXIvZRHsLmp11V+aWyps+4JycgLuxaqA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id 3948ab7a;
 Mon, 9 Oct 2023 12:32:58 +0000 (UTC)
MIME-Version: 1.0
Date: Mon, 09 Oct 2023 14:32:58 +0200
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: control <at> debbugs.gnu.org, 66358 <at> debbugs.gnu.org
Subject: Re: bug#66358: Some options are really subcommands + ignore arguments
Message-ID: <1ab2b75923c210dd7e7abc0ca0886f8b@HIDDEN>
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66358
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 66358 Some options are really subcommands + ignore arguments
thanks

Today, we learn that ‘ and ’ are non-free:

> Processing commands for control <at> debbugs.gnu.org:
>> retitle 66358 ‘guix archive --{authorize,import,…}’ are really
> Failed to set the title of 66358: Non-printable characters are not 
> allowed in bug titles.

All are bugs, bugs are all.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.

Message received at 66358 <at> debbugs.gnu.org:


Received: (at 66358) by debbugs.gnu.org; 9 Oct 2023 12:26:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 08:26:24 2023
Received: from localhost ([127.0.0.1]:59465 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qppL5-0000tt-Ix
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2023 08:26:23 -0400
Received: from tobias.gr ([80.241.217.52]:48276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>)
 id 1qppKz-0000tU-GB; Mon, 09 Oct 2023 08:26:21 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=eRfgTqThLvnM4
 Lj4eRjCTnlmsNWk7USgb894mw8NNDE=;
 h=references:in-reply-to:subject:cc:
 to:from:date; d=tobias.gr; b=FuKRBbbL2rTjEoQaIOkXYKZ1msJklgBvHm7c30JtF
 SgAutk5wti/P6SyWdFaOM76moFWEM6EcbCue2bYGCPxm8DZrvRs+kEIMvrASsauHx6GszF
 n/swRceXW0y7B9T6+mhjgtZKoHYDMo4qIkvtX8BMhQtpep4lMdsCdI0Iy+E86bHNn8UtHF
 oXUrMFre0I2gHsgPF9zq+9CtL/df1nVanDiyWb+eHf0pZtGHh8tpuYSqYOW7L4vzeqgUQ0
 /hmBUhl+GIgPe3HtH+jJw0ec6JmbKnhjuuYDH8JccbivLEQDFNHKAkIvwN6NLjGJASbBYn
 YCtVmoAyUWPwnoNSduTvQ==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id fa8a595c;
 Mon, 9 Oct 2023 12:25:51 +0000 (UTC)
MIME-Version: 1.0
Date: Mon, 09 Oct 2023 14:25:51 +0200
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: "Perry, Daniel J" <dperry45@HIDDEN>
Subject: Re: bug#66358: Can't import package using archive command
In-Reply-To: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
References: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
Message-ID: <74541e429369739b82716cd72ee3b511@HIDDEN>
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66358
Cc: control <at> debbugs.gnu.org, 66358 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

retitle 66358 ‘guix archive --{authorize,import,…}’ are really 
subcommands + ignore some arguments
thanks

Hi Daniel,

The error is correct, so I sure hope it's reproducible!

Later options cancel out previous ones, so your ‘--authorize’ action 
takes precedence over ‘--import’.  You're passing it a binary .nar 
archive as a private key (which is an s-expression).

Boom.

Instead:

   1.  guix archive --export hello > hello.nar
   2.  guix archive --authorize < export-host.private-key
   3.  guix archive --import < hello.nar

Note that you had an extra ‘hello’ in your --import command as well.  
Please note that it does nothing.  Option parsing in Guix is 
surprisingly lax.

I started thinking about a nice way to make ‘--action’ options mutually 
exclusive, but reconsidered.  I think it would violate POLA if not 
POSIX.

I think it would be less surprising if these ‘single, mutually exclusive 
actions’ should always be (sub)subcommands, e.g., ‘guix archive import’, 
‘guix archive authorize’, …

I don't know if that change is still worth making here.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.




Information forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Oct 2023 05:13:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 05 01:13:29 2023
Received: from localhost ([127.0.0.1]:45753 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qoGfw-0001Ol-CI
	for submit <at> debbugs.gnu.org; Thu, 05 Oct 2023 01:13:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:57474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dperry45@HIDDEN>) id 1qoFEK-0006zY-3D
 for submit <at> debbugs.gnu.org; Wed, 04 Oct 2023 23:40:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dperry45@HIDDEN>)
 id 1qoFDw-0000pD-5s
 for bug-guix@HIDDEN; Wed, 04 Oct 2023 23:40:28 -0400
Received: from mail-dm6nam10on20704.outbound.protection.outlook.com
 ([2a01:111:f400:7e88::704]
 helo=NAM10-DM6-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dperry45@HIDDEN>)
 id 1qoFDt-0006it-Qz
 for bug-guix@HIDDEN; Wed, 04 Oct 2023 23:40:27 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ApC8GUHqJuJD0+Jpy19HgWSBtmiPnjqgG+MJKDLLdah146CEzZjfWNe56g/v52nXc+eVwza1esdh4qHTwrhPBRzbyMKmlL1CsSoivJFWe6TazCJPpUPTTi4ggPnJxI0WWlT+oVpoPdmdbSVQUpsDdvWvvd1mrgM/AAJ8vVvUJ4wU7kgiz/+fjF6ShwYeR9TmT7Eok9zEWQiv1O4bEQ4ysb6w8OpApU6xg4sGVkYszoaX7yiJWafYH5Hyv42p87MeZSUIFtmSIrA9+T4cE0prhO4cqTZ0oWJO81Bi0MvyTakmLkmMR4tJA0KYPLPGKsI745Lka1PcQ8cefyNtwFC82A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=D2GkihxKqi6J6oJ/LkaMmd0j8eQZH4dun3WgLMA07Zw=;
 b=ZgtbtocYDWPJLcBVd0VSuqY4e5p8QQ813CGdQSle3+aQrgraBc1sj77LMG3e7+Qf0KXv0cy6VKdLIE1t7r/pac/8nz1bF0V5aLptNcZa5dw9lPta0o1lp74swXhdCN2agwkrnEinS7FczyD/3jbWO6frV5UjOuOJYdMshwapunlaezpVtNMOqgrHeqfZQFd5mPnsBNnww+izoGs9f5caoqnhosq7G8CY1BTfy5kOkdfCt0rW2H/Md8I3AsX2LBUhnMAohyqlnEHiPr+g91OG2e9/gqS1ieDEK9aY7poC03dd9cs0q5t5mnBfhMgaDlhTNgj9vLnAHGfEfMX0O629Ng==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=gatech.edu; dmarc=pass action=none header.from=gatech.edu;
 dkim=pass header.d=gatech.edu; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gatech.edu;
 s=selector2;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=D2GkihxKqi6J6oJ/LkaMmd0j8eQZH4dun3WgLMA07Zw=;
 b=nZqO+mSgCBpqxWRCB9PHQG1/ds+nyP7C96oo+fXfGrEDg66t3LCZ1Gj9tkEP+0UizpCTKiS/UmOQVb2pyppHcDCDhRH78h+a94C9EZwiManyhuHsKiNf33iOotTbrt5+cdPj5fxPl1l01oYPgY/M1pOq0Fw/j78rlo8GI2/gZbwNeCQS7CjU6306lOaIBGWJfvZToeQ+kGLKIP+EaBRMNlejAqsew31uWa6e8OzM5uxw1m0W9oOo8jlVLqC7UdF2vnTSH60/p6x14MbxFBzxRGCLwg2yqKC60mT26qeBjv2+RxtoLfKmR36EWR8GmHILpUU6NLy0+3P0fBVBq8rUKg==
Received: from BLAPR07MB8289.namprd07.prod.outlook.com (2603:10b6:208:320::21)
 by PH7PR07MB9393.namprd07.prod.outlook.com (2603:10b6:510:15d::6)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.16; Thu, 5 Oct
 2023 03:35:21 +0000
Received: from BLAPR07MB8289.namprd07.prod.outlook.com
 ([fe80::4db5:289e:bd65:af57]) by BLAPR07MB8289.namprd07.prod.outlook.com
 ([fe80::4db5:289e:bd65:af57%4]) with mapi id 15.20.6863.021; Thu, 5 Oct 2023
 03:35:21 +0000
From: "Perry, Daniel J" <dperry45@HIDDEN>
To: "bug-guix@HIDDEN" <bug-guix@HIDDEN>
Subject: Can't import package using archive command
Thread-Topic: Can't import package using archive command
Thread-Index: AQHZ9zyjLnBixkznFUCPcXAV2xhAPQ==
Date: Thu, 5 Oct 2023 03:35:20 +0000
Message-ID: <BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAA@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: 
authentication-results: dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=gatech.edu;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BLAPR07MB8289:EE_|PH7PR07MB9393:EE_
x-ms-office365-filtering-correlation-id: bdcb325c-fa05-46fc-6ab8-08dbc55419fa
x-gt-tenant: 042d12d7-75fe-4547-b5b6-0573f80f829d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: sQ206yya/Kdka722sdC1YWByffGVPvLh7AO6I/YpxXVF01o91sXnQS98HS0rxyR6iW4DF+SQ3huzYyFXn6fJRTt1yRby8QmhVMmEuVxf0HmcCw2LLVIHbFf9bAKvCRUXTJyI/FKt1xv3/1Cgw9oRJ8Ax/FuUHFG2nk4xjEe8h+D8HkWQgRkrMG34AfYA1LiXLVOSJJfE9dmk0XTEnpAdmjCPRMiAKRlQ+P17bwLQF/oVDNWFznpsdAP+VEozKXhklI581WaTuLv4m74HniNbbRYC6P5wvutof1+I0ueoZf1yxK5dRiB2JPVPOoOZrBm3+MyW+lFKoN8CMMp0RiSIFVHYRbipg3i5Gfru9aAU+8LYPw9hmX3R0rILOakMkWwovIwWikz7mYRJiSKs228/cSbiTO+QJoCfbKg0zqyyOHmqwXRXKbLybqss/YYdNHKPKvmE6oN57iRB43+Tbuw3dlUSKdPOpGSa/ZZANiUa53kqlN7zxFSgZO0J/cgicz5MS1uKRJthqlZITfxFCnieAO1+h1aOwGnYbyzoBAlc7KrRM7DCMHgawmfZ0oNvGaCFgpvrKXdN+d8dKNZLB8jJZzEnN44kH4M6xijqXCLbvYVjM65/9tg79Q3CRusgmerM
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BLAPR07MB8289.namprd07.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(13230031)(376002)(136003)(39860400002)(346002)(396003)(366004)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(8676002)(8936002)(52536014)(5660300002)(2906002)(86362001)(66556008)(66476007)(76116006)(66946007)(64756008)(66446008)(19627405001)(38070700005)(38100700002)(41300700001)(478600001)(316002)(6916009)(786003)(71200400001)(33656002)(9686003)(6506007)(7696005)(558084003)(122000001)(75432002)(55016003);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?EGYtBHi7xqXXdTIVMIimFiJEOsafAyxwtUH+wU+pbVZPybw+ycL/4J+fRg?=
 =?iso-8859-1?Q?F1XNysu1sFXgG3q3xZZENa3c4AWcuKnfHEKljVYLoJJElh14N76+GV89ts?=
 =?iso-8859-1?Q?cF396TSZYd7ayh6UfSLYzCsQnAGTgc+GgT5G9xyEszH4cWv7HCsqNQDv7V?=
 =?iso-8859-1?Q?5wKgbS+ePw5dtSe3tesIvXDA6BQNNeqVD6Yzt3t3buR3aJVEo4VlWzu9na?=
 =?iso-8859-1?Q?DiAkZKO7xQnnx4MpLEO/wjlgN9hEQzov6QLmThJG4fpS3nGZRS4MJxFTCA?=
 =?iso-8859-1?Q?aVYnp86MP2LI9ejPU+DqCx6MXv+D7tJOORWDYtRl66li26G5pkKGqr5+lV?=
 =?iso-8859-1?Q?Kv7h19xGIUo/e6Dr/RaBiZC25TYz3PHfleZCxOoFqlaeBPzjidpmxWwclh?=
 =?iso-8859-1?Q?psOAglE/hP3UvOa66dObSKQXT6CBcefVgP6Vv9PTxfEs9BmXbxh0OLqyVM?=
 =?iso-8859-1?Q?VUMsPxj7jV8LE4gNv3vWegSDa64eWKmzUEO2OwqRj4zqoCqhQqhj09Qm84?=
 =?iso-8859-1?Q?tGgqz5Wv7qGtSKqP817ojzJ1gvXQm/KuzIhFDU1evfDybukClJtFj+HnCl?=
 =?iso-8859-1?Q?r5SL5bZrbFllpIiYhy9K8x9PXXu9+/BoRk/qnb+cyVrnmieMGsxiMDDZnZ?=
 =?iso-8859-1?Q?Stk4uasqS4MMvvJrSjldxqEKF6gtho+WcC51OylRtv+xKb/QqU8aYXTYIg?=
 =?iso-8859-1?Q?oh3fWs/OsY/oJf5V8EAvAD+O2yPt+IYIUcRQD3LNY6TLmTy9pcd2GauE+j?=
 =?iso-8859-1?Q?AsXy0T8YygYDnnBpRxHLVu0D9Lxv4CEvs8CQr1r0iCFghedH+q7+IFbcRd?=
 =?iso-8859-1?Q?eFCC8ZTpncX+BW3UfknrZF6EBmHGawuEtmVwMGrp0ZqIoZhOBdp6c3AXKe?=
 =?iso-8859-1?Q?7OBXbv+dzUTRVLtz8q7Db98GRhVL511e4WNwnUQiIrc2N6izjdhBlBnAA0?=
 =?iso-8859-1?Q?N+ytyfBa1VFEwoPVWuQ0qfiTPV/xMq1HunyZNKD/XpVyu1VJHsVigE3g82?=
 =?iso-8859-1?Q?sOoMMLSUHaAgmoZhB89OShQGa8bRhmENxe7hwdsU47S1AEsGE5YJTgZ3Jz?=
 =?iso-8859-1?Q?ioOBWyG5IVfWSvgvRjJwyp8fI442Uv6W8lDErnS7vTHuMlAvI5lCtS3hLf?=
 =?iso-8859-1?Q?rg7YhZJOT62x0aJP+xDuTF1GNbOxuUHEqI6K2hAHSUoIJqOZwk8B/6B0x+?=
 =?iso-8859-1?Q?lRb6sAEaKAx2Y+IFti3OjaYJ+5D6Fohv7RhnZcxUvZvlYup/EjlbZaV+lY?=
 =?iso-8859-1?Q?WR9eD1OTo1nJXEPxrV8iggEXevvyypdJscfiXB2Z8RT0z/x9rS4JUDh+uR?=
 =?iso-8859-1?Q?JOCCLZ8zRgnG3cvMUM5ozV0Iy0PlMISbmEf6uJsDeEmf505mnEnMxCEKuF?=
 =?iso-8859-1?Q?o5XxzOf/5wBsL6j5rvmcpa94htiIg+OBC7pVRCZ3LGC2e5N8XMIiqNZDW5?=
 =?iso-8859-1?Q?dOyxyy5F6OwMqtB1M+uqxnlcgqV+6XoPhvi2RRtwoEswbbGjD5QoL2w4Oi?=
 =?iso-8859-1?Q?8Wza3fRX7/hEKPyfpH1lFFvJvJhQkSvSFaRR4DFrbOKlao9axs8JnJbCJn?=
 =?iso-8859-1?Q?NjdsdFdzXHRJ0B9h+hHyHbjql/TE0pjCM/1adBa/lWBAZVe4XdsYMQzHZ+?=
 =?iso-8859-1?Q?7GXWxp8Gm8RYPDQr0QaC637/7VMEvFHG8WauUy0ML5fh+ZCPWgUMMXIQKV?=
 =?iso-8859-1?Q?AOkPX+hznHOqmoaqWjw=3D?=
Content-Type: multipart/alternative;
 boundary="_000_BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAABLAPR07MB8289namp_"
MIME-Version: 1.0
X-OriginatorOrg: gatech.edu
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BLAPR07MB8289.namprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: bdcb325c-fa05-46fc-6ab8-08dbc55419fa
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Oct 2023 03:35:20.6703 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 482198bb-ae7b-4b25-8b7a-6d7f32faa083
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: WkERJPtI/WcW0T3AuAi/wMkGz7+4wPRLXyYAdJ/tffKItyHLAK61u7vzWz8cfSN1Civ3TB7KFYmR+qk/VdMY8w==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR07MB9393
Received-SPF: pass client-ip=2a01:111:f400:7e88::704;
 envelope-from=dperry45@HIDDEN;
 helo=NAM10-DM6-obe.outbound.protection.outlook.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 05 Oct 2023 01:13:26 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

--_000_BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAABLAPR07MB8289namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

  1.  guix archive --export hello > hello.nar
  2.  guix archive --import --authorize hello < hello.nar

This gives a fatal error on my machine (Debian on wsl) and was reproduced o=
n Guix proper my a member of the IRC chat.

--_000_BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAABLAPR07MB8289namp_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, =
Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" clas=
s=3D"elementToProof">
<ol data-editing-info=3D"{&quot;orderedStyleType&quot;:1,&quot;unorderedSty=
leType&quot;:1}" data-listchain=3D"__List_Chain_66">
<li style=3D"list-style-type: &quot;1. &quot;;">guix archive --export hello=
 &gt; hello.nar</li><li style=3D"list-style-type: &quot;2. &quot;;">guix ar=
chive --import --authorize hello &lt; hello.nar</li></ol>
<div>This gives a fatal error on my machine (Debian on wsl) and was reprodu=
ced on Guix proper my a member of the IRC chat.</div>
</div>
</body>
</html>

--_000_BLAPR07MB82894BA6CA6336CE4EE3EB77B5CAABLAPR07MB8289namp_--




Acknowledgement sent to "Perry, Daniel J" <dperry45@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#66358; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 24 Oct 2023 18:30:02 UTC

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