GNU bug report logs -
#23855
--no-substitutes still triggers update to list of substitutes
Previous Next
Reported by: Troy Sankey <sankeytms <at> gmail.com>
Date: Mon, 27 Jun 2016 17:38:02 UTC
Severity: normal
Tags: notabug
Found in version 0.10.0
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 23855 in the body.
You can then email your comments to 23855 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#23855
; Package
guix
.
(Mon, 27 Jun 2016 17:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Troy Sankey <sankeytms <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 27 Jun 2016 17:38: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)]
Package: guix
Version: 0.10.0
I'm not totally sure about this, but my assertion is that the list of
substitutes should not be updated if --no-substitutes is present on the command
line. However, guix version 0.10.0 fails my assertion.
Example output:
$ guix package --dry-run --no-substitutes -i st
warning: failed to install locale: Invalid argument
substitute: warning: failed to install locale: Invalid argument
substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
The following package would be installed:
st 0.6 /gnu/store/fsnk8lc7j1w20id5hfssmd8cv9z8g1na-st-0.6
The following derivations would be built:
/gnu/store/59560f3snqnxgn991kq9wlsap6yp2p0q-profile.drv
/gnu/store/hnnc1n5z6f4qv6q0i04fny1725g633b5-info-dir.drv
/gnu/store/f0nlagyzpyhykhn752gv5jv71fm74msx-ca-certificate-bundle.drv
/gnu/store/lc6wxgz6m521zamdjb0kmd86rhn3l0jh-liberation-fonts-ttf-2.00.1.tar.gz.drv
/gnu/store/lh56wp7v0w6xbga9rc19fp236ii1jjlf-libXfixes-5.0.1.tar.bz2.drv
/gnu/store/iqi33bhmydkjk47ib4hykp9hx5dgv91x-libXcomposite-0.4.4.tar.bz2.drv
/gnu/store/1d5zjlry87gcmbmwqj69jjkpfmr1kyin-compositeproto-0.4.2.drv
/gnu/store/50mqcf0nhmyp6l94iy7yif1wzw0mbx1s-fixesproto-5.0.drv
/gnu/store/6alkhqglqns5a8y4zk750bdbn6gwyk6p-st-0.6.tar.gz.drv
/gnu/store/a80b8rqkagg7qwnhpy75vnam3pvh8x1r-libxcomposite-0.4.4.drv
/gnu/store/cj2yqxm365qbx6kww46913i7s27jyhaf-libxfixes-5.0.1.drv
/gnu/store/sz9n1mx93c5s7mvz90my8072xq68xa43-font-liberation-2.00.1.drv
/gnu/store/1jlmi4y2yszzdpjsw3qcbq9073ma938k-st-0.6.drv
/gnu/store/2l5l3vx61i287c4sq1ds4g68r2dsmzaa-st-0.6.drv
$ guix --version
warning: failed to install locale: Invalid argument
guix (GNU Guix) 0.10.0
Copyright (C) 2016 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note the line which contains "substitute: updating list of substitutes [...]".
Guix 0.10.0 is the version I get when I run `guix package -i guix`.
Thanks,
Troy
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23855
; Package
guix
.
(Tue, 28 Jun 2016 12:34:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 23855 <at> debbugs.gnu.org (full text, mbox):
Hello!
Troy Sankey <sankeytms <at> gmail.com> skribis:
> I'm not totally sure about this, but my assertion is that the list of
> substitutes should not be updated if --no-substitutes is present on the command
> line. However, guix version 0.10.0 fails my assertion.
You are correct: --no-substitutes should entirely inhibit connections to
the substitute servers.
> Example output:
>
>
> $ guix package --dry-run --no-substitutes -i st
> warning: failed to install locale: Invalid argument
> substitute: warning: failed to install locale: Invalid argument
> substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0%
> The following package would be installed:
> st 0.6 /gnu/store/fsnk8lc7j1w20id5hfssmd8cv9z8g1na-st-0.6
>
> The following derivations would be built:
> /gnu/store/59560f3snqnxgn991kq9wlsap6yp2p0q-profile.drv
> /gnu/store/hnnc1n5z6f4qv6q0i04fny1725g633b5-info-dir.drv
> /gnu/store/f0nlagyzpyhykhn752gv5jv71fm74msx-ca-certificate-bundle.drv
> /gnu/store/lc6wxgz6m521zamdjb0kmd86rhn3l0jh-liberation-fonts-ttf-2.00.1.tar.gz.drv
> /gnu/store/lh56wp7v0w6xbga9rc19fp236ii1jjlf-libXfixes-5.0.1.tar.bz2.drv
> /gnu/store/iqi33bhmydkjk47ib4hykp9hx5dgv91x-libXcomposite-0.4.4.tar.bz2.drv
> /gnu/store/1d5zjlry87gcmbmwqj69jjkpfmr1kyin-compositeproto-0.4.2.drv
> /gnu/store/50mqcf0nhmyp6l94iy7yif1wzw0mbx1s-fixesproto-5.0.drv
> /gnu/store/6alkhqglqns5a8y4zk750bdbn6gwyk6p-st-0.6.tar.gz.drv
> /gnu/store/a80b8rqkagg7qwnhpy75vnam3pvh8x1r-libxcomposite-0.4.4.drv
> /gnu/store/cj2yqxm365qbx6kww46913i7s27jyhaf-libxfixes-5.0.1.drv
> /gnu/store/sz9n1mx93c5s7mvz90my8072xq68xa43-font-liberation-2.00.1.drv
> /gnu/store/1jlmi4y2yszzdpjsw3qcbq9073ma938k-st-0.6.drv
> /gnu/store/2l5l3vx61i287c4sq1ds4g68r2dsmzaa-st-0.6.drv
>
> $ guix --version
> warning: failed to install locale: Invalid argument
> guix (GNU Guix) 0.10.0
> Copyright (C) 2016 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
>
> Note the line which contains "substitute: updating list of substitutes [...]".
>
> Guix 0.10.0 is the version I get when I run `guix package -i guix`.
Commit 151afd84dc9bf8f13de79a689f7f163fba7254ec (May 31st) fixed
something in this area. However, the change is in ‘guix-daemon’, so you
need to build and install ‘guix-daemon’ to take advantage of it (the
current ‘guix’ package with version 0.10.0-0.e901 is older than this
change.)
HTH,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23855
; Package
guix
.
(Tue, 28 Jun 2016 21:04:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 23855 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2016-06-28 08:33:39 -0400, ludo wrote:
> Commit 151afd84dc9bf8f13de79a689f7f163fba7254ec (May 31st) fixed
> something in this area. However, the change is in ‘guix-daemon’, so you
> need to build and install ‘guix-daemon’ to take advantage of it (the
> current ‘guix’ package with version 0.10.0-0.e901 is older than this
> change.)
>
> HTH,
> Ludo’.
I can confirm that a checkout of commit
151afd84dc9bf8f13de79a689f7f163fba7254ec (guix-0.10.0-0.151a on my system) does
not contain the bug.
$ guix package --dry-run --no-substitutes -i hello
Starting download of /gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz
From http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz...
[...]
$ ps aux | grep guix-daemon | grep -v grep
root 24479 0.0 0.2 6436 3688 ? Ss 16:19 0:00 /gnu/store/bkwyj6ab66hi1rr1sgh81hi6wx98mnab-guix-0.10.0-0.151a/bin/guix-daemon --build-users-group=guixbuild
$ ls -l `which guix`
lrwxrwxrwx 2 root guixbuild 71 Dec 31 1969 /home/sankey/.guix-profile/bin/guix -> /gnu/store/bkwyj6ab66hi1rr1sgh81hi6wx98mnab-guix-0.10.0-0.151a/bin/guix
Thanks, there is no bug to fix here!
Troy
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#23855
; Package
guix
.
(Tue, 28 Jun 2016 21:07:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 23855 <at> debbugs.gnu.org (full text, mbox):
Troy Sankey <sankeytms <at> gmail.com> skribis:
> On 2016-06-28 08:33:39 -0400, ludo wrote:
>> Commit 151afd84dc9bf8f13de79a689f7f163fba7254ec (May 31st) fixed
>> something in this area. However, the change is in ‘guix-daemon’, so you
>> need to build and install ‘guix-daemon’ to take advantage of it (the
>> current ‘guix’ package with version 0.10.0-0.e901 is older than this
>> change.)
>>
>> HTH,
>> Ludo’.
>
> I can confirm that a checkout of commit
> 151afd84dc9bf8f13de79a689f7f163fba7254ec (guix-0.10.0-0.151a on my system) does
> not contain the bug.
Great, thanks for confirming!
Ludo’.
Added tag(s) notabug.
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 28 Jun 2016 21:08:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
23855 <at> debbugs.gnu.org and Troy Sankey <sankeytms <at> gmail.com>
Request was from
ludo <at> gnu.org (Ludovic Courtès)
to
control <at> debbugs.gnu.org
.
(Tue, 28 Jun 2016 21:08: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
.
(Wed, 27 Jul 2016 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 327 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.