Diff of the two buildlogs: -- --- b1/build.log 2024-12-25 00:07:23.506999748 +0000 +++ b2/build.log 2024-12-25 00:10:36.310219728 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 24 12:05:02 -12 2024 -I: pbuilder-time-stamp: 1735085102 +I: Current time: Wed Dec 25 14:07:38 +14 2024 +I: pbuilder-time-stamp: 1735085258 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: unpacking ruby-tty-which_0.5.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/16106/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1339/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 Dec 25 00:08 /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/1339/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1339/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d6069552ec704ca9b6dcf8473f8072aa' - 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='16106' - PS1='# ' - PS2='> ' + INVOCATION_ID=2de53a63fccb471481daa96177632522 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=1339 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.QAQomolg/pbuilderrc_q24D --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.QAQomolg/b1 --logfile b1/build.log ruby-tty-which_0.5.0-1.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.QAQomolg/pbuilderrc_OwEb --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.QAQomolg/b2 --logfile b2/build.log ruby-tty-which_0.5.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64c 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/16106/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/1339/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -247,7 +279,7 @@ Get: 133 http://deb.debian.org/debian trixie/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 134 http://deb.debian.org/debian trixie/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 135 http://deb.debian.org/debian trixie/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 41.9 MB in 1s (33.6 MB/s) +Fetched 41.9 MB in 3s (16.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (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 ... 19681 files and directories currently installed.) @@ -702,8 +734,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 25 00:06:12 UTC 2024. -Universal Time is now: Wed Dec 25 00:06:12 UTC 2024. +Local time is now: Wed Dec 25 00:09:09 UTC 2024. +Universal Time is now: Wed Dec 25 00:09:09 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -823,7 +855,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-tty-which-0.5.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-which_0.5.0-1_source.changes +I: user script /srv/workspace/pbuilder/1339/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1339/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-tty-which-0.5.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-which_0.5.0-1_source.changes dpkg-buildpackage: info: source package ruby-tty-which dpkg-buildpackage: info: source version 0.5.0-1 dpkg-buildpackage: info: source distribution unstable @@ -857,7 +893,7 @@ │ ruby-tty-which: Installing files and building extensions for ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241224-21713-i5o3ym/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20241225-7336-iz5b5j/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: description and summary are identical WARNING: open-ended dependency on rake (>= 0, development) is not recommended @@ -870,7 +906,7 @@ Name: tty-which Version: 0.5.0 File: tty-which-0.5.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-which/usr/share/rubygems-integration/all /tmp/d20241224-21713-i5o3ym/tty-which-0.5.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-which/usr/share/rubygems-integration/all /tmp/d20241225-7336-iz5b5j/tty-which-0.5.0.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-tty-which-0.5.0/debian/ruby-tty-which/usr/share/rubygems-integration/all/gems/tty-which-0.5.0/lib/tty-which.rb /build/reproducible-path/ruby-tty-which-0.5.0/debian/ruby-tty-which/usr/share/rubygems-integration/all/gems/tty-which-0.5.0/lib/tty/which.rb @@ -906,26 +942,7 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-which-0.5.0/debian/ruby-tty-which/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-tty-which-0.5.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/arm-linux-gnueabihf/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/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 21404 - -TTY::Which#which - with extension - searches path for executable git.exe - handles path with executable file C:\Program Files\Git\bin\git - searches path for executable git - without extension - handles path with executable file /bin/sh - searches executable file git - fails to find path executable - allows to search through custom paths - -TTY::Which#executable_file? - checks if file in directory is executable - checks if only a file is executable - -TTY::Which#exist? - fails to find executable in the path - finds executable in the path +Randomized with seed 4741 TTY::Which#file_with_exec_ext? fails to detect executable extension @@ -935,27 +952,46 @@ provides extensions finds no extensions +TTY::Which#exist? + finds executable in the path + fails to find executable in the path + TTY::Which#search_paths - defauls search paths accepts paths to search as an argument finds paths in path environment + defauls search paths + +TTY::Which#executable_file? + checks if file in directory is executable + checks if only a file is executable + +TTY::Which#which + with extension + searches path for executable git + handles path with executable file C:\Program Files\Git\bin\git + searches path for executable git.exe + without extension + fails to find path executable + allows to search through custom paths + handles path with executable file /bin/sh + searches executable file git -Top 2 slowest examples (0.05057 seconds, 38.6% of total time): - TTY::Which#which with extension searches path for executable git.exe - 0.04031 seconds ./spec/unit/which_spec.rb:88 - TTY::Which#exist? fails to find executable in the path - 0.01026 seconds ./spec/unit/exist_spec.rb:11 +Top 2 slowest examples (0.2003 seconds, 52.5% of total time): + TTY::Which#file_with_exec_ext? fails to detect executable extension + 0.12827 seconds ./spec/unit/file_with_exec_ext_spec.rb:11 + TTY::Which#exist? finds executable in the path + 0.07203 seconds ./spec/unit/exist_spec.rb:4 Top 2 slowest example groups: - TTY::Which#which - 0.01166 seconds average (0.08165 seconds / 7 examples) ./spec/unit/which_spec.rb:3 + TTY::Which#file_with_exec_ext? + 0.06618 seconds average (0.13237 seconds / 2 examples) ./spec/unit/file_with_exec_ext_spec.rb:3 TTY::Which#exist? - 0.00868 seconds average (0.01735 seconds / 2 examples) ./spec/unit/exist_spec.rb:3 + 0.03801 seconds average (0.07603 seconds / 2 examples) ./spec/unit/exist_spec.rb:3 -Finished in 0.13099 seconds (files took 0.46409 seconds to load) +Finished in 0.38119 seconds (files took 2.31 seconds to load) 18 examples, 0 failures -Randomized with seed 21404 +Randomized with seed 4741 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -987,12 +1023,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/1339/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1339/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/16106 and its subdirectories -I: Current time: Tue Dec 24 12:07:18 -12 2024 -I: pbuilder-time-stamp: 1735085238 +I: removing directory /srv/workspace/pbuilder/1339 and its subdirectories +I: Current time: Wed Dec 25 14:10:30 +14 2024 +I: pbuilder-time-stamp: 1735085430