#1143412 ruby-thread-safe: FTBFS: dh_auto_test: error: dh_ruby --test returned exit code 1

#1143412#5
Date:
2026-08-01 22:39:06 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-thread-safe, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh: warning: Implicitly activating single-binary dh addon for backwards compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via dh_auto_install will instead use a
dh: warning: different default for --destdir unless the single-binary add-on is active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning:
dh: warning: To keep the existing behaviour (compat 13), please activate the single-binary addon explicitly.
dh: warning: This can be done by adding "dh-sequence-single-binary" to Build-Depends or passing
dh: warning: --with=single-binary to dh.
dh: warning:
dh: warning: If you have solved this issue differently (e.g., by passing --destdir explicitly to
dh: warning: dh_auto_install or not using dh_auto_install at all) and want to silence this warning
dh: warning: without activating the addon, you can do that by passing --without=single-binary to dh
dh: warning: to explicitly acknowledge the change.
dh: warning:
dh: warning: Please see the description of the "single-binary" in "man dh" for more details of what
dh: warning: it does and why this is changing from implicit behaviour to explicitly opt-in.
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	dh_ruby --clean
rm -rf .gem2deb
rm -rf coverage/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh: warning: Implicitly activating single-binary dh addon for backwards compatibility.  In compat 14+,
dh: warning: this fallback will *not* happen automatically via dh_auto_install will instead use a
dh: warning: different default for --destdir unless the single-binary add-on is active,
dh: warning: which can cause the source to produce an empty binary package
dh: warning:
dh: warning: To keep the existing behaviour (compat 13), please activate the single-binary addon explicitly.
dh: warning: This can be done by adding "dh-sequence-single-binary" to Build-Depends or passing
dh: warning: --with=single-binary to dh.
dh: warning:
dh: warning: If you have solved this issue differently (e.g., by passing --destdir explicitly to
dh: warning: dh_auto_install or not using dh_auto_install at all) and want to silence this warning
dh: warning: without activating the addon, you can do that by passing --without=single-binary to dh
dh: warning: to explicitly acknowledge the change.
dh: warning:
dh: warning: Please see the description of the "single-binary" in "man dh" for more details of what
dh: warning: it does and why this is changing from implicit behaviour to explicitly opt-in.
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	dh_ruby --build

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-thread-safe: Installing files and building extensions for ruby3.3       │
└──────────────────────────────────────────────────────────────────────────────┘

/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260801-51-41kusv/gemspec
WARNING:  make sure you specify the oldest ruby version constraint (like ">= 3.0") that you want your gem to support by setting the `required_ruby_version` gemspec attribute
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: thread_safe
  Version: 0.3.6
  File: thread_safe-0.3.6.gem
/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir .gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all /tmp/d20260801-51-41kusv/thread_safe-0.3.6.gem
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/lib/thread_safe/version.rb
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/tasks/update_doc.rake
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css
/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb
Successfully installed thread_safe-0.3.6
1 gem installed
cd .gem2deb/ruby-thread-safe/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/thread_safe-0.3.6
rm -f
chmod 644 lib/thread_safe/atomic_reference_cache_backend.rb lib/thread_safe/cache.rb lib/thread_safe/mri_cache_backend.rb lib/thread_safe/non_concurrent_cache_backend.rb lib/thread_safe/synchronized_cache_backend.rb lib/thread_safe/synchronized_delegator.rb lib/thread_safe/util/adder.rb lib/thread_safe/util/atomic_reference.rb lib/thread_safe/util/cheap_lockable.rb lib/thread_safe/util/power_of_two_tuple.rb lib/thread_safe/util/striped64.rb lib/thread_safe/util/volatile.rb lib/thread_safe/util/volatile_tuple.rb lib/thread_safe/util/xor_shift_random.rb lib/thread_safe/util.rb lib/thread_safe/version.rb lib/thread_safe.rb
find lib/ -type d -empty -delete
find ext/ -type d -empty -delete
cd -
cd -
   dh_auto_test -O--buildsystem=ruby
	dh_ruby --test
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.3                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/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 -e gem\ \"thread_safe\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/.gem2deb/ruby-thread-safe/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 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.7/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/exe/rspec --pattern ./spec/\*\*/\*_spec.rb  --exclude-pattern ./spec/thread_safe/cache_loops_spec.rb --format documentation

An error occurred while loading spec_helper.
Failure/Error:
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      Coveralls::SimpleCov::Formatter
  ]

