Diff of the two buildlogs: -- --- b1/build.log 2025-02-18 16:07:38.347951777 +0000 +++ b2/build.log 2025-02-18 16:12:43.522201890 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Feb 18 04:06:15 -12 2025 -I: pbuilder-time-stamp: 1739894775 +I: Current time: Wed Feb 19 06:07:54 +14 2025 +I: pbuilder-time-stamp: 1739894874 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying clean-files.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10504/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6581/tmp/hooks/D01_modify_environment starting +debug: Running on wbq0. +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 Feb 18 16:08 /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/6581/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6581/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='e0ead9da51244859856b8ce801b7f1ea' - 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='10504' - PS1='# ' - PS2='> ' + INVOCATION_ID=14e2b69b393a474296eb7d332cdfc5c8 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=6581 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.jeVl3TXT/pbuilderrc_H5fp --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.jeVl3TXT/b1 --logfile b1/build.log mbuffer_20241007+ds1-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.jeVl3TXT/pbuilderrc_LyMT --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.jeVl3TXT/b2 --logfile b2/build.log mbuffer_20241007+ds1-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-31-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-armmp #1 SMP Debian 6.1.128-1 (2025-02-07) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10504/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/6581/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -158,7 +190,7 @@ Get: 32 http://deb.debian.org/debian trixie/main armhf libgpg-error0 armhf 1.51-3 [71.9 kB] Get: 33 http://deb.debian.org/debian trixie/main armhf libgcrypt20 armhf 1.11.0-7 [727 kB] Get: 34 http://deb.debian.org/debian trixie/main armhf openssl armhf 3.4.0-2 [1388 kB] -Fetched 22.0 MB in 0s (63.3 MB/s) +Fetched 22.0 MB in 2s (10.8 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19534 files and directories currently installed.) @@ -314,7 +346,11 @@ fakeroot is already the newest version (1.37-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/mbuffer-20241007+ds1/ && 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 > ../mbuffer_20241007+ds1-1_source.changes +I: user script /srv/workspace/pbuilder/6581/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/6581/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mbuffer-20241007+ds1/ && 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 > ../mbuffer_20241007+ds1-1_source.changes dpkg-buildpackage: info: source package mbuffer dpkg-buildpackage: info: source version 20241007+ds1-1 dpkg-buildpackage: info: source distribution unstable @@ -430,7 +466,7 @@ config.status: creating Makefile config.status: creating config.h dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/mbuffer-20241007+ds1' [ -d build ] || mkdir build touch build/created.stamp @@ -459,7 +495,7 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/mbuffer-20241007+ds1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-unused-result -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I. -I. -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs build/log.o build/network.o build/mbuffer.o build/hashing.o build/input.o build/common.o build/settings.o build/globals.o -lm -lpthread -o mbuffer make[1]: Leaving directory '/build/reproducible-path/mbuffer-20241007+ds1' dh_auto_test - make -j3 check "TESTSUITEFLAGS=-j3 --verbose" VERBOSE=1 + make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/mbuffer-20241007+ds1' bash mkversion.sh /usr/bin/tar cf test.tar --ignore-failed-read /bin /usr/bin @@ -468,7 +504,8 @@ version.h is up-to-date openssl md5 > mbuffer.md5 < mbuffer LD_PRELOAD=./idev.so BSIZE=317 IDEV=mbuffer ./mbuffer -s256 -i mbuffer -f -o mbuffer2 -idev.so: d_open = 0xf7b3cfd9 +./mbuffer -P90 --md5 -i INSTALL -o /dev/null +idev.so: d_open = 0xb6e9cfd9 idev.so: open(/proc/meminfo,0x0,...) = 3 (IDEV='mbuffer') idev.so: open(/etc/mbuffer.rc,0x0,...) = -1 (IDEV='mbuffer') idev.so: open(/usr/etc/mbuffer.rc,0x0,...) = -1 (IDEV='mbuffer') @@ -479,24 +516,22 @@ idev.so: open(/dev/tty,0x2,...) = -1 (IDEV='mbuffer') mbuffer: warning: No controlling terminal and no autoloader command specified. mbuffer: warning: Block size is not a multiple of native input size (317B). -./mbuffer -P90 --md5 -i INSTALL -o /dev/null -summary: 300 kiByte in 0.0sec - average of 17.7 MiB/s mbuffer: warning: No controlling terminal and no autoloader command specified. MD5 hash: 8bb45d9574a827d338e06f010f00c8c1 summary: 0.0 kiByte in 0.0sec - average of 0.0 kiB/s +summary: 300 kiByte in 0.1sec - average of 4631 kiB/s openssl md5 < test.tar > test.md5 ./mbuffer -v 5 -i /etc/hostname -mbuffer: available memory: 18014398507631500kB / -462621 pages -mbuffer: Cannot allocate that many blocks (4096 * 4294944165 > 2147483647) -mbuffer: default Numblocks = 1023, default Blocksize = 2097152, buffer size 2095104kiB +mbuffer: available memory: 1909864kB / 477466 pages +mbuffer: default Numblocks = 1492, default Blocksize = 65536, buffer size 95488kiB mbuffer: no config file /etc/mbuffer.rc mbuffer: no config file /usr/etc/mbuffer.rc mbuffer: no config file /build/reproducible-path/mbuffer-20241007+ds1/debian/.debhelper/generated/_source/home/.mbuffer.rc -mbuffer: default buffer set to 1023 blocks of 2MiB +mbuffer: default buffer set to 1492 blocks of 64kiB mbuffer: Infile = /etc/hostname -mbuffer: available: 18014398507631500kiB, buffer: 2095104kiB -mbuffer: 1023 blocks with 2MiB -mbuffer: allocating 2046MiB as buffer +mbuffer: available: 1909864kiB, buffer: 95488kiB +mbuffer: 1492 blocks with 64kiB +mbuffer: allocating 95488kiB as buffer mbuffer: creating semaphores... mbuffer: opening input /etc/hostname mbuffer: enabled O_DIRECT on /etc/hostname @@ -512,11 +547,11 @@ mbuffer: 0 senders, 0 hashers mbuffer: outputThread: starting output on ... mbuffer: timeout init: 0.500000 => 0 : 500000 -mbuffer: inputThread: starting with threadid 0x7759c420... -mbuffer: inputThread: last block has 46725172551483392 bytes +mbuffer: inputThread: starting with threadid 0xb07fc420... +mbuffer: inputThread: last block has 20266524740681728 bytes mbuffer: inputThread: exiting... -mbuffer: outputThread: last block has 8 bytes -virt64c +mbuffer: outputThread: last block has 5 bytes +wbq0 mbuffer: outputThread: syncing ... mbuffer: syncing unsupported on : omitted. mbuffer: outputThread: finished - exiting... @@ -536,22 +571,6 @@ cp test.tar test2.tar; \ cp test.md5 test2.md5; \ fi -SKIPPING the IPv4-only test! -mbuffer: warning: No controlling terminal and no autoloader command specified. -sync - in @ 45.6 MiB/s, out @ 42.7 MiB/s, 30.0 MiB total, buffer 0% full, 53% done in @ 42.8 MiB/s, out @ 79.8 MiB/s, 2 x 28.0 MiB total, buffer 0% full, 50% donediff test2.md5 test.md5 -rm test2.md5 -openssl md5 < test2.tar > test2.md5 - -summary: 56.5 MiByte in 0.9sec - average of 63.2 MiB/s - -MD5 hash: 84cab6348c98f20c582d618d1d8f8fc0 -summary: 2x 56.5 MiByte in 1.0sec - average of 119 MiB/s -openssl md5 < test1.tar > test1.md5 -rm -f test2.tar -sync -diff test2.md5 test.md5 -touch test2 if ./have-af inet6; then \ ./mbuffer --pid -q -6 -I :7002 | openssl md5 > test3.md5 & \ sleep 1; \ @@ -563,24 +582,50 @@ cp test.tar test3.tar; \ cp test.md5 test3.md5; \ fi +SKIPPING the IPv4-only test! SKIPPING the IPv6-only test! +mbuffer: warning: No controlling terminal and no autoloader command specified. + in @ 2898 kiB/s, out @ 5615 kiB/s, 2 x 1984 kiB total, buffer 0% full, 3% done in @ 2898 kiB/s, out @ 2898 kiB/s, 2048 kiB total, buffer 0% full, 4% donesync sync + in @ 509 kiB/s, out @ 509 kiB/s, 2 x 2112 kiB total, buffer 0% full, 4% done in @ 254 kiB/s, out @ 254 kiB/s, 2176 kiB total, buffer 0% full, 4% done in @ 891 kiB/s, out @ 1782 kiB/s, 2 x 2560 kiB total, buffer 0% full, 4% done in @ 636 kiB/s, out @ 636 kiB/s, 2496 kiB total, buffer 0% full, 4% donediff test3.md5 test.md5 +diff test2.md5 test.md5 +rm test3.md5 +rm test2.md5 +openssl md5 < test3.tar > test3.md5 +openssl md5 < test2.tar > test2.md5 + in @ 3054 kiB/s, out @ 6362 kiB/s, 2 x 4160 kiB total, buffer 0% full, 7% done in @ 5975 kiB/s, out @ 4958 kiB/s, 4992 kiB total, buffer 0% full, 9% done in @ 25.9 MiB/s, out @ 49.7 MiB/s, 2 x 16.6 MiB total, buffer 1% full, 29% done in @ 25.9 MiB/s, out @ 25.3 MiB/s, 17.7 MiB total, buffer 1% full, 31% donerm -f test3.tar sync -diff test0.md5 test.md5 diff test3.md5 test.md5 -touch test0 -rm test3.md5 +rm -f test2.tar +touch test3 rm -f output-test4.tar.* -openssl md5 < test3.tar > test3.md5 + in @ 23.7 MiB/s, out @ 46.9 MiB/s, 2 x 28.3 MiB total, buffer 1% full, 50% donesync cat mbuffer | LD_PRELOAD=./tapetest.so ./mbuffer -s10k -f -o output-test4 -H -A "echo '[test4] Replacing tape'" +diff test2.md5 test.md5 + in @ 24.0 MiB/s, out @ 25.6 MiB/s, 30.6 MiB total, buffer 0% full, 54% donetouch test2 +rm -f output-test5.tar.* +cat mbuffer | LD_PRELOAD=./tapetest.so ./mbuffer -s10k -f -o output-test5 -H -A "echo '[test5] Replacing tape'" --tapeaware + [test4] Replacing tape + [test4] Replacing tape + [test4] Replacing tape + +[test5] Replacing tape + [test4] Replacing tape + +[test5] Replacing tape + [test4] Replacing tape + [test4] Replacing tape + +[test5] Replacing tape + MD5 hash: 250b39686559584a2d8c92103132898c -summary: 300 kiByte in 0.0sec - average of 8136 kiB/s +summary: 300 kiByte in 0.2sec - average of 1307 kiB/s @@ -631,21 +676,8 @@ [INTERCEPT] open: output-test4, intercepted and writing as output-test4.000007 [INTERCEPT] write(block 0): OK [INTERCEPT] write(block 1): OK -cat output-test4* | openssl md5 > test4.md5 -rm -f test1.tar -sync -rm -f output-test4 output-test4.* -sync -diff test1.md5 test.md5 -diff test4.md5 mbuffer.md5 > test4 -touch test1 -rm -f output-test5.tar.* -cat mbuffer | LD_PRELOAD=./tapetest.so ./mbuffer -s10k -f -o output-test5 -H -A "echo '[test5] Replacing tape'" --tapeaware -[test5] Replacing tape -[test5] Replacing tape -[test5] Replacing tape MD5 hash: 250b39686559584a2d8c92103132898c -summary: 300 kiByte in 0.0sec - average of 12.2 MiB/s +summary: 300 kiByte in 0.1sec - average of 2070 kiB/s @@ -709,18 +741,31 @@ [INTERCEPT] write(block 0): OK [INTERCEPT] write(block 1): OK cat output-test5* | openssl md5 > test5.md5 +cat output-test4* | openssl md5 > test4.md5 rm -f output-test5 output-test5.* +rm -f output-test4 output-test4.* + in @ 17.8 MiB/s, out @ 35.8 MiB/s, 2 x 37.3 MiB total, buffer 1% full, 66% donesync sync diff test5.md5 mbuffer.md5 > test5 -rm -f test3.tar +diff test4.md5 mbuffer.md5 > test4 + in @ 17.8 MiB/s, out @ 17.8 MiB/s, 39.6 MiB total, buffer 0% full, 70% done in @ 30.5 MiB/s, out @ 63.7 MiB/s, 2 x 53.3 MiB total, buffer 0% full, 94% done in @ 33.0 MiB/s, out @ 33.0 MiB/s, 56.2 MiB total, buffer 0% full, 99% done +summary: 56.5 MiByte in 4.2sec - average of 13.3 MiB/s + +MD5 hash: f7b7d5de4d113bae117eefc8f50d22a3 +summary: 2x 56.5 MiByte in 4.3sec - average of 26.1 MiB/s +openssl md5 < test1.tar > test1.md5 sync -diff test3.md5 test.md5 -touch test3 +diff test0.md5 test.md5 +touch test0 +rm -f test1.tar +sync +diff test1.md5 test.md5 +touch test1 make[1]: Leaving directory '/build/reproducible-path/mbuffer-20241007+ds1' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/mbuffer/ - make -j3 install DESTDIR=/build/reproducible-path/mbuffer-20241007\+ds1/debian/mbuffer AM_UPDATE_INFO_DIR=no + make -j4 install DESTDIR=/build/reproducible-path/mbuffer-20241007\+ds1/debian/mbuffer AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/build/reproducible-path/mbuffer-20241007+ds1' bash mkversion.sh /usr/bin/install -c -d -m 755 /build/reproducible-path/mbuffer-20241007+ds1/debian/mbuffer/etc @@ -762,8 +807,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'mbuffer' in '../mbuffer_20241007+ds1-1_armhf.deb'. dpkg-deb: building package 'mbuffer-dbgsym' in '../mbuffer-dbgsym_20241007+ds1-1_armhf.deb'. +dpkg-deb: building package 'mbuffer' in '../mbuffer_20241007+ds1-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../mbuffer_20241007+ds1-1_armhf.buildinfo dpkg-genchanges --build=binary -O../mbuffer_20241007+ds1-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -771,12 +816,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/6581/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6581/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/10504 and its subdirectories -I: Current time: Tue Feb 18 04:07:34 -12 2025 -I: pbuilder-time-stamp: 1739894854 +I: removing directory /srv/workspace/pbuilder/6581 and its subdirectories +I: Current time: Wed Feb 19 06:12:39 +14 2025 +I: pbuilder-time-stamp: 1739895159