Diff of the two buildlogs: -- --- b1/build.log 2025-01-31 03:52:34.698717742 +0000 +++ b2/build.log 2025-01-31 04:02:36.443523442 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jan 30 15:38:37 -12 2025 -I: pbuilder-time-stamp: 1738294717 +I: Current time: Fri Jan 31 17:52:46 +14 2025 +I: pbuilder-time-stamp: 1738295566 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/18816/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1909/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 Jan 31 03:53 /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/1909/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1909/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='70b9836c52f8420186d1ad73c481ee25' - 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='18816' - PS1='# ' - PS2='> ' + INVOCATION_ID=abde68b20c434412b0021c162b70d88d + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=1909 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.7MQ6AIsi/pbuilderrc_G8Rm --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.7MQ6AIsi/b1 --logfile b1/build.log gokey_0.1.2-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.7MQ6AIsi/pbuilderrc_XYyh --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.7MQ6AIsi/b2 --logfile b2/build.log gokey_0.1.2-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff4a 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-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 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/18816/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1909/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 unstable/main armhf libyaml-0-2 armhf 0.2.5-2 [45.4 kB] Get: 45 http://deb.debian.org/debian unstable/main armhf pandoc-data all 3.1.11.1-3 [459 kB] Get: 46 http://deb.debian.org/debian unstable/main armhf pandoc armhf 3.1.11.1+ds-2 [32.7 MB] -Fetched 102 MB in 6s (17.4 MB/s) +Fetched 102 MB in 9s (11.3 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 ... 19567 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/1909/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1909/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 @@ -382,32 +418,31 @@ dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang dh_auto_build -O--builddirectory=_build -O--buildsystem=golang - cd _build && go install -trimpath -v -p 3 github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa -internal/goarch + cd _build && go install -trimpath -v -p 4 github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa internal/unsafeheader -internal/cpu +internal/goarch internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/cpu +internal/abi internal/godebugs internal/goexperiment +internal/chacha8rand internal/goos +internal/bytealg internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys -internal/runtime/exithook internal/race sync/atomic math/bits -math +internal/runtime/exithook unicode/utf8 +math unicode -runtime crypto/internal/alias crypto/internal/boring/sig cmp @@ -418,90 +453,91 @@ vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace encoding +runtime log/internal +sync internal/reflectlite crypto/subtle -sync iter -slices internal/weak -internal/testlog +slices internal/bisect +internal/testlog internal/singleflight +runtime/cgo +internal/godebug errors sort io +crypto/internal/edwards25519/field strconv hash bytes -crypto/internal/edwards25519/field -crypto/internal/nistec/fiat -crypto/cipher crypto +crypto/internal/nistec/fiat crypto/internal/randutil reflect +crypto/cipher crypto/internal/boring crypto/aes internal/oserror path -internal/godebug syscall -time crypto/internal/nistec -internal/fmtsort +crypto/ecdh +time internal/syscall/unix +internal/fmtsort internal/syscall/execenv math/rand -crypto/ecdh strings -io/fs -internal/poll -internal/filepathlite crypto/sha512 crypto/sha256 crypto/des crypto/internal/edwards25519 -os crypto/md5 +io/fs +internal/poll crypto/sha1 +internal/filepathlite encoding/binary context +os vendor/golang.org/x/net/dns/dnsmessage +math/rand/v2 encoding/base64 encoding/pem -fmt -math/rand/v2 -runtime/cgo internal/concurrent unique -net/netip -math/big -encoding/hex -net/url -path/filepath crypto/hmac golang.org/x/crypto/hkdf golang.org/x/crypto/pbkdf2 -flag golang.org/x/sys/unix +net/netip +path/filepath +fmt +io/ioutil +net +encoding/hex +math/big +net/url +flag +log crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand -crypto/rsa crypto/dsa vendor/golang.org/x/crypto/cryptobyte +crypto/rsa crypto/ed25519 crypto/x509/pkix -net -crypto/ecdsa -github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa +crypto/ecdsa golang.org/x/crypto/ed25519 -io/ioutil golang.org/x/term -log +github.com/cloudflare/gokey/ecdsa crypto/x509 github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey @@ -512,17 +548,17 @@ debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/gokey-0.1.2' dh_auto_test -- -timeout 6h - cd _build && go test -vet=off -v -p 3 -timeout 6h github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa + cd _build && go test -vet=off -v -p 4 -timeout 6h github.com/cloudflare/gokey github.com/cloudflare/gokey/cmd/gokey github.com/cloudflare/gokey/ecdsa github.com/cloudflare/gokey/rsa ? github.com/cloudflare/gokey/cmd/gokey [no test files] ? github.com/cloudflare/gokey/ecdsa [no test files] === RUN TestDRNG ---- PASS: TestDRNG (0.13s) +--- PASS: TestDRNG (0.08s) === RUN TestDRNGwithSeed ---- PASS: TestDRNGwithSeed (0.19s) +--- PASS: TestDRNGwithSeed (0.12s) === RUN TestEncryptedSeed ---- PASS: TestEncryptedSeed (0.08s) +--- PASS: TestEncryptedSeed (0.05s) === RUN TestGetPass ---- PASS: TestGetPass (0.27s) +--- PASS: TestGetPass (0.14s) === RUN TestGetKey === RUN TestGetKey/EC384 === RUN TestGetKey/EC521 @@ -530,13 +566,13 @@ === RUN TestGetKey/RSA4096 === RUN TestGetKey/X25519 === RUN TestGetKey/ED25519 ---- PASS: TestGetKey (559.81s) - --- PASS: TestGetKey/EC384 (0.36s) - --- PASS: TestGetKey/EC521 (1.06s) - --- PASS: TestGetKey/RSA2048 (28.99s) - --- PASS: TestGetKey/RSA4096 (528.91s) - --- PASS: TestGetKey/X25519 (0.22s) - --- PASS: TestGetKey/ED25519 (0.28s) +--- PASS: TestGetKey (324.09s) + --- PASS: TestGetKey/EC384 (0.23s) + --- PASS: TestGetKey/EC521 (0.66s) + --- PASS: TestGetKey/RSA2048 (28.07s) + --- PASS: TestGetKey/RSA4096 (294.81s) + --- PASS: TestGetKey/X25519 (0.14s) + --- PASS: TestGetKey/ED25519 (0.17s) === RUN TestGetKeyUnsafe --- PASS: TestGetKeyUnsafe (0.00s) === RUN TestParseX25519 @@ -544,19 +580,19 @@ === RUN TestParseEd25519 --- PASS: TestParseEd25519 (0.00s) === RUN TestGenX25519 ---- PASS: TestGenX25519 (0.05s) +--- PASS: TestGenX25519 (0.03s) === RUN TestGenEd25519 ---- PASS: TestGenEd25519 (0.05s) +--- PASS: TestGenEd25519 (0.03s) === RUN TestGenPass --- PASS: TestGenPass (0.00s) === RUN TestAllowedChars --- PASS: TestAllowedChars (0.00s) PASS -ok github.com/cloudflare/gokey 560.591s +ok github.com/cloudflare/gokey 324.551s === RUN TestKnownKey ---- PASS: TestKnownKey (74.40s) +--- PASS: TestKnownKey (39.72s) PASS -ok github.com/cloudflare/gokey/rsa 74.463s +ok github.com/cloudflare/gokey/rsa 39.734s 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' in '../gokey_0.1.2-1_armhf.deb'. dpkg-deb: building package 'golang-github-cloudflare-gokey-dev' in '../golang-github-cloudflare-gokey-dev_0.1.2-1_all.deb'. +dpkg-deb: building package 'gokey' in '../gokey_0.1.2-1_armhf.deb'. dpkg-genbuildinfo --build=binary -O../gokey_0.1.2-1_armhf.buildinfo dpkg-genchanges --build=binary -O../gokey_0.1.2-1_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -593,12 +629,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/1909/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1909/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/18816 and its subdirectories -I: Current time: Thu Jan 30 15:52:31 -12 2025 -I: pbuilder-time-stamp: 1738295551 +I: removing directory /srv/workspace/pbuilder/1909 and its subdirectories +I: Current time: Fri Jan 31 18:02:32 +14 2025 +I: pbuilder-time-stamp: 1738296152