Diff of the two buildlogs: -- --- b1/build.log 2024-04-27 02:28:13.810368531 +0000 +++ b2/build.log 2024-04-27 02:30:19.673008523 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 26 14:24:54 -12 2024 -I: pbuilder-time-stamp: 1714184694 +I: Current time: Sat Apr 27 16:28:22 +14 2024 +I: pbuilder-time-stamp: 1714184902 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -28,52 +28,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/29342/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18339/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 Apr 27 02:28 /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/18339/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18339/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]="21" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.21(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='be79b9cfb8a2489cb0bdf97314487877' - 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='29342' - PS1='# ' - PS2='> ' + INVOCATION_ID=43f6d0a0ad9f428fbf8e51603cbb4a7f + 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=18339 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.s2bCefJ4/pbuilderrc_iZhl --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.s2bCefJ4/b1 --logfile b1/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-2.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.s2bCefJ4/pbuilderrc_fnBN --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.s2bCefJ4/b2 --logfile b2/build.log golang-github-miekg-pkcs11_1.0.3+dfsg1-2.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-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Apr 26 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/29342/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 26 11:23 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/18339/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: 47 http://deb.debian.org/debian trixie/main armhf pkgconf armhf 1.8.1-1+b2 [26.2 kB] Get: 48 http://deb.debian.org/debian trixie/main armhf pkg-config armhf 1.8.1-1+b2 [14.0 kB] Get: 49 http://deb.debian.org/debian trixie/main armhf softhsm2 armhf 2.6.1-2.2 [144 kB] -Fetched 61.5 MB in 4s (17.3 MB/s) +Fetched 61.5 MB in 1s (71.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19467 files and directories currently installed.) @@ -386,7 +418,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-2_source.changes +I: user script /srv/workspace/pbuilder/18339/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/18339/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-2_source.changes dpkg-buildpackage: info: source package golang-github-miekg-pkcs11 dpkg-buildpackage: info: source version 1.0.3+dfsg1-2 dpkg-buildpackage: info: source distribution unstable @@ -408,16 +444,16 @@ 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/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/miekg/pkcs11 github.com/miekg/pkcs11/p11 internal/goarch -internal/cpu internal/coverage/rtcov +internal/unsafeheader +internal/cpu +internal/godebugs internal/abi internal/chacha8rand -internal/bytealg -internal/godebugs internal/goexperiment +internal/bytealg internal/goos runtime/internal/atomic runtime/internal/math @@ -426,13 +462,13 @@ internal/itoa math/bits unicode/utf8 -math internal/race sync/atomic +math unicode -runtime cmp slices +runtime internal/reflectlite sync internal/testlog @@ -442,17 +478,17 @@ strconv io internal/oserror -reflect syscall -internal/syscall/unix -time internal/safefilepath -internal/syscall/execenv path +reflect strings -internal/fmtsort -io/fs +internal/syscall/unix +time +internal/syscall/execenv internal/poll +io/fs +internal/fmtsort os fmt github.com/miekg/pkcs11 @@ -464,16 +500,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 1297387386 +The token has been initialized and is reassigned to slot 1717103966 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.52s) +--- PASS: TestPSSParams (0.38s) === RUN TestOAEPParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestOAEPParams (0.51s) +--- PASS: TestOAEPParams (0.54s) === RUN TestGCMParams pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so --- PASS: TestGCMParams (0.01s) @@ -487,41 +523,41 @@ === 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.01s) +--- PASS: TestGetInfo (0.00s) === RUN TestFindObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestFindObject (0.70s) +--- PASS: TestFindObject (0.15s) === 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 31407999247967663082308280168532806880415686193902966762994076856528952367303318858355309293917080507517330347914545262562300013394712644497980634821301868712832144928331957607413476783931402468331154692095016240706932928691778535890024498583796595981043343532000816971330053225598714887959584760938140140405143503627197737201267957041955367476783319273500557110131435463418383966200105862420689455782419945497291528608418595727681493346993659632162342657282926936657335866679799368090535777165180987660326158939450684766501484402508049267758894547607039278609033155600273886437657803147495483002408681428941707196039 + pkcs11_test.go:158: modulus 22581734528716847158640392999284018371790461095003337208872861165724418928061751192623160990672511606580752491164082782938637413561807160905551945219073055906429361743366139783187961091254576584580396119135555451744406691450193973097479105391632453021077721781528723191151457439914957149661482206454443850434708886622791410684586503403248640655989436653149396276982501989647896743826053787203447045634874276804275223306341245844008295750792986582177843475066739299349354682361928442960998165003373969653537900885488922328986518089355122538941820808693879627723868909278998819839525047556118108621772476669221916761003 pkcs11_test.go:154: attr 3, type 3, valuelen 17 ---- PASS: TestGetAttributeValue (0.77s) +--- PASS: TestGetAttributeValue (0.68s) === 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.00s) --- 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.00s) --- 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.47s) +--- PASS: TestGenerateKeyPair (0.36s) === RUN TestSign pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestSign (0.54s) +--- PASS: TestSign (0.14s) === RUN TestDestroyObject pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so ---- PASS: TestDestroyObject (2.22s) +--- PASS: TestDestroyObject (0.21s) === RUN TestSymmetricEncryption pkcs11_test.go:32: loading /usr/lib/softhsm/libsofthsm2.so === RUN TestSymmetricEncryption/Encrypt @@ -542,9 +578,9 @@ --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC (0.00s) --- PASS: TestSymmetricEncryption/EncryptUpdate/CBC-PAD (0.00s) === RUN ExampleCtx_Sign ---- PASS: ExampleCtx_Sign (0.20s) +--- PASS: ExampleCtx_Sign (0.08s) PASS -ok github.com/miekg/pkcs11 5.999s +ok github.com/miekg/pkcs11 2.590s 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 @@ -579,12 +615,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/18339/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18339/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/29342 and its subdirectories -I: Current time: Fri Apr 26 14:28:10 -12 2024 -I: pbuilder-time-stamp: 1714184890 +I: removing directory /srv/workspace/pbuilder/18339 and its subdirectories +I: Current time: Sat Apr 27 16:30:15 +14 2024 +I: pbuilder-time-stamp: 1714185015