Diff of the two buildlogs: -- --- b1/build.log 2025-07-03 17:04:06.842089540 +0000 +++ b2/build.log 2025-07-03 17:06:54.007225678 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Aug 5 11:25:53 -12 2026 -I: pbuilder-time-stamp: 1785972353 +I: Current time: Fri Jul 4 07:04:14 +14 2025 +I: pbuilder-time-stamp: 1751562254 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: applying drop-wants-systemd-networkd-wait-online.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3463159/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3354802/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 Jul 3 17:04 /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/3354802/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3354802/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='22dd3a13ed63476b8342e4a8eb8aa13a' - 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='3463159' - PS1='# ' - PS2='> ' + INVOCATION_ID=a5e77645e22c4e8492b02481ab1ef54c + 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=3354802 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.J2kvTexW/pbuilderrc_guGS --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.J2kvTexW/b1 --logfile b1/build.log yubihsm-connector_3.0.5-2.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.J2kvTexW/pbuilderrc_9I4E --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.J2kvTexW/b2 --logfile b2/build.log yubihsm-connector_3.0.5-2.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-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-37-cloud-arm64 #1 SMP Debian 6.1.140-1 (2025-05-22) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3463159/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3354802/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -204,7 +236,7 @@ Get: 76 http://deb.debian.org/debian unstable/main arm64 golang-gopkg-ini.v1-dev all 1.67.0-1 [39.9 kB] Get: 77 http://deb.debian.org/debian unstable/main arm64 golang-github-spf13-viper-dev all 1.12.0-1 [68.9 kB] Get: 78 http://deb.debian.org/debian unstable/main arm64 golang-github-spf13-cobra-dev all 1.8.1-1 [75.2 kB] -Fetched 67.7 MB in 5s (12.7 MB/s) +Fetched 67.7 MB in 9s (7239 kB/s) Preconfiguring packages ... Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19963 files and directories currently installed.) @@ -468,8 +500,8 @@ Setting up tzdata (2025b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Aug 5 23:26:19 UTC 2026. -Universal Time is now: Wed Aug 5 23:26:19 UTC 2026. +Local time is now: Thu Jul 3 17:05:07 UTC 2025. +Universal Time is now: Thu Jul 3 17:05:07 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up golang-github-spf13-pflag-dev (1.0.6~git20210604-d5e0c0615ace-1) ... @@ -537,7 +569,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/yubihsm-connector-3.0.5/ && 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 > ../yubihsm-connector_3.0.5-2_source.changes +I: user script /srv/workspace/pbuilder/3354802/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3354802/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/yubihsm-connector-3.0.5/ && 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 > ../yubihsm-connector_3.0.5-2_source.changes dpkg-buildpackage: info: source package yubihsm-connector dpkg-buildpackage: info: source version 3.0.5-2 dpkg-buildpackage: info: source distribution unstable @@ -564,225 +600,225 @@ src/github.com/Yubico/yubihsm-connector/main_test.go src/github.com/Yubico/yubihsm-connector/usb_libusb.go cd _build && go install -trimpath -v -p 12 -buildmode=pie github.com/Yubico/yubihsm-connector -internal/coverage/rtcov -internal/byteorder internal/unsafeheader -internal/goos -internal/goexperiment -internal/cpu +internal/godebugs internal/goarch +internal/goos +internal/byteorder internal/profilerecord -sync/atomic -internal/godebugs +internal/cpu +internal/runtime/syscall +internal/coverage/rtcov internal/asan +internal/goexperiment internal/msan -internal/runtime/syscall +sync/atomic math/bits internal/itoa -internal/runtime/math cmp unicode/utf8 unicode -internal/abi log/internal -internal/chacha8rand crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/boring/sig +internal/abi +internal/chacha8rand +internal/runtime/math encoding unicode/utf16 -internal/nettrace -math crypto/internal/fips140/subtle -vendor/golang.org/x/crypto/cryptobyte/asn1 +internal/nettrace container/list -vendor/golang.org/x/crypto/internal/alias +vendor/golang.org/x/crypto/cryptobyte/asn1 github.com/pelletier/go-toml/v2/internal/characters +vendor/golang.org/x/crypto/internal/alias +math +internal/bytealg internal/runtime/atomic internal/runtime/sys -internal/bytealg crypto/internal/fips140deps/cpu internal/runtime/exithook internal/stringslite internal/race -internal/sync internal/runtime/maps +internal/sync runtime -weak -iter internal/reflectlite -crypto/subtle sync +iter +weak +crypto/subtle maps slices errors sort -internal/bisect -internal/testlog -internal/singleflight -unique -github.com/spf13/viper/internal/encoding -runtime/cgo internal/oserror -strconv -io vendor/golang.org/x/net/dns/dnsmessage path -math/rand/v2 github.com/hashicorp/hcl/hcl/strconv +strconv +math/rand/v2 +internal/bisect syscall +io +internal/testlog +unique +internal/singleflight +github.com/spf13/viper/internal/encoding +runtime/cgo internal/godebug strings -bytes -reflect -crypto/internal/fips140deps/godebug hash -math/rand crypto/internal/randutil -crypto +bytes +hash/crc32 +reflect net/netip -golang.org/x/text/transform -regexp/syntax +crypto +time +internal/syscall/unix +vendor/golang.org/x/text/transform crypto/internal/impl -crypto/internal/fips140 -hash/crc32 +internal/syscall/execenv +golang.org/x/text/transform +crypto/internal/fips140deps/godebug bufio -vendor/golang.org/x/text/transform +math/rand +regexp/syntax net/http/internal/ascii html +crypto/internal/fips140 +golang.org/x/text/runes crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -golang.org/x/text/runes crypto/tls/internal/fips140tls crypto/sha3 -crypto/internal/fips140/hmac crypto/internal/fips140hash -internal/syscall/execenv -time -internal/syscall/unix +crypto/internal/fips140/hmac crypto/internal/fips140/check -crypto/internal/fips140/edwards25519/field -crypto/internal/fips140/bigmod -crypto/internal/fips140/hkdf +crypto/internal/fips140/aes crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 -crypto/internal/fips140/aes -regexp +crypto/internal/fips140/bigmod +crypto/internal/fips140/edwards25519/field crypto/internal/fips140/tls13 -crypto/internal/fips140/edwards25519 +regexp context io/fs internal/poll +crypto/internal/fips140/edwards25519 internal/filepathlite github.com/spf13/afero/internal/common -crypto/internal/fips140/nistec os internal/fmtsort encoding/binary +crypto/internal/fips140/nistec encoding/base64 vendor/golang.org/x/crypto/internal/poly1305 -golang.org/x/sys/unix encoding/pem +io/ioutil fmt crypto/internal/sysrand -io/ioutil path/filepath os/signal +golang.org/x/sys/unix crypto/internal/entropy crypto/internal/fips140/drbg os/exec github.com/spf13/afero/mem -net crypto/internal/fips140only -crypto/internal/fips140/aes/gcm -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 -crypto/internal/fips140/rsa +crypto/internal/fips140/aes/gcm crypto/internal/fips140/mlkem +crypto/internal/fips140/rsa crypto/md5 crypto/rc4 -crypto/cipher log -encoding/csv -text/template/parse -encoding/hex +math/big encoding/json database/sql/driver -math/big -flag net/url -crypto/internal/boring +encoding/hex +text/template/parse +encoding/csv +flag +crypto/cipher golang.org/x/text/unicode/norm compress/flate +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa +vendor/golang.org/x/text/unicode/bidi +crypto/internal/boring +crypto/des +vendor/golang.org/x/crypto/chacha20 crypto/sha1 -github.com/google/gousb crypto/aes -crypto/des crypto/ecdh +text/template crypto/sha512 crypto/hmac -vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/chacha20poly1305 crypto/sha256 -vendor/golang.org/x/text/unicode/bidi vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/net/http2/hpack -text/template compress/gzip -vendor/golang.org/x/crypto/chacha20poly1305 +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/secure/bidirule mime mime/quotedprintable net/http/internal +github.com/google/gousb +net github.com/spf13/jwalterweatherman -vendor/golang.org/x/text/secure/bidirule github.com/subosito/gotenv github.com/hashicorp/hcl/hcl/token text/tabwriter gopkg.in/ini.v1 github.com/pelletier/go-toml/v2/internal/danger github.com/hashicorp/hcl/hcl/ast -vendor/golang.org/x/net/idna github.com/hashicorp/hcl/hcl/scanner -github.com/fsnotify/fsnotify/internal github.com/hashicorp/hcl/json/token -github.com/sirupsen/logrus +github.com/hashicorp/hcl/json/scanner crypto/rand crypto/elliptic crypto/internal/boring/bbig -github.com/fsnotify/fsnotify encoding/asn1 crypto/ed25519 crypto/internal/hpke crypto/rsa crypto/dsa -github.com/hashicorp/hcl/hcl/parser html/template -github.com/hashicorp/hcl/json/scanner +github.com/hashicorp/hcl/hcl/parser +github.com/fsnotify/fsnotify/internal +github.com/sirupsen/logrus +github.com/hashicorp/hcl/json/parser github.com/spf13/viper/internal/encoding/json github.com/pelletier/go-toml/v2/unstable -gopkg.in/yaml.v3 -github.com/hashicorp/hcl/json/parser github.com/hashicorp/hcl/hcl/printer +gopkg.in/yaml.v3 +github.com/fsnotify/fsnotify +vendor/golang.org/x/net/idna vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/pelletier/go-toml/v2/internal/tracker github.com/hashicorp/hcl -github.com/pelletier/go-toml/v2 +github.com/pelletier/go-toml/v2/internal/tracker crypto/ecdsa -github.com/spf13/viper/internal/encoding/hcl github.com/spf13/cast +github.com/pelletier/go-toml/v2 +github.com/spf13/viper/internal/encoding/hcl github.com/spf13/viper/internal/encoding/dotenv github.com/spf13/viper/internal/encoding/ini github.com/spf13/viper/internal/encoding/toml github.com/spf13/viper/internal/encoding/yaml +github.com/google/uuid log/syslog -vendor/golang.org/x/net/http/httpproxy +github.com/spf13/pflag github.com/mitchellh/mapstructure -github.com/google/uuid -net/textproto crypto/x509 -github.com/spf13/pflag +net/textproto +vendor/golang.org/x/net/http/httpproxy github.com/kardianos/service github.com/sirupsen/logrus/hooks/syslog vendor/golang.org/x/net/http/httpguts @@ -791,8 +827,8 @@ crypto/tls net/http/httptrace net/http -github.com/magiconair/properties github.com/spf13/afero +github.com/magiconair/properties github.com/spf13/viper/internal/encoding/javaproperties github.com/spf13/viper github.com/Yubico/yubihsm-connector @@ -802,7 +838,7 @@ === RUN TestEnsureSerial --- PASS: TestEnsureSerial (0.00s) PASS -ok github.com/Yubico/yubihsm-connector 0.009s +ok github.com/Yubico/yubihsm-connector 0.056s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -837,8 +873,8 @@ dpkg-gencontrol: warning: package yubihsm-connector: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--builddirectory=_build -O--buildsystem=golang dh_builddeb -O--builddirectory=_build -O--buildsystem=golang -dpkg-deb: building package 'yubihsm-connector' in '../yubihsm-connector_3.0.5-2_arm64.deb'. dpkg-deb: building package 'yubihsm-connector-dbgsym' in '../yubihsm-connector-dbgsym_3.0.5-2_arm64.deb'. +dpkg-deb: building package 'yubihsm-connector' in '../yubihsm-connector_3.0.5-2_arm64.deb'. dpkg-genbuildinfo --build=binary -O../yubihsm-connector_3.0.5-2_arm64.buildinfo dpkg-genchanges --build=binary -O../yubihsm-connector_3.0.5-2_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -846,12 +882,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/3354802/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3354802/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/3463159 and its subdirectories -I: Current time: Wed Aug 5 11:27:05 -12 2026 -I: pbuilder-time-stamp: 1785972425 +I: removing directory /srv/workspace/pbuilder/3354802 and its subdirectories +I: Current time: Fri Jul 4 07:06:52 +14 2025 +I: pbuilder-time-stamp: 1751562413