Diff of the two buildlogs: -- --- b1/build.log 2025-01-16 09:21:10.112969257 +0000 +++ b2/build.log 2025-01-16 09:23:21.883030801 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 15 21:16:20 -12 2025 -I: pbuilder-time-stamp: 1737018980 +I: Current time: Thu Feb 19 05:44:13 +14 2026 +I: pbuilder-time-stamp: 1771429453 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -22,52 +22,84 @@ 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/138854/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2122952/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 Feb 18 15:44 /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/2122952/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2122952/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='trixie' - 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]="37" [3]="1" [4]="release" [5]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d4904ce7fd52439ca1963aa1714503d0' - 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='138854' - PS1='# ' - PS2='> ' + INVOCATION_ID=c86127e3ea504b24bb0c48346c64aff1 + 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=2122952 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.B1RGJlNj/pbuilderrc_9ndC --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.B1RGJlNj/b1 --logfile b1/build.log golang-github-integrii-flaggy_1.4.0-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.B1RGJlNj/pbuilderrc_P56I --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.B1RGJlNj/b2 --logfile b2/build.log golang-github-integrii-flaggy_1.4.0-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-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.11.10+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.11.10-1~bpo12+1 (2024-12-19) 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/138854/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2122952/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -143,7 +175,7 @@ Get: 34 http://deb.debian.org/debian trixie/main amd64 golang-src all 2:1.23~2 [5088 B] Get: 35 http://deb.debian.org/debian trixie/main amd64 golang-go amd64 2:1.23~2 [44.3 kB] Get: 36 http://deb.debian.org/debian trixie/main amd64 golang-any amd64 2:1.23~2 [5172 B] -Fetched 66.5 MB in 2s (32.4 MB/s) +Fetched 66.5 MB in 3s (23.7 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 ... 19853 files and directories currently installed.) @@ -302,7 +334,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/2122952/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2122952/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 @@ -320,111 +356,111 @@ 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 20 github.com/integrii/flaggy + cd _build && go install -trimpath -v -p 42 github.com/integrii/flaggy internal/goarch +internal/race unicode -sync/atomic -internal/cpu +internal/unsafeheader +internal/nettrace +internal/itoa +log/internal +internal/goos unicode/utf8 -internal/coverage/rtcov -internal/asan +internal/profilerecord internal/runtime/atomic +internal/runtime/syscall +sync/atomic +internal/coverage/rtcov +internal/cpu +internal/msan internal/byteorder -internal/unsafeheader -internal/goos +internal/goexperiment cmp +math/bits +internal/asan internal/abi -internal/goexperiment -internal/profilerecord -internal/godebugs -internal/itoa runtime/internal/math -log/internal -internal/nettrace -internal/runtime/syscall -math/bits -internal/race +internal/godebugs runtime/internal/sys internal/chacha8rand -internal/msan -internal/runtime/exithook internal/bytealg math +internal/runtime/exithook internal/stringslite runtime -iter -internal/reflectlite internal/weak +iter sync +internal/reflectlite slices -internal/bisect -internal/testlog internal/singleflight +internal/testlog +internal/bisect runtime/cgo -errors internal/godebug +errors sort -math/rand/v2 +strconv +internal/oserror io path -internal/oserror vendor/golang.org/x/net/dns/dnsmessage -strconv +math/rand/v2 syscall +reflect internal/concurrent -unique bytes strings +unique net/netip -reflect -time internal/syscall/execenv internal/syscall/unix +time +internal/fmtsort io/fs context internal/poll -internal/fmtsort internal/filepathlite os fmt path/filepath net log -net/url text/template/parse +net/url text/template github.com/integrii/flaggy dh_auto_test -O--builddirectory=_build -O--buildsystem=golang - cd _build && go test -vet=off -v -p 20 github.com/integrii/flaggy + cd _build && go test -vet=off -v -p 42 github.com/integrii/flaggy === RUN TestGlobs -/tmp/go-build3538896251/b001/flaggy.test --test.testlogfile=/tmp/go-build3538896251/b001/testlog.txt +/tmp/go-build3916981579/b001/flaggy.test +-test.testlogfile=/tmp/go-build3916981579/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 -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 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 --- PASS: TestParseArgWithValue (0.00s) === RUN TestDetermineArgType - flag_test.go:71: Flag -f correctly determined to be type flagWithSpace + 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 --f correctly determined to be type flagWithSpace + 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 --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 sub--+/\324command 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 --anotherfl-ag=CONTENT correctly determined to be type flagWithValue - flag_test.go:71: Flag -flag correctly determined to be type flagWithSpace + 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 --flag correctly determined to be type flagWithSpace flag_test.go:71: Flag subcommand correctly determined to be type positional - 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 -anotherfl-ag=CONTENT correctly determined to be type flagWithValue --- PASS: TestDetermineArgType (0.00s) === RUN TestInputParsing returning current value of assignment var of flag string @@ -2422,7 +2458,7 @@ m==ms || (false && 255.255.255.255 == ms) ms==ms || (false && 255.255.255.255 == ms) Found matching parsed arg for ms ---- PASS: TestInputParsing (0.03s) +--- PASS: TestInputParsing (0.01s) === RUN TestMakeSpacer --- PASS: TestMakeSpacer (0.00s) === RUN TestGetLongestNameLength @@ -2759,7 +2795,7 @@ -d --durationFlag This is a test duration flag that does some untimely stuff. (default: 0s) This is a help message on exit ---- PASS: TestHelpOutput (0.02s) +--- PASS: TestHelpOutput (0.00s) === RUN TestSetDescription --- PASS: TestSetDescription (0.00s) === RUN TestSetVersion @@ -2778,7 +2814,7 @@ test show help and exit --- PASS: TestShowHelpAndExit (0.00s) === RUN TestSCNameExists -2025/01/16 09:20:47 Unable to add subcommand because one already exists at position1 with name test +2026/02/18 15:46:15 Unable to add subcommand because one already exists at position1 with name test --- PASS: TestSCNameExists (0.00s) === RUN TestFlagExists --- PASS: TestFlagExists (0.00s) @@ -2847,7 +2883,7 @@ Unknown arguments supplied: unexpectedValue=true --- PASS: TestExitOnUnknownFlagWithValue (0.00s) === RUN TestDoublePositional -2025/01/16 09:20:47 Unable to add positional value because one already exists at position: 1 +2026/02/18 15:46:15 Unable to add positional value because one already exists at position: 1 --- PASS: TestDoublePositional (0.00s) === RUN TestNextArgDoesNotExist default @@ -2858,7 +2894,7 @@ -t --test Description goes here Expected a following arg for flag t, but it did not exist. ---- PASS: TestNextArgDoesNotExist (0.01s) +--- PASS: TestNextArgDoesNotExist (0.00s) === RUN TestSubcommandHidden Error creating subcommand (NewSubcommand()). No subcommand name was specified. --- PASS: TestSubcommandHidden (0.00s) @@ -2901,7 +2937,7 @@ === RUN TestSubcommandParse --- PASS: TestSubcommandParse (0.00s) === RUN TestBadSubcommand ---- PASS: TestBadSubcommand (0.02s) +--- PASS: TestBadSubcommand (0.00s) === RUN TestBadPositional --- PASS: TestBadPositional (0.00s) === RUN TestNakedBool @@ -5331,7 +5367,7 @@ m==ms || (false && 255.255.255.255 == ms) ms==ms || (false && 255.255.255.255 == ms) Found matching parsed arg for ms ---- PASS: TestSCInputParsing (0.02s) +--- PASS: TestSCInputParsing (0.01s) === RUN ExampleSubcommand_AddPositionalValue --- PASS: ExampleSubcommand_AddPositionalValue (0.00s) === RUN ExamplePositionalValue @@ -5345,7 +5381,7 @@ === RUN ExampleSubcommand --- PASS: ExampleSubcommand (0.00s) PASS -ok github.com/integrii/flaggy 0.227s +ok github.com/integrii/flaggy 0.032s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -5373,12 +5409,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/2122952/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2122952/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/138854 and its subdirectories -I: Current time: Wed Jan 15 21:21:09 -12 2025 -I: pbuilder-time-stamp: 1737019269 +I: removing directory /srv/workspace/pbuilder/2122952 and its subdirectories +I: Current time: Thu Feb 19 05:46:21 +14 2026 +I: pbuilder-time-stamp: 1771429581