Diff of the two buildlogs: -- --- b1/build.log 2023-04-22 09:44:57.680201839 +0000 +++ b2/build.log 2023-04-22 09:46:06.629148211 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 24 04:05:54 -12 2024 -I: pbuilder-time-stamp: 1716566754 +I: Current time: Sat Apr 22 23:45:00 +14 2023 +I: pbuilder-time-stamp: 1682156700 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./golang-github-integrii-flaggy_1.4.0.orig.tar.gz] I: copying [./golang-github-integrii-flaggy_1.4.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon Dec 16 17:35:24 2019 -12 +gpgv: Signature made Tue Dec 17 19:35:24 2019 +14 gpgv: using RSA key 3F00E8A7504DD3A2A5B1B7E28EA3388440FC7F5C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./golang-github-integrii-flaggy_1.4.0-1.dsc: no acceptable signature found @@ -25,52 +25,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/21077/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10481/tmp/hooks/D01_modify_environment starting +debug: Running on codethink14-arm64. +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 22 23:45 /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/10481/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10481/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='21077' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=10481 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.fEXPBNxy/pbuilderrc_mu1k --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fEXPBNxy/b1 --logfile b1/build.log golang-github-integrii-flaggy_1.4.0-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.fEXPBNxy/pbuilderrc_yVVe --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.fEXPBNxy/b2 --logfile b2/build.log --extrapackages usrmerge golang-github-integrii-flaggy_1.4.0-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-209-generic #220-Ubuntu SMP Tue Mar 21 19:52:44 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 22 04:50 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/21077/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 20 00:25 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/10481/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 bookworm/main arm64 golang-src all 2:1.19~1 [5756 B] Get: 35 http://deb.debian.org/debian bookworm/main arm64 golang-go arm64 2:1.19~1 [45.0 kB] Get: 36 http://deb.debian.org/debian bookworm/main arm64 golang-any arm64 2:1.19~1 [5876 B] -Fetched 93.3 MB in 4s (23.1 MB/s) +Fetched 93.3 MB in 2s (54.7 MB/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 ... 19616 files and directories currently installed.) @@ -304,8 +336,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/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/10481/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/10481/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/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 @@ -324,56 +365,56 @@ 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 8 github.com/integrii/flaggy -internal/goarch -internal/goexperiment internal/unsafeheader internal/goos +internal/goexperiment +internal/goarch internal/itoa math/bits -unicode/utf8 +internal/cpu runtime/internal/syscall +unicode/utf8 internal/race -internal/cpu sync/atomic internal/abi runtime/internal/math runtime/internal/sys unicode internal/nettrace -internal/bytealg -runtime/internal/atomic math +runtime/internal/atomic +internal/bytealg runtime internal/reflectlite sync -internal/testlog internal/singleflight +internal/testlog runtime/cgo errors sort -internal/safefilepath -io +internal/oserror path +io +internal/safefilepath vendor/golang.org/x/net/dns/dnsmessage strconv -internal/oserror syscall strings bytes reflect +internal/syscall/execenv internal/syscall/unix time -internal/syscall/execenv internal/poll io/fs context os +internal/fmtsort internal/godebug path/filepath +fmt internal/intern -internal/fmtsort net/netip -fmt net log net/url @@ -383,34 +424,34 @@ dh_auto_test -O--builddirectory=_build -O--buildsystem=golang cd _build && go test -vet=off -v -p 8 github.com/integrii/flaggy === RUN TestGlobs -/tmp/go-build1489196426/b001/flaggy.test --test.testlogfile=/tmp/go-build1489196426/b001/testlog.txt +/tmp/go-build1078532297/b001/flaggy.test +-test.testlogfile=/tmp/go-build1078532297/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s -test.v=true --- PASS: TestGlobs (0.00s) === RUN TestParseArgWithValue + 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 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 -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 --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 positionalArg correctly determined to be type positional - flag_test.go:71: Flag sub--+/\324command correctly determined to be type positional - 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 subcommand correctly determined to be type positional - flag_test.go:71: Flag --flag=CONTENT correctly determined to be type flagWithValue + 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 + 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 -anotherfl-ag=CONTENT correctly determined to be type flagWithValue + flag_test.go:71: Flag 1--anotherfl-ag=CONTENT correctly determined to be type positional --- PASS: TestDetermineArgType (0.00s) === RUN TestInputParsing returning current value of assignment var of flag string @@ -2408,7 +2449,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.02s) +--- PASS: TestInputParsing (0.01s) === RUN TestMakeSpacer --- PASS: TestMakeSpacer (0.00s) === RUN TestGetLongestNameLength @@ -2416,7 +2457,7 @@ === RUN TestDoubleParse --- PASS: TestDoubleParse (0.00s) === RUN TestDisableShowVersionFlag ---- PASS: TestDisableShowVersionFlag (0.01s) +--- PASS: TestDisableShowVersionFlag (0.00s) === RUN TestTrailingArguments --- PASS: TestTrailingArguments (0.00s) === RUN TestComplexNesting @@ -2745,7 +2786,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.01s) +--- PASS: TestHelpOutput (0.00s) === RUN TestSetDescription --- PASS: TestSetDescription (0.00s) === RUN TestSetVersion @@ -2764,8 +2805,8 @@ test show help and exit --- PASS: TestShowHelpAndExit (0.00s) === RUN TestSCNameExists -2024/05/24 04:07:44 Unable to add subcommand because one already exists at position1 with name test ---- PASS: TestSCNameExists (0.01s) +2023/04/22 23:45:58 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 @@ -2833,7 +2874,7 @@ Unknown arguments supplied: unexpectedValue=true --- PASS: TestExitOnUnknownFlagWithValue (0.00s) === RUN TestDoublePositional -2024/05/24 04:07:44 Unable to add positional value because one already exists at position: 1 +2023/04/22 23:45:58 Unable to add positional value because one already exists at position: 1 --- PASS: TestDoublePositional (0.00s) === RUN TestNextArgDoesNotExist default @@ -2880,7 +2921,7 @@ --version Displays the program version string. -h --help Displays help with available flag, subcommand, and positional value parameters. ---- PASS: TestHelpWithHFlagB (0.01s) +--- PASS: TestHelpWithHFlagB (0.00s) === RUN TestVersionWithVFlagB Version: TestVersionWithVFlagB 0.0.0a --- PASS: TestVersionWithVFlagB (0.00s) @@ -5321,7 +5362,7 @@ === RUN ExampleSubcommand_AddPositionalValue --- PASS: ExampleSubcommand_AddPositionalValue (0.00s) === RUN ExamplePositionalValue ---- PASS: ExamplePositionalValue (0.01s) +--- PASS: ExamplePositionalValue (0.00s) === RUN ExampleBool --- PASS: ExampleBool (0.00s) === RUN ExampleInt @@ -5331,7 +5372,7 @@ === RUN ExampleSubcommand --- PASS: ExampleSubcommand (0.00s) PASS -ok github.com/integrii/flaggy 0.155s +ok github.com/integrii/flaggy 0.061s create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=_build -O--buildsystem=golang dh_prep -O--builddirectory=_build -O--buildsystem=golang @@ -5359,12 +5400,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/10481/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10481/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/21077 and its subdirectories -I: Current time: Fri May 24 04:07:56 -12 2024 -I: pbuilder-time-stamp: 1716566876 +I: removing directory /srv/workspace/pbuilder/10481 and its subdirectories +I: Current time: Sat Apr 22 23:46:05 +14 2023 +I: pbuilder-time-stamp: 1682156765