Diff of the two buildlogs: -- --- b1/build.log 2025-05-01 06:02:03.782864361 +0000 +++ b2/build.log 2025-05-01 06:05:00.659095974 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 30 17:59:51 -12 2025 -I: pbuilder-time-stamp: 1746079191 +I: Current time: Thu May 1 20:02:12 +14 2025 +I: pbuilder-time-stamp: 1746079332 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 auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/14385/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29616/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 May 1 06:02 /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/29616/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29616/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=4 ' + 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='8ad8722f99634610ad7b20bebd34f3f1' - 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='14385' - PS1='# ' - PS2='> ' + INVOCATION_ID=c0d067ba70e644c680c1e9bfb432a705 + 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=29616 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.AhYfHpQt/pbuilderrc_aRxr --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.AhYfHpQt/b1 --logfile b1/build.log golang-github-digitorus-pkcs7_0.0~git20230818.3a137a8-3.dsc' - SUDO_GID='114' - SUDO_UID='108' - 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.AhYfHpQt/pbuilderrc_cj6K --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.AhYfHpQt/b2 --logfile b2/build.log golang-github-digitorus-pkcs7_0.0~git20230818.3a137a8-3.dsc' + SUDO_GID=112 + SUDO_UID=106 + 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 virt64a 6.1.0-34-arm64 #1 SMP Debian 6.1.135-1 (2025-04-25) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-34-armmp-lpae #1 SMP Debian 6.1.135-1 (2025-04-25) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/14385/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/29616/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -148,7 +180,7 @@ Get: 34 http://deb.debian.org/debian unstable/main armhf golang-go armhf 2:1.24~2 [44.3 kB] Get: 35 http://deb.debian.org/debian unstable/main armhf golang-any armhf 2:1.24~2 [5216 B] Get: 36 http://deb.debian.org/debian unstable/main armhf openssl armhf 3.5.0-1 [1456 kB] -Fetched 58.5 MB in 1s (68.6 MB/s) +Fetched 58.5 MB in 1s (63.6 MB/s) Preconfiguring packages ... 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 ... 19565 files and directories currently installed.) @@ -307,7 +339,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-digitorus-pkcs7-0.0~git20230818.3a137a8/ && 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-digitorus-pkcs7_0.0~git20230818.3a137a8-3_source.changes +I: user script /srv/workspace/pbuilder/29616/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/29616/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-digitorus-pkcs7-0.0~git20230818.3a137a8/ && 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-digitorus-pkcs7_0.0~git20230818.3a137a8-3_source.changes dpkg-buildpackage: info: source package golang-github-digitorus-pkcs7 dpkg-buildpackage: info: source version 0.0~git20230818.3a137a8-3 dpkg-buildpackage: info: source distribution unstable @@ -325,151 +361,151 @@ 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/digitorus/pkcs7 -internal/unsafeheader + cd _build && go install -trimpath -v -p 4 github.com/digitorus/pkcs7 internal/goarch -internal/cpu internal/byteorder +internal/unsafeheader +internal/cpu internal/abi -internal/chacha8rand -internal/bytealg internal/coverage/rtcov +internal/chacha8rand internal/godebugs internal/goexperiment +internal/bytealg internal/goos internal/profilerecord internal/runtime/atomic internal/asan -internal/msan internal/runtime/math -internal/runtime/sys +internal/msan internal/runtime/syscall -internal/runtime/exithook +internal/runtime/sys internal/stringslite sync/atomic +internal/runtime/exithook math/bits unicode unicode/utf8 -internal/race -internal/runtime/maps -internal/sync math crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder crypto/internal/fips140deps/cpu internal/itoa +internal/race cmp crypto/internal/boring/sig +internal/runtime/maps +internal/sync unicode/utf16 -runtime vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace encoding -iter +runtime internal/reflectlite sync +iter crypto/internal/fips140/subtle slices crypto/subtle maps weak +internal/singleflight +internal/testlog +internal/bisect errors -sort -strconv +unique +runtime/cgo io bytes hash -internal/bisect -crypto -strings +strconv internal/godebug +strings +crypto/internal/fips140deps/godebug internal/oserror +crypto syscall -crypto/internal/fips140deps/godebug path crypto/internal/fips140 -internal/testlog +math/rand/v2 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 -math/rand/v2 +crypto/internal/randutil +reflect crypto/internal/fips140/hmac crypto/internal/fips140/check crypto/internal/fips140/aes -crypto/internal/randutil -reflect +math/rand internal/syscall/unix time internal/syscall/execenv -math/rand crypto/internal/fips140/nistec/fiat -io/fs -internal/filepathlite -internal/poll -internal/fmtsort -os crypto/internal/fips140/edwards25519/field crypto/internal/impl crypto/internal/fips140/bigmod -crypto/internal/fips140/nistec crypto/sha3 crypto/internal/fips140hash +io/fs +internal/poll +internal/filepathlite crypto/internal/fips140/edwards25519 +os +internal/fmtsort +encoding/binary +context +vendor/golang.org/x/net/dns/dnsmessage +encoding/base64 +crypto/internal/fips140/nistec +encoding/pem +net/netip +sort crypto/internal/sysrand crypto/internal/entropy -fmt crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm crypto/internal/fips140only +fmt crypto/cipher crypto/internal/boring crypto/aes crypto/des crypto/sha512 -math/big crypto/internal/fips140/ed25519 +crypto/internal/fips140/rsa +crypto/sha1 crypto/internal/fips140/ecdh crypto/internal/fips140/ecdsa +math/big crypto/ecdh -crypto/internal/fips140/rsa -crypto/sha1 crypto/md5 crypto/sha256 encoding/hex -encoding/binary -context -vendor/golang.org/x/net/dns/dnsmessage -crypto/dsa -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/rand -encoding/base64 -crypto/ed25519 -crypto/rsa -encoding/pem -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -internal/singleflight -unique -runtime/cgo -crypto/ecdsa -net/netip +net net/url path/filepath io/ioutil -flag os/exec +flag bufio runtime/debug internal/sysinfo runtime/trace +crypto/dsa +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/rand +crypto/ed25519 +crypto/rsa testing -net +crypto/x509/pkix +vendor/golang.org/x/crypto/cryptobyte +crypto/ecdsa crypto/x509 github.com/digitorus/pkcs7 dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 3 github.com/digitorus/pkcs7 + cd _build && go test -vet=off -v -p 4 github.com/digitorus/pkcs7 === RUN TestBer2Der --- PASS: TestBer2Der (0.00s) === RUN TestBer2Der_Negatives @@ -481,7 +517,7 @@ === RUN TestDecrypt --- PASS: TestDecrypt (0.01s) === RUN TestEncrypt ---- PASS: TestEncrypt (3.35s) +--- PASS: TestEncrypt (3.43s) === RUN TestEncryptUsingPSK --- PASS: TestEncryptUsingPSK (0.00s) === RUN TestPad @@ -490,31 +526,31 @@ sign_test.go:60: test %s/%s/%s: cannot add signer: %s SHA1-RSA SHA1-RSA SHA1-RSA pkcs7: certificate signature from parent is invalid: x509: cannot verify signature: insecure algorithm SHA1-RSA --- SKIP: TestSign (0.02s) === RUN TestDSASignAndVerifyWithOpenSSL ---- PASS: TestDSASignAndVerifyWithOpenSSL (0.02s) +--- PASS: TestDSASignAndVerifyWithOpenSSL (0.03s) === RUN TestSignWithoutAttributes sign_test.go:213: test %s/%s: cannot verify signed data: %s SHA1-RSA SHA1-RSA pkcs7: failed to verify certificate chain: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA" while trying to verify candidate authority certificate "PKCS7 Test Root CA") --- SKIP: TestSignWithoutAttributes (0.02s) === RUN TestSetContentType --- PASS: TestSetContentType (0.08s) === RUN TestUnmarshalSignedAttribute ---- PASS: TestUnmarshalSignedAttribute (0.57s) +--- PASS: TestUnmarshalSignedAttribute (0.58s) === RUN TestDegenerateCertificate --- PASS: TestDegenerateCertificate (0.03s) === RUN TestSkipCertificates ---- PASS: TestSkipCertificates (0.57s) +--- PASS: TestSkipCertificates (0.59s) === RUN TestVerify --- PASS: TestVerify (0.00s) === RUN TestVerifyAppStore --- PASS: TestVerifyAppStore (0.00s) === RUN TestVerifyApkEcdsa ---- PASS: TestVerifyApkEcdsa (0.45s) +--- PASS: TestVerifyApkEcdsa (0.53s) === RUN TestVerifyFirefoxAddon ---- PASS: TestVerifyFirefoxAddon (0.04s) +--- PASS: TestVerifyFirefoxAddon (0.05s) === RUN TestSignWithOpenSSLAndVerify verify_test.go:576: Verify failed with error: %v pkcs7: failed to verify certificate chain: x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA" while trying to verify candidate authority certificate "PKCS7 Test Intermediate Cert") ---- SKIP: TestSignWithOpenSSLAndVerify (0.04s) +--- SKIP: TestSignWithOpenSSLAndVerify (0.05s) PASS -ok github.com/digitorus/pkcs7 5.375s +ok github.com/digitorus/pkcs7 5.607s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -541,12 +577,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/29616/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29616/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/14385 and its subdirectories -I: Current time: Wed Apr 30 18:01:59 -12 2025 -I: pbuilder-time-stamp: 1746079320 +I: removing directory /srv/workspace/pbuilder/29616 and its subdirectories +I: Current time: Thu May 1 20:04:57 +14 2025 +I: pbuilder-time-stamp: 1746079497