GNU bug report logs -
#30914
guix build --with-source: transformation had no effect
Previous Next
Reported by: Chris Marusich <cmmarusich <at> gmail.com>
Date: Fri, 23 Mar 2018 04:44:02 UTC
Severity: normal
Tags: notabug
Done: ludo <at> gnu.org (Ludovic Courtès)
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 30914 in the body.
You can then email your comments to 30914 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#30914
; Package
guix
.
(Fri, 23 Mar 2018 04:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Chris Marusich <cmmarusich <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 23 Mar 2018 04:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Is this expected?
[0] marusich <at> garuda.local:~/my-guix
$ guix build --with-source=. guix
guix build: warning: transformation 'with-source' had no effect on guix-0.14.0-9.bdf0c64
/gnu/store/kxihyd1f9kxrh5s2r2yk1f1kwbnxnbvs-guix-0.14.0-9.bdf0c64
[0] marusich <at> garuda.local:~/my-guix
$ guix build --with-source=$(pwd) guix
guix build: warning: transformation 'with-source' had no effect on guix-0.14.0-9.bdf0c64
/gnu/store/kxihyd1f9kxrh5s2r2yk1f1kwbnxnbvs-guix-0.14.0-9.bdf0c64
[0] marusich <at> garuda.local:~/my-guix
$
The manual provides the following examples (see: (guix) Package
Transformation Options), so I was a little surprised that the similar
invocations above didn't work for Guix:
guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz
guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz
For the record, it DOES work if I run:
guix build --with-source=guix=$(pwd) guix
--
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30914
; Package
guix
.
(Fri, 23 Mar 2018 14:09:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 30914 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> writes:
> Hi,
>
> Is this expected?
>
> [0] marusich <at> garuda.local:~/my-guix
> $ guix build --with-source=. guix
> guix build: warning: transformation 'with-source' had no effect on guix-0.14.0-9.bdf0c64
> /gnu/store/kxihyd1f9kxrh5s2r2yk1f1kwbnxnbvs-guix-0.14.0-9.bdf0c64
> [0] marusich <at> garuda.local:~/my-guix
> $ guix build --with-source=$(pwd) guix
> guix build: warning: transformation 'with-source' had no effect on guix-0.14.0-9.bdf0c64
> /gnu/store/kxihyd1f9kxrh5s2r2yk1f1kwbnxnbvs-guix-0.14.0-9.bdf0c64
> [0] marusich <at> garuda.local:~/my-guix
> $
The --with-source argument requires that the directory is named the same
as the package you are building. This is so that you can pass it
multiple times in one invocation, with multiple transformations.
> The manual provides the following examples (see: (guix) Package
> Transformation Options), so I was a little surprised that the similar
> invocations above didn't work for Guix:
>
> guix build ed --with-source=mirror://gnu/ed/ed-1.7.tar.gz
> guix build guile --with-source=../guile-2.0.9.219-e1bb7.tar.xz
...except for tarballs, apparently.
> For the record, it DOES work if I run:
>
> guix build --with-source=guix=$(pwd) guix
This was added in 3e30cdf1c35ebeb52630ec19b3b43b9e6d5ffb81 precisely to
provide a convenient method for using --with-source without renaming or
symlinking the target directory, IIRC.
Hope this clears things up!
[signature.asc (application/pgp-signature, inline)]
Added tag(s) notabug.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 27 Mar 2018 08:42:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
30914 <at> debbugs.gnu.org and Chris Marusich <cmmarusich <at> gmail.com>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 27 Mar 2018 08:42:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 24 Apr 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 52 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.