unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46389: Guix says it will download an output that is already downloaded
@ 2021-02-08 21:55 pkill9
  2021-02-09  9:42 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: pkill9 @ 2021-02-08 21:55 UTC (permalink / raw)
  To: 46389

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?




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#46389: Guix says it will download an output that is already downloaded
  2021-02-08 21:55 bug#46389: Guix says it will download an output that is already downloaded pkill9
@ 2021-02-09  9:42 ` Ludovic Courtès
  2021-02-09 19:56   ` pkill9
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2021-02-09  9:42 UTC (permalink / raw)
  To: pkill9; +Cc: 46389

Hi,

pkill9 <pkill9@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#46389: Guix says it will download an output that is already downloaded
  2021-02-09  9:42 ` Ludovic Courtès
@ 2021-02-09 19:56   ` pkill9
  2022-03-23  3:32     ` Maxim Cournoyer
  0 siblings, 1 reply; 5+ messages in thread
From: pkill9 @ 2021-02-09 19:56 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 46389

> ‘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@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.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#46389: Guix says it will download an output that is already downloaded
  2021-02-09 19:56   ` pkill9
@ 2022-03-23  3:32     ` Maxim Cournoyer
  2022-03-24  8:33       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Maxim Cournoyer @ 2022-03-23  3:32 UTC (permalink / raw)
  To: pkill9; +Cc: 46389

Hello,

pkill9 <pkill9@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@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@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#46389: Guix says it will download an output that is already downloaded
  2022-03-23  3:32     ` Maxim Cournoyer
@ 2022-03-24  8:33       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2022-03-24  8:33 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 46389, pkill9

Hi,

Maxim Cournoyer <maxim.cournoyer@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-03-24  8:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 21:55 bug#46389: Guix says it will download an output that is already downloaded pkill9
2021-02-09  9:42 ` Ludovic Courtès
2021-02-09 19:56   ` pkill9
2022-03-23  3:32     ` Maxim Cournoyer
2022-03-24  8:33       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).