Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 10:51:17.892483652 +0000 +++ b2/build.log 2024-05-02 10:58:17.994654656 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 22:46:40 -12 2024 -I: pbuilder-time-stamp: 1714646800 +I: Current time: Fri May 3 00:51:26 +14 2024 +I: pbuilder-time-stamp: 1714647086 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking golang-github-shenwei356-xopen_0.0~git20181203.f4f16dd-2.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28090/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29059/tmp/hooks/D01_modify_environment starting +debug: Running on virt64b. +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 2 10:51 /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/29059/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29059/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='db26140e8b8248a598d577cd0deb4fec' - 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='28090' - PS1='# ' - PS2='> ' + INVOCATION_ID=00df8d2ba186442bb1c6c295495347c8 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=29059 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.AjwtjWaA/pbuilderrc_I9lt --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AjwtjWaA/b1 --logfile b1/build.log golang-github-shenwei356-xopen_0.0~git20181203.f4f16dd-2.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.AjwtjWaA/pbuilderrc_wiaS --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.AjwtjWaA/b2 --logfile b2/build.log golang-github-shenwei356-xopen_0.0~git20181203.f4f16dd-2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 6.1.0-20-armmp-lpae #1 SMP Debian 6.1.85-1 (2024-04-11) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Apr 26 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28090/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/29059/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -168,7 +200,7 @@ Get: 51 http://deb.debian.org/debian trixie/main armhf golang-github-rogpeppe-go-internal-dev all 1.12.0-3 [103 kB] Get: 52 http://deb.debian.org/debian trixie/main armhf golang-github-kr-pretty-dev all 0.3.1-1 [11.9 kB] Get: 53 http://deb.debian.org/debian trixie/main armhf golang-gopkg-check.v1-dev all 0.0+git20200902.038fdea-1 [32.1 kB] -Fetched 101 MB in 3s (37.1 MB/s) +Fetched 101 MB in 22s (4649 kB/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 ... 19444 files and directories currently installed.) @@ -395,7 +427,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-shenwei356-xopen-0.0~git20181203.f4f16dd/ && 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-shenwei356-xopen_0.0~git20181203.f4f16dd-2_source.changes +I: user script /srv/workspace/pbuilder/29059/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/29059/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-shenwei356-xopen-0.0~git20181203.f4f16dd/ && 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-shenwei356-xopen_0.0~git20181203.f4f16dd-2_source.changes dpkg-buildpackage: info: source package golang-github-shenwei356-xopen dpkg-buildpackage: info: source version 0.0~git20181203.f4f16dd-2 dpkg-buildpackage: info: source distribution unstable @@ -413,19 +449,19 @@ 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 3 github.com/shenwei356/xopen + cd _build && go install -trimpath -v -p 4 github.com/shenwei356/xopen internal/unsafeheader internal/goarch -internal/cpu internal/coverage/rtcov +internal/cpu internal/abi -internal/chacha8rand -internal/bytealg internal/godebugs +internal/chacha8rand internal/goexperiment internal/goos -runtime/internal/atomic runtime/internal/math +internal/bytealg +runtime/internal/atomic runtime/internal/sys runtime/internal/syscall internal/race @@ -434,113 +470,113 @@ unicode/utf8 internal/itoa math/bits -runtime -math cmp -slices container/list +slices +math crypto/internal/alias +runtime crypto/internal/boring/sig unicode/utf16 vendor/golang.org/x/crypto/cryptobyte/asn1 internal/nettrace vendor/golang.org/x/crypto/internal/alias log/internal +crypto/subtle internal/reflectlite sync -crypto/subtle internal/testlog -internal/bisect internal/singleflight +internal/bisect runtime/cgo internal/godebug errors +sort io strconv bytes strings reflect bufio -sort internal/oserror syscall -internal/fmtsort internal/safefilepath path -encoding/binary -internal/syscall/unix -time -internal/syscall/execenv hash hash/crc32 crypto crypto/internal/randutil math/rand +crypto/internal/nistec/fiat +internal/syscall/unix +internal/fmtsort +time +internal/syscall/execenv +encoding/binary crypto/cipher crypto/internal/edwards25519/field crypto/internal/boring crypto/aes crypto/des -crypto/internal/nistec/fiat -crypto/sha512 -crypto/internal/edwards25519 internal/poll io/fs context -crypto/hmac +crypto/sha512 +crypto/internal/nistec +crypto/internal/edwards25519 os +crypto/hmac crypto/md5 +crypto/ecdh crypto/rc4 crypto/sha1 crypto/sha256 encoding/base64 -encoding/pem vendor/golang.org/x/net/dns/dnsmessage +encoding/pem fmt -crypto/internal/nistec internal/intern +path/filepath +net/netip +vendor/golang.org/x/crypto/chacha20 +vendor/golang.org/x/crypto/internal/poly1305 +vendor/golang.org/x/crypto/hkdf +vendor/golang.org/x/crypto/chacha20poly1305 +net +vendor/golang.org/x/text/transform +net/http/internal/ascii +os/exec compress/flate math/big -crypto/ecdh +encoding/hex +net/url compress/gzip github.com/klauspost/compress/flate -encoding/hex -net/netip -net +log +vendor/golang.org/x/text/unicode/bidi +github.com/klauspost/pgzip crypto/rand crypto/elliptic -github.com/klauspost/pgzip crypto/internal/bigmod crypto/internal/boring/bbig encoding/asn1 crypto/ed25519 -crypto/rsa crypto/dsa -net/url +vendor/golang.org/x/text/secure/bidirule +vendor/golang.org/x/text/unicode/norm vendor/golang.org/x/crypto/cryptobyte crypto/x509/pkix -path/filepath -crypto/ecdsa -vendor/golang.org/x/crypto/chacha20 -vendor/golang.org/x/crypto/internal/poly1305 -vendor/golang.org/x/crypto/hkdf -vendor/golang.org/x/crypto/chacha20poly1305 -vendor/golang.org/x/text/transform -log -vendor/golang.org/x/text/unicode/norm -vendor/golang.org/x/text/unicode/bidi -vendor/golang.org/x/text/secure/bidirule vendor/golang.org/x/net/http2/hpack mime vendor/golang.org/x/net/idna mime/quotedprintable net/http/internal -net/http/internal/ascii -os/exec +crypto/ecdsa +crypto/rsa os/user -crypto/x509 -net/textproto vendor/golang.org/x/net/http/httpproxy +net/textproto +crypto/x509 vendor/golang.org/x/net/http/httpguts mime/multipart crypto/tls @@ -551,7 +587,7 @@ make[1]: Entering directory '/build/reproducible-path/golang-github-shenwei356-xopen-0.0~git20181203.f4f16dd' # Some tests are requiring online access. The test result is simply ignored dh_auto_test || true - cd _build && go test -vet=off -v -p 3 github.com/shenwei356/xopen + cd _build && go test -vet=off -v -p 4 github.com/shenwei356/xopen === RUN Test ---------------------------------------------------------------------- @@ -559,7 +595,7 @@ xopen_test.go:94: c.Assert(err, IsNil) -... value *url.Error = &url.Error{Op:"Get", URL:"https://raw.githubusercontent.com/brentp/xopen/master/README.md", Err:(*net.OpError)(0xc006f0)} ("Get \"https://raw.githubusercontent.com/brentp/xopen/master/README.md\": dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp [::1]:59403->[::1]:53: read: connection refused") +... value *url.Error = &url.Error{Op:"Get", URL:"https://raw.githubusercontent.com/brentp/xopen/master/README.md", Err:(*net.OpError)(0xc007b0)} ("Get \"https://raw.githubusercontent.com/brentp/xopen/master/README.md\": dial tcp: lookup raw.githubusercontent.com on [::1]:53: read udp [::1]:51497->[::1]:53: read: connection refused") ---------------------------------------------------------------------- @@ -585,14 +621,14 @@ xopen_test.go:138: c.Assert(w, IsNil) -... value *xopen.Writer = &xopen.Writer{Writer:(*bufio.Writer)(0xf2d1e0), wtr:(*os.File)(0xc93a30), gz:(*pgzip.Writer)(nil)} +... value *xopen.Writer = &xopen.Writer{Writer:(*bufio.Writer)(0xeb11e0), wtr:(*os.File)(0xe9eef8), gz:(*pgzip.Writer)(nil)} OOPS: 8 passed, 4 FAILED --- FAIL: Test (0.03s) FAIL -FAIL github.com/shenwei356/xopen 0.046s +FAIL github.com/shenwei356/xopen 0.048s FAIL -dh_auto_test: error: cd _build && go test -vet=off -v -p 3 github.com/shenwei356/xopen returned exit code 1 +dh_auto_test: error: cd _build && go test -vet=off -v -p 4 github.com/shenwei356/xopen returned exit code 1 make[1]: Leaving directory '/build/reproducible-path/golang-github-shenwei356-xopen-0.0~git20181203.f4f16dd' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang @@ -620,12 +656,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/29059/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29059/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/28090 and its subdirectories -I: Current time: Wed May 1 22:51:13 -12 2024 -I: pbuilder-time-stamp: 1714647073 +I: removing directory /srv/workspace/pbuilder/29059 and its subdirectories +I: Current time: Fri May 3 00:58:12 +14 2024 +I: pbuilder-time-stamp: 1714647492