Diff of the two buildlogs: -- --- b1/build.log 2024-12-16 08:39:23.008296029 +0000 +++ b2/build.log 2024-12-16 08:41:14.371251978 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 18 03:01:33 -12 2026 -I: pbuilder-time-stamp: 1768748493 +I: Current time: Mon Dec 16 22:39:26 +14 2024 +I: pbuilder-time-stamp: 1734338366 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking golang-github-foxboron-go-tpm-keyfiles_0.0~git20240805.f870d6f-1.1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1707839/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/244878/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +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 Dec 16 08:39 /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/244878/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/244878/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='arm64' - 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]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='142e0959effe47509c31608e2f45273e' - 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='1707839' - PS1='# ' - PS2='> ' + INVOCATION_ID=b0663f04c05744a2981d2e8da716d67d + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=244878 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.3CUB9t4e/pbuilderrc_Pk13 --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.3CUB9t4e/b1 --logfile b1/build.log golang-github-foxboron-go-tpm-keyfiles_0.0~git20240805.f870d6f-1.1.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' - http_proxy='http://192.168.101.4: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.3CUB9t4e/pbuilderrc_Th41 --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.3CUB9t4e/b2 --logfile b2/build.log golang-github-foxboron-go-tpm-keyfiles_0.0~git20240805.f870d6f-1.1.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' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-cloud-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1707839/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/244878/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -154,7 +186,7 @@ Get: 38 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-term-dev all 0.22.0-1 [14.8 kB] Get: 39 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-text-dev all 0.16.0-1 [4003 kB] Get: 40 http://deb.debian.org/debian unstable/main arm64 golang-golang-x-crypto-dev all 1:0.25.0-1 [1682 kB] -Fetched 68.3 MB in 0s (162 MB/s) +Fetched 68.3 MB in 1s (91.5 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 ... 20082 files and directories currently installed.) @@ -329,7 +361,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-foxboron-go-tpm-keyfiles-0.0~git20240805.f870d6f/ && 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 > ../golang-github-foxboron-go-tpm-keyfiles_0.0~git20240805.f870d6f-1.1_source.changes +I: user script /srv/workspace/pbuilder/244878/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/244878/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-foxboron-go-tpm-keyfiles-0.0~git20240805.f870d6f/ && 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 > ../golang-github-foxboron-go-tpm-keyfiles_0.0~git20240805.f870d6f-1.1_source.changes dpkg-buildpackage: info: source package golang-github-foxboron-go-tpm-keyfiles dpkg-buildpackage: info: source version 0.0~git20240805.f870d6f-1.1 dpkg-buildpackage: info: source distribution unstable @@ -349,35 +385,35 @@ dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/foxboron/go-tpm-keyfiles github.com/foxboron/go-tpm-keyfiles/internal/keytest github.com/foxboron/go-tpm-keyfiles/pkix github.com/foxboron/go-tpm-keyfiles/template internal/byteorder -internal/godebugs internal/unsafeheader +internal/godebugs internal/coverage/rtcov internal/goarch -internal/goexperiment -internal/race -sync/atomic -internal/profilerecord unicode -unicode/utf8 -internal/runtime/syscall +internal/goexperiment internal/cpu +unicode/utf8 +sync/atomic internal/goos +internal/profilerecord math/bits -internal/abi -runtime/internal/math crypto/internal/alias -internal/chacha8rand -runtime/internal/sys +internal/runtime/syscall +internal/race crypto/subtle crypto/internal/boring/sig +internal/chacha8rand +internal/abi +runtime/internal/math +runtime/internal/sys cmp -math internal/asan internal/itoa internal/msan unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace +math golang.org/x/crypto/internal/alias golang.org/x/crypto/cryptobyte/asn1 encoding @@ -386,52 +422,52 @@ internal/runtime/exithook internal/stringslite runtime -iter internal/reflectlite -internal/weak sync +iter +internal/weak slices internal/bisect internal/testlog internal/singleflight runtime/cgo errors +internal/godebug sort io -internal/oserror +strconv crypto/internal/edwards25519/field +bytes +math/rand +hash +internal/oserror +crypto/internal/nistec/fiat path vendor/golang.org/x/net/dns/dnsmessage math/rand/v2 -strconv -crypto/internal/nistec/fiat -internal/godebug -syscall -bytes -hash -crypto/internal/randutil crypto -internal/concurrent +crypto/internal/randutil +syscall +strings reflect crypto/internal/edwards25519 -math/rand -strings -unique +internal/concurrent crypto/md5 crypto/cipher -net/netip +unique bufio -crypto/des +net/netip crypto/internal/boring +crypto/des crypto/aes crypto/sha512 crypto/hmac crypto/sha256 crypto/sha1 golang.org/x/crypto/hkdf -internal/syscall/execenv -time internal/syscall/unix +time +internal/syscall/execenv io/fs context internal/poll @@ -441,35 +477,35 @@ internal/filepathlite crypto/internal/nistec os -encoding/base64 -golang.org/x/crypto/internal/poly1305 golang.org/x/crypto/chacha20 +golang.org/x/crypto/internal/poly1305 +encoding/base64 golang.org/x/sys/unix encoding/pem golang.org/x/crypto/chacha20poly1305 crypto/ecdh fmt internal/sysinfo -path/filepath net -runtime/trace +path/filepath +math/big flag +runtime/debug +runtime/trace encoding/hex net/url -math/big -runtime/debug testing crypto/elliptic crypto/internal/bigmod -crypto/internal/boring/bbig encoding/asn1 crypto/rand +crypto/internal/boring/bbig crypto/dsa crypto/ed25519 crypto/rsa vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa github.com/google/go-tpm/tpmutil crypto/x509 @@ -477,8 +513,8 @@ github.com/google/go-tpm/tpm2/transport github.com/google/go-tpm/tpm2 github.com/foxboron/go-tpm-keyfiles/template -github.com/foxboron/go-tpm-keyfiles/pkix github.com/foxboron/go-tpm-keyfiles +github.com/foxboron/go-tpm-keyfiles/pkix github.com/foxboron/go-tpm-keyfiles/internal/keytest debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/golang-github-foxboron-go-tpm-keyfiles-0.0~git20240805.f870d6f' @@ -497,11 +533,11 @@ === RUN TestHandleMSO --- PASS: TestHandleMSO (0.00s) PASS -ok github.com/foxboron/go-tpm-keyfiles 0.009s +ok github.com/foxboron/go-tpm-keyfiles 0.037s === RUN TestToTPMPublic --- PASS: TestToTPMPublic (0.00s) PASS -ok github.com/foxboron/go-tpm-keyfiles/pkix 0.010s +ok github.com/foxboron/go-tpm-keyfiles/pkix 0.066s make[1]: Leaving directory '/build/reproducible-path/golang-github-foxboron-go-tpm-keyfiles-0.0~git20240805.f870d6f' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -529,12 +565,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/244878/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/244878/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/1707839 and its subdirectories -I: Current time: Sun Jan 18 03:02:21 -12 2026 -I: pbuilder-time-stamp: 1768748541 +I: removing directory /srv/workspace/pbuilder/244878 and its subdirectories +I: Current time: Mon Dec 16 22:41:13 +14 2024 +I: pbuilder-time-stamp: 1734338473