Diff of the two buildlogs: -- --- b1/build.log 2025-08-22 06:46:49.030416763 +0000 +++ b2/build.log 2025-08-22 06:48:44.306540007 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Sep 24 01:08:12 -12 2026 -I: pbuilder-time-stamp: 1790255292 +I: Current time: Fri Aug 22 20:46:51 +14 2025 +I: pbuilder-time-stamp: 1755845211 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -26,53 +26,85 @@ dpkg-source: info: applying 0003-Backport-PR-330.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1862424/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2871701/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Aug 22 06:46 /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/2871701/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2871701/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='ca9004c9de6e4587b761039702329a94' - 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='1862424' - PS1='# ' - PS2='> ' + INVOCATION_ID=f7a60e1e4c9a4026bf5bed74834bc08c + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=2871701 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.TcBXBoaY/pbuilderrc_lZ0J --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TcBXBoaY/b1 --logfile b1/build.log prometheus-process-exporter_0.8.7-1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.TcBXBoaY/pbuilderrc_Br4G --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.TcBXBoaY/b2 --logfile b2/build.log prometheus-process-exporter_0.8.7-1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-cloud-arm64 #1 SMP Debian 6.12.41-1 (2025-08-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1862424/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2871701/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -218,7 +250,7 @@ Get: 88 http://deb.debian.org/debian forky/main arm64 golang-github-ncabatoff-go-seq-dev all 0.0~git20180805.b08ef85-5 [4668 B] Get: 89 http://deb.debian.org/debian forky/main arm64 golang-github-prometheus-exporter-toolkit-dev all 0.14.0-2 [34.4 kB] Get: 90 http://deb.debian.org/debian forky/main arm64 golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-2 [31.2 kB] -Fetched 119 MB in 1s (198 MB/s) +Fetched 119 MB in 1s (128 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 ... 20003 files and directories currently installed.) @@ -593,7 +625,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-process-exporter-0.8.7/ && 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 > ../prometheus-process-exporter_0.8.7-1_source.changes +I: user script /srv/workspace/pbuilder/2871701/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/2871701/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-process-exporter-0.8.7/ && 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 > ../prometheus-process-exporter_0.8.7-1_source.changes dpkg-buildpackage: info: source package prometheus-process-exporter dpkg-buildpackage: info: source version 0.8.7-1 dpkg-buildpackage: info: source distribution unstable @@ -614,45 +650,45 @@ make[1]: Entering directory '/build/reproducible-path/prometheus-process-exporter-0.8.7' dh_auto_build -- -tags "" -ldflags " -X github.com/prometheus/common/version.Version=0.8.7 -X github.com/prometheus/common/version.Revision=0.8.7-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20250818-14:44:29 -X github.com/prometheus/common/version.GoVersion=go1.24.4" cd build && go install -trimpath -v -p 12 -tags -ldflags " -X github.com/prometheus/common/version.Version=0.8.7 -X github.com/prometheus/common/version.Revision=0.8.7-1 -X github.com/prometheus/common/version.Branch=debian/sid -X github.com/prometheus/common/version.BuildUser=team+pkg-go@tracker.debian.org -X github.com/prometheus/common/version.BuildDate=20250818-14:44:29 -X github.com/prometheus/common/version.GoVersion=go1.24.4" github.com/ncabatoff/process-exporter github.com/ncabatoff/process-exporter/cmd/process-exporter github.com/ncabatoff/process-exporter/collector github.com/ncabatoff/process-exporter/config github.com/ncabatoff/process-exporter/proc -internal/goarch +internal/byteorder internal/unsafeheader -internal/goos -internal/profilerecord -internal/msan internal/goexperiment -internal/byteorder -internal/runtime/syscall +internal/profilerecord internal/godebugs +internal/msan +internal/goos +cmp internal/coverage/rtcov internal/asan -cmp -internal/itoa -internal/abi +internal/goarch internal/cpu -internal/runtime/math +internal/itoa math/bits +internal/runtime/syscall unicode/utf8 sync/atomic -internal/chacha8rand unicode encoding internal/nettrace log/internal unicode/utf16 container/list +internal/abi +internal/chacha8rand +internal/runtime/math crypto/internal/fips140/alias crypto/internal/fips140deps/byteorder +math crypto/internal/boring/sig vendor/golang.org/x/crypto/cryptobyte/asn1 crypto/internal/fips140/subtle vendor/golang.org/x/crypto/internal/alias google.golang.org/protobuf/internal/flags -math google.golang.org/protobuf/internal/set log/slog/internal -internal/runtime/atomic -internal/runtime/sys crypto/internal/fips140deps/cpu +internal/runtime/sys +internal/runtime/atomic internal/bytealg internal/runtime/exithook internal/stringslite @@ -662,9 +698,9 @@ runtime internal/reflectlite iter -sync weak crypto/subtle +sync runtime/metrics slices maps @@ -672,155 +708,144 @@ sort internal/bisect internal/testlog -google.golang.org/protobuf/internal/pragma internal/singleflight -log/slog/internal/buffer unique +google.golang.org/protobuf/internal/pragma +log/slog/internal/buffer runtime/cgo -strconv io -internal/oserror path +internal/oserror vendor/golang.org/x/net/dns/dnsmessage +strconv math/rand/v2 syscall -strings internal/godebug -github.com/beorn7/perks/quantile -crypto/internal/randutil -hash bytes +hash +crypto/internal/randutil +github.com/beorn7/perks/quantile +strings reflect github.com/prometheus/client_golang/prometheus/promhttp/internal net/netip -golang.org/x/crypto/blowfish -hash/crc32 -crypto +math/rand hash/fnv +crypto +hash/crc32 crypto/internal/fips140deps/godebug -math/rand -crypto/internal/fips140 +golang.org/x/crypto/blowfish +vendor/golang.org/x/text/transform +golang.org/x/text/transform +bufio +regexp/syntax crypto/internal/impl +crypto/internal/fips140 net/http/internal/ascii -regexp/syntax github.com/munnerz/goautoneg html -vendor/golang.org/x/text/transform -golang.org/x/text/transform -bufio -crypto/internal/fips140/sha256 crypto/internal/fips140/sha3 -crypto/internal/fips140/sha512 crypto/tls/internal/fips140tls -crypto/internal/fips140/hmac +crypto/internal/fips140/sha256 +crypto/internal/fips140/sha512 crypto/sha3 +crypto/internal/fips140/hmac time internal/syscall/execenv -crypto/internal/fips140/check -internal/syscall/unix crypto/internal/fips140hash +internal/syscall/unix +crypto/internal/fips140/check crypto/internal/fips140/aes -crypto/internal/fips140/edwards25519/field crypto/internal/fips140/bigmod crypto/internal/fips140/nistec/fiat crypto/internal/fips140/hkdf crypto/internal/fips140/tls12 +crypto/internal/fips140/edwards25519/field crypto/internal/fips140/tls13 crypto/internal/fips140/edwards25519 regexp -crypto/internal/fips140/nistec +io/fs internal/poll +crypto/internal/fips140/nistec context github.com/jpillora/backoff -io/fs embed internal/filepathlite google.golang.org/protobuf/internal/editiondefaults os -encoding/binary internal/fmtsort -encoding/base64 -vendor/golang.org/x/crypto/internal/poly1305 -github.com/cespare/xxhash -golang.org/x/sys/unix -encoding/pem +encoding/binary fmt +path/filepath github.com/prometheus/procfs/internal/util +crypto/internal/sysrand +net io/ioutil -path/filepath os/signal -crypto/internal/sysrand +golang.org/x/sys/unix +encoding/base64 +vendor/golang.org/x/crypto/internal/poly1305 +github.com/cespare/xxhash google.golang.org/protobuf/internal/detrand -net crypto/internal/entropy crypto/internal/fips140/drbg -crypto/internal/fips140only +encoding/pem crypto/internal/fips140/aes/gcm -crypto/internal/fips140/ecdh -crypto/internal/fips140/ecdsa crypto/internal/fips140/ed25519 crypto/internal/fips140/mlkem +crypto/internal/fips140only +crypto/internal/fips140/ecdh +crypto/internal/fips140/ecdsa crypto/internal/fips140/rsa -crypto/md5 crypto/rc4 +crypto/md5 crypto/cipher +crypto/internal/boring +crypto/des +vendor/golang.org/x/crypto/chacha20 +crypto/ecdh +crypto/sha512 +crypto/hmac +crypto/sha1 +crypto/aes +crypto/sha256 github.com/ncabatoff/process-exporter flag github.com/ncabatoff/go-seq/seq encoding/hex -encoding/json github.com/prometheus/procfs/internal/fs log os/user +encoding/json compress/flate math/big +vendor/golang.org/x/crypto/chacha20poly1305 net/url vendor/golang.org/x/text/unicode/norm -crypto/internal/boring -vendor/golang.org/x/net/http2/hpack -crypto/aes -crypto/des -crypto/ecdh -crypto/sha512 -crypto/hmac -vendor/golang.org/x/crypto/chacha20 -crypto/sha1 -crypto/sha256 vendor/golang.org/x/text/unicode/bidi +vendor/golang.org/x/net/http2/hpack mime -mime/quotedprintable compress/gzip +mime/quotedprintable +vendor/golang.org/x/text/secure/bidirule net/http/internal google.golang.org/protobuf/internal/errors -vendor/golang.org/x/crypto/chacha20poly1305 -google.golang.org/protobuf/encoding/protowire go/token google.golang.org/protobuf/internal/version runtime/debug -google.golang.org/protobuf/reflect/protoreflect gopkg.in/yaml.v2 text/template/parse -vendor/golang.org/x/text/secure/bidirule +google.golang.org/protobuf/encoding/protowire +google.golang.org/protobuf/reflect/protoreflect github.com/go-logfmt/logfmt golang.org/x/net/bpf golang.org/x/sync/errgroup golang.org/x/net/internal/timeseries -vendor/golang.org/x/net/idna text/tabwriter golang.org/x/text/unicode/bidi golang.org/x/text/unicode/norm golang.org/x/net/http2/hpack -log/slog -github.com/go-kit/log -text/template -crypto/rand -crypto/elliptic -crypto/internal/boring/bbig -encoding/asn1 -crypto/ed25519 -crypto/internal/hpke -crypto/rsa -crypto/dsa +vendor/golang.org/x/net/idna google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs @@ -830,37 +855,48 @@ google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface -github.com/prometheus/common/promslog -github.com/mdlayher/socket +text/template +log/slog google.golang.org/protobuf/internal/protolazy +crypto/rand +crypto/elliptic +crypto/internal/boring/bbig +encoding/asn1 +crypto/ed25519 +crypto/internal/hpke +crypto/rsa +crypto/dsa +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto +github.com/go-kit/log +github.com/mdlayher/socket golang.org/x/text/secure/bidirule -vendor/golang.org/x/crypto/cryptobyte -crypto/x509/pkix golang.org/x/crypto/bcrypt internal/profile +golang.org/x/net/idna runtime/pprof runtime/trace +vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix +github.com/prometheus/common/promslog +github.com/ncabatoff/process-exporter/config github.com/prometheus/common/version html/template -golang.org/x/net/idna -google.golang.org/protobuf/proto -google.golang.org/protobuf/internal/encoding/defval -crypto/ecdsa -github.com/ncabatoff/process-exporter/config google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protodelim +crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl -crypto/x509 net/textproto vendor/golang.org/x/net/http/httpproxy +golang.org/x/net/http/httpproxy +crypto/x509 github.com/mdlayher/vsock github.com/prometheus/procfs -golang.org/x/net/http/httpproxy +golang.org/x/net/http/httpguts vendor/golang.org/x/net/http/httpguts mime/multipart -golang.org/x/net/http/httpguts crypto/tls github.com/ncabatoff/process-exporter/proc google.golang.org/protobuf/internal/filetype @@ -873,11 +909,11 @@ github.com/coreos/go-systemd/activation net/http expvar -golang.org/x/net/trace github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil/header -golang.org/x/net/http2 -golang.org/x/oauth2/internal github.com/prometheus/common/expfmt +golang.org/x/net/trace +golang.org/x/oauth2/internal +golang.org/x/net/http2 net/http/pprof github.com/prometheus/client_golang/internal/github.com/golang/gddo/httputil golang.org/x/oauth2 @@ -901,9 +937,9 @@ ? github.com/ncabatoff/process-exporter/collector [no test files] === RUN Test OK: 2 passed ---- PASS: Test (0.01s) +--- PASS: Test (0.00s) PASS -ok github.com/ncabatoff/process-exporter/config 0.018s +ok github.com/ncabatoff/process-exporter/config 0.016s === RUN TestGrouperBasic --- PASS: TestGrouperBasic (0.00s) === RUN TestGrouperProcJoin @@ -919,7 +955,7 @@ === RUN TestAllProcs --- PASS: TestAllProcs (0.01s) === RUN TestAllProcsSpawn ---- PASS: TestAllProcsSpawn (0.15s) +--- PASS: TestAllProcsSpawn (0.19s) === RUN TestIterator --- PASS: TestIterator (0.00s) === RUN TestTrackerBasic @@ -931,7 +967,7 @@ === RUN TestTrackerThreads --- PASS: TestTrackerThreads (0.00s) PASS -ok github.com/ncabatoff/process-exporter/proc 0.189s +ok github.com/ncabatoff/process-exporter/proc 0.227s create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-process-exporter-0.8.7/build dh_prep -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-process-exporter-0.8.7/build @@ -973,12 +1009,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2871701/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2871701/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/1862424 and its subdirectories -I: Current time: Thu Sep 24 01:09:48 -12 2026 -I: pbuilder-time-stamp: 1790255388 +I: removing directory /srv/workspace/pbuilder/2871701 and its subdirectories +I: Current time: Fri Aug 22 20:48:43 +14 2025 +I: pbuilder-time-stamp: 1755845323