From: Julien Lepiller <julien@lepiller.eu>
To: 60816@debbugs.gnu.org
Subject: bug#60816: guix pull ("computing Guix derivation") is not reproducible
Date: Sat, 14 Jan 2023 19:02:16 +0100 [thread overview]
Message-ID: <20230114190042.7945f9d7@sybil.lepiller.eu> (raw)
Hi Guix!
I found out today that guix pull does not compute the same derivation
on two machines, with the same architecture (x86_64), using the same
initial Guix revision (4473be9) and pulling to the same commit
(c77978d).
guix-packages-base.drv seems to be the first derivation to differ. I
get:
/gnu/store/185wzzjc6dslrw1avz7cfrafrr0l7bp9-guix-packages-base.drv on
one machine and
/gnu/store/v7jvidnqxdjkhnxi846lsc91ak7ala9k-guix-packages-base.drv on
the other.
Here's the diff (I used a sed to s/,/,\n/g for the diff to be more
meaningful :)):
2c2
< "/gnu/store/866q7lb582jid68alzpd5z0cj88gpm3j-guix-packages-base",
---
> "/gnu/store/kmqhq1fa1ah7x7iz3jqfqcm4p53rln6p-guix-packages-base",
42,44c42,44
<
"/gnu/store/8wdw7l4badagdzs7pay8fj15v50p8by3-guix-packages-base-source",
< "/gnu/store/rybrv6mrbb8yihk4mdhsmnfqlq3i4rq8-module-import",
<
"/gnu/store/svssahra9ahb73knj7jq666jnhrcjk4z-guix-packages-base-builder"],
---
> "/gnu/store/8s93iwfi0kscr5911h8b4312krwywa7q-guix-packages-base-source",
> "/gnu/store/pxwsa9i2sqy96f153jcbs1m4sb8bmqs2-guix-packages-base-builder",
> "/gnu/store/rybrv6mrbb8yihk4mdhsmnfqlq3i4rq8-module-import"],
52c52
<
"/gnu/store/svssahra9ahb73knj7jq666jnhrcjk4z-guix-packages-base-builder"],
---
> "/gnu/store/pxwsa9i2sqy96f153jcbs1m4sb8bmqs2-guix-packages-base-builder"],
58c58
< "/gnu/store/866q7lb582jid68alzpd5z0cj88gpm3j-guix-packages-base")])
\ Pas de fin de ligne à la fin du fichier
---
> "/gnu/store/kmqhq1fa1ah7x7iz3jqfqcm4p53rln6p-guix-packages-base")])
\ Pas de fin de ligne à la fin du fichier
So, apart from the output filename which obviously changes, it seems
that the differences are:
- order of dependencies,
- source output,
- builder (only because it references the source output)
Here's the result of diffoscope on the source outputs (ignore
modification date, I used touch to make them all the same, not to make
them sensible ;)):
--- source1
+++ source2
│ --- source1/gnu
├── +++ source2/gnu
│ │ --- source1/gnu/packages
│ ├── +++ source2/gnu/packages
│ │ │ --- source1/gnu/packages/aux-files
│ │ ├── +++ source2/gnu/packages/aux-files
│ │ │ │ --- source1/gnu/packages/aux-files/linux-libre
│ │ │ ├── +++ source2/gnu/packages/aux-files/linux-libre
│ │ │ │ ├── file list
│ │ │ │ │ @@ -9,18 +9,14 @@
│ │ │ │ │ 5.10-arm64.conf
│ │ │ │ │ 5.10-i686.conf
│ │ │ │ │ 5.10-x86_64.conf
│ │ │ │ │ 5.15-arm.conf
│ │ │ │ │ 5.15-arm64.conf
│ │ │ │ │ 5.15-i686.conf
│ │ │ │ │ 5.15-x86_64.conf
│ │ │ │ │ -5.18-arm.conf
│ │ │ │ │ -5.18-arm64.conf
│ │ │ │ │ -5.18-i686.conf
│ │ │ │ │ -5.18-x86_64.conf
│ │ │ │ │ 5.4-arm.conf
│ │ │ │ │ 5.4-arm64.conf
│ │ │ │ │ 5.4-i686.conf
│ │ │ │ │ 5.4-x86_64.conf
│ │ │ │ │ 6.1-arm.conf
│ │ │ │ │ 6.1-arm64.conf
│ │ │ │ │ 6.1-i686.conf
│ │ │ │ ├──
/gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │ │
│ │ │ │ │ - Size: 766 Blocks: 0 IO Block: 4096
directory
│ │ │ │ │ + Size: 650 Blocks: 0 IO Block: 4096
directory
│ │ │ │ │ Links: 1
│ │ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 1000/tyreunom) Gid: (
998/ users)
│ │ │ │ │
│ │ │ │ │ Modify: 2019-12-31 23:00:00.000000000 +0000
│ │ │ │ ├──
/gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │ │
│ │ │ │ │ + Size: 650 Blocks: 0 IO Block: 4096
directory
│ │ │ │ │ - Size: 766 Blocks: 0 IO Block: 4096
directory
│ │ │ │ │ Links: 1
│ │ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 1000/tyreunom) Gid: (
998/ users)
│ │ │ │ │
│ │ │ │ │ Modify: 2019-12-31 23:00:00.000000000 +0000
│ │ │ --- source1/gnu/packages/patches
│ │ ├── +++ source2/gnu/packages/patches
│ │ │ ├── file list
│ │ │ │ @@ -136,15 +136,14 @@
│ │ │ │ classpath-aarch64-support.patch
│ │ │ │ classpath-miscompilation.patch
│ │ │ │ cling-use-shared-library.patch
│ │ │ │ clucene-contribs-lib.patch
│ │ │ │ clucene-pkgconfig.patch
│ │ │ │ cmake-curl-certificates-3.24.patch
│ │ │ │ cmake-curl-certificates.patch
│ │ │ │ -cmh-support-fplll.patch
│ │ │ │ coda-use-system-libs.patch
│ │ │ │ collectd-5.11.0-noinstallvar.patch
│ │ │ │ combinatorial-blas-awpm.patch
│ │ │ │ combinatorial-blas-io-fix.patch
│ │ │ │ connman-CVE-2022-32292.patch
│ │ │ │ connman-CVE-2022-32293-pt1.patch
│ │ │ │ connman-CVE-2022-32293-pt2.patch
│ │ │ │ @@ -216,15 +215,14 @@
│ │ │ │ emacs-source-date-epoch.patch
│ │ │ │ emacs-telega-path-placeholder.patch
│ │ │ │ emacs-telega-test-env.patch
│ │ │ │ emacs-wordnut-require-adaptive-wrap.patch
│ │ │ │ emacs-yasnippet-fix-tests.patch
│ │ │ │ enjarify-setup-py.patch
│ │ │ │ enlightenment-fix-setuid-path.patch
│ │ │ │ -eog-update-libportal-usage.patch
│ │ │ │ erlang-man-path.patch
│ │ │ │ esmtp-add-lesmtp.patch
│ │ │ │ eudev-rules-directory.patch
│ │ │ │ exercism-disable-self-update.patch
│ │ │ │ extempore-unbundle-external-dependencies.patch
│ │ │ │ extundelete-e2fsprogs-1.44.patch
│ │ │ │ fail2ban-0.11.2_CVE-2021-32749.patch
│ │ │ │ @@ -375,23 +373,18 @@
│ │ │ │ glibc-skip-c++.patch
│ │ │ │ glibc-static-nss.patch
│ │ │ │ glibc-supported-locales.patch
│ │ │ │ glibc-versioned-locpath.patch
│ │ │ │ gmp-arm-asm-nothumb.patch
│ │ │ │ gmp-faulty-test.patch
│ │ │ │ gnash-fix-giflib-version.patch
│ │ │ │ -gnome-boxes-add-guix-logo.patch
│ │ │ │ -gnome-builder-update-libportal.patch
│ │ │ │ gnome-control-center-libexecdir.patch
│ │ │ │ gnome-online-miners-tracker-3.patch
│ │ │ │ -gnome-screenshot-meson-0.60.patch
│ │ │ │ gnome-session-support-elogind.patch
│ │ │ │ gnome-settings-daemon-gc.patch
│ │ │ │ -gnome-shell-polkit-autocleanup.patch
│ │ │ │ -gnome-todo-libportal.patch
│ │ │ │ gnome-tweaks-search-paths.patch
│ │ │ │ gnupg-1-build-with-gcc10.patch
│ │ │ │ gnupg-CVE-2022-34903.patch
│ │ │ │ gnupg-default-pinentry.patch
│ │ │ │ gnutls-cross.patch
│ │ │ │ gnutls-guile-eintr-eagain.patch
│ │ │ │ gnutls-skip-trust-store-test.patch
│ │ │ │ @@ -412,15 +405,14 @@
│ │ │ │ gpsbabel-fix-i686-test.patch
│ │ │ │ grep-timing-sensitive-test.patch
│ │ │ │ grfcodec-gcc-compat.patch
│ │ │ │ gromacs-tinyxml2.patch
│ │ │ │ groovy-add-exceptionutilsgenerator.patch
│ │ │ │ grub-efi-fat-serial-number.patch
│ │ │ │ grub-setup-root.patch
│ │ │ │ -gspell-dash-test.patch
│ │ │ │ gtk-doc-respect-xml-catalog.patch
│ │ │ │ gtk2-fix-builder-test.patch
│ │ │ │ gtk2-respect-GUIX_GTK2_IM_MODULE_FILE.patch
│ │ │ │ gtk2-respect-GUIX_GTK2_PATH.patch
│ │ │ │ gtk2-theme-paths.patch
│ │ │ │ gtk3-respect-GUIX_GTK3_IM_MODULE_FILE.patch
│ │ │ │ gtk3-respect-GUIX_GTK3_PATH.patch
│ │ │ │ @@ -458,28 +450,26 @@
│ │ │ │ hdf-eos5-fortrantests.patch
│ │ │ │ hdf-eos5-remove-gctp.patch
│ │ │ │ hdf4-architectures.patch
│ │ │ │ hdf4-reproducibility.patch
│ │ │ │ hdf4-shared-fortran.patch
│ │ │ │ hdf4-tirpc.patch
│ │ │ │ hdf5-config-date.patch
│ │ │ │ -hedgewars-network-bsd.patch
│ │ │ │ helm-fix-gcc-9-build.patch
│ │ │ │ htslib-for-stringtie.patch
│ │ │ │ http-parser-CVE-2020-8287.patch
│ │ │ │ hubbub-sort-entities.patch
│ │ │ │ hueplusplus-mbedtls.patch
│ │ │ │ hurd-cross.patch
│ │ │ │ hurd-xattr.patch
│ │ │ │ hwloc-1-test-btrfs.patch
│ │ │ │ i3status-rust-enable-unstable-features.patch
│ │ │ │ i7z-gcc-10.patch
│ │ │ │ icecat-avoid-bundled-libraries.patch
│ │ │ │ icecat-makeicecat.patch
│ │ │ │ -icecat-use-older-reveal-hidden-html.patch
│ │ │ │ icecat-use-system-graphite2+harfbuzz.patch
│ │ │ │ icecat-use-system-media-libs.patch
│ │ │ │ icedtea-7-hotspot-aarch64-use-c++98.patch
│ │ │ │ id3lib-CVE-2007-4460.patch
│ │ │ │ id3lib-UTF16-writing-bug.patch
│ │ │ │ idris-test-ffi008.patch
│ │ │ │ ilmbase-fix-tests.patch
│ │ │ │ @@ -493,23 +483,21 @@
│ │ │ │ iputils-libcap-compat.patch
│ │ │ │ ipxe-reproducible-geniso.patch
│ │ │ │ irrlicht-link-against-needed-libs.patch
│ │ │ │ irrlicht-use-system-libs.patch
│ │ │ │ isl-0.11.1-aarch64-support.patch
│ │ │ │ itk-snap-alt-glibc-compat.patch
│ │ │ │ jami-disable-integration-tests.patch
│ │ │ │ -jami-fix-esc-bug.patch
│ │ │ │ jami-libjami-headers-search.patch
│ │ │ │ jamvm-1.5.1-aarch64-support.patch
│ │ │ │ jamvm-1.5.1-armv7-support.patch
│ │ │ │ jamvm-2.0.0-aarch64-support.patch
│ │ │ │ jamvm-2.0.0-disable-branch-patching.patch
│ │ │ │ jamvm-2.0.0-opcode-guard.patch
│ │ │ │ java-antlr4-Add-standalone-generator.patch
│ │ │ │ -java-antlr4-fix-code-too-large.java
│ │ │ │ java-apache-ivy-port-to-latest-bouncycastle.patch
│ │ │ │ java-commons-collections-fix-java8.patch
│ │ │ │ java-commons-lang-fix-dependency.patch
│ │ │ │ java-jeromq-fix-tests.patch
│ │ │ │ java-openjfx-build-jdk_version.patch
│ │ │ │ java-powermock-fix-java-files.patch
│ │ │ │ java-simple-xml-fix-tests.patch
│ │ │ │ @@ -709,15 +697,14 @@
│ │ │ │ mpg321-gcc-10.patch
│ │ │ │ mrrescue-support-love-11.patch
│ │ │ │ mtools-mformat-uninitialized.patch
│ │ │ │ mupen64plus-ui-console-notice.patch
│ │ │ │ mupen64plus-video-z64-glew-correct-path.patch
│ │ │ │ musl-cross-locale.patch
│ │ │ │ mutt-store-references.patch
│ │ │ │ -nautilus-add-libportal-gtk3.patch
│ │ │ │ nautilus-extension-search-path.patch
│ │ │ │ ncftp-reproducible.patch
│ │ │ │ ncompress-fix-softlinks.patch
│ │ │ │ netcdf-date-time.patch
│ │ │ │ netpbm-CVE-2017-2586.patch
│ │ │ │ netpbm-CVE-2017-2587.patch
│ │ │ │ netsurf-longer-test-timeout.patch
│ │ │ │ @@ -800,23 +787,21 @@
│ │ │ │ perl-reproducible-build-date.patch
│ │ │ │ perl-text-markdown-discount-unbundle.patch
│ │ │ │ perl-www-curl-fix-struct-void.patch
│ │ │ │ perl-www-curl-remove-symbol.patch
│ │ │ │ phoronix-test-suite-fsdg.patch
│ │ │ │ php-bug-74093-test.patch
│ │ │ │ php-curl-compat.patch
│ │ │ │ -picard-fix-id3-rename-test.patch
│ │ │ │ picprog-non-intel-support.patch
│ │ │ │ pidgin-add-search-path.patch
│ │ │ │ pinball-system-ltdl.patch
│ │ │ │ pingus-boost-headers.patch
│ │ │ │ pingus-sdl-libs-config.patch
│ │ │ │ pipewire-0.2.7-fno-common.patch
│ │ │ │ pixman-CVE-2016-5296.patch
│ │ │ │ -pjproject-install-libpjsua2.patch
│ │ │ │ plasma-framework-fix-KF5PlasmaMacros.cmake.patch
│ │ │ │ plib-CVE-2011-4620.patch
│ │ │ │ plib-CVE-2012-4552.patch
│ │ │ │ plink-1.07-unclobber-i.patch
│ │ │ │ plink-endian-detection.patch
│ │ │ │ plotutils-spline-test.patch
│ │ │ │ pocketfft-cpp-prefer-preprocessor-if.patch
│ │ │ │ @@ -831,15 +816,14 @@
│ │ │ │ procmail-ambiguous-getline-debian.patch
│ │ │ │ protobuf-fix-build-on-32bit.patch
│ │ │ │ psm-arch.patch
│ │ │ │ psm-disable-memory-stats.patch
│ │ │ │ psm-ldflags.patch
│ │ │ │ psm-repro.patch
│ │ │ │ pthreadpool-system-libraries.patch
│ │ │ │ -public-inbox-fix-spawn-test.patch
│ │ │ │ pulseaudio-fix-mult-test.patch
│ │ │ │ pulseaudio-longer-test-timeout.patch
│ │ │ │ pulseview-glib-2.68.patch
│ │ │ │ pulseview-qt515-compat.patch
│ │ │ │ pybugz-encode-error.patch
│ │ │ │ pybugz-stty.patch
│ │ │ │ pygpgme-disable-problematic-tests.patch
│ │ │ │ @@ -923,20 +907,18 @@
│ │ │ │ qtwebkit-fix-building-with-bison-3.7.patch
│ │ │ │ qtwebkit-fix-building-with-glib-2.68.patch
│ │ │ │ qtwebkit-fix-building-with-icu-68.patch
│ │ │ │ qtwebkit-fix-building-with-python-3.9.patch
│ │ │ │ qtwebkit-pbutils-include.patch
│ │ │ │ quagga-reproducible-build.patch
│ │ │ │ quickswitch-fix-dmenu-check.patch
│ │ │ │ -r-httpuv-1.5.5-unvendor-libuv.patch
│ │ │ │ r-httpuv-1.6.6-unvendor-libuv.patch
│ │ │ │ r-mixedpower-r2power.patch
│ │ │ │ racket-backport-8.7-pkg-strip.patch
│ │ │ │ racket-chez-scheme-bin-sh.patch
│ │ │ │ -racket-minimal-sh-via-rktio.patch
│ │ │ │ racket-rktio-bin-sh.patch
│ │ │ │ racket-zuo-bin-sh.patch
│ │ │ │ ragel-char-signedness.patch
│ │ │ │ randomjungle-disable-static-build.patch
│ │ │ │ range-v3-build-with-gcc10.patch
│ │ │ │ rapidjson-gcc-compat.patch
│ │ │ │ raptor2-heap-overflow.patch
│ │ │ │ @@ -984,16 +966,14 @@
│ │ │ │ sbcl-aserve-fix-rfe12668.patch
│ │ │ │ sbcl-burgled-batteries3-fix-signals.patch
│ │ │ │ sbcl-clml-fix-types.patch
│ │ │ │ sbcl-png-fix-sbcl-compatibility.patch
│ │ │ │ scalapack-gcc-10-compilation.patch
│ │ │ │ scheme48-tests.patch
│ │ │ │ scons-test-environment.patch
│ │ │ │ -scotch-build-parallelism.patch
│ │ │ │ -scotch-integer-declarations.patch
│ │ │ │ screen-hurd-path-max.patch
│ │ │ │ sdcc-disable-non-free-code.patch
│ │ │ │ sdl-libx11-1.6.patch
│ │ │ │ sdl-pango-api_additions.patch
│ │ │ │ sdl-pango-blit_overflow.patch
│ │ │ │ sdl-pango-fillrect_crash.patch
│ │ │ │ sdl-pango-header-guard.patch
│ │ │ ├──
/gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │
│ │ │ │ + Size: 71898 Blocks: 0 IO Block: 4096
directory
│ │ │ │ - Size: 73150 Blocks: 0 IO Block: 4096
directory
│ │ │ │ Links: 1
│ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 1000/tyreunom) Gid: (
998/ users)
│ │ │ │
│ │ │ │ Modify: 2019-12-31 23:00:00.000000000 +0000
│ │ │ ├──
/gnu/store/8fpk2cja3f07xls48jfnpgrzrljpqivr-coreutils-8.32/bin/stat {}
│ │ │ │ @@ -1,8 +1,8 @@
│ │ │ │
│ │ │ │ - Size: 73150 Blocks: 0 IO Block: 4096
directory
│ │ │ │ + Size: 71898 Blocks: 0 IO Block: 4096
directory
│ │ │ │ Links: 1
│ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 1000/tyreunom) Gid: (
998/ users)
│ │ │ │
│ │ │ │ Modify: 2019-12-31 23:00:00.000000000 +0000
Could it be that removed files are somehow kept in cache?
next reply other threads:[~2023-01-14 18:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-14 18:02 Julien Lepiller [this message]
2023-01-15 11:54 ` bug#60816: guix pull ("computing Guix derivation") is not reproducible Josselin Poiret via Bug reports for GNU Guix
2023-01-15 13:29 ` Julien Lepiller
2023-01-15 14:35 ` Josselin Poiret via Bug reports for GNU Guix
2023-01-16 1:25 ` bokr
2023-01-16 11:48 ` Simon Tournier
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=20230114190042.7945f9d7@sybil.lepiller.eu \
--to=julien@lepiller.eu \
--cc=60816@debbugs.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).