Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 09:46:19.821270335 +0000 +++ b2/build.log 2024-04-21 09:47:58.533071758 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 24 04:07:56 -12 2025 -I: pbuilder-time-stamp: 1748102876 +I: Current time: Sun Apr 21 23:46:22 +14 2024 +I: pbuilder-time-stamp: 1713692782 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/84895/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13388/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 21 09:46 /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/13388/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13388/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='880fab0ef4884352b868ef0c7cfdc33f' - 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='84895' - PS1='# ' - PS2='> ' + INVOCATION_ID=e1914a24e1f64dadb0f0d6f81570a2ba + 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=13388 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.Kna6SBVz/pbuilderrc_lRqw --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Kna6SBVz/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://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.Kna6SBVz/pbuilderrc_9LrT --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Kna6SBVz/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://46.16.76.132: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 24 13:36 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/84895/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/13388/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -190,7 +222,7 @@ Get: 41 http://deb.debian.org/debian unstable/main i386 libfindlib-ocaml i386 1.9.6-1+b2 [165 kB] Get: 42 http://deb.debian.org/debian unstable/main i386 ocaml-dune i386 3.14.0-1 [4126 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 ocaml-findlib i386 1.9.6-1+b2 [481 kB] -Fetched 137 MB in 2s (74.3 MB/s) +Fetched 137 MB in 2s (68.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 ... 19681 files and directories currently installed.) @@ -377,7 +409,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/13388/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/13388/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 @@ -398,7 +434,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 @@ -418,22 +454,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: 5.26 WALL ( 4.08 usr + 1.18 sys = 5.26 CPU) @ 271560.12/s (n=1428145) - 5.29 WALL ( 4.22 usr + 1.08 sys = 5.29 CPU) @ 269777.93/s (n=1428145) - 5.30 WALL ( 4.10 usr + 1.20 sys = 5.30 CPU) @ 269348.50/s (n=1428145) - Rope: 5.23 WALL ( 5.23 usr + 0.00 sys = 5.23 CPU) @ 3528801.63/s (n=18461201) - 5.23 WALL ( 5.23 usr + 0.00 sys = 5.23 CPU) @ 3527400.54/s (n=18461201) - 5.23 WALL ( 5.23 usr + 0.00 sys = 5.23 CPU) @ 3530866.20/s (n=18461201) - Iter: 5.25 WALL ( 5.25 usr + 0.00 sys = 5.25 CPU) @ 3207940.41/s (n=16847763) - 5.25 WALL ( 5.25 usr + 0.00 sys = 5.25 CPU) @ 3210963.74/s (n=16847763) - 5.24 WALL ( 5.24 usr + 0.00 sys = 5.24 CPU) @ 3214192.06/s (n=16847763) - Rate String Iter Rope -String 270229+- 910/s -- -92% -92% - Iter 3211032+-2425/s 1088% -- -9% - Rope 3529023+-1352/s 1206% 10% -- +String: 5.31 WALL ( 2.00 usr + 3.31 sys = 5.31 CPU) @ 85530.83/s (n=454137) + 5.27 WALL ( 2.09 usr + 3.18 sys = 5.27 CPU) @ 86214.04/s (n=454137) + 5.47 WALL ( 2.14 usr + 3.33 sys = 5.47 CPU) @ 83034.25/s (n=454137) + Rope: 5.28 WALL ( 5.28 usr + 0.00 sys = 5.28 CPU) @ 2726031.04/s (n=14405632) + 5.22 WALL ( 5.22 usr + 0.00 sys = 5.22 CPU) @ 2759752.49/s (n=14405632) + 5.23 WALL ( 5.23 usr + 0.00 sys = 5.23 CPU) @ 2752975.40/s (n=14405632) + Iter: 5.35 WALL ( 5.34 usr + 0.00 sys = 5.34 CPU) @ 2511377.96/s (n=13419631) + 5.34 WALL ( 5.34 usr + 0.00 sys = 5.34 CPU) @ 2511268.93/s (n=13419631) + 5.47 WALL ( 5.47 usr + 0.00 sys = 5.47 CPU) @ 2455158.46/s (n=13419631) + Rate String Iter Rope +String 84926+- 1298/s -- -97% -97% + Iter 2492602+-25153/s 2835% -- -9% + Rope 2746253+-13836/s 3134% 10% -- create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ocaml_dune dh_prep -O--buildsystem=ocaml_dune @@ -458,14 +494,14 @@ 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-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-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 dh_md5sums -O--buildsystem=ocaml_dune dh_builddeb -O--buildsystem=ocaml_dune -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-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-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 dpkg-genchanges: info: binary-only upload (no source code included) @@ -473,12 +509,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/13388/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/13388/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/84895 and its subdirectories -I: Current time: Sat May 24 04:09:18 -12 2025 -I: pbuilder-time-stamp: 1748102958 +I: removing directory /srv/workspace/pbuilder/13388 and its subdirectories +I: Current time: Sun Apr 21 23:47:57 +14 2024 +I: pbuilder-time-stamp: 1713692877