Diff of the two buildlogs: -- --- b1/build.log 2024-05-14 23:25:54.585565392 +0000 +++ b2/build.log 2024-05-14 23:27:14.846150618 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 16 17:47:14 -12 2025 -I: pbuilder-time-stamp: 1750139234 +I: Current time: Wed May 15 13:25:58 +14 2024 +I: pbuilder-time-stamp: 1715729158 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying 000-change-default-config-file-path.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2432746/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2356016/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-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 May 14 23:26 /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/2356016/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2356016/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='6a2786f66ce0495ca977abb097f957b6' - 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='2432746' - PS1='# ' - PS2='> ' + INVOCATION_ID=93346dc77f854fd89726ca8255565782 + 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=2356016 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.o6sw2Qa9/pbuilderrc_CF1W --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.o6sw2Qa9/b1 --logfile b1/build.log prometheus-exporter-exporter_0.4.0-1.dsc' - SUDO_GID='109' - 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.o6sw2Qa9/pbuilderrc_bn2z --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.o6sw2Qa9/b2 --logfile b2/build.log prometheus-exporter-exporter_0.4.0-1.dsc' + SUDO_GID=109 + 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 codethink01-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 15 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2432746/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 13 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2356016/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -194,7 +226,7 @@ Get: 68 http://deb.debian.org/debian unstable/main arm64 golang-github-prometheus-procfs-dev all 0.14.0-1 [183 kB] Get: 69 http://deb.debian.org/debian unstable/main arm64 golang-github-prometheus-client-golang-dev all 1.19.0-1 [179 kB] Get: 70 http://deb.debian.org/debian unstable/main arm64 golang-github-mwitkow-go-conntrack-dev all 0.0~git20190716.2f06839-3 [14.6 kB] -Fetched 80.7 MB in 1s (107 MB/s) +Fetched 80.7 MB in 0s (211 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package golang-golang-x-sys-dev. (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 ... 19744 files and directories currently installed.) @@ -489,7 +521,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-exporter-exporter-0.4.0/ && 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-exporter-exporter_0.4.0-1_source.changes +I: user script /srv/workspace/pbuilder/2356016/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2356016/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-exporter-exporter-0.4.0/ && 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-exporter-exporter_0.4.0-1_source.changes dpkg-buildpackage: info: source package prometheus-exporter-exporter dpkg-buildpackage: info: source version 0.4.0-1 dpkg-buildpackage: info: source distribution unstable @@ -596,72 +632,72 @@ CGO_FFLAGS='-g -O2 -ffile-prefix-map=/build/reproducible-path/prometheus-exporter-exporter-0.4.0=. -fstack-clash-protection -mbranch-protection=standard' CGO_LDFLAGS='-Wl,-z,relro' PKG_CONFIG='pkg-config' -GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1757045851=/tmp/go-build -gno-record-gcc-switches' +GOGCCFLAGS='-fPIC -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1301746615=/tmp/go-build -gno-record-gcc-switches' cd build && go install -trimpath -v -p 12 -ldflags " -X main.Version=0.4.0 -X main.Revision=0.4.0-1 -X main.Branch=debian/sid -X main.BuildUser=team+pkg-go@tracker.debian.org -X main.BuildDate=20200826-11:43:59 -X main.GoVersion=go1.22.3" github.com/QubitProducts/exporter_exporter -internal/goarch -internal/coverage/rtcov +unicode/utf8 internal/goexperiment -internal/goos internal/godebugs -internal/race +internal/coverage/rtcov +internal/goarch +internal/goos +internal/cpu internal/unsafeheader +runtime/internal/syscall +internal/itoa unicode -unicode/utf8 -internal/cpu +internal/race +internal/abi +internal/chacha8rand runtime/internal/math -runtime/internal/syscall +sync/atomic runtime/internal/sys -internal/itoa math/bits -sync/atomic cmp -internal/chacha8rand container/list crypto/internal/alias -internal/abi crypto/subtle crypto/internal/boring/sig unicode/utf16 -vendor/golang.org/x/crypto/cryptobyte/asn1 math slices +vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias -encoding -log/internal internal/bytealg runtime/internal/atomic +encoding +log/internal google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/set runtime internal/reflectlite -sync runtime/metrics +sync internal/testlog +internal/singleflight google.golang.org/protobuf/internal/pragma internal/bisect -internal/singleflight runtime/cgo -internal/godebug errors sort -math/rand -internal/intern -io -strconv internal/oserror +crypto/internal/nistec/fiat +io internal/safefilepath +strconv path +internal/godebug vendor/golang.org/x/net/dns/dnsmessage -crypto/internal/nistec/fiat syscall +math/rand +internal/intern bytes strings hash crypto/internal/randutil +github.com/beorn7/perks/quantile hash/crc32 hash/fnv -github.com/beorn7/perks/quantile reflect crypto crypto/rc4 @@ -672,110 +708,110 @@ regexp/syntax github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg html -regexp -time -internal/syscall/execenv internal/syscall/unix +internal/syscall/execenv +time +regexp internal/poll -io/fs context -internal/fmtsort -encoding/binary +io/fs embed google.golang.org/protobuf/internal/editiondefaults -crypto/cipher +internal/fmtsort +encoding/binary +os crypto/internal/edwards25519/field -github.com/cespare/xxhash +crypto/cipher golang.org/x/sys/unix crypto/md5 -crypto/internal/nistec -vendor/golang.org/x/crypto/internal/poly1305 encoding/base64 -os +vendor/golang.org/x/crypto/internal/poly1305 +crypto/internal/nistec +github.com/cespare/xxhash +crypto/internal/edwards25519 +encoding/pem crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -encoding/pem +fmt +path/filepath +io/ioutil +google.golang.org/protobuf/internal/detrand +github.com/prometheus/procfs/internal/util crypto/aes -crypto/sha512 crypto/hmac +crypto/sha512 crypto/sha1 crypto/sha256 -crypto/internal/edwards25519 -vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 -crypto/ecdh -fmt -path/filepath -google.golang.org/protobuf/internal/detrand -io/ioutil -github.com/prometheus/procfs/internal/util -net +vendor/golang.org/x/crypto/hkdf os/exec -compress/flate -vendor/golang.org/x/text/unicode/norm -math/big -encoding/hex +net +crypto/ecdh net/url flag log +encoding/hex +math/big encoding/json +vendor/golang.org/x/text/unicode/norm +compress/flate vendor/golang.org/x/net/http2/hpack mime +vendor/golang.org/x/text/unicode/bidi mime/quotedprintable net/http/internal -vendor/golang.org/x/text/unicode/bidi google.golang.org/protobuf/internal/errors go/token google.golang.org/protobuf/internal/version -google.golang.org/protobuf/encoding/protowire github.com/prometheus/procfs/internal/fs compress/gzip runtime/debug +google.golang.org/protobuf/encoding/protowire golang.org/x/sync/errgroup gopkg.in/yaml.v2 text/template/parse -google.golang.org/protobuf/reflect/protoreflect vendor/golang.org/x/text/secure/bidirule +google.golang.org/protobuf/reflect/protoreflect vendor/golang.org/x/net/idna -github.com/sirupsen/logrus +text/template google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/strs +google.golang.org/protobuf/internal/order google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/genid -google.golang.org/protobuf/internal/order -text/template -google.golang.org/protobuf/internal/encoding/text -google.golang.org/protobuf/reflect/protoregistry -google.golang.org/protobuf/proto +google.golang.org/protobuf/runtime/protoiface crypto/elliptic crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/rand -google.golang.org/protobuf/internal/encoding/defval crypto/dsa +google.golang.org/protobuf/internal/encoding/text +google.golang.org/protobuf/reflect/protoregistry crypto/ed25519 +github.com/sirupsen/logrus crypto/rsa +google.golang.org/protobuf/internal/encoding/defval +google.golang.org/protobuf/proto vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/prototext -google.golang.org/protobuf/encoding/protodelim html/template crypto/ecdsa +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 github.com/prometheus/procfs google.golang.org/protobuf/internal/filetype +google.golang.org/protobuf/runtime/protoimpl vendor/golang.org/x/net/http/httpguts mime/multipart -google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_model/go github.com/prometheus/common/model @@ -783,8 +819,8 @@ github.com/prometheus/client_golang/prometheus/internal net/http/httptrace net/http -expvar github.com/prometheus/common/expfmt +expvar net/http/httputil github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/promhttp @@ -797,8 +833,8 @@ cd build && go test -vet=off -v -p 12 github.com/QubitProducts/exporter_exporter testing: warning: no tests to run PASS -ok github.com/QubitProducts/exporter_exporter 0.140s [no tests to run] - rm -fr -- /tmp/dh-xdg-rundir-B_s8pDD7 +ok github.com/QubitProducts/exporter_exporter 0.148s [no tests to run] + rm -fr -- /tmp/dh-xdg-rundir-yVfCYU6k create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-exporter-exporter-0.4.0/build dh_prep -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-exporter-exporter-0.4.0/build @@ -933,9 +969,9 @@ cd debian/.debhelper/prometheus-exporter-exporter/dbgsym-root >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/.debhelper/prometheus-exporter-exporter/dbgsym-root/DEBIAN/md5sums dh_builddeb -O--buildsystem=golang -O--builddirectory=/build/reproducible-path/prometheus-exporter-exporter-0.4.0/build - dpkg-deb --root-owner-group --build debian/prometheus-exporter-exporter .. dpkg-deb --root-owner-group --build debian/.debhelper/prometheus-exporter-exporter/dbgsym-root .. dpkg-deb: building package 'prometheus-exporter-exporter-dbgsym' in '../prometheus-exporter-exporter-dbgsym_0.4.0-1_arm64.deb'. + dpkg-deb --root-owner-group --build debian/prometheus-exporter-exporter .. dpkg-deb: building package 'prometheus-exporter-exporter' in '../prometheus-exporter-exporter_0.4.0-1_arm64.deb'. dpkg-genbuildinfo --build=binary -O../prometheus-exporter-exporter_0.4.0-1_arm64.buildinfo dpkg-genchanges --build=binary -O../prometheus-exporter-exporter_0.4.0-1_arm64.changes @@ -944,12 +980,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/2356016/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2356016/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/2432746 and its subdirectories -I: Current time: Mon Jun 16 17:48:53 -12 2025 -I: pbuilder-time-stamp: 1750139333 +I: removing directory /srv/workspace/pbuilder/2356016 and its subdirectories +I: Current time: Wed May 15 13:27:13 +14 2024 +I: pbuilder-time-stamp: 1715729233