Diff of the two buildlogs: -- --- b1/build.log 2025-01-28 13:50:17.553864030 +0000 +++ b2/build.log 2025-01-28 13:53:09.794113020 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jan 28 01:44:15 -12 2025 -I: pbuilder-time-stamp: 1738071855 +I: Current time: Wed Jan 29 03:50:29 +14 2025 +I: pbuilder-time-stamp: 1738072229 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-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/23820/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20238/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 28 13:50 /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/20238/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20238/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='trixie' - 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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='fbb36b81d183405e9cba1d042d4db6c5' - 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='23820' - PS1='# ' - PS2='> ' + INVOCATION_ID=e75e52c303e9452cab0ac25b5b4c22dc + 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=20238 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.bbUec5rD/pbuilderrc_pJRW --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.bbUec5rD/b1 --logfile b1/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-3.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.bbUec5rD/pbuilderrc_wnUa --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.bbUec5rD/b2 --logfile b2/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-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/23820/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/20238/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 trixie/main armhf pkgconf-bin armhf 1.8.1-4 [29.2 kB] Get: 51 http://deb.debian.org/debian trixie/main armhf pkgconf armhf 1.8.1-4 [26.1 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf softhsm2 armhf 2.6.1-2.2+b1 [145 kB] -Fetched 66.2 MB in 6s (10.9 MB/s) +Fetched 66.2 MB in 6s (11.6 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 ... 19568 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/20238/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/20238/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,59 +455,59 @@ 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 4 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 internal/unsafeheader -internal/cpu internal/byteorder -internal/abi -internal/chacha8rand -internal/bytealg +internal/goarch +internal/cpu internal/coverage/rtcov +internal/abi internal/godebugs +internal/chacha8rand internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/runtime/syscall -internal/stringslite runtime/internal/math +internal/stringslite runtime/internal/sys -internal/runtime/exithook cmp -internal/race +internal/runtime/exithook internal/itoa +internal/race math/bits unicode/utf8 -math sync/atomic -runtime unicode +math internal/asan internal/msan +runtime +iter internal/reflectlite sync -iter slices internal/bisect internal/testlog -errors runtime/cgo +errors strconv -io internal/oserror -reflect +io path internal/godebug syscall +strings +reflect time internal/syscall/unix internal/syscall/execenv -strings -internal/fmtsort io/fs internal/poll internal/filepathlite +internal/fmtsort os fmt github.com/miekg/pkcs11 @@ -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 1006926987 +The token has been initialized and is reassigned to slot 1654137000 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 4 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 (0.87s) === RUN TestOAEPParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestOAEPParams (0.65s) +--- PASS: TestOAEPParams (0.18s) === RUN TestGCMParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so --- PASS: TestGCMParams (0.01s) @@ -509,38 +545,38 @@ --- PASS: TestGetInfo (0.01s) === RUN TestFindObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestFindObject (1.41s) +--- PASS: TestFindObject (0.29s) === 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 21922570971421174322422885790040323470299991881847566522335351713421769766655832613438429260298355665939856192708430171517715135372286463066669997590465744907014699446413822570413066559775283467159126242459377034006823579907953503858400242068984838848431510613803442488033550971148786690109981227641118702450609678256856325848979331822737441267101044777044392290448317063283880640924704975648492702318318376131934145829037116193907580160446395468065808097032179563317521815013119755899387398885561363031748480208720292823447688104169519155418674559222893350425513288313951245719027638697323203681894048120796815011209 + pkcs11_test.go:158: modulus 23356982683130231245310760765946393816736212332796151722644497346244583853820100254129745856710703948180239653069759557576800884814188978743102411796739326933103103414355613333474287654016026829121104123359810129318359029567943885269553230214446238661233401055650295854675484625970236422201439712516224985872637948006299421024343030458909982206837359953019775201298375226700258625241608467609902680434354112459631669212395136928087677560960526096789687694279362400593157318180913948880096072177670981342047739924037819272826900705252598103119646646251872027066513561033618410389892545391602318648173833376962090013779 pkcs11_test.go:154: attr 3, type 3, valuelen 17 ---- PASS: TestGetAttributeValue (1.48s) +--- PASS: TestGetAttributeValue (1.41s) === RUN TestDigest pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigest/Simple === RUN TestDigest/Empty ---- PASS: TestDigest (0.01s) +--- PASS: TestDigest (0.34s) --- PASS: TestDigest/Simple (0.00s) --- PASS: TestDigest/Empty (0.00s) === RUN TestDigestUpdate pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestDigestUpdate/Simple === RUN TestDigestUpdate/Empty ---- PASS: TestDigestUpdate (0.01s) +--- PASS: TestDigestUpdate (0.42s) --- 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.88s) +--- PASS: TestGenerateKeyPair (0.82s) === RUN TestSign pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestSign (2.10s) +--- PASS: TestSign (3.57s) === RUN TestDestroyObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestDestroyObject (0.55s) +--- PASS: TestDestroyObject (10.14s) === 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.04s) +--- 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 (1.13s) +--- PASS: ExampleCtx_Sign (0.32s) PASS -ok github.com/miekg/pkcs11 8.779s +ok github.com/miekg/pkcs11 18.402s 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/20238/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20238/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/23820 and its subdirectories -I: Current time: Tue Jan 28 01:50:12 -12 2025 -I: pbuilder-time-stamp: 1738072212 +I: removing directory /srv/workspace/pbuilder/20238 and its subdirectories +I: Current time: Wed Jan 29 03:53:06 +14 2025 +I: pbuilder-time-stamp: 1738072386