Diff of the two buildlogs: -- --- b1/build.log 2025-01-26 18:42:15.916933057 +0000 +++ b2/build.log 2025-01-26 18:44:25.311069883 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jan 26 06:41:19 -12 2025 -I: pbuilder-time-stamp: 1737916879 +I: Current time: Sun Mar 1 15:05:17 +14 2026 +I: pbuilder-time-stamp: 1772327117 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 libsofthsm2.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1560389/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/900632/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-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 Mar 1 01:05 /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/900632/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/900632/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='db8b75f4613340c1b1f23fc3465a8b33' - 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='1560389' - PS1='# ' - PS2='> ' + INVOCATION_ID=4e71ea71d12843448e52b62393221a29 + 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=900632 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.aGS8RzkA/pbuilderrc_10AB --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.aGS8RzkA/b1 --logfile b1/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-3.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.aGS8RzkA/pbuilderrc_YCl2 --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.aGS8RzkA/b2 --logfile b2/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-3.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 codethink04-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 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1560389/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/900632/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -172,7 +204,7 @@ Get: 50 http://deb.debian.org/debian unstable/main arm64 pkgconf-bin arm64 1.8.1-4 [29.6 kB] Get: 51 http://deb.debian.org/debian unstable/main arm64 pkgconf arm64 1.8.1-4 [26.1 kB] Get: 52 http://deb.debian.org/debian unstable/main arm64 softhsm2 arm64 2.6.1-2.2+b3 [152 kB] -Fetched 66.6 MB in 0s (222 MB/s) +Fetched 66.6 MB in 1s (90.3 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:arm64. (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 ... 19946 files and directories currently installed.) @@ -397,7 +429,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1/ && 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-miekg-pkcs11_1.0.3+dfsg1-3_source.changes +I: user script /srv/workspace/pbuilder/900632/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/900632/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1/ && 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-miekg-pkcs11_1.0.3+dfsg1-3_source.changes dpkg-buildpackage: info: source package golang-github-miekg-pkcs11 dpkg-buildpackage: info: source version 1.0.3+dfsg1-3 dpkg-buildpackage: info: source distribution unstable @@ -420,54 +456,54 @@ 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 12 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 -cmp -internal/unsafeheader -internal/coverage/rtcov -internal/byteorder +internal/goexperiment internal/goarch +internal/byteorder +internal/coverage/rtcov +internal/race +internal/unsafeheader +internal/godebugs internal/itoa internal/profilerecord -internal/godebugs internal/goos -internal/goexperiment -internal/runtime/syscall -runtime/internal/math -internal/cpu internal/abi -internal/race -unicode/utf8 +internal/cpu +cmp +runtime/internal/math math/bits -sync/atomic internal/chacha8rand +unicode/utf8 +internal/runtime/syscall +sync/atomic unicode internal/asan internal/msan runtime/internal/sys math -internal/runtime/atomic internal/bytealg -internal/stringslite +internal/runtime/atomic internal/runtime/exithook +internal/stringslite runtime -iter internal/reflectlite +iter sync slices internal/bisect internal/testlog runtime/cgo +internal/godebug errors -io +path strconv +io internal/oserror -internal/godebug -path -strings syscall +strings reflect -internal/syscall/execenv time internal/syscall/unix +internal/syscall/execenv internal/fmtsort io/fs internal/poll @@ -483,19 +519,19 @@ echo "log.level = INFO" >> debian/softhsm2.conf mkdir -p debian/tmp softhsm2-util --init-token --slot 0 --label test --pin 1234 --so-pin 1234 -The token has been initialized and is reassigned to slot 1577458272 +The token has been initialized and is reassigned to slot 628683216 dh_auto_test cd _build && go test -vet=off -v -p 12 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 ? github.com/miekg/pkcs11/p11 [no test files] === RUN TestPSSParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestPSSParams (0.32s) +--- PASS: TestPSSParams (1.25s) === RUN TestOAEPParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestOAEPParams (0.17s) +--- PASS: TestOAEPParams (0.14s) === RUN TestGCMParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestGCMParams (0.00s) +--- PASS: TestGCMParams (0.01s) === RUN TestSetenv --- PASS: TestSetenv (0.00s) === RUN TestInitialize @@ -506,18 +542,18 @@ === RUN TestGetInfo pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so pkcs11_test.go:107: {CryptokiVersion:{Major:2 Minor:40} ManufacturerID:SoftHSM Flags:0 LibraryDescription:Implementation of PKCS11 LibraryVersion:{Major:2 Minor:6}} ---- PASS: TestGetInfo (0.00s) +--- PASS: TestGetInfo (0.02s) === RUN TestFindObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestFindObject (0.20s) +--- PASS: TestFindObject (1.16s) === RUN TestGetAttributeValue pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so pkcs11_test.go:154: attr 0, type 290, valuelen 3 pkcs11_test.go:154: attr 1, type 289, valuelen 8 pkcs11_test.go:154: attr 2, type 288, valuelen 256 - pkcs11_test.go:158: modulus 29982727326332603612769853555374092644959362517845334240828753061574178559031166119624786449690701475016023430549831128942791310519963814503643659543950183401074023561312136629848600137349277551951412467359548779277021854580682143216818975897337769422568762145825923653198338226383268607390267281779788988419876778411215014334493923039033018747878805757978999179491374922723512070245788000243982107377815406371720054277319813836451631240600184328750912533101588885399654179283174090931343200575792965276502609470076291592832572687888149419541067710783235849962864812111044210967940300710250168702569565710460712837557 + pkcs11_test.go:158: modulus 22066117991634065742820317123596796975641852104613403557051716878042726290830606161012870460505403645270834471936948475372258187898170773897921000014699254621966043036000110380750295031805727621027717908775415742170474931043381638307403893595881016480606241158499003537343672820565583078528610432474586843509197676175810039846704492912592865887666003132696203398361625658785305211426615169341990392862829528929421562074101257859751872413957189281573882097624435759850463495193020089400029672852660417781266015430143299293092472821024576879006813094532451480712215560912397005562284551260235956079272579341725263549771 pkcs11_test.go:154: attr 3, type 3, valuelen 17 ---- PASS: TestGetAttributeValue (0.28s) +--- PASS: TestGetAttributeValue (2.94s) === RUN TestDigest pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigest/Simple @@ -529,18 +565,18 @@ pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigestUpdate/Simple === RUN TestDigestUpdate/Empty ---- PASS: TestDigestUpdate (0.00s) +--- PASS: TestDigestUpdate (0.01s) --- PASS: TestDigestUpdate/Simple (0.00s) --- PASS: TestDigestUpdate/Empty (0.00s) === RUN TestGenerateKeyPair pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestGenerateKeyPair (0.28s) +--- PASS: TestGenerateKeyPair (0.77s) === RUN TestSign pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestSign (0.18s) +--- PASS: TestSign (1.12s) === RUN TestDestroyObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestDestroyObject (0.22s) +--- PASS: TestDestroyObject (0.38s) === RUN TestSymmetricEncryption pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestSymmetricEncryption/Encrypt @@ -551,7 +587,7 @@ === RUN TestSymmetricEncryption/EncryptUpdate/ECB === RUN TestSymmetricEncryption/EncryptUpdate/CBC === RUN TestSymmetricEncryption/EncryptUpdate/CBC-PAD ---- PASS: TestSymmetricEncryption (0.00s) +--- PASS: TestSymmetricEncryption (0.02s) --- PASS: TestSymmetricEncryption/Encrypt (0.00s) --- PASS: TestSymmetricEncryption/Encrypt/ECB (0.00s) --- PASS: TestSymmetricEncryption/Encrypt/CBC (0.00s) @@ -561,9 +597,9 @@ --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC (0.00s) --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC-PAD (0.00s) === RUN ExampleCtx_Sign ---- PASS: ExampleCtx_Sign (0.09s) +--- PASS: ExampleCtx_Sign (0.49s) PASS -ok github.com/miekg/pkcs11 1.782s +ok github.com/miekg/pkcs11 8.385s rm -rf debian/tmp make[1]: Leaving directory '/build/reproducible-path/golang-github-miekg-pkcs11-1.0.3+dfsg1' create-stamp debian/debhelper-build-stamp @@ -598,12 +634,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/900632/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/900632/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/1560389 and its subdirectories -I: Current time: Sun Jan 26 06:42:14 -12 2025 -I: pbuilder-time-stamp: 1737916934 +I: removing directory /srv/workspace/pbuilder/900632 and its subdirectories +I: Current time: Sun Mar 1 15:07:23 +14 2026 +I: pbuilder-time-stamp: 1772327243