Diff of the two buildlogs: -- --- b1/build.log 2024-04-18 08:08:38.181129533 +0000 +++ b2/build.log 2024-04-18 08:10:19.604815642 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 21 02:28:11 -12 2025 -I: pbuilder-time-stamp: 1747837691 +I: Current time: Thu Apr 18 22:08:41 +14 2024 +I: pbuilder-time-stamp: 1713427721 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ 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/79923/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/33395/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 18 08: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/33395/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/33395/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='bb3457cdf2e44f7faed0b1b7b8daa446' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='79923' - PS1='# ' - PS2='> ' + INVOCATION_ID=3d7d2c223c6248778b2528aad72dbfcd + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=33395 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.8bpVnBzl/pbuilderrc_aTB9 --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.8bpVnBzl/b1 --logfile b1/build.log ocaml-rope_0.6.2-4.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.8bpVnBzl/pbuilderrc_rTMT --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.8bpVnBzl/b2 --logfile b2/build.log ocaml-rope_0.6.2-4.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 20 17:46 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/79923/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 16 11:24 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/33395/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -163,7 +195,7 @@ Get: 41 http://deb.debian.org/debian trixie/main i386 libfindlib-ocaml i386 1.9.6-1+b2 [165 kB] Get: 42 http://deb.debian.org/debian trixie/main i386 ocaml-dune i386 3.14.0-1 [4126 kB] Get: 43 http://deb.debian.org/debian trixie/main i386 ocaml-findlib i386 1.9.6-1+b2 [481 kB] -Fetched 137 MB in 4s (34.0 MB/s) +Fetched 137 MB in 3s (54.2 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 ... 19874 files and directories currently installed.) @@ -350,7 +382,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/33395/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/33395/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 @@ -371,7 +407,7 @@ dh_ocamlinit -O--buildsystem=ocaml_dune dh_auto_configure -O--buildsystem=ocaml_dune dh_auto_build -O--buildsystem=ocaml_dune - dune build -j 22 -p rope + dune build -j 10 -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 @@ -391,22 +427,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 22 -p rope + dune runtest -j 10 -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: 15.28 WALL ( 2.67 usr + 4.16 sys = 6.83 CPU) @ 76158.70/s (n=520046) - 7.66 WALL ( 2.37 usr + 3.27 sys = 5.63 CPU) @ 92323.50/s (n=520046) - 5.77 WALL ( 2.54 usr + 3.22 sys = 5.77 CPU) @ 90182.79/s (n=520046) - Rope: 5.05 WALL ( 5.05 usr + 0.00 sys = 5.05 CPU) @ 3000662.89/s (n=15164324) - 5.15 WALL ( 5.14 usr + 0.00 sys = 5.14 CPU) @ 2633479.84/s (n=13537519) - 5.25 WALL ( 5.24 usr + 0.00 sys = 5.24 CPU) @ 2197570.24/s (n=11510796) - Iter: 5.05 WALL ( 5.03 usr + 0.00 sys = 5.03 CPU) @ 2306806.15/s (n=11612446) - 5.08 WALL ( 5.08 usr + 0.00 sys = 5.08 CPU) @ 1976519.72/s (n=10044859) - 5.08 WALL ( 5.08 usr + 0.00 sys = 5.08 CPU) @ 1977495.61/s (n=10044859) - Rate String Iter Rope -String 86222+- 6811/s -- -96% -97% - Iter 2086940+-147696/s 2320% -- [-20%] - Rope 2610571+-311848/s 2928% [25%] -- +String: 5.25 WALL ( 3.69 usr + 1.56 sys = 5.25 CPU) @ 156644.75/s (n=822483) + 5.27 WALL ( 3.81 usr + 1.46 sys = 5.27 CPU) @ 155973.17/s (n=822483) + 5.42 WALL ( 3.85 usr + 1.57 sys = 5.42 CPU) @ 151746.55/s (n=822483) + Rope: 5.33 WALL ( 5.33 usr + 0.00 sys = 5.33 CPU) @ 2269118.92/s (n=12101336) + 5.30 WALL ( 5.30 usr + 0.00 sys = 5.30 CPU) @ 2284702.55/s (n=12101336) + 5.39 WALL ( 5.38 usr + 0.00 sys = 5.38 CPU) @ 2247529.29/s (n=12101336) + Iter: 5.18 WALL ( 5.18 usr + 0.00 sys = 5.18 CPU) @ 2119341.95/s (n=10975966) + 5.20 WALL ( 5.20 usr + 0.00 sys = 5.20 CPU) @ 2110086.25/s (n=10975966) + 5.23 WALL ( 5.23 usr + 0.00 sys = 5.23 CPU) @ 2097780.26/s (n=10975966) + Rate String Iter Rope +String 154788+- 2060/s -- -93% -93% + Iter 2109069+- 8390/s 1263% -- -7% + Rope 2267117+-14480/s 1365% 7% -- create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ocaml_dune dh_prep -O--buildsystem=ocaml_dune @@ -431,13 +467,13 @@ dh_installdeb -O--buildsystem=ocaml_dune dh_ocaml -O--buildsystem=ocaml_dune dh_gencontrol -O--buildsystem=ocaml_dune -dpkg-gencontrol: warning: Depends field of package librope-ocaml: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package librope-ocaml-dev: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package librope-ocaml: substitution variable ${shlibs:Depends} used, but is not defined +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-dbgsym' in '../librope-ocaml-dbgsym_0.6.2-4_i386.deb'. dpkg-deb: building package 'librope-ocaml' in '../librope-ocaml_0.6.2-4_i386.deb'. +dpkg-deb: building package 'librope-ocaml-dbgsym' in '../librope-ocaml-dbgsym_0.6.2-4_i386.deb'. dpkg-deb: building package 'librope-ocaml-dev' in '../librope-ocaml-dev_0.6.2-4_i386.deb'. dpkg-genbuildinfo --build=binary -O../ocaml-rope_0.6.2-4_i386.buildinfo dpkg-genchanges --build=binary -O../ocaml-rope_0.6.2-4_i386.changes @@ -446,12 +482,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/33395/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/33395/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/79923 and its subdirectories -I: Current time: Wed May 21 02:31:35 -12 2025 -I: pbuilder-time-stamp: 1747837895 +I: removing directory /srv/workspace/pbuilder/33395 and its subdirectories +I: Current time: Thu Apr 18 22:10:18 +14 2024 +I: pbuilder-time-stamp: 1713427818