Diff of the two buildlogs: -- --- b1/build.log 2024-05-18 19:16:09.997981527 +0000 +++ b2/build.log 2024-05-18 19:17:46.845858629 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 18 07:14:43 -12 2024 -I: pbuilder-time-stamp: 1716059683 +I: Current time: Sat Jun 21 15:39:12 +14 2025 +I: pbuilder-time-stamp: 1750469952 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 ruby-tty-command_0.10.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/159401/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4163443/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-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 Jun 21 01:39 /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/4163443/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4163443/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='196c27490a6a44138096124d6e696ff6' - 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='159401' - PS1='# ' - PS2='> ' + INVOCATION_ID=159316119a854a21bfb9575d6484297a + 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=4163443 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.gHmsu68L/pbuilderrc_Tgw9 --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.gHmsu68L/b1 --logfile b1/build.log ruby-tty-command_0.10.1-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.gHmsu68L/pbuilderrc_Pv7e --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.gHmsu68L/b2 --logfile b2/build.log ruby-tty-command_0.10.1-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 infom01-amd64 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 18 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/159401/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 20 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4163443/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -251,7 +283,7 @@ Get: 135 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 136 http://deb.debian.org/debian unstable/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 137 http://deb.debian.org/debian unstable/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 42.8 MB in 1s (70.4 MB/s) +Fetched 42.8 MB in 2s (19.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19718 files and directories currently installed.) @@ -707,8 +739,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat May 18 19:15:38 UTC 2024. -Universal Time is now: Sat May 18 19:15:38 UTC 2024. +Local time is now: Sat Jun 21 01:40:18 UTC 2025. +Universal Time is now: Sat Jun 21 01:40:18 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-tty-color (0.6.0-1) ... @@ -833,7 +865,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-tty-command-0.10.1/ && 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 > ../ruby-tty-command_0.10.1-1_source.changes +I: user script /srv/workspace/pbuilder/4163443/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4163443/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-tty-command-0.10.1/ && 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 > ../ruby-tty-command_0.10.1-1_source.changes dpkg-buildpackage: info: source package ruby-tty-command dpkg-buildpackage: info: source version 0.10.1-1 dpkg-buildpackage: info: source distribution unstable @@ -862,7 +898,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-command/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240518-166322-k34fz7/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250621-4171032-o05icc/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -874,7 +910,7 @@ Name: tty-command Version: 0.10.1 File: tty-command-0.10.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-command/usr/share/rubygems-integration/all /tmp/d20240518-166322-k34fz7/tty-command-0.10.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-command/usr/share/rubygems-integration/all /tmp/d20250621-4171032-o05icc/tty-command-0.10.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all/gems/tty-command-0.10.1/lib/tty-command.rb /build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all/gems/tty-command-0.10.1/lib/tty/command.rb @@ -922,93 +958,63 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-command-0.10.1/debian/ruby-tty-command/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-tty-command-0.10.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 48482 - -TTY::Command :pty - logs phased output in pseudo terminal mode - executes command in pseudo terminal mode as global option - executes command in pseudo terminal mode as command option - -TTY::Command :printer - uses printer based on class name - fails to find printer based on name - detects printer based on name - uses custom printer - fails to find printer for nil - uses printer based on instance - detects null printer +Randomized with seed 46824 TTY::Command#run - runs command successfully with logging - runs command and prints to stdout + raises ExitError on command failure + runs command successfully with logging without uuid set globally streams output data + runs command and prints to stdout + runs command and fails with logging + runs command successfully with logging does not persist environment variables logs phased output in one line - runs command and fails with logging - runs command successfully with logging without uuid set locally - raises ExitError on command failure runs command successfully with logging without color - runs command successfully with logging without uuid set globally preserves ANSI codes + runs command successfully with logging without uuid set locally TTY::Command::Truncator + writes more bytes letter omits bytes - overflows prefix and suffix + reflows suffix with more content writes both prefix and suffix - writes more bytes letter + overflows prefix and suffix reflows suffix with less content - reflows suffix with more content writes nil content writes content within maximum size -TTY::Command::Cmd::new - escapes directory path with fanky characters - handles environment with fanky characters - requires non empty command argument - updates command options with global only when not already present - runs command as a group - runs command with umask - runs command with umask, chdir - accepts a command as heredoc - accepts environment as first argument - runs command with umask, chdir & user - escapes special characters in split arguments - converts command to hash - runs command as a user - escapes arguments that need escaping - accepts command as [cmdname, arg1, ...] - accepts command with environemnt string keys - runs command as a user in a group - accepts command with environment as [cmdname, arg1, ..., opts] - accepts command with multiple environment keys - runs command in specified directory - provides unique identifier - runs command with umask, user, chdir and env - escapes environment values - runs command in specified directory with environment - accepts command as [[cmdname, argv0], arg1, ...] - requires at least command argument - accepts a command +TTY::Command::Result + doesn't exit + exits successfully + provides runtime + accesses exit code + isn't equivalent with another object + iterates over output with argument delimiter + is the same with equivalent object + reads stdout + exist with non-zero code + iterates over output with global delimiter + iterates over output with default delimiter -TTY::Command::Printers::Pretty - prints command exit without exit status in color - prints command stderr data - prints successful command exit in color - prints command start without uuid - prints command stdout data - prints command start without color - prints failure command exit in color - doesn't print output on success when only_output_on_error is true - prints command start in color - prints output on error when only_output_on_error is true - prints output on error & raises ExitError when only_output_on_error is true +TTY::Command :printer + uses custom printer + uses printer based on instance + uses printer based on class name + detects null printer + detects printer based on name + fails to find printer for nil + fails to find printer based on name -TTY::Command::Printers::Quiet - prints output on error when only_output_on_error is true - prints command stdout data - doesn't print output on success when only_output_on_error is true - doesn't print command start or exit - prints command stderr data +TTY::Command redirect + accepts standard shell redirects + redirects STDOUT -> /dev/null + redirects :out -> :err + redirects to a file as an array value + redirects STDOUT -> :err + redirects to a file + redirects :stdout -> :stderr + redirects 1 -> 2 + redirects multiple fds to a file TTY::Command#ruby runs ruby with a single string argument @@ -1017,89 +1023,119 @@ TTY::Command input reads user input data -TTY::Command redirect - redirects STDOUT -> /dev/null - redirects multiple fds to a file - redirects 1 -> 2 - redirects to a file - redirects to a file as an array value - redirects :stdout -> :stderr - accepts standard shell redirects - redirects :out -> :err - redirects STDOUT -> :err +TTY::Command::Printers::Quiet + doesn't print command start or exit + prints command stdout data + prints output on error when only_output_on_error is true + prints command stderr data + doesn't print output on success when only_output_on_error is true -TTY::Command::Printers::Progress - doesn't print command start - doesn't print command stdout data - prints failure command exit in color - prints successful command exit in color +TTY::Command :pty + executes command in pseudo terminal mode as command option + executes command in pseudo terminal mode as global option + logs phased output in pseudo terminal mode -TTY::Command :output - runs command and prints to a file +TTY::Command::ExitError info + explains no stdin & stdout + displays stdin & stdout + +TTY::Command dry run + queries for dry mode + allows to run command in dry mode + doesn't collect printout to stdin or stderr + runs command in dry run mode TTY::Command::Printers::Null doesn't print command start or exit - doesn't print command stderr data doesn't print command stdout data + doesn't print command stderr data + +TTY::Command::Cmd::new + provides unique identifier + updates command options with global only when not already present + accepts command with environment as [cmdname, arg1, ..., opts] + accepts environment as first argument + runs command as a group + escapes special characters in split arguments + escapes environment values + accepts command as [[cmdname, argv0], arg1, ...] + accepts a command as heredoc + escapes directory path with fanky characters + accepts command with environemnt string keys + runs command as a user + runs command with umask, chdir & user + runs command in specified directory with environment + accepts command as [cmdname, arg1, ...] + accepts a command + requires at least command argument + converts command to hash + escapes arguments that need escaping + accepts command with multiple environment keys + runs command with umask, chdir + runs command in specified directory + handles environment with fanky characters + runs command with umask + requires non empty command argument + runs command as a user in a group + runs command with umask, user, chdir and env TTY::Command#run - times out an infinite process with constant input data - times out an infite process with constant output - times out infinite process without input or output + encodes output as binary + encodes output as unicode by default + encodes all commands output as binary -TTY::Command::ExitError info - explains no stdin & stdout - displays stdin & stdout +TTY::Command :output + runs command and prints to a file Custom Printer - prints command start + accepts options prints command stdout data prints command exit - accepts options - -TTY::Command dry run - doesn't collect printout to stdin or stderr - allows to run command in dry mode - queries for dry mode - runs command in dry run mode + prints command start -TTY::Command#test - implements classic bash command +TTY::Command::Printers::Progress + prints successful command exit in color + doesn't print command start + doesn't print command stdout data + prints failure command exit in color -TTY::Command::Result - isn't equivalent with another object - accesses exit code - exits successfully - provides runtime - exist with non-zero code - reads stdout - doesn't exit - iterates over output with global delimiter - iterates over output with argument delimiter - iterates over output with default delimiter - is the same with equivalent object +TTY::Command::Printers::Pretty + prints output on error & raises ExitError when only_output_on_error is true + prints command start in color + doesn't print output on success when only_output_on_error is true + prints successful command exit in color + prints command exit without exit status in color + prints command start without uuid + prints failure command exit in color + prints command stdout data + prints command start without color + prints command stderr data + prints output on error when only_output_on_error is true TTY::Command#run - encodes all commands output as binary - encodes output as unicode by default - encodes output as binary + times out an infinite process with constant input data + times out infinite process without input or output + times out an infite process with constant output + +TTY::Command#test + implements classic bash command -Top 2 slowest examples (0.33063 seconds, 15.7% of total time): - TTY::Command::Printers::Quiet prints output on error when only_output_on_error is true - 0.16776 seconds ./spec/unit/printers/quiet_spec.rb:54 - TTY::Command::Printers::Pretty doesn't print output on success when only_output_on_error is true - 0.16286 seconds ./spec/unit/printers/pretty_spec.rb:97 +Top 2 slowest examples (0.37605 seconds, 16.2% of total time): + TTY::Command::Printers::Pretty prints output on error when only_output_on_error is true + 0.1932 seconds ./spec/unit/printers/pretty_spec.rb:144 + TTY::Command::Printers::Quiet doesn't print output on success when only_output_on_error is true + 0.18285 seconds ./spec/unit/printers/quiet_spec.rb:37 Top 2 slowest example groups: - TTY::Command input - 0.13672 seconds average (0.13672 seconds / 1 example) ./spec/unit/input_spec.rb:3 TTY::Command#run - 0.10331 seconds average (0.30994 seconds / 3 examples) ./spec/unit/timeout_spec.rb:3 + 0.10744 seconds average (0.32231 seconds / 3 examples) ./spec/unit/timeout_spec.rb:3 + TTY::Command :pty + 0.09415 seconds average (0.28245 seconds / 3 examples) ./spec/unit/pty_spec.rb:3 -Finished in 2.1 seconds (files took 0.17799 seconds to load) +Finished in 2.31 seconds (files took 0.20199 seconds to load) 120 examples, 0 failures -Randomized with seed 48482 +Randomized with seed 46824 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1132,12 +1168,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/4163443/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4163443/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/159401 and its subdirectories -I: Current time: Sat May 18 07:16:09 -12 2024 -I: pbuilder-time-stamp: 1716059769 +I: removing directory /srv/workspace/pbuilder/4163443 and its subdirectories +I: Current time: Sat Jun 21 15:40:45 +14 2025 +I: pbuilder-time-stamp: 1750470045