Diff of the two buildlogs: -- --- b1/build.log 2024-05-07 18:37:12.703642091 +0000 +++ b2/build.log 2024-05-07 18:40:01.240471357 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 9 12:57:58 -12 2025 -I: pbuilder-time-stamp: 1749517078 +I: Current time: Wed May 8 08:37:15 +14 2024 +I: pbuilder-time-stamp: 1715107035 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking ocaml-rope_0.6.2-4.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/648823/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3505921/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 May 7 18:37 /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/3505921/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3505921/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='6e7b843dc3c34e828b832df1dba8bb82' - 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='648823' - PS1='# ' - PS2='> ' + INVOCATION_ID=f0632af58bff4c689a20e61fd07e3271 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=3505921 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.Qma2w8Bq/pbuilderrc_mo1r --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.Qma2w8Bq/b1 --logfile b1/build.log ocaml-rope_0.6.2-4.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.Qma2w8Bq/pbuilderrc_8IIa --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.Qma2w8Bq/b2 --logfile b2/build.log ocaml-rope_0.6.2-4.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 8 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/648823/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 5 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3505921/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -160,7 +192,7 @@ Get: 41 http://deb.debian.org/debian trixie/main amd64 libfindlib-ocaml amd64 1.9.6-1+b2 [169 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 ocaml-dune amd64 3.14.0-1 [4413 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 ocaml-findlib amd64 1.9.6-1+b2 [496 kB] -Fetched 139 MB in 2s (71.9 MB/s) +Fetched 139 MB in 9s (16.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19698 files and directories currently installed.) @@ -347,7 +379,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ocaml-rope-0.6.2/ && 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 > ../ocaml-rope_0.6.2-4_source.changes +I: user script /srv/workspace/pbuilder/3505921/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3505921/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ocaml-rope-0.6.2/ && 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 > ../ocaml-rope_0.6.2-4_source.changes dpkg-buildpackage: info: source package ocaml-rope dpkg-buildpackage: info: source version 0.6.2-4 dpkg-buildpackage: info: source distribution unstable @@ -368,7 +404,7 @@ dh_ocamlinit -O--buildsystem=ocaml_dune dh_auto_configure -O--buildsystem=ocaml_dune dh_auto_build -O--buildsystem=ocaml_dune - dune build -j 42 -p rope + dune build -j 20 -p rope (cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.rope.objs/byte -I /usr/lib/ocaml/bytes -intf-suffix .ml -no-alias-deps -o src/.rope.objs/byte/rope.cmo -c -impl src/rope.ml) File "src/rope.ml", line 1291, characters 16-34: 1291 | let compare = Pervasives.compare @@ -388,22 +424,22 @@ If you need to stay compatible with OCaml < 4.07, you can use the stdlib-shims library: https://github.com/ocaml/stdlib-shims dh_auto_test -O--buildsystem=ocaml_dune - dune runtest -j 42 -p rope + dune runtest -j 20 -p rope (cd _build/default/bench && ./bench_rope.exe) Throughputs for "String", "Rope", "Iter" each running 3 times for at least 5 CPU seconds: -String: 5.48 WALL ( 3.63 usr + 1.85 sys = 5.48 CPU) @ 286767.85/s (n=1570643) - 5.32 WALL ( 3.35 usr + 1.97 sys = 5.32 CPU) @ 295504.88/s (n=1570643) - 5.36 WALL ( 3.40 usr + 1.96 sys = 5.36 CPU) @ 292794.43/s (n=1570643) - Rope: 5.26 WALL ( 5.26 usr + 0.00 sys = 5.26 CPU) @ 3592719.82/s (n=18898317) - 5.28 WALL ( 5.28 usr + 0.00 sys = 5.28 CPU) @ 3576444.80/s (n=18898317) - 5.25 WALL ( 5.25 usr + 0.00 sys = 5.25 CPU) @ 3599843.31/s (n=18898317) - Iter: 5.26 WALL ( 5.26 usr + 0.00 sys = 5.26 CPU) @ 3259807.23/s (n=17148405) - 5.24 WALL ( 5.24 usr + 0.00 sys = 5.24 CPU) @ 3270774.35/s (n=17148405) - 5.24 WALL ( 5.24 usr + 0.00 sys = 5.24 CPU) @ 3270401.96/s (n=17148405) - Rate String Iter Rope -String 291689+-3469/s -- -91% -92% - Iter 3266995+-4830/s 1020% -- -9% - Rope 3589669+-9303/s 1131% 10% -- +String: 5.23 WALL ( 3.45 usr + 1.77 sys = 5.22 CPU) @ 70439.16/s (n=367929) + 5.38 WALL ( 3.56 usr + 1.74 sys = 5.31 CPU) @ 69336.33/s (n=367929) + 6.45 WALL ( 4.25 usr + 2.04 sys = 6.29 CPU) @ 58532.12/s (n=367929) + Rope: 6.50 WALL ( 5.89 usr + 0.00 sys = 5.89 CPU) @ 1387298.67/s (n=8167098) + 5.09 WALL ( 5.04 usr + 0.00 sys = 5.04 CPU) @ 1792583.71/s (n=9034448) + 5.08 WALL ( 5.06 usr + 0.00 sys = 5.06 CPU) @ 2009676.42/s (n=10175468) + Iter: 6.55 WALL ( 6.49 usr + 0.00 sys = 6.49 CPU) @ 1486750.48/s (n=9652781) + 5.45 WALL ( 5.42 usr + 0.00 sys = 5.42 CPU) @ 1779934.90/s (n=9652781) + 5.06 WALL ( 5.06 usr + 0.00 sys = 5.06 CPU) @ 1959367.18/s (n=9914925) + Rate String Rope Iter +String 66103+- 5103/s -- -96% -96% + Rope 1729853+-245031/s 2517% -- [-1%] + Iter 1742018+-185059/s 2535% [1%] -- create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ocaml_dune dh_prep -O--buildsystem=ocaml_dune @@ -433,9 +469,9 @@ dpkg-gencontrol: warning: Depends field of package librope-ocaml: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -O--buildsystem=ocaml_dune dh_builddeb -O--buildsystem=ocaml_dune +dpkg-deb: building package 'librope-ocaml-dev' in '../librope-ocaml-dev_0.6.2-4_amd64.deb'. dpkg-deb: building package 'librope-ocaml' in '../librope-ocaml_0.6.2-4_amd64.deb'. dpkg-deb: building package 'librope-ocaml-dbgsym' in '../librope-ocaml-dbgsym_0.6.2-4_amd64.deb'. -dpkg-deb: building package 'librope-ocaml-dev' in '../librope-ocaml-dev_0.6.2-4_amd64.deb'. dpkg-genbuildinfo --build=binary -O../ocaml-rope_0.6.2-4_amd64.buildinfo dpkg-genchanges --build=binary -O../ocaml-rope_0.6.2-4_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -443,12 +479,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/3505921/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3505921/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/648823 and its subdirectories -I: Current time: Mon Jun 9 13:00:11 -12 2025 -I: pbuilder-time-stamp: 1749517211 +I: removing directory /srv/workspace/pbuilder/3505921 and its subdirectories +I: Current time: Wed May 8 08:40:00 +14 2024 +I: pbuilder-time-stamp: 1715107200