From: swedebugia <swedebugia@riseup.net>
To: guix-devel <guix-devel@gnu.org>
Subject: guix build--rounds=N does not behave as expected
Date: Mon, 31 Dec 2018 11:39:51 +0100 [thread overview]
Message-ID: <d733e221-d0f3-a67e-c560-fa16a96887d0@riseup.net> (raw)
Hi
Today I took a look at
https://www.gnu.org/software/guix/packages/reproducibility.html
I then proceeded to try building some of the packages with issues.
I failed at first.
Why?
Because my goal was to build ONLY the offending package, not all of its
build dependencies (specifying --no-substitutes results in the latter).
How?
$ guix build tor --rounds=2
substitute: updating substitutes from 'https://ci.guix.info'... 100.0%
substitute: updating substitutes from 'https://ci.guix.info'... 100.0%
3.5 MB will be downloaded:
/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9
The following graft will be made:
/gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv
substituting /gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9...
downloading from
https://ci.guix.info/nar/gzip/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9...
tor-0.3.4.9 3.4MiB 1.3MiB/s 00:03 [##################]
100.0%
applying 1 graft for
/gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv...
grafting '/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9' ->
'/gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9'...
applying 1 graft for
/gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv...
grafting '/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9' ->
'/gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9'...
successfully built
/gnu/store/z3y6kb1j0g5mkkbrzanf8jqs0bimiyfq-tor-0.3.4.9.drv
/gnu/store/2ri08yiksan4gk7nqjxj9vawq8gmp6ip-tor-0.3.4.9
egil@parabola:~$ guix build tor --rounds=2 --no-grafts
/gnu/store/7k793vhnv6mk6fhrg493gfby4lyy1107-tor-0.3.4.9
I tried also to specify --no-substitutes AFTER having run guix
environment tor to make sure I had the substitutes of the build
dependencies, but I failed anyway.
Did I misunderstand something?
Now it worked! I specified --check and --no-grafts and it began to do as
I said.
I really think we should signal a helpful error to the user if only
--rounds=N is specified and --check is missing.
--
Cheers Swedebugia
next reply other threads:[~2018-12-31 10:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-31 10:39 swedebugia [this message]
2018-12-31 12:27 ` guix build--rounds=N does not behave as expected Ricardo Wurmus
2018-12-31 16:52 ` Arun Isaac
2018-12-31 17:23 ` swedebugia
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=d733e221-d0f3-a67e-c560-fa16a96887d0@riseup.net \
--to=swedebugia@riseup.net \
--cc=guix-devel@gnu.org \
/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).