#1143771 ruby-rspec: FTBFS: failing tests

#1143771#5
Date:
2026-08-06 00:35:19 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-rspec, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rb                              │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 debian/ruby-tests.rb
PATH=/<<PKGBUILDDIR>>/rspec-core/exe:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
RUBYLIB=.:/<<PKGBUILDDIR>>/rspec-core/lib:/<<PKGBUILDDIR>>/rspec-expectations/lib:/<<PKGBUILDDIR>>/rspec-mocks/lib:/<<PKGBUILDDIR>>/rspec-support/lib

∙∙∙∙∙∙∙∙∙∙∙∙∙∙
∙ rspec-core ∙
∙∙∙∙∙∙∙∙∙∙∙∙∙∙

cd rspec-core
/usr/bin/ruby3.3 -S rspec spec/integration/bisect_runners_sp [too-long-redacted] b spec/rspec/core/world_spec.rb

An error occurred while loading spec_helper. - Did you mean?
                    rspec ./spec/spec_helper.rb

Failure/Error: require 'aruba/api'

Gem::MissingSpecError:
  Could not find 'multi_test' (~> 1.1) among 136 total gem(s)
  Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0' at: /usr/share/rubygems-integration/all/specifications/cucumber-11.1.1.gemspec, execute `gem env` for more information
# ./spec/support/aruba_support.rb:28:in `block in <module:ArubaLoader>'
# ./spec/support/aruba_support.rb:27:in `<module:ArubaLoader>'
# ./spec/support/aruba_support.rb:25:in `<top (required)>'
# ./spec/spec_helper.rb:24:in `block in <top (required)>'
# ./spec/spec_helper.rb:17:in `map'
# ./spec/spec_helper.rb:17:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- aruba/api
#   ./spec/support/aruba_support.rb:28:in `block in <module:ArubaLoader>'
No examples found.


Finished in 0.00002 seconds (files took 0.0898 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

cd -

∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
∙ rspec-expectations ∙
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙

cd rspec-expectations
/usr/bin/ruby3.3 -S rspec spec/rspec/expectations/block_snip [too-long-redacted] .rb spec/rspec/matchers_spec.rb

Randomized with seed 48561
.......................................................................................................................................................................................................................fatal: not a git repository (or any of the parent directories): .git
............................................................ [too-long-redacted] ...............................

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff for fuzzy matchers
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:134

  2) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target provides a valid diff
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:106

  3) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target doesn't have a key and we expect nil
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:94

  4) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target fails if target does not include expected
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:86

  5) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:78

  6) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target passes if target has the expected as a key fuzzily matched
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:82

  7) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target does not support count constraint
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:162

  8) #include matcher expect(...).to include(with_one_arg) for a target that can pass for a hash behaves like a Hash target works even when an entry in the hash overrides #send
     # around hook at ./spec/rspec/matchers/built_in/include_spec.rb:401 did not execute the example
     # ./spec/rspec/matchers/built_in/include_spec.rb:100

22 deprecation warnings total

Finished in 1.58 seconds (files took 0.26504 seconds to load)
2441 examples, 0 failures, 8 pending

Randomized with seed 48561

cd -

∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
∙ rspec-mocks ∙
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙

cd rspec-mocks
/usr/bin/ruby3.3 -S rspec spec/integration/rails_support_spe [too-long-redacted] pec.rb spec/rspec/mocks_spec.rb

An error occurred while loading ./spec/integration/rails_support_spec.rb. - Did you mean?
                    rspec ./spec/rspec/mocks/and_wrap_original_spec.rb

Failure/Error: require 'aruba/rspec'

Gem::MissingSpecError:
  Could not find 'multi_test' (~> 1.1) among 136 total gem(s)
  Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rspec/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-core/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-expectations/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-mocks/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/ruby-rspec-support/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0' at: /usr/share/rubygems-integration/all/specifications/cucumber-11.1.1.gemspec, execute `gem env` for more information
# ./spec/support/aruba.rb:2:in `<top (required)>'
# ./spec/integration/rails_support_spec.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- aruba/rspec
#   ./spec/support/aruba.rb:2:in `<top (required)>'
Run options: exclude {:ordered_and_vague_counts_unsupported=>true}


