Diff of the two buildlogs: -- --- b1/build.log 2025-02-05 17:23:19.472193160 +0000 +++ b2/build.log 2025-02-05 17:25:40.453812185 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 10 11:44:28 -12 2026 -I: pbuilder-time-stamp: 1773186268 +I: Current time: Thu Feb 6 07:23:22 +14 2025 +I: pbuilder-time-stamp: 1738776202 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying 0001-Import-deterministic-ECDSA-key-generation-code-from-.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3044387/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/640587/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-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 Feb 5 17:23 /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/640587/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/640587/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='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='64e6bd464dee4a6b886eadb824adf364' - 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='3044387' - PS1='# ' - PS2='> ' + INVOCATION_ID=67bba475492f4eb9b107781f2cebd4c2 + 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=640587 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.8iSV2ykV/pbuilderrc_oPKI --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.8iSV2ykV/b1 --logfile b1/build.log gokey_0.1.2-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.8iSV2ykV/pbuilderrc_MgHs --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.8iSV2ykV/b2 --logfile b2/build.log gokey_0.1.2-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 codethink03-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3044387/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/640587/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -161,7 +193,7 @@ Get: 44 http://deb.debian.org/debian trixie/main arm64 libyaml-0-2 arm64 0.2.5-2 [49.2 kB] Get: 45 http://deb.debian.org/debian trixie/main arm64 pandoc-data all 3.1.11.1-3 [459 kB] Get: 46 http://deb.debian.org/debian trixie/main arm64 pandoc arm64 3.1.11.1+ds-2 [26.2 MB] -Fetched 95.8 MB in 0s (237 MB/s) +Fetched 95.8 MB in 0s (266 MB/s) Preconfiguring packages ... 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 ... 19957 files and directories currently installed.) @@ -360,7 +392,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/gokey-0.1.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 > ../gokey_0.1.2-1_source.changes +I: user script /srv/workspace/pbuilder/640587/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/640587/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/gokey-0.1.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 > ../gokey_0.1.2-1_source.changes dpkg-buildpackage: info: source package gokey dpkg-buildpackage: info: source version 0.1.2-1 dpkg-buildpackage: info: source distribution unstable @@ -384,46 +420,46 @@ dh_auto_build -O--builddirectory=_build -O--buildsystem=golang cd _build && go install -trimpath -v -p 12 github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa internal/byteorder -internal/goos internal/race -internal/profilerecord internal/godebugs internal/coverage/rtcov internal/goarch +internal/goos internal/unsafeheader -internal/cpu math/bits -internal/goexperiment unicode/utf8 -internal/runtime/syscall -sync/atomic +internal/cpu unicode -runtime/internal/math -internal/chacha8rand -crypto/internal/alias internal/abi +sync/atomic +internal/profilerecord +crypto/internal/alias +internal/goexperiment +internal/chacha8rand +internal/runtime/syscall +runtime/internal/math runtime/internal/sys +math crypto/subtle crypto/internal/boring/sig cmp internal/asan -math internal/itoa internal/msan unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace -encoding -log/internal internal/runtime/atomic internal/bytealg -internal/stringslite +encoding +log/internal internal/runtime/exithook +internal/stringslite runtime internal/reflectlite +sync iter internal/weak -sync slices internal/bisect internal/testlog @@ -431,28 +467,28 @@ runtime/cgo errors sort -internal/oserror -crypto/internal/edwards25519/field io -crypto/internal/nistec/fiat strconv -hash +crypto/internal/edwards25519/field +crypto/internal/nistec/fiat +internal/oserror path -bytes -syscall internal/godebug -vendor/golang.org/x/net/dns/dnsmessage +hash +bytes math/rand/v2 -crypto/internal/edwards25519 +vendor/golang.org/x/net/dns/dnsmessage +internal/concurrent +syscall crypto/internal/randutil -crypto +math/rand +crypto/internal/edwards25519 strings +unique +crypto reflect -crypto/md5 -internal/concurrent -math/rand crypto/cipher -unique +crypto/md5 net/netip crypto/internal/boring crypto/des @@ -463,41 +499,41 @@ crypto/hmac golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -internal/syscall/execenv time +internal/syscall/execenv internal/syscall/unix -context -io/fs -internal/poll internal/fmtsort encoding/binary +io/fs +context +internal/poll +encoding/base64 +golang.org/x/sys/unix embed internal/filepathlite +encoding/pem crypto/internal/nistec os -encoding/base64 -golang.org/x/sys/unix -encoding/pem crypto/ecdh fmt path/filepath io/ioutil net -flag +math/big encoding/hex +flag net/url log -math/big golang.org/x/term crypto/elliptic -encoding/asn1 +crypto/internal/bigmod crypto/internal/boring/bbig -crypto/dsa +encoding/asn1 crypto/rand -crypto/internal/bigmod +crypto/dsa crypto/ed25519 -crypto/rsa golang.org/x/crypto/ed25519 +crypto/rsa vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix github.com/cloudflare/gokey/rsa @@ -519,11 +555,11 @@ === RUN TestDRNG --- PASS: TestDRNG (0.01s) === RUN TestDRNGwithSeed ---- PASS: TestDRNGwithSeed (0.02s) +--- PASS: TestDRNGwithSeed (0.01s) === RUN TestEncryptedSeed ---- PASS: TestEncryptedSeed (0.01s) +--- PASS: TestEncryptedSeed (0.00s) === RUN TestGetPass ---- PASS: TestGetPass (0.02s) +--- PASS: TestGetPass (0.03s) === RUN TestGetKey === RUN TestGetKey/EC384 === RUN TestGetKey/EC521 @@ -531,13 +567,13 @@ === RUN TestGetKey/RSA4096 === RUN TestGetKey/X25519 === RUN TestGetKey/ED25519 ---- PASS: TestGetKey (55.76s) - --- PASS: TestGetKey/EC384 (0.03s) +--- PASS: TestGetKey (77.69s) + --- PASS: TestGetKey/EC384 (0.02s) --- PASS: TestGetKey/EC521 (0.03s) - --- PASS: TestGetKey/RSA2048 (3.08s) - --- PASS: TestGetKey/RSA4096 (52.57s) - --- PASS: TestGetKey/X25519 (0.02s) - --- PASS: TestGetKey/ED25519 (0.04s) + --- PASS: TestGetKey/RSA2048 (4.51s) + --- PASS: TestGetKey/RSA4096 (73.11s) + --- PASS: TestGetKey/X25519 (0.01s) + --- PASS: TestGetKey/ED25519 (0.01s) === RUN TestGetKeyUnsafe --- PASS: TestGetKeyUnsafe (0.00s) === RUN TestParseX25519 @@ -553,11 +589,11 @@ === RUN TestAllowedChars --- PASS: TestAllowedChars (0.00s) PASS -ok github.com/cloudflare/gokey 55.852s +ok github.com/cloudflare/gokey 77.764s === RUN TestKnownKey ---- PASS: TestKnownKey (5.83s) +--- PASS: TestKnownKey (6.24s) PASS -ok github.com/cloudflare/gokey/rsa 5.838s +ok github.com/cloudflare/gokey/rsa 6.272s make[1]: Leaving directory '/build/reproducible-path/gokey-0.1.2' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -584,8 +620,8 @@ dh_gencontrol -O--builddirectory=_build -O--buildsystem=golang dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'gokey-dbgsym' in '../gokey-dbgsym_0.1.2-1_arm64.deb'. dpkg-deb: building package 'gokey' in '../gokey_0.1.2-1_arm64.deb'. +dpkg-deb: building package 'gokey-dbgsym' in '../gokey-dbgsym_0.1.2-1_arm64.deb'. dpkg-deb: building package 'golang-github-cloudflare-gokey-dev' in '../golang-github-cloudflare-gokey-dev_0.1.2-1_all.deb'. dpkg-genbuildinfo --build=binary -O../gokey_0.1.2-1_arm64.buildinfo dpkg-genchanges --build=binary -O../gokey_0.1.2-1_arm64.changes @@ -594,12 +630,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/640587/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/640587/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/3044387 and its subdirectories -I: Current time: Tue Mar 10 11:46:18 -12 2026 -I: pbuilder-time-stamp: 1773186378 +I: removing directory /srv/workspace/pbuilder/640587 and its subdirectories +I: Current time: Thu Feb 6 07:25:39 +14 2025 +I: pbuilder-time-stamp: 1738776339