GNU bug report logs - #46389
Guix says it will download an output that is already downloaded

Previous Next

Package: guix;

Reported by: pkill9 <pkill9 <at> runbox.com>

Date: Mon, 8 Feb 2021 21:56:01 UTC

Severity: normal

To reply to this bug, email your comments to 46389 AT debbugs.gnu.org.

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

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


Report forwarded to bug-guix <at> gnu.org:
bug#46389; Package guix. (Mon, 08 Feb 2021 21:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to pkill9 <pkill9 <at> runbox.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 08 Feb 2021 21:56:01 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: bug-guix <at> gnu.org
Subject: Guix says it will download an output that is already downloaded
Date: Mon, 8 Feb 2021 21:55:31 +0000
I had qtbase downloaded to the store as a reference for another store
path, but `guix build qtbase` said it will download it, but it only
downloaded the debug output of qtbase, plus the other dependencies, so
maybe guix doesn't omit package outputs that have already been
downloaded?




Information forwarded to bug-guix <at> gnu.org:
bug#46389; Package guix. (Tue, 09 Feb 2021 09:44:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: pkill9 <pkill9 <at> runbox.com>
Cc: 46389 <at> debbugs.gnu.org
Subject: Re: bug#46389: Guix says it will download an output that is already
 downloaded
Date: Tue, 09 Feb 2021 10:42:54 +0100
Hi,

pkill9 <pkill9 <at> runbox.com> skribis:

> I had qtbase downloaded to the store as a reference for another store
> path, but `guix build qtbase` said it will download it, but it only
> downloaded the debug output of qtbase, plus the other dependencies, so
> maybe guix doesn't omit package outputs that have already been
> downloaded?

‘guix build qtbase’ said it would download both the “out” and the
“debug” output of qtbase, is that correct?

It would be ideal if you could send precisely what’s on your terminal.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#46389; Package guix. (Tue, 09 Feb 2021 19:57:01 GMT) Full text and rfc822 format available.

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

From: pkill9 <pkill9 <at> runbox.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 46389 <at> debbugs.gnu.org
Subject: Re: bug#46389: Guix says it will download an output that is already
 downloaded
Date: Tue, 9 Feb 2021 19:56:05 +0000
> ‘guix build qtbase’ said it would download both the “out” and the
> “debug” output of qtbase, is that correct?

Yep

> It would be ideal if you could send precisely what’s on your terminal.
> 
> Thanks,
> Ludo’.

In this example, I've checked the store path
"/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2" exists, and
I've run `guix gc --delete
/gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug`:

```
itsme <at> antelope ~> guix build -n qtbase
209.5 MB would be downloaded:
   /gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug
   /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2
```
 I can't test it with `guix build qtbase` because my internet keeps
 cutting off while downloading qtbase-5.15.2-debug, but iirc
after it downloads the debug output, it just returns both store paths.




Information forwarded to bug-guix <at> gnu.org:
bug#46389; Package guix. (Wed, 23 Mar 2022 03:33:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: pkill9 <pkill9 <at> runbox.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 46389 <at> debbugs.gnu.org
Subject: Re: bug#46389: Guix says it will download an output that is already
 downloaded
Date: Tue, 22 Mar 2022 23:32:17 -0400
Hello,

pkill9 <pkill9 <at> runbox.com> writes:

>> ‘guix build qtbase’ said it would download both the “out” and the
>> “debug” output of qtbase, is that correct?
>
> Yep
>
>> It would be ideal if you could send precisely what’s on your terminal.
>> 
>> Thanks,
>> Ludo’.
>
> In this example, I've checked the store path
> "/gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2" exists, and
> I've run `guix gc --delete
> /gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug`:
>
> ```
> itsme <at> antelope ~> guix build -n qtbase
> 209.5 MB would be downloaded:
>    /gnu/store/f2s8ql1x9d9890qrrf9qq4nix3f5aii3-qtbase-5.15.2-debug
>    /gnu/store/vpvnd6593mjncvyir2rbgp3k83cr7w0a-qtbase-5.15.2
> ```
>  I can't test it with `guix build qtbase` because my internet keeps
>  cutting off while downloading qtbase-5.15.2-debug, but iirc
> after it downloads the debug output, it just returns both store paths.

I think it's a minor UI issue:

--8<---------------cut here---------------start------------->8---
$ guix build ada-ed
substitute: updating substitutes from 'http://127.0.0.1:8181'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.8 MB will be downloaded:
  /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug
  /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2
substituting /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2...
downloading from https://ci.guix.gnu.org/nar/lzip/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2 ...
 ada-ed-1.11.2  337KiB                                          585KiB/s 00:01 [##################] 100.0%

substituting /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug...
downloading from https://ci.guix.gnu.org/nar/lzip/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug ...
 ada-ed-1.11.2-debug  486KiB                                    1.1MiB/s 00:00 [##################] 100.0%

/gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug
/gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2
maxim <at> hurd ~/src/guix-master [env]$ guix gc -D /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug
finding garbage collector roots...
[...]
deleting `/gnu/store/trash'
deleting unused links...

note: currently hard linking saves 70907.58 MiB

$ guix build ada-ed
substitute: updating substitutes from 'http://127.0.0.1:8181'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
0.8 MB will be downloaded:
  /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug
  /gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2
substituting /gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug...
downloading from https://ci.guix.gnu.org/nar/lzip/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug ...
 ada-ed-1.11.2-debug  486KiB                                    832KiB/s 00:01 [##################] 100.0%

/gnu/store/kq9px99x5wnnx44px5z426gqw07afih7-ada-ed-1.11.2-debug
/gnu/store/s4rz0x57m1ashz99jnfg7a5622ff06v1-ada-ed-1.11.2
--8<---------------cut here---------------end--------------->8---

We can see that it listed *both* output about to be downloaded, then
proceeded to download only the one missing (the debug output).

Thanks,

Maxim




Information forwarded to bug-guix <at> gnu.org:
bug#46389; Package guix. (Thu, 24 Mar 2022 08:34:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 46389 <at> debbugs.gnu.org, pkill9 <pkill9 <at> runbox.com>
Subject: Re: bug#46389: Guix says it will download an output that is already
 downloaded
Date: Thu, 24 Mar 2022 09:33:40 +0100
Hi,

Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:

> We can see that it listed *both* output about to be downloaded, then
> proceeded to download only the one missing (the debug output).

That could be a bug in ‘derivation-build-plan’, the procedure that
computes what needs to be built and substituted.

Ludo’.




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

Previous Next


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