Diff of the two buildlogs: -- --- b1/build.log 2024-05-09 19:20:56.785159196 +0000 +++ b2/build.log 2024-05-09 19:22:29.433216362 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 11 13:41:35 -12 2025 -I: pbuilder-time-stamp: 1749692495 +I: Current time: Fri May 10 09:20:59 +14 2024 +I: pbuilder-time-stamp: 1715282459 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -28,51 +28,83 @@ dpkg-source: info: applying 0001-drop-bundler.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2512076/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1758392/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-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 May 9 19:21 /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/1758392/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1758392/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='f0760e90c0f940eca0550948e20b1489' - 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='2512076' - PS1='# ' - PS2='> ' + INVOCATION_ID=c3a5286d61be449fa841cac6e7bc8208 + 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=1758392 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.2lYGNDYh/pbuilderrc_gH0k --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.2lYGNDYh/b1 --logfile b1/build.log ruby-tty-reader_0.9.0-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.2lYGNDYh/pbuilderrc_sKCS --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.2lYGNDYh/b2 --logfile b2/build.log ruby-tty-reader_0.9.0-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 infom02-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 10 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2512076/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 May 8 07:42 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1758392/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -254,7 +286,7 @@ Get: 132 http://deb.debian.org/debian unstable/main amd64 ruby-tty-cursor all 0.7.1-2 [8076 B] Get: 133 http://deb.debian.org/debian unstable/main amd64 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 134 http://deb.debian.org/debian unstable/main amd64 ruby-wisper all 2.0.1-2 [12.7 kB] -Fetched 47.1 MB in 3s (13.8 MB/s) +Fetched 47.1 MB in 4s (12.7 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 ... 19699 files and directories currently installed.) @@ -702,8 +734,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Jun 12 01:43:31 UTC 2025. -Universal Time is now: Thu Jun 12 01:43:31 UTC 2025. +Local time is now: Thu May 9 19:22:07 UTC 2024. +Universal Time is now: Thu May 9 19:22:07 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -824,7 +856,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-tty-reader-0.9.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 > ../ruby-tty-reader_0.9.0-1_source.changes +I: user script /srv/workspace/pbuilder/1758392/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1758392/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-tty-reader-0.9.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 > ../ruby-tty-reader_0.9.0-1_source.changes dpkg-buildpackage: info: source package ruby-tty-reader dpkg-buildpackage: info: source version 0.9.0-1 dpkg-buildpackage: info: source distribution unstable @@ -853,7 +889,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-reader/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-tty-reader-0.9.0/debian/ruby-tty-reader -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250611-2532564-skzgo6/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240510-1766226-djitqz/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' @@ -865,7 +901,7 @@ Name: tty-reader Version: 0.9.0 File: tty-reader-0.9.0.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-reader/usr/share/rubygems-integration/all /tmp/d20250611-2532564-skzgo6/tty-reader-0.9.0.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-reader/usr/share/rubygems-integration/all /tmp/d20240510-1766226-djitqz/tty-reader-0.9.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-tty-reader-0.9.0/debian/ruby-tty-reader/usr/share/rubygems-integration/all/gems/tty-reader-0.9.0/lib/tty-reader.rb /build/reproducible-path/ruby-tty-reader-0.9.0/debian/ruby-tty-reader/usr/share/rubygems-integration/all/gems/tty-reader-0.9.0/lib/tty/reader.rb @@ -909,161 +945,161 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-reader-0.9.0/debian/ruby-tty-reader/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-tty-reader-0.9.0/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 59413 +Randomized with seed 28420 -TTY::Reader::Line - inserts characters inside a line - inserts characters with #insert call - inserts char inside the line - deletes char under current cursor position - inserts chars in empty string - inserts char outside of the line size - replaces current line with new preserving cursor - moves cursor left and right - removes char before current cursor position - inserts char at start of the line - inserts char at end of the line +TTY::Reader#with_history_disabled No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. - provides access to the prompt - -TTY::Reader#subscribe - subscribes to listen to events only in a block - subscribes to receive events - -TTY::Reader#read_multiline - reads no lines - reads lines with echo off - reads a line and terminates on Ctrl+d - reads multibyte lines - sets initial input line - reads a line and terminates on Ctrl+z - reads few lines - reads and yiels every line - reads lines with a prompt - skips empty lines - -TTY::Reader#publish_keypress_event - publishes :keyup for read_keypress - publishes :keyescape events - publishes :keyreturn event - subscribes to multiple events - subscribes to ctrl+X type of event event - publishes :keydown event for read_keypress - publishes :keynum event - publishes :keypress events - -TTY::Reader#with_history_disabled leaves the line alone on :up leaves the line alone on :down +TTY::Reader#read_keypress + reads multibyte key press + reads single key press + when Ctrl+C pressed + exits with 130 code when :exit option is chosen + defaults to raising InputInterrupt + evaluates custom handler when proc object is provided + skips handler when handler is nil + sends interrupt signal when :signal option is chosen + TTY::Reader#read_line - echoes characters back - deletes characters when backspace pressed supports multiline prompts - doesn't echo characters back - masks characters buffers non-empty input and restores it back when history has no more lines displays custom input with a prompt + displays a prompt before input + deletes characters when backspace pressed reads multibyte line restores empty line when history has no more lines - displays a prompt before input + echoes characters back + masks characters + doesn't echo characters back + +TTY::Reader#read_multiline + reads lines with echo off + skips empty lines + reads multibyte lines + reads no lines + reads and yiels every line + reads a line and terminates on Ctrl+d + reads few lines + reads lines with a prompt + sets initial input line + reads a line and terminates on Ctrl+z TTY::Reader::KeyEvent#from - parses \\[\[A as f1 key - parses \OP as f1 key - parses \\[\[C as f3 key - parses \\[7\~ as home key - parses \\[A as up key - exposes line value - parses \\[13\~ as f3 key parses \\[24\~ as f12 key - parses \OS as f4 key - parses \\[H as home key - parses \\[6\~ as page_down key + parses \\[3\~ as delete key + parses \\[B as down key parses \\[23\~ as f11 key - parses \\[11\~ as f1 key parses \\[E as clear key - parses \\[19\~ as f8 key - parses \\[14\~ as f4 key - parses \\[17\~ as f6 key - parses \\[B as down key - parses \\[D as left key - parses \\[15\~ as f5 key - parses \OQ as f2 key - parses \\[4\~ as end key - parses uknown key - parses ctrl-a to ctrl-z inputs - parses \\[\[D as f4 key - parses uppercase char + parses \OR as f3 key + parses \OP as f1 key parses backspace - parses \\[1\~ as home key + parses uppercase char + parses \\[6\~ as page_down key + parses lowercase char + parses number char + parses \\[\[E as f5 key + parses \\[4\~ as end key + parses \\[\[B as f2 key + parses \\[H as home key + parses \\[A as up key + parses \OF as end key parses \\[C as right key - parses \\[F as end key parses \\[21\~ as f10 key - parses \\[\[B as f2 key - parses \\[12\~ as f2 key - parses \OR as f3 key + parses ctrl-a to ctrl-z inputs parses \\[20\~ as f9 key - parses \\[2\~ as insert key - parses \\[3\~ as delete key + parses \\[1\~ as home key parses \\[18\~ as f7 key - parses \OF as end key - parses number char + parses \\[12\~ as f2 key + exposes line value + parses \\[F as end key parses \\[5\~ as page_up key - parses lowercase char - parses \\[\[E as f5 key - -TTY::Reader#read_keypress - reads multibyte key press - reads single key press - when Ctrl+C pressed - defaults to raising InputInterrupt - evaluates custom handler when proc object is provided - skips handler when handler is nil - sends interrupt signal when :signal option is chosen - exits with 130 code when :exit option is chosen + parses \\[19\~ as f8 key + parses \\[2\~ as insert key + parses \\[\[D as f4 key + parses \\[14\~ as f4 key + parses \\[15\~ as f5 key + parses \\[17\~ as f6 key + parses \\[\[A as f1 key + parses \\[D as left key + parses uknown key + parses \OS as f4 key + parses \\[13\~ as f3 key + parses \\[7\~ as home key + parses \\[\[C as f3 key + parses \\[11\~ as f1 key + parses \OQ as f2 key TTY::Reader::History - defaults maximum size navigates through history buffer without cycling + iterates over lines + allows to cycle through non-empty buffer prevents duplicates - adds items to history without overflowing + doesn't navigate through empty buffer + clears all lines + presents string representation + defaults maximum size + returns enumerator when iterating without a block checks if navigation is possible + retrieves current line has no lines - presents string representation allows duplicates - gets line based on index - allows to cycle through non-empty buffer excludes empty lines by default - iterates over lines - clears all lines - retrieves current line - navigates through history buffer with cycling excludes lines matching pattern - returns enumerator when iterating without a block - doesn't navigate through empty buffer + adds items to history without overflowing + gets line based on index + navigates through history buffer with cycling + +TTY::Reader#publish_keypress_event + publishes :keypress events + publishes :keyreturn event + publishes :keyup for read_keypress + subscribes to multiple events + publishes :keynum event + subscribes to ctrl+X type of event event + publishes :keydown event for read_keypress + publishes :keyescape events + +TTY::Reader::Line + inserts characters inside a line + removes char before current cursor position + inserts characters with #insert call + inserts char at start of the line + replaces current line with new preserving cursor + inserts char inside the line + provides access to the prompt + inserts char at end of the line + moves cursor left and right + deletes char under current cursor position + inserts char outside of the line size + inserts chars in empty string + +TTY::Reader#subscribe + subscribes to listen to events only in a block + subscribes to receive events -Top 2 slowest examples (0.01322 seconds, 13.6% of total time): - TTY::Reader#read_line supports multiline prompts - 0.00793 seconds ./spec/unit/read_line_spec.rb:97 - TTY::Reader#read_multiline reads few lines - 0.00529 seconds ./spec/unit/read_multiline_spec.rb:31 +Top 2 slowest examples (0.01146 seconds, 13.2% of total time): + TTY::Reader#read_keypress when Ctrl+C pressed sends interrupt signal when :signal option is chosen + 0.00683 seconds ./spec/unit/read_keypress_spec.rb:39 + TTY::Reader#with_history_disabled leaves the line alone on :up + 0.00463 seconds ./spec/unit/history_disabled_spec.rb:13 Top 2 slowest example groups: + TTY::Reader#with_history_disabled + 0.00327 seconds average (0.00653 seconds / 2 examples) ./spec/unit/history_disabled_spec.rb:3 TTY::Reader#read_multiline - 0.00306 seconds average (0.03062 seconds / 10 examples) ./spec/unit/read_multiline_spec.rb:3 - TTY::Reader#subscribe - 0.00207 seconds average (0.00413 seconds / 2 examples) ./spec/unit/subscribe_spec.rb:3 + 0.00223 seconds average (0.02231 seconds / 10 examples) ./spec/unit/read_multiline_spec.rb:3 -Finished in 0.0969 seconds (files took 0.21824 seconds to load) +Finished in 0.08673 seconds (files took 0.174 seconds to load) 112 examples, 0 failures -Randomized with seed 59413 +Randomized with seed 28420 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1096,12 +1132,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/1758392/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1758392/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/2512076 and its subdirectories -I: Current time: Wed Jun 11 13:43:55 -12 2025 -I: pbuilder-time-stamp: 1749692635 +I: removing directory /srv/workspace/pbuilder/1758392 and its subdirectories +I: Current time: Fri May 10 09:22:28 +14 2024 +I: pbuilder-time-stamp: 1715282548