unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: pkill9 <pkill9@runbox.com>
Cc: 46389@debbugs.gnu.org
Subject: bug#46389: Guix says it will download an output that is already downloaded
Date: Tue, 22 Mar 2022 23:32:17 -0400	[thread overview]
Message-ID: <87sfr9xs1q.fsf@gmail.com> (raw)
In-Reply-To: <20210209195605.2a6419a9@runbox.com> (pkill9@runbox.com's message of "Tue, 9 Feb 2021 19:56:05 +0000")

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




  reply	other threads:[~2022-03-23  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2022-03-24  8:33       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfr9xs1q.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=46389@debbugs.gnu.org \
    --cc=pkill9@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).