GNU bug report logs - #43436
[PATCH 0/1] guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.

Previous Next

Package: guix-patches;

Reported by: zimoun <zimon.toutoune <at> gmail.com>

Date: Tue, 15 Sep 2020 22:16:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43436 in the body.
You can then email your comments to 43436 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43436; Package guix-patches. (Tue, 15 Sep 2020 22:16:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to zimoun <zimon.toutoune <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 15 Sep 2020 22:16:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 0/1] guix: scripts: build: Mention 'PACKAGE' in
 '--with-source' option.
Date: Wed, 16 Sep 2020 00:15:42 +0200
Dear,

It appears serveral times that I am confused by the transformation
"--with-source" where the CLI reports:

--8<---------------cut here---------------start------------->8---
guix build: warning: transformation 'with-source' had no effect on
--8<---------------cut here---------------end--------------->8---

because I use "guix build --with-source=path/to/archive" where
'path/to/archive' does not match the package name.  Then "guix build -h" says:

--8<---------------cut here---------------start------------->8---
      --with-source=SOURCE
                         use SOURCE when building the corresponding package
--8<---------------cut here---------------end--------------->8---

and all the others transformation options says:

--8<---------------cut here---------------start------------->8---
      --with-input=PACKAGE=REPLACEMENT
                         replace dependency PACKAGE by REPLACEMENT
      --with-graft=PACKAGE=REPLACEMENT
                         graft REPLACEMENT on packages that refer to PACKAGE
      --with-branch=PACKAGE=BRANCH
                         build PACKAGE from the latest commit of BRANCH
      --with-commit=PACKAGE=COMMIT
                         build PACKAGE from COMMIT
      --with-git-url=PACKAGE=URL
                         build PACKAGE from the repository at URL
--8<---------------cut here---------------end--------------->8---


All the best,
simon

zimoun (1):
  guix: scripts: build: Mention 'PACKAGE' in '--with-source' option.

 guix/scripts/build.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.28.0





Information forwarded to guix-patches <at> gnu.org:
bug#43436; Package guix-patches. (Tue, 15 Sep 2020 22:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 43436 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: 43436 <at> debbugs.gnu.org
Cc: zimoun <zimon.toutoune <at> gmail.com>
Subject: [PATCH 1/1] guix: scripts: build: Mention 'PACKAGE' in
 '--with-source' option.
Date: Wed, 16 Sep 2020 00:17:29 +0200
* guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
in '--with-source' option.
---
 guix/scripts/build.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
index 25418661b9..4592f23f26 100644
--- a/guix/scripts/build.scm
+++ b/guix/scripts/build.scm
@@ -427,7 +427,7 @@ a checkout of the Git repository at the given URL."
 
 (define (show-transformation-options-help)
   (display (G_ "
-      --with-source=SOURCE
+      --with-source=PACKAGE=SOURCE
                          use SOURCE when building the corresponding package"))
   (display (G_ "
       --with-input=PACKAGE=REPLACEMENT
-- 
2.28.0





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Mon, 21 Sep 2020 21:16:02 GMT) Full text and rfc822 format available.

Notification sent to zimoun <zimon.toutoune <at> gmail.com>:
bug acknowledged by developer. (Mon, 21 Sep 2020 21:16:02 GMT) Full text and rfc822 format available.

Message #13 received at 43436-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 43436-done <at> debbugs.gnu.org
Subject: Re: [bug#43436] [PATCH 1/1] guix: scripts: build: Mention 'PACKAGE'
 in '--with-source' option.
Date: Mon, 21 Sep 2020 23:15:15 +0200
zimoun <zimon.toutoune <at> gmail.com> skribis:

> * guix/scripts/build.scm (show-transformation-options-help): Mention 'PACKAGE'
> in '--with-source' option.
> ---
>  guix/scripts/build.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/guix/scripts/build.scm b/guix/scripts/build.scm
> index 25418661b9..4592f23f26 100644
> --- a/guix/scripts/build.scm
> +++ b/guix/scripts/build.scm
> @@ -427,7 +427,7 @@ a checkout of the Git repository at the given URL."
>  
>  (define (show-transformation-options-help)
>    (display (G_ "
> -      --with-source=SOURCE
> +      --with-source=PACKAGE=SOURCE

I added square brackets because PACKAGE is optional.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 20 Oct 2020 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 182 days ago.

Previous Next


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