Finished in 0.00005 seconds (files took 0.29779 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

cd -

∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙
∙ rspec-support ∙
∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙∙

cd rspec-support
/usr/bin/ruby3.3 -S rspec spec/rspec/support/caller_filter_s [too-long-redacted] c.rb spec/rspec/support_spec.rb

Randomized with seed 30991
.................................fatal: not a git repository (or any of the parent directories): .git
.........*.................................*................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................*.............

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) RSpec::Support.method_handle_for(object, method_name) for a BasicObject subclass allows `method` to be proxied
     # No reason given
     # ./spec/rspec/support_spec.rb:110

  2) RSpec::Support::ShellOut can shell out to ruby with the current load path
     # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples
     # ./spec/rspec/support/spec/shell_out_spec.rb:22

  3) RSpecHelpers#expect_warn_deprecation fails when there were no deprecations
     # No reason given
     Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
       expected Exception with message matching /received: 0 times/ but nothing was raised
     # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in <top (required)>'
     # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in <top (required)>'

Finished in 0.73739 seconds (files took 0.13157 seconds to load)
587 examples, 0 failures, 3 pending

Randomized with seed 30991

cd -
Failed: rspec-core, rspec-mocks
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
	from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tmp returned exit code 1
make: *** [debian/rules:100: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143771#20
Date:
2026-08-06 15:05:02 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
cucumber, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1143750@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <tsimonq2@debian.org> (supplier of updated cucumber package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 06 Aug 2026 09:52:54 -0500
Source: cucumber
Architecture: source
Version: 11.1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1143750
Changes:
 cucumber (11.1.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Add relax-multi-test.patch to relax a dependency (Closes: #1143750).
Checksums-Sha1:
 bea6ef0f678b50116785f983e05312105c92fa49 2217 cucumber_11.1.1-2.dsc
 956716942d5458ad10cce23b8b0a4440a0455028 46928 cucumber_11.1.1-2.debian.tar.xz
 ddd4f9753031164cada580fdcb532b085f38cfe7 7242 cucumber_11.1.1-2_source.buildinfo
Checksums-Sha256:
 4014d769a4935cadcd112906e893c24e2695569b9f741802c2bb11a7e941d318 2217 cucumber_11.1.1-2.dsc
 c2780833add0fd5537f1da0767a79e75ceda324ca6d7686fd22893bedc965bbb 46928 cucumber_11.1.1-2.debian.tar.xz
 5629962d93fd3d95e9c65a84e27fb8446a09099de24c51724b2f1353713d4c7e 7242 cucumber_11.1.1-2_source.buildinfo
Files:
 a4cbd958a1e5cec65b2ed6104080dd5a 2217 ruby optional cucumber_11.1.1-2.dsc
 2ca22c92b5d0c57594fa7fd15fde4c8f 46928 ruby optional cucumber_11.1.1-2.debian.tar.xz
 de0f236128847d77958590e09839b480 7242 ruby optional cucumber_11.1.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmp0n+sACgkQ4n8s+EWM
L6TorRAAj52EQ6ewzp007xFAEp8mToY/tc7gUycN4a5fC8HA2vge1Wuelc1zPg0g
/bJIVpKw9RX04nKelEmFA//ynpC9ovdWuQyx+YQ5rctUv+ke/SAjIG3dsfWy4krD
CCurdm6jQ5SEmozwMXS8bUvYS5eVOn15ClwPAHBM463EmVezfZotGpE4jitwLS7E
KaCB/hn9ltivyCpthfjsjhmvghAlZJNWUPbtYoJBvSi1f0S7Dpku1TCoBowQMPLp
3XquB0he6WpeddSgC44knFyZNhU0mae47g6Jv7cFmi8qNcqe+s6z8QylFwcL3uIl
5vHf/jdNfa5oi3XTTWm+epUcRzCITyczEciRgOsa9RdQUKIdqABJCAOLWpYRx93C
keH6oezsDqBIJUd2srTuO7GxDFL4Fm18gq34XYWUsLe3Lwa7pp4Pawy5iKj4t35d
mP3osiL0x/823glOuMydIN4wxMTjreYKZN349FglHMTx4kGuBqrdlj/JvtmCGa9j
u6FkASFwkFAl+e5DPlIWDJwGXvCU5BoQz2eaTklVEv5ZXMB+7hDeR4FetUeHr2Oq
iKx6Xd3P3713F7gN7udZw3YPaI3epXfrjk4JsPbv4JAtLGdEi4aXEv3NKmhdG+CK
G6C1vMkjSs55A4l63tgvpK8YP1Pwouh2ANhIJWJzE5RFP4ve1ZM=
=uBwb
-----END PGP SIGNATURE-----