GNU bug report logs -
#31456
guix size tries to fetch substitute information for installed package.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 16 May 2018 15:29:04 +0200
with message-id <87efibhgpr.fsf <at> gnu.org>
and subject line Re: bug#31456: guix size tries to fetch substitute information for installed package.
has caused the debbugs.gnu.org bug report #31456,
regarding guix size tries to fetch substitute information for installed package.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
31456: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31456
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
I'm on guix 563ab27bd4caead5676bbd515c54b25100c98960 on guixsd.
$ guix package -I; contains
lilypond 2.19.80 out
/gnu/store/jhmz7wpb93hryzqq32kcb4fs9cd84jyi-lilypond-2.19.80
I installed lilypond with that guix version.
$ guix size lilypond; gives me
guix size: error: no available substitute information for
'/gnu/store/6zyrglcmk8l4xpwvg6hgq1al81d7fr1w-lilypond-2.19.80'
I have no idea how this happens.
A wild guess is that store/jhmz.. is a grafted version, and guix size
looks for the ungrafted one?
Martin
--
GPG: 7FDE 7190 2F73 2C50 236E 403D CC13 48F1 E644 08EC
[signature.asc (application/pgp-signature, attachment)]
[Message part 5 (message/rfc822, inline)]
Hello Martin,
Martin Castillo <castilma <at> uni-bremen.de> skribis:
>> Exactly. So I don’t think it’s a bug per se, just that no substitutes
>> were unavailable when you checked.
>
> The documentation gives me the impression that it should work without
> substitutes, when I have the package installed.
Right, it will work out-of-the-box if you have the ungrafted version in
the store.
> I think guix size should automatically search for the grafted version,
> unless there is a technical reason/another use-case for guix size that
> I'm not aware of, for which it makes more sense to use the ungrafted
> version.
‘guix size’ resorts to substitutes if it can’t find what it’s looking
for locally.
It explicitly search for the ungrafted version because substitute
servers only have the ungrafted version, and because computing the
derivation of the grafted version may require building the ungrafted on.
> If that's the case, maybe say that in the documentation?
Agreed, done in 2fd345cdfdd45dd48c9392a26793e442d680968b.
Thank you!
Ludo’.
This bug report was last modified 7 years and 62 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.