Diff of the two buildlogs: -- --- b1/build.log 2025-02-03 16:08:21.929640973 +0000 +++ b2/build.log 2025-02-03 16:09:06.691622096 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Feb 3 04:07:11 -12 2025 -I: pbuilder-time-stamp: 1738598831 +I: Current time: Mon Mar 9 12:31:23 +14 2026 +I: pbuilder-time-stamp: 1773009083 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -23,54 +23,86 @@ dpkg-source: info: unpacking golang-github-integrii-flaggy_1.4.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/10347/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/103989/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-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 Mar 8 22:31 /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/103989/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/103989/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=11 ' - 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]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(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=21 ' + 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='963fa2fa634849599ac2ce5efc155a34' - 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='10347' - PS1='# ' - PS2='> ' + INVOCATION_ID=932c336357cc428b9c8db296666c178e + 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=103989 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.j7MqpFgQ/pbuilderrc_Of4D --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.j7MqpFgQ/b1 --logfile b1/build.log golang-github-integrii-flaggy_1.4.0-1.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://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.j7MqpFgQ/pbuilderrc_pTOL --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.j7MqpFgQ/b2 --logfile b2/build.log golang-github-integrii-flaggy_1.4.0-1.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://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/10347/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/103989/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -146,7 +178,7 @@ Get: 34 http://deb.debian.org/debian unstable/main i386 golang-src all 2:1.23~2 [5088 B] Get: 35 http://deb.debian.org/debian unstable/main i386 golang-go i386 2:1.23~2 [44.3 kB] Get: 36 http://deb.debian.org/debian unstable/main i386 golang-any i386 2:1.23~2 [5168 B] -Fetched 65.1 MB in 1s (84.5 MB/s) +Fetched 65.1 MB in 0s (140 MB/s) Preconfiguring packages ... 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 ... 19826 files and directories currently installed.) @@ -305,7 +337,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/golang-github-integrii-flaggy-1.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 > ../golang-github-integrii-flaggy_1.4.0-1_source.changes +I: user script /srv/workspace/pbuilder/103989/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/103989/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/golang-github-integrii-flaggy-1.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 > ../golang-github-integrii-flaggy_1.4.0-1_source.changes dpkg-buildpackage: info: source package golang-github-integrii-flaggy dpkg-buildpackage: info: source version 1.4.0-1 dpkg-buildpackage: info: source distribution unstable @@ -323,74 +359,74 @@ 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 11 github.com/integrii/flaggy -internal/goarch -internal/profilerecord -internal/godebugs + cd _build && go install -trimpath -v -p 21 github.com/integrii/flaggy +internal/itoa internal/unsafeheader +internal/asan +cmp +internal/race internal/goos -internal/byteorder -internal/goexperiment internal/coverage/rtcov -internal/runtime/atomic internal/cpu -cmp -internal/abi -runtime/internal/math +log/internal +internal/godebugs +internal/goarch +internal/profilerecord +internal/msan internal/runtime/syscall -internal/itoa -internal/race -runtime/internal/sys +unicode math/bits -unicode/utf8 -internal/chacha8rand +internal/byteorder +internal/runtime/atomic sync/atomic -unicode -internal/asan -internal/msan -log/internal +unicode/utf8 +internal/goexperiment internal/nettrace +runtime/internal/math +internal/abi +runtime/internal/sys +internal/chacha8rand math internal/runtime/exithook internal/bytealg internal/stringslite runtime -internal/weak iter internal/reflectlite +internal/weak sync slices +internal/singleflight internal/testlog internal/bisect -internal/singleflight runtime/cgo +internal/godebug errors sort internal/oserror -internal/godebug io path +math/rand/v2 vendor/golang.org/x/net/dns/dnsmessage strconv -math/rand/v2 -strings syscall bytes +strings internal/concurrent unique -reflect net/netip +reflect internal/syscall/execenv -time internal/syscall/unix +time context io/fs internal/poll internal/fmtsort internal/filepathlite os -fmt path/filepath +fmt net log net/url @@ -398,36 +434,36 @@ text/template github.com/integrii/flaggy dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 11 github.com/integrii/flaggy + cd _build && go test -vet=off -v -p 21 github.com/integrii/flaggy === RUN TestGlobs -/tmp/go-build4126087951/b001/flaggy.test --test.testlogfile=/tmp/go-build4126087951/b001/testlog.txt +/tmp/go-build321809731/b001/flaggy.test +-test.testlogfile=/tmp/go-build321809731/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true --- PASS: TestGlobs (0.00s) === RUN TestParseArgWithValue - flag_test.go:46: Flag ----flag=--test parsed key as --flag and value as --test correctly - flag_test.go:46: Flag -b parsed key as b and value as correctly - flag_test.go:46: Flag --bool parsed key as bool and value as correctly flag_test.go:46: Flag -f=test parsed key as f and value as test correctly flag_test.go:46: Flag --f=test parsed key as f and value as test correctly flag_test.go:46: Flag --flag=test parsed key as flag and value as test correctly flag_test.go:46: Flag -flag=test parsed key as flag and value as test correctly + flag_test.go:46: Flag ----flag=--test parsed key as --flag and value as --test correctly + flag_test.go:46: Flag -b parsed key as b and value as correctly + flag_test.go:46: Flag --bool parsed key as bool and value as correctly --- PASS: TestParseArgWithValue (0.00s) === RUN TestDetermineArgType + flag_test.go:71: Flag -flag correctly determined to be type flagWithSpace flag_test.go:71: Flag positionalArg correctly determined to be type positional + flag_test.go:71: Flag subcommand correctly determined to be type positional + flag_test.go:71: Flag -anotherfl-ag=CONTENT correctly determined to be type flagWithValue + flag_test.go:71: Flag --f correctly determined to be type flagWithSpace + flag_test.go:71: Flag --flag correctly determined to be type flagWithSpace flag_test.go:71: Flag sub--+/\324command correctly determined to be type positional flag_test.go:71: Flag --flag=CONTENT correctly determined to be type flagWithValue flag_test.go:71: Flag -flag=CONTENT correctly determined to be type flagWithValue - flag_test.go:71: Flag 1--anotherfl-ag=CONTENT correctly determined to be type positional flag_test.go:71: Flag --anotherfl-ag=CONTENT correctly determined to be type flagWithValue + flag_test.go:71: Flag 1--anotherfl-ag=CONTENT correctly determined to be type positional flag_test.go:71: Flag -f correctly determined to be type flagWithSpace - flag_test.go:71: Flag --f correctly determined to be type flagWithSpace - flag_test.go:71: Flag -flag correctly determined to be type flagWithSpace - flag_test.go:71: Flag --flag correctly determined to be type flagWithSpace - flag_test.go:71: Flag subcommand correctly determined to be type positional - flag_test.go:71: Flag -anotherfl-ag=CONTENT correctly determined to be type flagWithValue --- PASS: TestDetermineArgType (0.00s) === RUN TestInputParsing returning current value of assignment var of flag string @@ -2781,8 +2817,8 @@ test show help and exit --- PASS: TestShowHelpAndExit (0.00s) === RUN TestSCNameExists -2025/02/03 16:08:13 Unable to add subcommand because one already exists at position1 with name test ---- PASS: TestSCNameExists (0.01s) +2026/03/08 22:32:01 Unable to add subcommand because one already exists at position1 with name test +--- PASS: TestSCNameExists (0.00s) === RUN TestFlagExists --- PASS: TestFlagExists (0.00s) === RUN TestExitOnUnknownFlag @@ -2850,7 +2886,7 @@ Unknown arguments supplied: unexpectedValue=true --- PASS: TestExitOnUnknownFlagWithValue (0.00s) === RUN TestDoublePositional -2025/02/03 16:08:13 Unable to add positional value because one already exists at position: 1 +2026/03/08 22:32:01 Unable to add positional value because one already exists at position: 1 --- PASS: TestDoublePositional (0.00s) === RUN TestNextArgDoesNotExist default @@ -5348,7 +5384,7 @@ === RUN ExampleSubcommand --- PASS: ExampleSubcommand (0.00s) PASS -ok github.com/integrii/flaggy 0.056s +ok github.com/integrii/flaggy 0.029s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -5376,12 +5412,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/103989/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/103989/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/10347 and its subdirectories -I: Current time: Mon Feb 3 04:08:20 -12 2025 -I: pbuilder-time-stamp: 1738598900 +I: removing directory /srv/workspace/pbuilder/103989 and its subdirectories +I: Current time: Mon Mar 9 12:32:05 +14 2026 +I: pbuilder-time-stamp: 1773009125