Diff of the two buildlogs: -- --- b1/build.log 2025-05-18 11:41:25.683269719 +0000 +++ b2/build.log 2025-05-18 11:44:10.269646113 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 17 23:34:37 -12 2025 -I: pbuilder-time-stamp: 1747568077 +I: Current time: Mon May 19 01:41:34 +14 2025 +I: pbuilder-time-stamp: 1747568494 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 auto-gitignore I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10584/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/30876/tmp/hooks/D01_modify_environment starting +debug: Running on virt64a. +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 18 11:41 /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/30876/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/30876/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='e194f0f78f1d42b2a1576a76b0f3cbf0' - 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='10584' - PS1='# ' - PS2='> ' + INVOCATION_ID=0cf8ce787c61465e8bb39f08e71fc973 + 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=30876 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.eOL7j3d1/pbuilderrc_1iCX --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.eOL7j3d1/b1 --logfile b1/build.log golang-github-digitorus-pkcs7_0.0~git20230818.3a137a8-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.eOL7j3d1/pbuilderrc_zTYp --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.eOL7j3d1/b2 --logfile b2/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-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux wbq0 6.1.0-35-armmp #1 SMP Debian 6.1.137-1 (2025-05-07) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-35-arm64 #1 SMP Debian 6.1.137-1 (2025-05-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 12 19:25 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10584/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/30876/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 trixie/main armhf golang-go armhf 2:1.24~2 [44.3 kB] Get: 35 http://deb.debian.org/debian trixie/main armhf golang-any armhf 2:1.24~2 [5216 B] Get: 36 http://deb.debian.org/debian trixie/main armhf openssl armhf 3.5.0-1 [1456 kB] -Fetched 58.6 MB in 6s (10.0 MB/s) +Fetched 58.6 MB in 1s (71.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 ... 19574 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/30876/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/30876/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,34 +361,31 @@ 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 + cd _build && go install -trimpath -v -p 4 github.com/digitorus/pkcs7 internal/unsafeheader +internal/byteorder internal/goarch internal/cpu -internal/byteorder +internal/coverage/rtcov internal/abi internal/chacha8rand -internal/bytealg -internal/coverage/rtcov internal/godebugs internal/goexperiment -internal/profilerecord +internal/bytealg internal/goos -internal/asan +internal/profilerecord internal/runtime/atomic +internal/asan internal/msan internal/runtime/math internal/runtime/sys internal/runtime/syscall internal/stringslite -internal/runtime/exithook 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 @@ -360,116 +393,119 @@ internal/itoa cmp crypto/internal/boring/sig +internal/race unicode/utf16 -runtime +internal/runtime/maps +internal/sync vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace encoding +runtime iter internal/reflectlite -sync crypto/internal/fips140/subtle +sync slices crypto/subtle maps weak errors sort +internal/testlog internal/bisect io strconv +internal/godebug bytes hash -internal/godebug strings -crypto/internal/fips140deps/godebug crypto +crypto/internal/fips140deps/godebug internal/oserror path syscall -internal/testlog math/rand/v2 +reflect crypto/internal/fips140 crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 crypto/internal/fips140/sha512 crypto/internal/randutil -reflect +math/rand crypto/internal/fips140/hmac crypto/internal/fips140/check crypto/internal/fips140/aes -math/rand +crypto/internal/fips140/nistec/fiat +crypto/internal/fips140/edwards25519/field internal/syscall/unix time internal/syscall/execenv -crypto/internal/fips140/nistec/fiat +crypto/internal/impl +crypto/internal/fips140/bigmod +crypto/sha3 +crypto/internal/fips140hash +crypto/internal/fips140/edwards25519 +vendor/golang.org/x/net/dns/dnsmessage io/fs internal/filepathlite internal/poll internal/fmtsort +encoding/binary +context +internal/singleflight +unique os -crypto/internal/fips140/edwards25519/field -crypto/internal/impl -crypto/internal/fips140/bigmod crypto/internal/fips140/nistec -crypto/sha3 -crypto/internal/fips140hash -crypto/internal/fips140/edwards25519 +net/netip +encoding/base64 +encoding/pem +runtime/cgo crypto/internal/sysrand -fmt crypto/internal/entropy +fmt crypto/internal/fips140/drbg crypto/internal/fips140/aes/gcm crypto/internal/fips140only crypto/cipher +crypto/internal/fips140/ecdh crypto/internal/boring crypto/des crypto/aes +crypto/ecdh math/big +crypto/internal/fips140/ecdsa crypto/sha512 crypto/internal/fips140/ed25519 -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa -crypto/ecdh crypto/internal/fips140/rsa crypto/sha1 crypto/md5 crypto/sha256 encoding/hex -encoding/binary -context -vendor/golang.org/x/net/dns/dnsmessage +net/url +path/filepath +io/ioutil +os/exec +flag +net crypto/dsa crypto/elliptic crypto/internal/boring/bbig encoding/asn1 crypto/rand -encoding/base64 crypto/ed25519 crypto/rsa -encoding/pem -internal/singleflight -unique -runtime/cgo -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix -crypto/ecdsa -net/netip -net/url -path/filepath -io/ioutil -os/exec -flag bufio -runtime/debug -net internal/sysinfo +runtime/debug runtime/trace +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix testing +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 @@ -479,42 +515,42 @@ === RUN TestVerifyIndefiniteLengthBer --- PASS: TestVerifyIndefiniteLengthBer (0.00s) === RUN TestDecrypt ---- PASS: TestDecrypt (0.02s) +--- PASS: TestDecrypt (0.01s) === RUN TestEncrypt ---- PASS: TestEncrypt (10.48s) +--- PASS: TestEncrypt (3.35s) === RUN TestEncryptUsingPSK --- PASS: TestEncryptUsingPSK (0.00s) === RUN TestPad --- PASS: TestPad (0.00s) === RUN TestSign 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.05s) +--- SKIP: TestSign (0.02s) === RUN TestDSASignAndVerifyWithOpenSSL ---- PASS: TestDSASignAndVerifyWithOpenSSL (0.11s) +--- PASS: TestDSASignAndVerifyWithOpenSSL (0.02s) === 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.06s) +--- SKIP: TestSignWithoutAttributes (0.02s) === RUN TestSetContentType ---- PASS: TestSetContentType (0.25s) +--- PASS: TestSetContentType (0.08s) === RUN TestUnmarshalSignedAttribute ---- PASS: TestUnmarshalSignedAttribute (1.78s) +--- PASS: TestUnmarshalSignedAttribute (0.57s) === RUN TestDegenerateCertificate ---- PASS: TestDegenerateCertificate (0.08s) +--- PASS: TestDegenerateCertificate (0.03s) === RUN TestSkipCertificates ---- PASS: TestSkipCertificates (1.78s) +--- PASS: TestSkipCertificates (0.57s) === RUN TestVerify --- PASS: TestVerify (0.00s) === RUN TestVerifyAppStore ---- PASS: TestVerifyAppStore (0.01s) +--- PASS: TestVerifyAppStore (0.00s) === RUN TestVerifyApkEcdsa ---- PASS: TestVerifyApkEcdsa (1.36s) +--- PASS: TestVerifyApkEcdsa (0.45s) === RUN TestVerifyFirefoxAddon ---- PASS: TestVerifyFirefoxAddon (0.11s) +--- PASS: TestVerifyFirefoxAddon (0.04s) === 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.12s) +--- SKIP: TestSignWithOpenSSLAndVerify (0.04s) PASS -ok github.com/digitorus/pkcs7 16.748s +ok github.com/digitorus/pkcs7 5.379s 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/30876/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/30876/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/10584 and its subdirectories -I: Current time: Sat May 17 23:41:21 -12 2025 -I: pbuilder-time-stamp: 1747568481 +I: removing directory /srv/workspace/pbuilder/30876 and its subdirectories +I: Current time: Mon May 19 01:44:06 +14 2025 +I: pbuilder-time-stamp: 1747568646