* bug#25016: Old build daemons lead to non-reproducible builds
@ 2016-11-24 13:09 Ludovic Courtès
2016-12-02 23:07 ` Ludovic Courtès
2017-05-04 21:51 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-11-24 13:09 UTC (permalink / raw)
To: guix-sysadmin; +Cc: 25016
Hi!
Old versions of guix-daemon would use /tmp/nix-build-… as the build
directory name instead of /tmp/guix-build-… (commit
7a57c96a1024e6b74359ba561110f19f92b89b06), and versions prior to 0.11.0
could use a different directory prefix (.drv-0, .drv-1, etc.) whereas
current versions systematically use .drv-0 (commit
cb9601029ea164b86bdf997f7160d494c15d344b).
However, some of our build machines run old daemons, which leads to
discrepancies such has:
--8<---------------cut here---------------start------------->8---
$ wget -O - https://mirror.hydra.gnu.org/nar/3kxg1wvc1dnw9bdnp61pfc6vy14v4ikl-bash-4.4.0-include |bunzip2 |guix archive -x /tmp/foo
[…]
$ diff -ruBb /gnu/store/3kxg1wvc1dnw9bdnp61pfc6vy14v4ikl-bash-4.4.0-include /tmp/foo
diff -ruBb /gnu/store/3kxg1wvc1dnw9bdnp61pfc6vy14v4ikl-bash-4.4.0-include/lib/bash/Makefile.inc /tmp/foo/lib/bash/Makefile.inc
--- /gnu/store/3kxg1wvc1dnw9bdnp61pfc6vy14v4ikl-bash-4.4.0-include/lib/bash/Makefile.inc 1970-01-01 01:00:01.000000000 +0100
+++ /tmp/foo/lib/bash/Makefile.inc 2016-11-24 14:00:26.449665970 +0100
@@ -38,7 +38,7 @@
headersdir = $(includedir)/$(PACKAGE_NAME)
topdir = ../..
-BUILD_DIR = /tmp/guix-build-bash-4.4.0.drv-0/bash-4.4
+BUILD_DIR = /tmp/nix-build-bash-4.4.0.drv-0/bash-4.4
srcdir = .
--8<---------------cut here---------------end--------------->8---
This can lead to hash mismatches between what the narinfo claims and
what the nar actually contains (due to caching), which annoys users.
We should update all our build machines to a newer daemon.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25016: Old build daemons lead to non-reproducible builds
2016-11-24 13:09 bug#25016: Old build daemons lead to non-reproducible builds Ludovic Courtès
@ 2016-12-02 23:07 ` Ludovic Courtès
2017-05-04 21:51 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-12-02 23:07 UTC (permalink / raw)
To: guix-sysadmin; +Cc: 25016
ludo@gnu.org (Ludovic Courtès) skribis:
> We should update all our build machines to a newer daemon.
Today I updated the daemon on hydra.gnunet.org from 0.9 to 0.11ish.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25016: Old build daemons lead to non-reproducible builds
2016-11-24 13:09 bug#25016: Old build daemons lead to non-reproducible builds Ludovic Courtès
2016-12-02 23:07 ` Ludovic Courtès
@ 2017-05-04 21:51 ` Ludovic Courtès
2017-05-05 6:53 ` Ricardo Wurmus
1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-04 21:51 UTC (permalink / raw)
To: guix-sysadmin; +Cc: 25016
ludo@gnu.org (Ludovic Courtès) skribis:
> We should update all our build machines to a newer daemon.
I’ve updated guix.sjd.se from 0.8.3 (!) to 0.12.0-9.25a4, which should
fix the “/tmp/nix-build” issue that was showing up for packages such as
cunit at <https://gnu.org/s/guix/packages/reproducibility.html>.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#25016: Old build daemons lead to non-reproducible builds
2017-05-04 21:51 ` Ludovic Courtès
@ 2017-05-05 6:53 ` Ricardo Wurmus
0 siblings, 0 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2017-05-05 6:53 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-sysadmin, 25016
Ludovic Courtès <ludo@gnu.org> writes:
> ludo@gnu.org (Ludovic Courtès) skribis:
>
>> We should update all our build machines to a newer daemon.
>
> I’ve updated guix.sjd.se from 0.8.3 (!) to 0.12.0-9.25a4, which should
> fix the “/tmp/nix-build” issue that was showing up for packages such as
> cunit at <https://gnu.org/s/guix/packages/reproducibility.html>.
Wow, that’s quite a jump!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-05 6:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 13:09 bug#25016: Old build daemons lead to non-reproducible builds Ludovic Courtès
2016-12-02 23:07 ` Ludovic Courtès
2017-05-04 21:51 ` Ludovic Courtès
2017-05-05 6:53 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.