GNU bug report logs - #44893
`guix deploy` doesn't recognize option --dry-run

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: Jesse Gibbons <jgibbons2357@HIDDEN>; merged with #41945; dated Thu, 26 Nov 2020 20:12:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 41945 44893. Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 44893) by debbugs.gnu.org; 28 Nov 2020 10:55:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 28 05:55:50 2020
Received: from localhost ([127.0.0.1]:47010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kixtN-0007eU-Ri
	for submit <at> debbugs.gnu.org; Sat, 28 Nov 2020 05:55:50 -0500
Received: from mail-wr1-f50.google.com ([209.85.221.50]:37239)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1kixtJ-0007eB-45
 for 44893 <at> debbugs.gnu.org; Sat, 28 Nov 2020 05:55:48 -0500
Received: by mail-wr1-f50.google.com with SMTP id i2so8201436wrs.4
 for <44893 <at> debbugs.gnu.org>; Sat, 28 Nov 2020 02:55:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version
 :content-transfer-encoding;
 bh=XE5kbdd2yhW2tet7gMzn5rLL5ywL+qAGuXJZWOmQiog=;
 b=XESM0QubWVxkA2A0tZt3JpgGgAj73qcMYKjjBbKVA7mRyjT8jZDsfmYGsEzowLw7N9
 d+2kdTfJwffv/6bn8VBKuQ3Uqo7nPW1bGzadn+iDOrz3amJwkCMvEcCEZbKOXB9y3rvy
 74KXdXxeSaaMNTgZFG9UPwecB+4mt+yDwdpve1gUYm7mrz2Ay9/9LvBy/MUYGtHQw9XD
 W+B/+4odeoYd9caY0LWYGgA5/PuTUGdOJtQ2575FP5kw0HmGFZfZKNjkNO7UzPPBc0KC
 C79aspDoHzf/8VzjsNvuEzQO8lGCjChSykbN8ULFPRW9UHup5RvhOjtZ4AshvghA6fRW
 lieg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version:content-transfer-encoding;
 bh=XE5kbdd2yhW2tet7gMzn5rLL5ywL+qAGuXJZWOmQiog=;
 b=MvrMzSrl48lznG/DgcOU5ClKgtuh/34UvfKk+oNyIBvFPIWlp6LEXBRCQ4dErC7clH
 BdKt1/D7w6GZ29JXbvmSwCF9/1Wh811waVPRnFbnqVrz3/+DKETvMRwTKjSibivB+SPi
 P5ruu8d0NhBQjEVNr3O0dCIWawopx6CqTpOf7mBhlUBL+mqAFzYuuCQSc4quzLQANg7w
 LvVpn//jQ6tj87i/RkNQvjL0lY4BehavXACRLcQK54QWSn57J2LokpzytxRDaGFxvnJc
 yJ+S2TV/rlNi5RRJNkwP7qfvVqZWJU/st4CiWfB4MU4bVwgcoleEggRAK7XO0QbkhNjV
 mvzg==
X-Gm-Message-State: AOAM533jppj8+yM1S9Bpq4bj/IyuoZ8CYgIiQHRzqZOeAJCv9W34v07n
 Hn34e0kt5XbwosCFfSg8zQZLMOP0wGkxVQ==
X-Google-Smtp-Source: ABdhPJxAmDZp5ILKdSnD7/ojf/i79sB09YjHaRszecq6xd1G+Jzv/Kavee/2fcednO2qgmDpsPWdlQ==
X-Received: by 2002:adf:f3cf:: with SMTP id g15mr16867120wrp.71.1606560938858; 
 Sat, 28 Nov 2020 02:55:38 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
 by smtp.gmail.com with ESMTPSA id q12sm18722478wrx.86.2020.11.28.02.55.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 28 Nov 2020 02:55:38 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
To: Jesse Gibbons <jgibbons2357@HIDDEN>, 44893 <at> debbugs.gnu.org
Subject: Re: bug#44893: `guix deploy` doesn't recognize option --dry-run
In-Reply-To: <33204938-938e-a699-85c0-89c97bbf09b6@HIDDEN>
References: <33204938-938e-a699-85c0-89c97bbf09b6@HIDDEN>
Date: Sat, 28 Nov 2020 11:48:44 +0100
Message-ID: <867dq5rc37.fsf@HIDDEN>
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: 44893
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 (-)

Dear,

Thank you for the report.

On Thu, 26 Nov 2020 at 13:11, Jesse Gibbons <jgibbons2357@HIDDEN> wrote:
> --dry-run is an option listed in `guix deploy --help` but when I try it,=
=20
> it isn't recognized:
>
> $ guix deploy --dry-run deploy.scm
> guix deploy: error: dry-run: unrecognized option

Yeah, it is because =E2=80=99show-build-options-help=E2=80=99 is used.  I a=
m not using
=E2=80=9Cguix deploy=E2=80=9D and the question is: are all the build option=
s working?

The build options of =E2=80=99show-build-options-help=E2=80=99 are:

  -L, --load-path=3DDIR    prepend DIR to the package module search path
  -K, --keep-failed      keep build tree of failed builds
  -k, --keep-going       keep going when some of the derivations fail
  -n, --dry-run          do not build the derivations
      --fallback         fall back to building when the substituter fails
      --no-substitutes   build instead of resorting to pre-built substitutes
      --substitute-urls=3DURLS
                         fetch substitute from URLS if they are authorized
      --no-grafts        do not graft packages
      --no-offload       do not attempt to offload builds
      --max-silent-time=3DSECONDS
                         mark the build as failed after SECONDS of silence
      --timeout=3DSECONDS  mark the build as failed after SECONDS of activi=
ty
      --rounds=3DN         build N times in a row to detect non-determinism
  -c, --cores=3DN          allow the use of up to N CPU cores for the build
  -M, --max-jobs=3DN       allow at most N build jobs
      --debug=3DLEVEL      produce debugging output at LEVEL

The relevant piece of code is:

--8<---------------cut here---------------start------------->8---
      (with-status-verbosity (assoc-ref opts 'verbosity)
        (with-store store
          (set-build-options-from-command-line store opts)
          (with-build-handler (build-notifier #:use-substitutes?
                                              (assoc-ref opts 'substitutes?)
                                              #:verbosity
                                              (assoc-ref opts 'verbosity))
            (parameterize ((%graft? (assq-ref opts 'graft?)))
              (map/accumulate-builds store
                                     (cut deploy-machine* store <>)
                                     machines))))))))
--8<---------------cut here---------------end--------------->8---

So most of them should work, could you confirm?


What --dry-run should do in the case of =E2=80=9Cguix deploy=E2=80=9D?


All the best,
simon




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

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


Received: (at submit) by debbugs.gnu.org; 26 Nov 2020 20:11:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 26 15:11:44 2020
Received: from localhost ([127.0.0.1]:42986 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kiNcG-0004qs-4Z
	for submit <at> debbugs.gnu.org; Thu, 26 Nov 2020 15:11:44 -0500
Received: from lists.gnu.org ([209.51.188.17]:49888)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jgibbons2357@HIDDEN>) id 1kiNcE-0004qj-Ur
 for submit <at> debbugs.gnu.org; Thu, 26 Nov 2020 15:11:43 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:44088)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jgibbons2357@HIDDEN>)
 id 1kiNcE-0006Ew-Iz
 for bug-guix@HIDDEN; Thu, 26 Nov 2020 15:11:42 -0500
Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:38299)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jgibbons2357@HIDDEN>)
 id 1kiNcB-0003xu-2s
 for bug-guix@HIDDEN; Thu, 26 Nov 2020 15:11:42 -0500
Received: by mail-pg1-x52e.google.com with SMTP id j19so2494060pgg.5
 for <bug-guix@HIDDEN>; Thu, 26 Nov 2020 12:11:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-transfer-encoding:content-language;
 bh=lLd4DBi3jR/37ffpPJ/bQPAFLm+FOP/LEHFZNqFwVMg=;
 b=FUkR5nyPGGpHDcUCVycnJptfW1Lp6M/SkpGyVRLjfS4gsy2wRl02rU1KOTj5plrSQy
 uAWQ89HYVWddkcCb12FgnC92KxXWIkyrUevy/HVMyxZZ4NuGsykWmN4nHgVeU9pklX4N
 zf7busqgr9AgdJy1jVWMC1GQrAUtC7wbcHOndtrVFBtFhE6WmVNF4hRrcNdTzW3DsGs+
 kSDn0OQaHPPUY3taQ7wE2lle0x2Jwm1DyDuIcaSGtIgTSfo9oIsH7Oo49vgMSiuV9VOh
 jt4TTC/sjVybZl7DkI6/wszHIgmpgkpqMSGsvs/h0FRoQ/MXfckJyRbmAb4L0S1wHRce
 VdgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=lLd4DBi3jR/37ffpPJ/bQPAFLm+FOP/LEHFZNqFwVMg=;
 b=Z30wGvaQW5pSJC0o4GSujgNGMAPj1EMAIQnkDKZ4j6mg8UZs5CiqlV8ULCQit6+sWD
 AnYCcDDhkVLhrECk745EaECuIUlaj4snki/iKGFKxtanJ5ok8mhFBroZz39zCoJDEjKU
 Rr+Gbth0HHAjxTnseDYRNaoS/cWP7a5SyFUSxCN5JuXcvaBsMjs9e45C725W6Fa5m/F3
 syJxByrFIZopuo+DGJj38NYzwLW/jQ9sgCbSYshHkZBuNGVQxEo6w0QxtSTqdUoPN51p
 6ZeMGUrQMZuxNY59CqtidrmppFosCpJzyTdQ/MMn5T8W/eW1HCCdFjtZTOeukiJavbhJ
 6lfQ==
X-Gm-Message-State: AOAM532+t82VjC+O6XahScjJmbCsf8+R0Mchb1PwsvnysQXlNjjp4nU6
 +vdsuZ2Ki7V9lGwA2IMMDZInpZvUxp0=
X-Google-Smtp-Source: ABdhPJy2MkAFtCG8TsozV+jZ8ibW1FqH1q1IrJyQdgBsKpyDXJsV0iioZQlTFfq7UP34pm38NLSf2Q==
X-Received: by 2002:a62:37c4:0:b029:197:bfa9:2078 with SMTP id
 e187-20020a6237c40000b0290197bfa92078mr3949365pfa.15.1606421497254; 
 Thu, 26 Nov 2020 12:11:37 -0800 (PST)
Received: from [192.168.1.25] ([38.141.58.134])
 by smtp.gmail.com with ESMTPSA id x3sm7031112pjk.17.2020.11.26.12.11.35
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 26 Nov 2020 12:11:36 -0800 (PST)
To: bug-guix@HIDDEN
From: Jesse Gibbons <jgibbons2357@HIDDEN>
Subject: `guix deploy` doesn't recognize option --dry-run
Message-ID: <33204938-938e-a699-85c0-89c97bbf09b6@HIDDEN>
Date: Thu, 26 Nov 2020 13:11:33 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Icedove/78.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Received-SPF: pass client-ip=2607:f8b0:4864:20::52e;
 envelope-from=jgibbons2357@HIDDEN; helo=mail-pg1-x52e.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
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: -2.1 (--)

--dry-run is an option listed in `guix deploy --help` but when I try it, 
it isn't recognized:

$ guix deploy --dry-run deploy.scm
guix deploy: error: dry-run: unrecognized option






Acknowledgement sent to Jesse Gibbons <jgibbons2357@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#44893; 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: Mon, 30 Nov 2020 04:00:01 UTC

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