From: ludo@gnu.org (Ludovic Courtès)
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: 33276@debbugs.gnu.org
Subject: bug#33276: guix still building when substitute is available (or is guix pull not reproducible)
Date: Tue, 06 Nov 2018 15:21:29 +0100 [thread overview]
Message-ID: <877ehq1e3a.fsf@gnu.org> (raw)
In-Reply-To: <20181105162651.wss2ex6msdbzrwir@thebird.nl> (Pjotr Prins's message of "Mon, 5 Nov 2018 17:26:51 +0100")
Hello,
Pjotr Prins <pjotr.public12@thebird.nl> skribis:
> I have a guix-publish server and I am building the packages with the
> exact same checkout of 'guix pull'. Even though the client sees the
> substitutes with --dry-run it still builds them.
>
> On build host (check version first)
>
> penguin2:~$ ~/.config/guix/current/bin/guix --version
> guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
>
> Copyright (C) 2018 the Guix authors
>
> penguin2:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitute-urls="https://berlin.guixsd.org" --fallback
>
> building /gnu/store/ih5liw094mkjg1n4qakipfdgmrhvpj68-protobuf-3.5.1.drv...
> building /gnu/store/bhrgmk0xax0yl50whb8faankknw4z254-mosh-1.3.2.drv...
> The following packages will be installed:
> perl 5.26.1 /gnu/store/7ifc22sh86zblnzamqimgmv06idyx69v-perl-5.26.1
> mosh 1.3.2 /gnu/store/5qanifm23gqxhg2bh587dzah0mf79fp0-mosh-1.3.2
>
> On client (check version first)
>
> monza:~$ ~/.config/guix/current/bin/guix --version
> guix (GNU Guix) ff349415b27cc764fd7168ef35ca76c3b8b05889
>
> Copyright (C) 2018 the Guix authors
>
> monza:~$ ~/.config/guix/current/bin/guix package -i perl mosh --substitute-urls="http://guix.genenetwork.org https://berlin.guixsd.org" --dry-run
> The following packages would be installed:
> perl 5.26.1 /gnu/store/6zz27h4l21b8f2mifrk9sidvib9cns2i-perl-5.26.1
> mosh 1.3.2 /gnu/store/dkpkd7ajh3kvpzfdfacqg50x49i78x5y-mosh-1.3.2
>
> Strangely the hash values differ but it still wants to fetch them. But when I do an actual install it rebuilds:
When you’re using --dry-run, what gets displayed is the file names of
the ungrafted packages. That’s why you see different file names in the
first case.
As to why you’re not getting substitutes, it could be missing
authorization, etc. What does ‘guix publish’ display?
Thanks,
Ludo’.
next prev parent reply other threads:[~2018-11-06 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 16:26 bug#33276: guix still building when substitute is available (or is guix pull not reproducible) Pjotr Prins
2018-11-06 14:21 ` Ludovic Courtès [this message]
2018-11-08 18:30 ` Pjotr Prins
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=877ehq1e3a.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=33276@debbugs.gnu.org \
--cc=pjotr.public12@thebird.nl \
/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).