* bug#40381: Guix shouldn't request substitutes for profile derivations
@ 2020-04-01 20:18 pkill9
2020-04-02 10:44 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: pkill9 @ 2020-04-01 20:18 UTC (permalink / raw)
To: 40381
I see that Guix is requesting substitutes from the build servers before
it builds a profile derivation.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#40381: Guix shouldn't request substitutes for profile derivations
2020-04-01 20:18 bug#40381: Guix shouldn't request substitutes for profile derivations pkill9
@ 2020-04-02 10:44 ` Ludovic Courtès
2020-04-26 15:58 ` pkill9
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-02 10:44 UTC (permalink / raw)
To: pkill9; +Cc: 40381
Hi,
pkill9 <pkill9@runbox.com> skribis:
> I see that Guix is requesting substitutes from the build servers before
> it builds a profile derivation.
Can you show more precisely what you mean by pasting a command and its
output?
With the recent changes in the implementation of grafts, what happens is
usually this:
$ guix build foo
updating the list of substitutes…
The following things will be built/downloaded:
…
updating the list of substitutes…
The following things will be built/downloaded:
…
The second stage here typically includes profile.drv as well as grafts.
All this is expected behavior.
Detailed behavior depends on what’s in /gnu/store, the freshness of
substitute info in /var/guix/substitute/cache, and applicable grafts for
the package(s) at hand.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#40381: Guix shouldn't request substitutes for profile derivations
2020-04-02 10:44 ` Ludovic Courtès
@ 2020-04-26 15:58 ` pkill9
2020-04-26 20:20 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: pkill9 @ 2020-04-26 15:58 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 40381
Hi Ludovic
> Can you show more precisely what you mean by pasting a command and its
> output?
>
> With the recent changes in the implementation of grafts, what happens
> is usually this:
>
> $ guix build foo
> updating the list of substitutes…
> The following things will be built/downloaded:
> …
>
> updating the list of substitutes…
> The following things will be built/downloaded:
> …
>
> The second stage here typically includes profile.drv as well as
> grafts. All this is expected behavior.
I think that since profile.drv is always produced locally on the
machine, then it's unnecessary to update the list of substitutes
when it's on that second stage.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#40381: Guix shouldn't request substitutes for profile derivations
2020-04-26 15:58 ` pkill9
@ 2020-04-26 20:20 ` Ludovic Courtès
2020-04-27 3:35 ` pkill9
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-26 20:20 UTC (permalink / raw)
To: pkill9; +Cc: 40381
Hi,
pkill9 <pkill9@runbox.com> skribis:
>> Can you show more precisely what you mean by pasting a command and its
>> output?
>>
>> With the recent changes in the implementation of grafts, what happens
>> is usually this:
>>
>> $ guix build foo
>> updating the list of substitutes…
>> The following things will be built/downloaded:
>> …
>>
>> updating the list of substitutes…
>> The following things will be built/downloaded:
>> …
>>
>> The second stage here typically includes profile.drv as well as
>> grafts. All this is expected behavior.
>
> I think that since profile.drv is always produced locally on the
> machine, then it's unnecessary to update the list of substitutes
> when it's on that second stage.
I don’t observe this, or rather I cannot blame profile.drv for this.
Can you show more precisely what you mean by pasting a command and its
output?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#40381: Guix shouldn't request substitutes for profile derivations
2020-04-26 20:20 ` Ludovic Courtès
@ 2020-04-27 3:35 ` pkill9
2020-04-30 23:22 ` Ludovic Courtès
0 siblings, 1 reply; 6+ messages in thread
From: pkill9 @ 2020-04-27 3:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 40381
Hi,
> Can you show more precisely what you mean by pasting a command and its
> output?
So it seems it tries to look for substitutes when the profile hooks are built,
not when profile.drv is built.
Here is the output without build hooks:
```
itsme@antelope ~> guix environment --ad-hoc hello
The following derivation will be built:
/gnu/store/gkz9hzjpc9pj1np7vi5pwb4xhmssk55d-profile.drv
building profile with 1 package...
Welcome to fish, the friendly interactive shell
itsme@antelope ~ [Guix env: /gnu/store/nsi48y..]>
```
And here is output with build hooks:
```
itsme@antelope ~> guix environment --ad-hoc man-db hello
substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/w623j5spid7kyxjdp6xbgxs2r5scpjkn-profile.drv
The following profile hooks will be built:
/gnu/store/14d1mgn1mwz66mj28rwjmnkddskf4zm0-info-dir.drv
/gnu/store/7rrkqrdpxahk8g0927d56lpgz3n1kl6z-manual-database.drv
/gnu/store/8h76m85hiyilv0mj053i9n7k2nxb0wf1-ca-certificate-bundle.drv
/gnu/store/ia5d18hpmza375dizljqi2x12zlirwqi-fonts-dir.drv
building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 2 packages...
Welcome to fish, the friendly interactive shell
itsme@antelope ~ [Guix env: /gnu/store/9qv380..]>
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#40381: Guix shouldn't request substitutes for profile derivations
2020-04-27 3:35 ` pkill9
@ 2020-04-30 23:22 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-30 23:22 UTC (permalink / raw)
To: pkill9; +Cc: 40381-done
Hi,
pkill9 <pkill9@runbox.com> skribis:
> So it seems it tries to look for substitutes when the profile hooks are built,
> not when profile.drv is built.
>
> Here is the output without build hooks:
> ```
> itsme@antelope ~> guix environment --ad-hoc hello
> The following derivation will be built:
> /gnu/store/gkz9hzjpc9pj1np7vi5pwb4xhmssk55d-profile.drv
> building profile with 1 package...
> Welcome to fish, the friendly interactive shell
> itsme@antelope ~ [Guix env: /gnu/store/nsi48y..]>
> ```
>
> And here is output with build hooks:
> ```
> itsme@antelope ~> guix environment --ad-hoc man-db hello
> substitute: updating substitutes from 'https://berlin.guixsd.org'... 100.0%
> substitute: updating substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> The following derivation will be built:
> /gnu/store/w623j5spid7kyxjdp6xbgxs2r5scpjkn-profile.drv
> The following profile hooks will be built:
> /gnu/store/14d1mgn1mwz66mj28rwjmnkddskf4zm0-info-dir.drv
> /gnu/store/7rrkqrdpxahk8g0927d56lpgz3n1kl6z-manual-database.drv
> /gnu/store/8h76m85hiyilv0mj053i9n7k2nxb0wf1-ca-certificate-bundle.drv
> /gnu/store/ia5d18hpmza375dizljqi2x12zlirwqi-fonts-dir.drv
Looks like manual-database.drv was the only hook not mark as
non-substitutable.
Fixed in 69de98391d720b92206d5e45072ecd3944d95774.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-30 23:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-01 20:18 bug#40381: Guix shouldn't request substitutes for profile derivations pkill9
2020-04-02 10:44 ` Ludovic Courtès
2020-04-26 15:58 ` pkill9
2020-04-26 20:20 ` Ludovic Courtès
2020-04-27 3:35 ` pkill9
2020-04-30 23:22 ` 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).