Diff of the two buildlogs: -- --- b1/build.log 2024-05-03 15:40:11.501578383 +0000 +++ b2/build.log 2024-05-03 15:42:42.075167661 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 5 09:59:48 -12 2025 -I: pbuilder-time-stamp: 1749160788 +I: Current time: Sat May 4 05:40:14 +14 2024 +I: pbuilder-time-stamp: 1714750814 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,51 +26,83 @@ dpkg-source: info: unpacking mender-cli_1.9.0+ds1-1.debian.tar.xz I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2721062/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4079234/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 May 3 15:40 /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/4079234/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4079234/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' + 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=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + 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='4b2735ffc74943f5acb71f4f67e8a151' - 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='2721062' - PS1='# ' - PS2='> ' + INVOCATION_ID=b14b84c4fccf46f98b7f7953ad2d9649 + 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=4079234 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.pL1BlBnA/pbuilderrc_AQbD --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.pL1BlBnA/b1 --logfile b1/build.log mender-cli_1.9.0+ds1-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' + 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.pL1BlBnA/pbuilderrc_SZti --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.pL1BlBnA/b2 --logfile b2/build.log mender-cli_1.9.0+ds1-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' I: uname -a - Linux infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 4 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2721062/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 2 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4079234/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -227,7 +259,7 @@ Get: 99 http://deb.debian.org/debian unstable/main amd64 golang-github-spf13-cobra-dev all 1.8.0-1 [73.6 kB] Get: 100 http://deb.debian.org/debian unstable/main amd64 golang-github-vmihailenco-tagparser-dev all 0.1.1-4 [4684 B] Get: 101 http://deb.debian.org/debian unstable/main amd64 golang-gopkg-vmihailenco-msgpack.v2-dev all 4.3.1-2 [27.5 kB] -Fetched 75.8 MB in 1s (63.0 MB/s) +Fetched 75.8 MB in 1s (71.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 ... 19694 files and directories currently installed.) @@ -651,7 +683,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/mender-cli-1.9.0+ds1/ && 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 > ../mender-cli_1.9.0+ds1-1_source.changes +I: user script /srv/workspace/pbuilder/4079234/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4079234/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/mender-cli-1.9.0+ds1/ && 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 > ../mender-cli_1.9.0+ds1-1_source.changes dpkg-buildpackage: info: source package mender-cli dpkg-buildpackage: info: source version 1.9.0+ds1-1 dpkg-buildpackage: info: source distribution unstable @@ -670,42 +706,42 @@ dh_auto_configure -O--buildsystem=golang dh_auto_build -O--buildsystem=golang cd obj-x86_64-linux-gnu && go install -trimpath -v -p 12 github.com/mendersoftware/mender-cli github.com/mendersoftware/mender-cli/client github.com/mendersoftware/mender-cli/client/deployments github.com/mendersoftware/mender-cli/client/deviceconnect github.com/mendersoftware/mender-cli/client/devices github.com/mendersoftware/mender-cli/client/useradm github.com/mendersoftware/mender-cli/cmd github.com/mendersoftware/mender-cli/log -internal/goexperiment -internal/coverage/rtcov +internal/goos internal/unsafeheader +internal/coverage/rtcov internal/goarch -internal/race -runtime/internal/syscall -internal/goos -sync/atomic -runtime/internal/atomic internal/godebugs -unicode/utf8 internal/cpu +runtime/internal/atomic +internal/goexperiment +unicode/utf8 +runtime/internal/syscall unicode -internal/itoa -math/bits -cmp -internal/abi +sync/atomic +internal/race internal/chacha8rand +internal/abi runtime/internal/math runtime/internal/sys +internal/itoa +math/bits +cmp encoding crypto/internal/alias crypto/subtle +unicode/utf16 crypto/internal/boring/sig internal/nettrace -unicode/utf16 -slices github.com/mendersoftware/go-lib-micro/ws internal/bytealg -math github.com/mendersoftware/go-lib-micro/ws/portforward github.com/mendersoftware/go-lib-micro/ws/shell +slices github.com/VividCortex/ewma +math container/list -vendor/golang.org/x/crypto/cryptobyte/asn1 github.com/rivo/uniseg +vendor/golang.org/x/crypto/cryptobyte/asn1 vendor/golang.org/x/crypto/internal/alias log/internal github.com/vmihailenco/msgpack/codes @@ -722,61 +758,61 @@ errors sort io +internal/oserror +internal/safefilepath +path +vendor/golang.org/x/net/dns/dnsmessage internal/godebug strconv +syscall +crypto/internal/nistec/fiat +github.com/hashicorp/hcl/hcl/strconv +internal/intern +math/rand bytes -vendor/golang.org/x/net/dns/dnsmessage -internal/oserror strings hash -github.com/hashicorp/hcl/hcl/strconv -path -internal/safefilepath internal/saferio -crypto/internal/nistec/fiat -syscall crypto/internal/randutil -math/rand -internal/intern -hash/crc32 text/tabwriter -crypto +hash/crc32 reflect +crypto net/netip crypto/rc4 vendor/golang.org/x/text/transform github.com/vmihailenco/tagparser/internal/parser golang.org/x/text/transform -github.com/vmihailenco/tagparser bufio -net/http/internal/ascii regexp/syntax +net/http/internal/ascii +github.com/vmihailenco/tagparser html golang.org/x/text/runes regexp -internal/syscall/execenv -time internal/syscall/unix +time +internal/syscall/execenv internal/fmtsort encoding/binary internal/poll -context io/fs -embed -github.com/spf13/afero/internal/common +context crypto/md5 -crypto/cipher encoding/base64 +crypto/cipher crypto/internal/edwards25519/field vendor/golang.org/x/crypto/internal/poly1305 golang.org/x/sys/unix +embed +github.com/spf13/afero/internal/common +encoding/pem crypto/internal/nistec crypto/internal/boring -encoding/pem -crypto/des vendor/golang.org/x/crypto/chacha20 -crypto/internal/edwards25519 +crypto/des os +crypto/internal/edwards25519 crypto/sha1 crypto/aes crypto/sha512 @@ -784,63 +820,63 @@ crypto/sha256 vendor/golang.org/x/crypto/hkdf crypto/ecdh -os/signal fmt -io/ioutil +os/signal +github.com/mattn/go-runewidth path/filepath vendor/golang.org/x/sys/cpu -github.com/mattn/go-runewidth -github.com/spf13/afero/mem +io/ioutil vendor/golang.org/x/crypto/chacha20poly1305 -net/url -database/sql/driver +github.com/spf13/afero/mem compress/flate -encoding/hex +math/big github.com/cheggaaa/pb/v3/termutil +encoding/hex text/template/parse +net/url encoding/gob -math/big encoding/json +database/sql/driver github.com/mendersoftware/mender-cli/log -log github.com/pkg/errors +log vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/net/http2/hpack -vendor/golang.org/x/text/unicode/bidi -mime +net mime/quotedprintable +mime +vendor/golang.org/x/text/unicode/bidi compress/gzip -net net/http/internal -golang.org/x/term -github.com/mattn/go-isatty github.com/vmihailenco/msgpack text/template +golang.org/x/term +github.com/mattn/go-isatty encoding/csv github.com/mattn/go-colorable +github.com/fatih/color +vendor/golang.org/x/text/secure/bidirule flag +golang.org/x/crypto/ssh/terminal github.com/fsnotify/fsnotify -vendor/golang.org/x/text/secure/bidirule -github.com/fatih/color golang.org/x/text/unicode/norm -golang.org/x/crypto/ssh/terminal -github.com/spf13/jwalterweatherman github.com/howeyc/gopass +github.com/spf13/jwalterweatherman github.com/subosito/gotenv github.com/hashicorp/hcl/hcl/token gopkg.in/ini.v1 github.com/spf13/viper/internal/encoding/json -vendor/golang.org/x/net/idna github.com/pelletier/go-toml/v2/internal/danger +gopkg.in/yaml.v3 +os/user +vendor/golang.org/x/net/idna github.com/hashicorp/hcl/hcl/ast github.com/hashicorp/hcl/hcl/scanner github.com/hashicorp/hcl/json/token github.com/pelletier/go-toml/v2/unstable -gopkg.in/yaml.v3 -os/user github.com/hashicorp/hcl/json/scanner -github.com/cheggaaa/pb/v3 github.com/hashicorp/hcl/hcl/parser +github.com/cheggaaa/pb/v3 html/template github.com/hashicorp/hcl/json/parser crypto/rand @@ -848,45 +884,45 @@ crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 -crypto/ed25519 crypto/dsa +crypto/ed25519 github.com/hashicorp/hcl github.com/hashicorp/hcl/hcl/printer github.com/pelletier/go-toml/v2/internal/tracker +crypto/rsa github.com/pelletier/go-toml/v2 -github.com/spf13/viper/internal/encoding/hcl vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -crypto/rsa +github.com/spf13/viper/internal/encoding/hcl github.com/spf13/cast -github.com/spf13/viper/internal/encoding/yaml crypto/ecdsa +github.com/spf13/viper/internal/encoding/toml github.com/spf13/viper/internal/encoding/dotenv github.com/spf13/viper/internal/encoding/ini -github.com/spf13/viper/internal/encoding/toml +github.com/spf13/viper/internal/encoding/yaml github.com/google/uuid net/textproto -crypto/x509 vendor/golang.org/x/net/http/httpproxy github.com/gorilla/websocket/vendor/golang.org/x/net/internal/socks github.com/mitchellh/mapstructure +crypto/x509 github.com/spf13/pflag -github.com/gorilla/websocket/vendor/golang.org/x/net/proxy vendor/golang.org/x/net/http/httpguts mime/multipart +github.com/gorilla/websocket/vendor/golang.org/x/net/proxy crypto/tls github.com/spf13/cobra net/http/httptrace net/http -net/http/httputil -github.com/magiconair/properties github.com/gorilla/websocket +github.com/magiconair/properties +net/http/httputil github.com/spf13/afero github.com/mendersoftware/mender-cli/client github.com/spf13/viper/internal/encoding/javaproperties +github.com/mendersoftware/mender-cli/client/devices github.com/mendersoftware/mender-cli/client/deployments github.com/mendersoftware/mender-cli/client/useradm -github.com/mendersoftware/mender-cli/client/devices github.com/mendersoftware/mender-cli/client/deviceconnect github.com/spf13/viper github.com/mendersoftware/mender-cli/cmd @@ -905,7 +941,7 @@ main_test.go:39: --- SKIP: TestMain (0.00s) PASS -ok github.com/mendersoftware/mender-cli 0.011s +ok github.com/mendersoftware/mender-cli 0.007s create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --buildsystem=golang --with=golang @@ -936,8 +972,8 @@ dpkg-gencontrol: warning: package mender-cli: substitution variable ${misc:Static-Built-Using} unused, but is defined dh_md5sums -O--buildsystem=golang dh_builddeb -O--buildsystem=golang -dpkg-deb: building package 'mender-cli' in '../mender-cli_1.9.0+ds1-1_amd64.deb'. dpkg-deb: building package 'mender-cli-dbgsym' in '../mender-cli-dbgsym_1.9.0+ds1-1_amd64.deb'. +dpkg-deb: building package 'mender-cli' in '../mender-cli_1.9.0+ds1-1_amd64.deb'. dpkg-genbuildinfo --build=binary -O../mender-cli_1.9.0+ds1-1_amd64.buildinfo dpkg-genchanges --build=binary -O../mender-cli_1.9.0+ds1-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -945,12 +981,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/4079234/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4079234/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/2721062 and its subdirectories -I: Current time: Thu Jun 5 10:03:10 -12 2025 -I: pbuilder-time-stamp: 1749160990 +I: removing directory /srv/workspace/pbuilder/4079234 and its subdirectories +I: Current time: Sat May 4 05:42:41 +14 2024 +I: pbuilder-time-stamp: 1714750961