NoMethodError:
  undefined method `[]' for class SimpleCov::Formatter::MultiFormatter
# ./spec/spec_helper.rb:5:in `<top (required)>'
No examples found.
No examples found.


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

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


/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.7/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/exe/rspec --pattern ./spec/\*\*/\*_spec.rb  --exclude-pattern ./spec/thread_safe/cache_loops_spec.rb --format documentation failed
/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:88:in `test'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:142:in `test'
	from /usr/bin/dh_ruby:91:in `<main>'
dh_auto_test: error: dh_ruby --test returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143412#8
Date:
2026-08-02 16:03:26 UTC
From:
To:
Hello,

Bug #1143412 in ruby-thread-safe reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-thread-safe/-/commit/a5a1c28a189ec9dc3ed3fdb10d6b58c7ac2f573e

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1143412

#1143412#15
Date:
2026-08-02 16:19:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-thread-safe, 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 1143412@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 ruby-thread-safe 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: Sun, 02 Aug 2026 11:02:44 -0500
Source: ruby-thread-safe
Architecture: source
Version: 0.3.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1143412
Changes:
 ruby-thread-safe (0.3.6-3) unstable; urgency=medium
 .
   * Team upload.
   * Add simplecov-1-compat.patch for SimpleCov 1.0 MultiFormatter API.
     (Closes: #1143412)
   * Mark as Multi-Arch: foreign.
Checksums-Sha1:
 e56b44ec4e6e66311944ef1741f485c6f682fd19 2106 ruby-thread-safe_0.3.6-3.dsc
 98a001aa5dc6f0bf6b97600c1378acca9cdef146 6584 ruby-thread-safe_0.3.6-3.debian.tar.xz
 118099980de4f9549f9f4fcf31b0b8eb2ba4176b 7226 ruby-thread-safe_0.3.6-3_source.buildinfo
Checksums-Sha256:
 debefd8bc756f95479d6ff3e1c2b887feb5e6fa250db1923ff31a3c92832b41d 2106 ruby-thread-safe_0.3.6-3.dsc
 2a52032f32ef7df3b5b7dbe1a013ef80291b000f428564ab3e7de4a88d79bc21 6584 ruby-thread-safe_0.3.6-3.debian.tar.xz
 35995ec07be2aa4122c7e68f750d912ab860f82467ba495f4f4f56aef2e4a0bd 7226 ruby-thread-safe_0.3.6-3_source.buildinfo
Files:
 1c5a80a81be0a69d2c56d8e4f1b521f9 2106 ruby optional ruby-thread-safe_0.3.6-3.dsc
 2bfe9056d36e47c5271eda754111efd4 6584 ruby optional ruby-thread-safe_0.3.6-3.debian.tar.xz
 18faf84b7c9158be5bf7945aaaa81202 7226 ruby optional ruby-thread-safe_0.3.6-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpvaksACgkQ4n8s+EWM
L6Q0eA/5AV4TWvPw81s7jG68t81dVmGgRlWEi9418Y5azea59ixko1Sd2OTfUV6W
WrWmI15NVuWBHACZ55wuxz9Dwu5W16pfr0OJVi73sZF9ai6lgWkJK7kjOF0QcERt
k/0DFtCK92jO+yFcTXx9odhjoRA67mrveym90EJqhUl27inZuBZnXMuFN3uHZqCI
o+auDl+FeVWWrNjo9okoyh2VZJlWinaIEBVDjE0up5zvkKJrmJqMfc4gGvL3WvCX
1IgrtpjeSHi5KALACmKPtqhco1O1sxQSIHohtI+pnXr31FN9dFnk19oE1e9iK9j/
OImWP+WzRj3qbSGFELibG1Z7O7BGh4ZrV1Vgdkp/RKfi39rAgBDrvO7DP0xJS96n
MWVxayGTpTWPWOujvLYMcl9+JliRYkFp8bHAdCZHToK/5bHbpAPKSVFwDDKrO6wK
FUI4Gryu0mz6ASWeyYnKnTco0HN9bnYT4oFrZRWLdLVG7qLVBiWyKEs9R++FWw6R
vUSG8s87XgZ/HfV1WdT1tIXmdcB/rTbl8wC/AwN4LIuIh+K5Q3Utt01asmFWz4xw
hF6t9AN8bqQdlI3hUtU67xzMukTXpKxJpE4UfytfiKOnuL94s4NnmHoogUIXdczY
mYgvJXILbhA6EY0nynELsLvrkb94OGR2Ik0E7zeZcD2E9b4NkVA=
=RwaH
-----END PGP SIGNATURE-----