Diff of the two buildlogs: -- --- b1/build.log 2024-06-02 15:38:09.236707430 +0000 +++ b2/build.log 2024-06-02 15:39:31.009239771 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Jun 2 03:35:45 -12 2024 -I: pbuilder-time-stamp: 1717342545 +I: Current time: Sun Jul 6 12:01:11 +14 2025 +I: pbuilder-time-stamp: 1751752871 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -29,52 +29,84 @@ dpkg-source: info: applying 0002-Support-prometheus-common-v0.50.0.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3291911/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/593150/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 Jul 5 22:01 /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/593150/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/593150/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4207100e6f8c49c692b10d027d456105' - 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='3291911' - PS1='# ' - PS2='> ' + INVOCATION_ID=083bc9f80fb743f08a5165f0586e0c9e + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=593150 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.Flgeedfp/pbuilderrc_LQvh --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.Flgeedfp/b1 --logfile b1/build.log prometheus-apache-exporter_1.0.7-1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.Flgeedfp/pbuilderrc_MPeR --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.Flgeedfp/b2 --logfile b2/build.log prometheus-apache-exporter_1.0.7-1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3291911/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 4 14:06 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/593150/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -196,7 +228,7 @@ Get: 70 http://deb.debian.org/debian unstable/main amd64 golang-github-prometheus-client-golang-dev all 1.19.0-1 [179 kB] Get: 71 http://deb.debian.org/debian unstable/main amd64 golang-github-mwitkow-go-conntrack-dev all 0.0~git20190716.2f06839-3 [14.6 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 golang-github-prometheus-exporter-toolkit-dev all 0.11.0-2 [33.0 kB] -Fetched 85.8 MB in 6s (15.2 MB/s) +Fetched 85.8 MB in 1s (59.9 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 ... 19719 files and directories currently installed.) @@ -499,7 +531,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/prometheus-apache-exporter-1.0.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-apache-exporter_1.0.7-1_source.changes +I: user script /srv/workspace/pbuilder/593150/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/593150/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/prometheus-apache-exporter-1.0.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-apache-exporter_1.0.7-1_source.changes dpkg-buildpackage: info: source package prometheus-apache-exporter dpkg-buildpackage: info: source version 1.0.7-1 dpkg-buildpackage: info: source distribution unstable @@ -519,40 +555,40 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/prometheus-apache-exporter-1.0.7' dh_auto_build -- -ldflags " -X github.com/prometheus/common/version.Version=1.0.7 -X github.com/prometheus/common/version.Revision=1.0.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=20240315-14:09:38 -X github.com/prometheus/common/version.GoVersion=go1.22.3" - cd _build && go install -trimpath -v -p 20 -ldflags " -X github.com/prometheus/common/version.Version=1.0.7 -X github.com/prometheus/common/version.Revision=1.0.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=20240315-14:09:38 -X github.com/prometheus/common/version.GoVersion=go1.22.3" github.com/Lusitaniae/apache_exporter github.com/Lusitaniae/apache_exporter/collector -internal/race -internal/coverage/rtcov -internal/godebugs -internal/goarch -cmp + cd _build && go install -trimpath -v -p 42 -ldflags " -X github.com/prometheus/common/version.Version=1.0.7 -X github.com/prometheus/common/version.Revision=1.0.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=20240315-14:09:38 -X github.com/prometheus/common/version.GoVersion=go1.22.3" github.com/Lusitaniae/apache_exporter github.com/Lusitaniae/apache_exporter/collector internal/unsafeheader -internal/goos +log/internal +internal/godebugs +internal/race +internal/itoa +runtime/internal/atomic +internal/nettrace container/list +unicode/utf16 +encoding +vendor/golang.org/x/crypto/cryptobyte/asn1 +google.golang.org/protobuf/internal/flags +internal/coverage/rtcov +sync/atomic runtime/internal/syscall unicode/utf8 -unicode/utf16 -internal/nettrace -crypto/subtle +cmp vendor/golang.org/x/crypto/internal/alias -vendor/golang.org/x/crypto/cryptobyte/asn1 -encoding +internal/goarch +internal/cpu +crypto/internal/alias internal/goexperiment -internal/abi -math/bits +unicode crypto/internal/boring/sig -internal/itoa -crypto/internal/alias -runtime/internal/atomic -internal/chacha8rand -internal/cpu +internal/goos +math/bits +crypto/subtle runtime/internal/math +internal/chacha8rand +internal/abi runtime/internal/sys -sync/atomic -log/internal -google.golang.org/protobuf/internal/flags -unicode -slices google.golang.org/protobuf/internal/set +slices internal/bytealg math runtime @@ -560,160 +596,160 @@ runtime/metrics sync internal/testlog -internal/bisect internal/singleflight +internal/bisect google.golang.org/protobuf/internal/pragma runtime/cgo errors -internal/godebug sort -internal/oserror +internal/godebug io -path -crypto/internal/nistec/fiat +internal/oserror strconv -vendor/golang.org/x/net/dns/dnsmessage -math/rand -internal/intern internal/safefilepath +path +vendor/golang.org/x/net/dns/dnsmessage +crypto/internal/nistec/fiat syscall +internal/intern +math/rand github.com/beorn7/perks/quantile hash bytes -crypto/internal/randutil strings +crypto/internal/randutil text/tabwriter hash/fnv hash/crc32 crypto -crypto/rc4 -net/netip golang.org/x/crypto/blowfish +net/netip +crypto/rc4 reflect vendor/golang.org/x/text/transform golang.org/x/text/transform -bufio net/http/internal/ascii github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg +bufio html regexp/syntax -regexp -time internal/syscall/execenv internal/syscall/unix +time +regexp context -io/fs github.com/jpillora/backoff +io/fs internal/poll -encoding/binary -internal/fmtsort embed google.golang.org/protobuf/internal/editiondefaults -crypto/cipher -crypto/internal/edwards25519/field +internal/fmtsort +encoding/binary +os encoding/base64 crypto/md5 +crypto/cipher +crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 -crypto/internal/nistec github.com/cespare/xxhash -os +crypto/internal/nistec golang.org/x/sys/unix encoding/pem -crypto/internal/edwards25519 crypto/internal/boring crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/aes +crypto/internal/edwards25519 crypto/hmac +crypto/sha512 crypto/sha1 crypto/sha256 -crypto/sha512 +crypto/aes vendor/golang.org/x/crypto/hkdf crypto/ecdh -fmt -path/filepath google.golang.org/protobuf/internal/detrand -github.com/prometheus/procfs/internal/util +io/ioutil internal/lazyregexp +github.com/prometheus/procfs/internal/util +path/filepath +vendor/golang.org/x/sys/cpu +fmt os/signal -io/ioutil net -vendor/golang.org/x/sys/cpu vendor/golang.org/x/crypto/chacha20poly1305 encoding/hex net/url github.com/go-logfmt/logfmt +google.golang.org/protobuf/internal/version log -math/big -vendor/golang.org/x/net/http2/hpack +net/http/internal +golang.org/x/sync/errgroup +go/token +mime/quotedprintable github.com/prometheus/procfs/internal/fs -runtime/debug +vendor/golang.org/x/net/http2/hpack +go/doc/comment text/template/parse +compress/flate mime +github.com/alecthomas/units +google.golang.org/protobuf/internal/errors vendor/golang.org/x/text/unicode/norm +gopkg.in/yaml.v2 +math/big encoding/json -mime/quotedprintable -net/http/internal -google.golang.org/protobuf/internal/errors -google.golang.org/protobuf/internal/version -compress/flate -go/token -github.com/alecthomas/units -google.golang.org/protobuf/encoding/protowire -go/doc/comment golang.org/x/net/http2/hpack +runtime/debug golang.org/x/text/unicode/norm -gopkg.in/yaml.v2 -vendor/golang.org/x/text/unicode/bidi -golang.org/x/net/internal/timeseries -golang.org/x/sync/errgroup +google.golang.org/protobuf/encoding/protowire go/scanner +golang.org/x/net/internal/timeseries +vendor/golang.org/x/text/unicode/bidi golang.org/x/text/unicode/bidi google.golang.org/protobuf/reflect/protoreflect go/ast -vendor/golang.org/x/text/secure/bidirule compress/gzip golang.org/x/text/secure/bidirule -google.golang.org/protobuf/internal/descopts +vendor/golang.org/x/text/secure/bidirule +text/template google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/messageset -google.golang.org/protobuf/runtime/protoiface +google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/order +google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/internal/genid -github.com/go-kit/log -golang.org/x/net/idna -google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/internal/encoding/text -text/template -github.com/go-kit/log/level +google.golang.org/protobuf/reflect/protoregistry +github.com/go-kit/log vendor/golang.org/x/net/idna -github.com/prometheus/common/promlog -google.golang.org/protobuf/proto +golang.org/x/net/idna go/doc -google.golang.org/protobuf/internal/encoding/defval crypto/elliptic crypto/internal/boring/bbig crypto/internal/bigmod -encoding/asn1 -crypto/dsa crypto/rand +crypto/dsa +encoding/asn1 +google.golang.org/protobuf/proto +github.com/go-kit/log/level +github.com/prometheus/common/version +html/template crypto/ed25519 golang.org/x/crypto/bcrypt +google.golang.org/protobuf/internal/encoding/defval +github.com/prometheus/common/promlog crypto/rsa -google.golang.org/protobuf/internal/filedesc -google.golang.org/protobuf/encoding/protodelim -google.golang.org/protobuf/encoding/prototext -vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -github.com/prometheus/common/version -html/template +vendor/golang.org/x/crypto/cryptobyte +google.golang.org/protobuf/encoding/prototext +google.golang.org/protobuf/encoding/protodelim +google.golang.org/protobuf/internal/filedesc crypto/ecdsa google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl vendor/golang.org/x/net/http/httpproxy -net/textproto golang.org/x/net/http/httpproxy +net/textproto gopkg.in/alecthomas/kingpin.v2 crypto/x509 github.com/prometheus/procfs @@ -721,12 +757,12 @@ mime/multipart golang.org/x/net/http/httpguts google.golang.org/protobuf/internal/filetype -crypto/tls google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_model/go -github.com/prometheus/common/promlog/flag +crypto/tls github.com/prometheus/common/model +github.com/prometheus/common/promlog/flag github.com/prometheus/client_golang/prometheus/internal net/http/httptrace github.com/coreos/go-systemd/activation @@ -740,9 +776,9 @@ golang.org/x/oauth2/clientcredentials github.com/prometheus/client_golang/prometheus github.com/Lusitaniae/apache_exporter/collector -github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/client_golang/prometheus/collectors/version github.com/mwitkow/go-conntrack +github.com/prometheus/client_golang/prometheus/promhttp github.com/prometheus/common/config github.com/prometheus/exporter-toolkit/web github.com/prometheus/exporter-toolkit/web/kingpinflag @@ -752,7 +788,7 @@ renamed '_build/bin/apache_exporter' -> '_build/bin/prometheus-apache-exporter' make[1]: Leaving directory '/build/reproducible-path/prometheus-apache-exporter-1.0.7' dh_auto_test -O--builddir=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 github.com/Lusitaniae/apache_exporter github.com/Lusitaniae/apache_exporter/collector + cd _build && go test -vet=off -v -p 42 github.com/Lusitaniae/apache_exporter github.com/Lusitaniae/apache_exporter/collector ? github.com/Lusitaniae/apache_exporter/collector [no test files] === RUN TestApache22Status --- PASS: TestApache22Status (0.00s) @@ -767,7 +803,7 @@ === RUN TestApache24PreforkStatus --- PASS: TestApache24PreforkStatus (0.00s) PASS -ok github.com/Lusitaniae/apache_exporter 0.020s +ok github.com/Lusitaniae/apache_exporter 0.012s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddir=_build -O--buildsystem=golang dh_prep -O--builddir=_build -O--buildsystem=golang @@ -822,12 +858,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/593150/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/593150/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/3291911 and its subdirectories -I: Current time: Sun Jun 2 03:38:08 -12 2024 -I: pbuilder-time-stamp: 1717342688 +I: removing directory /srv/workspace/pbuilder/593150 and its subdirectories +I: Current time: Sun Jul 6 12:02:30 +14 2025 +I: pbuilder-time-stamp: 1751752950