GNU bug report logs - #31456
guix size tries to fetch substitute information for installed package.

Previous Next

Package: guix;

Reported by: Martin Castillo <castilma <at> uni-bremen.de>

Date: Mon, 14 May 2018 20:11:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Martin Castillo <castilma <at> uni-bremen.de>
Subject: bug#31456: closed (Re: bug#31456: guix size tries to fetch
 substitute information for installed package.)
Date: Wed, 16 May 2018 13:30:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#31456: guix size tries to fetch substitute information for installed package.

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 31456 <at> debbugs.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)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma <at> uni-bremen.de>
Cc: 31456-done <at> debbugs.gnu.org
Subject: Re: bug#31456: guix size tries to fetch substitute information for
 installed package.
Date: Wed, 16 May 2018 15:29:04 +0200
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’.

[Message part 3 (message/rfc822, inline)]
From: Martin Castillo <castilma <at> uni-bremen.de>
To: bug-guix <at> gnu.org
Subject: guix size tries to fetch substitute information for installed package.
Date: Mon, 14 May 2018 22:10:07 +0200
[Message part 4 (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)]

This bug report was last modified 7 years and 11 days ago.

Previous Next


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