Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 04:01:20.279437196 +0000 +++ b2/build.log 2024-04-28 04:02:07.877407358 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Apr 27 15:59:36 -12 2024 -I: pbuilder-time-stamp: 1714276776 +I: Current time: Sun Apr 28 18:01:23 +14 2024 +I: pbuilder-time-stamp: 1714276883 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ruby-hkdf_1.0.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3718664/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 28 04:01 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='49fefaab9737481b932415aad431e437' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3718664' - PS1='# ' - PS2='> ' + INVOCATION_ID=5a0663afdac04793ab547ddb8f0a2d6d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1871478 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dfIuslB5/pbuilderrc_nFOQ --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dfIuslB5/b1 --logfile b1/build.log ruby-hkdf_1.0.0-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.dfIuslB5/pbuilderrc_8v2j --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.dfIuslB5/b2 --logfile b2/build.log ruby-hkdf_1.0.0-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 21 07:15 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3718664/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 23 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -348,7 +380,7 @@ Get: 130 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 131 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 132 http://deb.debian.org/debian trixie/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 48.7 MB in 1s (65.6 MB/s) +Fetched 48.7 MB in 0s (131 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:arm64: dependency problems, but removing anyway as you requested: libkrb5-3:arm64 depends on libssl3 (>= 3.0.0). @@ -796,8 +828,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Apr 28 04:00:28 UTC 2024. -Universal Time is now: Sun Apr 28 04:00:28 UTC 2024. +Local time is now: Sun Apr 28 04:01:46 UTC 2024. +Universal Time is now: Sun Apr 28 04:01:46 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -917,7 +949,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-hkdf-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-hkdf_1.0.0-2_source.changes +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-hkdf-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-hkdf_1.0.0-2_source.changes dpkg-buildpackage: info: source package ruby-hkdf dpkg-buildpackage: info: source version 1.0.0-2 dpkg-buildpackage: info: source distribution unstable @@ -946,13 +982,13 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-hkdf/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-hkdf-1.0.0/debian/ruby-hkdf -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240427-3745792-xsalmu/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240428-1911838-uxg6vr/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: hkdf Version: 1.0.0 File: hkdf-1.0.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-hkdf/usr/share/rubygems-integration/all /tmp/d20240427-3745792-xsalmu/hkdf-1.0.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-hkdf/usr/share/rubygems-integration/all /tmp/d20240428-1911838-uxg6vr/hkdf-1.0.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-hkdf-1.0.0/debian/ruby-hkdf/usr/share/rubygems-integration/all/gems/hkdf-1.0.0/lib/hkdf.rb /build/reproducible-path/ruby-hkdf-1.0.0/debian/ruby-hkdf/usr/share/rubygems-integration/all/gems/hkdf-1.0.0/lib/hkdf/version.rb @@ -986,47 +1022,47 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-hkdf-1.0.0/debian/ruby-hkdf/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-hkdf-1.0.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 38069 +Randomized with seed 5844 HKDF - initialize - defaults salt to all zeros of digest length - defaults info to an empty string - sets salt to all zeros if empty - reads in the whole IO - accepts an IO or a string as a source - defaults the algorithm to SHA-256 - reads in an IO at a given read size - takes an optional digest algorithm - read_hex - returns the next bytes as hex rewind resets the stream position to the beginning - inspect - returns minimal information seek - does not raise if <= max_length sets the position anywhere in the stream raises an error if requested to seek past end of stream + does not raise if <= max_length + read_hex + returns the next bytes as hex read - matches output from the 'Test with SHA256 and empty salt/info' test vector - raises an error if requested size + current position is > max_length - matches output from the 'Test with SHA256 and longer inputs/outputs' test vector + advances the stream position + matches output from the 'Basic test case with SHA1' test vector matches output from the 'Test with SHA-1, salt not provided (defaults to HashLen zero octets), zero-length info' test vector - matches output from the 'Test with SHA1 and longer inputs/outputs' test vector - raises an error if requested size is > max_length matches output from the 'Test with SHA1 and empty salt/info' test vector matches output from the 'Basic test case with SHA256' test vector + raises an error if requested size + current position is > max_length + matches output from the 'Test with SHA1 and longer inputs/outputs' test vector does not raise if reading <= max_length - advances the stream position - matches output from the 'Basic test case with SHA1' test vector + matches output from the 'Test with SHA256 and longer inputs/outputs' test vector + raises an error if requested size is > max_length + matches output from the 'Test with SHA256 and empty salt/info' test vector max_length is 255 times the digest length + initialize + reads in an IO at a given read size + defaults the algorithm to SHA-256 + reads in the whole IO + accepts an IO or a string as a source + defaults info to an empty string + takes an optional digest algorithm + sets salt to all zeros if empty + defaults salt to all zeros of digest length + inspect + returns minimal information -Finished in 0.07453 seconds (files took 0.49805 seconds to load) +Finished in 0.01788 seconds (files took 0.1704 seconds to load) 26 examples, 0 failures -Randomized with seed 38069 +Randomized with seed 5844 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1063,12 +1099,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1871478/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3718664 and its subdirectories -I: Current time: Sat Apr 27 16:01:19 -12 2024 -I: pbuilder-time-stamp: 1714276879 +I: removing directory /srv/workspace/pbuilder/1871478 and its subdirectories +I: Current time: Sun Apr 28 18:02:06 +14 2024 +I: pbuilder-time-stamp: 1714276926