Diff of the two buildlogs: -- --- b1/build.log 2024-05-15 04:34:08.202716647 +0000 +++ b2/build.log 2024-05-15 04:36:14.389346910 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 14 16:31:40 -12 2024 -I: pbuilder-time-stamp: 1715747500 +I: Current time: Wed Jun 18 00:57:11 +14 2025 +I: pbuilder-time-stamp: 1750157831 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,51 +32,83 @@ dpkg-source: info: applying 0006-Prevent-integer-constant-overflow-on-32-bit-systems.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/382200/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3681579/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Jun 17 10:57 /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/3681579/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3681579/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' + 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=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + 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='46e8f59addbe4317af763b594539b5d1' - 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='382200' - PS1='# ' - PS2='> ' + INVOCATION_ID=65edeb4eb860476f8f9391f54fb60de4 + 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=3681579 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.sLy7ySDo/pbuilderrc_o755 --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.sLy7ySDo/b1 --logfile b1/build.log android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7.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' + 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.sLy7ySDo/pbuilderrc_CzIV --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.sLy7ySDo/b2 --logfile b2/build.log android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7.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' I: uname -a - Linux infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 14 11:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/382200/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 16 03:14 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3681579/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -167,7 +199,7 @@ Get: 41 http://deb.debian.org/debian trixie/main amd64 ninja-build amd64 1.11.1-2 [142 kB] Get: 42 http://deb.debian.org/debian trixie/main amd64 pandoc-data all 3.1.3-2 [445 kB] Get: 43 http://deb.debian.org/debian trixie/main amd64 pandoc amd64 3.1.3+ds-3 [24.3 MB] -Fetched 88.6 MB in 1s (79.2 MB/s) +Fetched 88.6 MB in 1s (87.7 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 ... 19699 files and directories currently installed.) @@ -354,7 +386,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59/ && 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 > ../android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7_source.changes +I: user script /srv/workspace/pbuilder/3681579/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3681579/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59/ && 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 > ../android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7_source.changes dpkg-buildpackage: info: source package android-platform-build-kati dpkg-buildpackage: info: source version 10.0.0+r32+git20220314.09dfa26c4e59-7 dpkg-buildpackage: info: source distribution unstable @@ -366,7 +402,7 @@ dh_auto_clean make -j12 clean make[1]: Entering directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59' -/bin/sh: 1: git: not found +/bin/sh: line 1: git: command not found realpath: missing operand Try 'realpath --help' for more information. rm -rf out/ckati @@ -403,34 +439,34 @@ dh_auto_build --buildsystem=golang dh_auto_build: warning: github.com/google/kati contains no non-test Go files, removing it from build cd obj-x86_64-linux-gnu && go install -trimpath -v -p 12 github.com/google/kati/golang/cmd/kati github.com/google/kati/golang/kati -internal/unsafeheader -internal/coverage/rtcov -internal/goos internal/godebugs -internal/cpu -internal/race -sync/atomic +internal/goos internal/goarch +internal/unsafeheader +internal/race internal/goexperiment +internal/coverage/rtcov +internal/cpu +runtime/internal/syscall unicode runtime/internal/atomic -runtime/internal/syscall +sync/atomic +runtime/internal/math +internal/chacha8rand unicode/utf8 +internal/abi encoding +runtime/internal/sys internal/itoa -cmp math/bits -internal/abi +cmp log/internal -internal/chacha8rand -runtime/internal/math -runtime/internal/sys crypto/internal/alias crypto/subtle +slices crypto/internal/boring/sig unicode/utf16 internal/bytealg -slices math runtime internal/reflectlite @@ -438,24 +474,24 @@ internal/testlog internal/bisect runtime/cgo -errors -io internal/godebug -sort +errors internal/oserror +io internal/safefilepath -path strconv +sort +path syscall -hash bytes -internal/saferio -text/tabwriter strings +hash +text/tabwriter +internal/saferio hash/crc32 container/heap -crypto reflect +crypto github.com/golang/glog/internal/stackdump bufio regexp/syntax @@ -463,32 +499,32 @@ time internal/syscall/execenv regexp +io/fs context internal/poll -io/fs -os internal/fmtsort encoding/binary +os crypto/cipher encoding/base64 crypto/internal/boring -io/ioutil -path/filepath -fmt crypto/sha1 +fmt +path/filepath +io/ioutil os/exec flag -log github.com/golang/glog/internal/logsink +log +os/user compress/flate -encoding/gob -encoding/json net/url text/template/parse +encoding/gob +encoding/json compress/gzip runtime/pprof text/template -os/user github.com/golang/glog github.com/google/kati/golang/kati github.com/google/kati/golang/cmd/kati @@ -496,7 +532,7 @@ dh_auto_build make -j12 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59' -/bin/sh: 1: git: not found +/bin/sh: line 1: git: command not found realpath: missing operand Try 'realpath --help' for more information. g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/affinity.o src/affinity.cc @@ -538,8 +574,8 @@ g++ -c -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o out/strutil_bench.o src/strutil_bench.cc g++ out/find_test.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o find_test -lrt -lpthread g++ out/ninja_test.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o ninja_test -lrt -lpthread -g++ out/string_piece_test.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o string_piece_test -lrt -lpthread g++ -std=c++17 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -W -Wall -MMD -MP -O -DNOLOG -o ckati out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/main.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -lrt -lpthread +g++ out/string_piece_test.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o string_piece_test -lrt -lpthread g++ out/strutil_bench.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o strutil_bench -lrt -lpthread g++ out/strutil_test.o out/affinity.o out/command.o out/dep.o out/eval.o out/exec.o out/expr.o out/file.o out/file_cache.o out/fileutil.o out/find.o out/flags.o out/func.o out/io.o out/log.o out/ninja.o out/parser.o out/regen.o out/rule.o out/stats.o out/stmt.o out/string_piece.o out/stringprintf.o out/strutil.o out/symtab.o out/timeutil.o out/var.o out/version.o -o strutil_test -lrt -lpthread make[1]: Leaving directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59' @@ -548,23 +584,15 @@ dh_auto_test make -j12 test make[2]: Entering directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59' -/bin/sh: 1: git: not found +/bin/sh: line 1: git: command not found realpath: missing operand Try 'realpath --help' for more information. go test --ckati --ninja --- FAIL: TestKati (0.00s) - --- FAIL: TestKati/var_append.mk (0.04s) + --- FAIL: TestKati/test_version.mk (0.01s) run_test.go:487: Different output from kati (red) to the expected value from make (green): - simple FOO - recursive FOO BAR -  FOO -  FOO BAR - FOO BAR - simple - recursive - simple - recursive - recursive + 4.2.13 + *** No targets. --- FAIL: TestKati/target_specific_var_append.mk (0.06s) run_test.go:487: Different output from kati (red) to the expected value from make (green): A=PASS_A A @@ -578,15 +606,23 @@ --- FAIL: TestKati/stem_middle.mk (0.04s) run_test.go:499: Files only created by Kati: ["a" "c"] - --- FAIL: TestKati/ninja_validations.sh (0.05s) + --- FAIL: TestKati/ninja_validations.sh (0.06s) run_test.go:490: Expected failure, but output is the same - --- FAIL: TestKati/test_version.mk (0.01s) + --- FAIL: TestKati/var_append.mk (0.04s) run_test.go:487: Different output from kati (red) to the expected value from make (green): - 4.2.13 - *** No targets. + simple FOO + recursive FOO BAR +  FOO +  FOO BAR + FOO BAR + simple + recursive + simple + recursive + recursive FAIL exit status 1 -FAIL _/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59 6.572s +FAIL _/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59 7.219s make[2]: *** [Makefile:36: test] Error 1 make[2]: Leaving directory '/build/reproducible-path/android-platform-build-kati-10.0.0+r32+git20220314.09dfa26c4e59' dh_auto_test: error: make -j12 test returned exit code 2 @@ -611,18 +647,18 @@ dh_installdeb dh_golang dh_gencontrol -dpkg-gencontrol: warning: package kati: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package ckati: substitution variable ${misc:Built-Using} unused, but is defined dpkg-gencontrol: warning: package ckati: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package kati: substitution variable ${misc:Static-Built-Using} unused, but is defined dpkg-gencontrol: warning: package ckati: substitution variable ${misc:Built-Using} unused, but is defined dpkg-gencontrol: warning: package ckati: substitution variable ${misc:Static-Built-Using} unused, but is defined +dpkg-gencontrol: warning: package kati: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums dh_builddeb dpkg-deb: building package 'ckati' in '../ckati_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.deb'. dpkg-deb: building package 'ckati-dbgsym' in '../ckati-dbgsym_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.deb'. -dpkg-deb: building package 'kati-dbgsym' in '../kati-dbgsym_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.deb'. dpkg-deb: building package 'kati' in '../kati_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.deb'. +dpkg-deb: building package 'kati-dbgsym' in '../kati-dbgsym_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.deb'. dpkg-genbuildinfo --build=binary -O../android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.buildinfo dpkg-genchanges --build=binary -O../android-platform-build-kati_10.0.0+r32+git20220314.09dfa26c4e59-7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -630,12 +666,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/3681579/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3681579/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/382200 and its subdirectories -I: Current time: Tue May 14 16:34:07 -12 2024 -I: pbuilder-time-stamp: 1715747647 +I: removing directory /srv/workspace/pbuilder/3681579 and its subdirectories +I: Current time: Wed Jun 18 00:59:13 +14 2025 +I: pbuilder-time-stamp: 1750157953