Diff of the two buildlogs: -- --- b1/build.log 2024-12-15 08:37:29.061249381 +0000 +++ b2/build.log 2024-12-15 08:39:30.587746348 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Dec 14 20:34:01 -12 2024 -I: pbuilder-time-stamp: 1734251641 +I: Current time: Sun Dec 15 22:37:38 +14 2024 +I: pbuilder-time-stamp: 1734251858 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying 0003-Disable-gecode-solver.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/30230/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16967/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 15 08:37 /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/16967/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16967/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=5 ' - 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='0e300c7f8e464570a5dc7d4f84e54dd7' - 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='30230' - PS1='# ' - PS2='> ' + INVOCATION_ID=ccd3023ac429439c9ee2b0f9b8721ce1 + 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=16967 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.eE69gmDu/pbuilderrc_Mk9U --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.eE69gmDu/b1 --logfile b1/build.log ruby-solve_4.0.4-1.dsc' - SUDO_GID='114' - SUDO_UID='109' - 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.eE69gmDu/pbuilderrc_Kvaq --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.eE69gmDu/b2 --logfile b2/build.log ruby-solve_4.0.4-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 ff64a 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/30230/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/16967/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -258,7 +290,7 @@ Get: 135 http://deb.debian.org/debian trixie/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 136 http://deb.debian.org/debian trixie/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 137 http://deb.debian.org/debian trixie/main armhf ruby-semverse all 2.0.0-1 [6818 B] -Fetched 42.0 MB in 1s (33.8 MB/s) +Fetched 42.0 MB in 1s (35.3 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 ... 19680 files and directories currently installed.) @@ -719,8 +751,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Dec 15 08:35:55 UTC 2024. -Universal Time is now: Sun Dec 15 08:35:55 UTC 2024. +Local time is now: Sun Dec 15 08:38:37 UTC 2024. +Universal Time is now: Sun Dec 15 08:38:37 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -847,7 +879,11 @@ fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-solve-4.0.4/ && 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-solve_4.0.4-1_source.changes +I: user script /srv/workspace/pbuilder/16967/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/16967/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-solve-4.0.4/ && 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-solve_4.0.4-1_source.changes dpkg-buildpackage: info: source package ruby-solve dpkg-buildpackage: info: source version 4.0.4-1 dpkg-buildpackage: info: source distribution unstable @@ -919,129 +955,100 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 46818 +Randomized with seed 45511 + +Solve::Demand + #initialize + accepts a string for the constraint parameter + accepts a Semverse::Constraint for the constraint parameter + when no value for 'constraint' is given + uses a default of >= 0.0.0 + equality + returns false when other is a Solve::Demand with the same constraint but a different name + returns false when other is a Solve::Demand with the same name but a different constraint + returns true when other is a Solve::Demand with the same name and constriant + returns false when other isn't a Solve::Demand + +Solve::Solver::Serializer + creates a problem from a solver + deserializes a serialized problem to an equivalent problem + +Solve::Dependency + #initialize + uses a default of >= 0.0.0 + #== + returns true if the other object is an instance of Solve::Dependency with the same constraint and artifact Solve::Graph #find returns nil when the artifact does not exist returns an instance of artifact of the matching name and version - #artifact? - returns true if the given Solve::Artifact is a member of the collection - returns false if the given Solve::Artifact is not a member of the collection - #artifacts - returns an array - returns an empty array if no artifacts have been accessed - returns an array containing an artifact if one was accessed == - returns false if the other has the same artifacts but different dependencies + returns false if the other has the same dependencies but different artifacts returns true if the other is the same returns false if other isn't a Solve::Graph - returns false if the other has the same dependencies but different artifacts + returns false if the other has the same artifacts but different dependencies #artifact given the artifact of the given name and version does not exist - returns a Solve::Artifact adds an artifact to the artifacts collection - the artifact has the given version the artifact has the given name + returns a Solve::Artifact + the artifact has the given version + #artifacts + returns an array + returns an empty array if no artifacts have been accessed + returns an array containing an artifact if one was accessed + #artifact? + returns true if the given Solve::Artifact is a member of the collection + returns false if the given Solve::Artifact is not a member of the collection #versions + does not satisfy constraints if it is the default returns all the artifacts matching the given name returns only matching constraints if one is given - does not satisfy constraints if it is the default - -Solve::Dependency - #initialize - uses a default of >= 0.0.0 - #== - returns true if the other object is an instance of Solve::Dependency with the same constraint and artifact - -Solve::Artifact - sorting - orders artifacts by their version number - #depends - given a name and constraint argument - given the dependency of the given name and constraint does not exist - adds a dependency with the given name and constraint to the list of dependencies - returns a Solve::Artifact - given only a name argument - adds a dependency with a all constraint (>= 0.0.0) - #dependency? - returns false when the dependency does not exist - returns true when the dependendency exists - #dependencies - returns an empty array if no dependencies have been accessed - returns an array - returns all dependencies - equality - given an artifact with the same version but different name - is not equal - given an artifact with the same name and version - is equal - given an artifact with the same name but different version - is not equal - #dependency - returns an instance of Solve::Dependency matching the given name and constraint - -Solve::Solver::Serializer - deserializes a serialized problem to an equivalent problem - creates a problem from a solver Solutions when using the ruby solver - rejects a p shaped depenency chain with a circular dep error + correctly resolves when a resolution exists but it is not the latest + gives an empty solution when there are no demands find the correct solution when backtracking in variables introduced via demands chooses the correct artifact for the demands - fails with a self dependency - tries all combinations until it finds a solution - raises NoSolutionError when a solution cannot be found + rejects a p shaped depenency chain with a circular dep error + rejects a circular dependency with a circular dep error + chooses the best artifact for the demands finds the correct solution when there is a diamond shaped dependency - correctly resolves when a resolution exists but it is not the latest + fails with a self dependency solves when packages and constraints have prerelease elements - chooses the best artifact for the demands - gives an empty solution when there are no demands solves when packages and constraints have build elements - rejects a circular dependency with a circular dep error + tries all combinations until it finds a solution + raises NoSolutionError when a solution cannot be found when options[:sorted] is true - with a simple list of dependencies - returns a sorted list of dependencies with a constraint that depends upon an earlier constrained artifact returns a sorted list of dependencies when the solution is cyclic raises a Solve::Errors::NoSolutionError because Molinillo doesn't support circular deps - -Solve::Demand - #initialize - accepts a Semverse::Constraint for the constraint parameter - accepts a string for the constraint parameter - when no value for 'constraint' is given - uses a default of >= 0.0.0 - equality - returns true when other is a Solve::Demand with the same name and constriant - returns false when other is a Solve::Demand with the same constraint but a different name - returns false when other isn't a Solve::Demand - returns false when other is a Solve::Demand with the same name but a different constraint + with a simple list of dependencies + returns a sorted list of dependencies Solve ClassMethods - #it! - raises NoSolutionError if a solution does not exist (PENDING: No reason given) #it returns nil if a solution does not exist (PENDING: No reason given) + #it! + raises NoSolutionError if a solution does not exist (PENDING: No reason given) Solve::RubySolver - has a graph - has a list of demands as model objects has a list of demands as ruby literals + has a list of demands as model objects + has a graph ClassMethods + ::activate + is a no-op ::timeout returns 30,000 by default when the SOLVE_TIMEOUT env variable is set returns the value multiplied by a thousand - ::activate - is a no-op when the constraints are solvable gives the solution as a Hash gives the solution in sorted form - supporting Serializer interface - implements the required interface when the constraints are not solvable and molinillo identifies constraints that exclude all known versions raises an error detailing the missing artifacts @@ -1049,22 +1056,51 @@ raises an error detailing the missing artifacts and molinillo identifies missing artifacts raises an error detailing the missing artifacts + supporting Serializer interface + implements the required interface + +Solve::Artifact + #dependencies + returns an empty array if no dependencies have been accessed + returns an array + returns all dependencies + #dependency? + returns true when the dependendency exists + returns false when the dependency does not exist + equality + given an artifact with the same name and version + is equal + given an artifact with the same name but different version + is not equal + given an artifact with the same version but different name + is not equal + #dependency + returns an instance of Solve::Dependency matching the given name and constraint + sorting + orders artifacts by their version number + #depends + given a name and constraint argument + given the dependency of the given name and constraint does not exist + returns a Solve::Artifact + adds a dependency with the given name and constraint to the list of dependencies + given only a name argument + adds a dependency with a all constraint (>= 0.0.0) Pending: (Failures listed here are expected and do not affect your suite's status) - 1) Solve ClassMethods #it! raises NoSolutionError if a solution does not exist + 1) Solve ClassMethods #it returns nil if a solution does not exist # No reason given - # ./spec/unit/solve_spec.rb:14 + # ./spec/unit/solve_spec.rb:8 - 2) Solve ClassMethods #it returns nil if a solution does not exist + 2) Solve ClassMethods #it! raises NoSolutionError if a solution does not exist # No reason given - # ./spec/unit/solve_spec.rb:8 + # ./spec/unit/solve_spec.rb:14 Deprecation Warnings: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /build/reproducible-path/ruby-solve-4.0.4/spec/unit/solve/solver/serializer_spec.rb:23:in `block (2 levels) in '. -Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /build/reproducible-path/ruby-solve-4.0.4/spec/unit/solve/artifact_spec.rb:7:in `block (2 levels) in '. +Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /build/reproducible-path/ruby-solve-4.0.4/spec/unit/solve/ruby_solver_spec.rb:13:in `block (5 levels) in '. If you need more of the backtrace for any of these deprecations to @@ -1074,10 +1110,10 @@ 2 deprecation warnings total -Finished in 0.54346 seconds (files took 1.69 seconds to load) +Finished in 0.2869 seconds (files took 0.64471 seconds to load) 72 examples, 0 failures, 2 pending -Randomized with seed 46818 +Randomized with seed 45511 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1109,12 +1145,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/16967/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16967/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/30230 and its subdirectories -I: Current time: Sat Dec 14 20:37:24 -12 2024 -I: pbuilder-time-stamp: 1734251844 +I: removing directory /srv/workspace/pbuilder/16967 and its subdirectories +I: Current time: Sun Dec 15 22:39:26 +14 2024 +I: pbuilder-time-stamp: 1734251966