Diff of the two buildlogs: -- --- b1/build.log 2025-01-25 21:51:30.459283574 +0000 +++ b2/build.log 2025-01-25 21:57:09.948036769 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jan 25 09:49:21 -12 2025 -I: pbuilder-time-stamp: 1737841761 +I: Current time: Sun Jan 26 11:51:40 +14 2025 +I: pbuilder-time-stamp: 1737841900 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/7370/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6382/tmp/hooks/D01_modify_environment starting +debug: Running on ff64a. +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 25 21:52 /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/6382/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6382/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=6 ' + 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='8d26ac7fa46341929233f45206935349' - 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='7370' - PS1='# ' - PS2='> ' + INVOCATION_ID=3562f7a792984ef3b96486a5e60e5335 + 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=6382 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.JF5mLWXX/pbuilderrc_THBF --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.JF5mLWXX/b1 --logfile b1/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-3.dsc' - SUDO_GID='110' - SUDO_UID='103' - 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.JF5mLWXX/pbuilderrc_9KsP --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.JF5mLWXX/b2 --logfile b2/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-3.dsc' + SUDO_GID=114 + SUDO_UID=109 + 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 virt32z 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/7370/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/6382/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 armhf pkgconf-bin armhf 1.8.1-4 [29.2 kB] Get: 51 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-4 [26.1 kB] Get: 52 http://deb.debian.org/debian unstable/main armhf softhsm2 armhf 2.6.1-2.2+b1 [145 kB] -Fetched 66.3 MB in 6s (11.3 MB/s) +Fetched 66.3 MB in 2s (36.1 MB/s) Preconfiguring packages ... Selecting previously unselected package libproc2-0:armhf. (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 ... 19557 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/6382/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/6382/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 @@ -419,60 +455,60 @@ 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/miekg/pkcs11 github.com/miekg/pkcs11/p11 -internal/goarch + cd _build && go install -trimpath -v -p 6 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 internal/unsafeheader -internal/cpu +internal/godebugs internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg +internal/goarch internal/coverage/rtcov -internal/godebugs +internal/cpu internal/goexperiment internal/goos internal/profilerecord -internal/runtime/atomic +internal/abi internal/runtime/syscall -internal/stringslite runtime/internal/math runtime/internal/sys -internal/runtime/exithook +internal/chacha8rand cmp internal/itoa internal/race +internal/bytealg +internal/runtime/atomic math/bits unicode/utf8 -math sync/atomic -runtime +math +internal/stringslite unicode internal/asan +internal/runtime/exithook internal/msan -iter +runtime internal/reflectlite +iter sync slices internal/testlog internal/bisect runtime/cgo +internal/godebug errors -strconv -io internal/oserror path -reflect -internal/godebug +io +strconv syscall -time -internal/fmtsort -internal/syscall/unix +strings +reflect internal/syscall/execenv +internal/syscall/unix +time io/fs internal/poll -strings internal/filepathlite os +internal/fmtsort fmt github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 @@ -483,16 +519,16 @@ 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 1821380259 +The token has been initialized and is reassigned to slot 1933420666 dh_auto_test - cd _build && go test -vet=off -v -p 3 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 + cd _build && go test -vet=off -v -p 6 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.44s) +--- PASS: TestPSSParams (2.20s) === RUN TestOAEPParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestOAEPParams (0.66s) +--- PASS: TestOAEPParams (3.85s) === RUN TestGCMParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so --- PASS: TestGCMParams (0.01s) @@ -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.01s) === RUN TestFindObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestFindObject (0.63s) +--- PASS: TestFindObject (1.12s) === 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 4 pkcs11_test.go:154: attr 2, type 288, valuelen 256 - pkcs11_test.go:158: modulus 25613327574774788612473422882901702003349977167536403391454494683742874512697965210354437324266033697130811083159525396213320403490090592309586688946249260484255876755668222831478242953445061916390955219591068401860831797736532663259300182080346046080736813689840530106987986288900211637702486889782204267490260870643932543687093085042915628448170572019848215106915156964077540358738649741756031149877931225803316930545741950351102364238410901298495407899314478669981319800966110394967598938087658668634083717848546786612461666251187535301004130064758472505816327701148932517509656712073070256470508483339860416384253 + pkcs11_test.go:158: modulus 23768134004741489574944247150276450799764899801842983637804728872565996339951949744506673174940316494742439468173114630830678600166772965937741174921701116589924878409801847619475321247916541626545821597236995035766159065188788884844215383203336096570880994659556192115001011497790590125867491756167087524669700113544311972705407230157419900088507793408417834456439555654793629313018639064036335559399724693388275931872412988331769978000160935027857730563804622282315705049566735619774702737828039074948992448320137836470011761089125084321568056606639309697141060093067477874677810322030550234720535889159085696582173 pkcs11_test.go:154: attr 3, type 3, valuelen 17 ---- PASS: TestGetAttributeValue (0.86s) +--- PASS: TestGetAttributeValue (2.98s) === 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.27s) +--- PASS: TestGenerateKeyPair (1.25s) === RUN TestSign pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestSign (0.61s) +--- PASS: TestSign (0.52s) === RUN TestDestroyObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestDestroyObject (0.29s) +--- PASS: TestDestroyObject (0.31s) === 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.01s) +--- 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.10s) +--- PASS: ExampleCtx_Sign (0.70s) PASS -ok github.com/miekg/pkcs11 3.930s +ok github.com/miekg/pkcs11 13.035s 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/6382/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6382/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/7370 and its subdirectories -I: Current time: Sat Jan 25 09:51:26 -12 2025 -I: pbuilder-time-stamp: 1737841886 +I: removing directory /srv/workspace/pbuilder/6382 and its subdirectories +I: Current time: Sun Jan 26 11:57:05 +14 2025 +I: pbuilder-time-stamp: 1737842225