Diff of the two buildlogs: -- --- b1/build.log 2024-04-10 06:14:25.229086030 +0000 +++ b2/build.log 2024-04-10 06:15:56.649193770 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue May 13 00:32:03 -12 2025 -I: pbuilder-time-stamp: 1747139523 +I: Current time: Wed Apr 10 20:14:28 +14 2024 +I: pbuilder-time-stamp: 1712729668 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ dpkg-source: info: unpacking golang-github-zitadel-logging_0.6.0-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/43861/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/22262/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-i386. +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 Apr 10 06:14 /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/22262/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/22262/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='3bfc2724845a4e2b96258d54467fab3b' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='43861' - PS1='# ' - PS2='> ' + INVOCATION_ID=9834cf46287648d48c672d9001f8269b + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=22262 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.zFk7toZI/pbuilderrc_kiyW --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.zFk7toZI/b1 --logfile b1/build.log golang-github-zitadel-logging_0.6.0-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.zFk7toZI/pbuilderrc_XAdH --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.zFk7toZI/b2 --logfile b2/build.log golang-github-zitadel-logging_0.6.0-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos16-i386 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 11 14:06 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/43861/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 9 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/22262/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -164,7 +196,7 @@ Get: 42 http://deb.debian.org/debian unstable/main i386 golang-gopkg-yaml.v3-dev all 3.0.1-3 [74.3 kB] Get: 43 http://deb.debian.org/debian unstable/main i386 golang-github-stretchr-testify-dev all 1.8.4-1 [71.8 kB] Get: 44 http://deb.debian.org/debian unstable/main i386 golang-gopkg-yaml.v2-dev all 2.4.0-4 [61.5 kB] -Fetched 61.8 MB in 7s (9192 kB/s) +Fetched 61.8 MB in 1s (41.7 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 ... 19681 files and directories currently installed.) @@ -355,7 +387,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-zitadel-logging-0.6.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 > ../golang-github-zitadel-logging_0.6.0-2_source.changes +I: user script /srv/workspace/pbuilder/22262/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/22262/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-zitadel-logging-0.6.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 > ../golang-github-zitadel-logging_0.6.0-2_source.changes dpkg-buildpackage: info: source package golang-github-zitadel-logging dpkg-buildpackage: info: source version 0.6.0-2 dpkg-buildpackage: info: source distribution unstable @@ -373,133 +409,133 @@ 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 22 github.com/zitadel/logging -log/internal -internal/unsafeheader -log/slog/internal -unicode/utf16 + cd _build && go install -trimpath -v -p 10 github.com/zitadel/logging internal/godebugs +internal/goarch +internal/coverage/rtcov +internal/unsafeheader +internal/goos +internal/goexperiment internal/race -cmp +runtime/internal/atomic +internal/cpu +runtime/internal/syscall +runtime/internal/math +internal/chacha8rand +internal/abi +runtime/internal/sys +sync/atomic internal/itoa +unicode/utf8 +unicode encoding +cmp +math/bits +unicode/utf16 +log/internal +log/slog/internal container/list -runtime/internal/syscall -internal/coverage/rtcov -unicode/utf8 -internal/goexperiment -internal/goarch -internal/goos -runtime/internal/atomic crypto/internal/alias -math/bits crypto/internal/boring/sig -unicode -internal/cpu vendor/golang.org/x/crypto/cryptobyte/asn1 -sync/atomic internal/nettrace -runtime/internal/math +internal/bytealg vendor/golang.org/x/crypto/internal/alias -runtime/internal/sys -internal/abi -internal/chacha8rand slices math -internal/bytealg runtime crypto/subtle internal/reflectlite sync -errors -sort -internal/singleflight -internal/bisect internal/testlog log/slog/internal/buffer +internal/bisect +internal/singleflight +runtime/cgo +errors +sort internal/oserror -internal/safefilepath -path +internal/godebug io -vendor/golang.org/x/net/dns/dnsmessage +internal/safefilepath strconv -runtime/cgo crypto/internal/nistec/fiat -internal/godebug -hash -bytes +path +vendor/golang.org/x/net/dns/dnsmessage +syscall +internal/intern +math/rand strings -crypto/rc4 -reflect +hash crypto/internal/randutil -math/rand -internal/intern -crypto +bytes hash/crc32 -syscall -net/netip vendor/golang.org/x/text/transform net/http/internal/ascii bufio -internal/syscall/execenv +crypto +reflect +crypto/rc4 +net/netip time internal/syscall/unix -internal/fmtsort -encoding/binary +internal/syscall/execenv +crypto/internal/nistec context io/fs internal/poll +internal/fmtsort +encoding/binary encoding/base64 -vendor/golang.org/x/crypto/internal/poly1305 crypto/internal/edwards25519/field -crypto/md5 crypto/cipher -crypto/internal/nistec -encoding/pem -crypto/internal/edwards25519 +crypto/md5 +vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix +os +crypto/internal/edwards25519 +encoding/pem crypto/internal/boring vendor/golang.org/x/crypto/chacha20 crypto/des -crypto/hmac crypto/sha512 +crypto/ecdh +crypto/hmac +crypto/sha1 crypto/aes crypto/sha256 -crypto/sha1 vendor/golang.org/x/crypto/hkdf vendor/golang.org/x/crypto/chacha20poly1305 -os -crypto/ecdh -fmt path/filepath +fmt net -net/url log -net/http/internal -encoding/hex -mime/quotedprintable -mime -vendor/golang.org/x/net/http2/hpack encoding/json compress/flate -vendor/golang.org/x/text/unicode/norm +encoding/hex +net/url math/big +vendor/golang.org/x/net/http2/hpack +vendor/golang.org/x/text/unicode/norm +mime vendor/golang.org/x/text/unicode/bidi +mime/quotedprintable +net/http/internal compress/gzip vendor/golang.org/x/text/secure/bidirule log/slog github.com/sirupsen/logrus vendor/golang.org/x/net/idna -crypto/dsa -crypto/internal/boring/bbig +crypto/rand crypto/elliptic crypto/internal/bigmod +crypto/internal/boring/bbig +crypto/dsa encoding/asn1 -crypto/rand crypto/ed25519 crypto/rsa -crypto/x509/pkix vendor/golang.org/x/crypto/cryptobyte +crypto/x509/pkix crypto/ecdsa vendor/golang.org/x/net/http/httpproxy net/textproto @@ -511,7 +547,7 @@ net/http github.com/zitadel/logging dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 22 github.com/zitadel/logging + cd _build && go test -vet=off -v -p 10 github.com/zitadel/logging === RUN Test_requestToAttr --- PASS: Test_requestToAttr (0.00s) === RUN TestUnmarshalJSON @@ -585,7 +621,7 @@ --- PASS: TestMiddleware/ok (0.00s) --- PASS: TestMiddleware/error (0.00s) PASS -ok github.com/zitadel/logging 0.075s +ok github.com/zitadel/logging 0.014s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -612,12 +648,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/22262/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/22262/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/43861 and its subdirectories -I: Current time: Tue May 13 00:37:19 -12 2025 -I: pbuilder-time-stamp: 1747139839 +I: removing directory /srv/workspace/pbuilder/22262 and its subdirectories +I: Current time: Wed Apr 10 20:15:55 +14 2024 +I: pbuilder-time-stamp: 1712729755