[DRE-maint] Bug#1143412: ruby-thread-safe: FTBFS: dh_auto_test: error: dh_ruby --test returned exit code 1
Santiago Vila
sanvila at debian.org
Sat Aug 1 23:39:06 BST 2026
Package: src:ruby-thread-safe
Version: 0.3.6-2
Severity: serious
Tags: ftbfs forky sid
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
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list