[DRE-maint] Bug#1143399: ruby-naught: FTBFS: dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-naught returned exit code 1
Santiago Vila
sanvila at debian.org
Sat Aug 1 23:38:42 BST 2026
Package: src:ruby-naught
Version: 2.3.0-1
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-naught, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
rm -rf coverage
debian/rules binary
dh binary --buildsystem=ruby --with ruby
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
dh_auto_test -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
dh_auto_install --destdir=debian/ruby-naught/ -O--buildsystem=ruby
dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-naught
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-naught: Install files â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
install -d /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/basic_object.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/basic_object.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/call_location.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/call_location.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/caller_info.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/caller_info.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/chain_proxy.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/chain_proxy.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/conversions.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/conversions.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/command.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/command.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/callstack.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/callstack.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/define_explicit_conversions.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/define_explicit_conversions.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/define_implicit_conversions.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/define_implicit_conversions.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/impersonate.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/impersonate.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/mimic.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/mimic.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/null_safe_proxy.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/null_safe_proxy.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/pebble.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/pebble.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/predicates_return.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/predicates_return.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/singleton.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/singleton.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands/traceable.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands/traceable.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder/commands.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder/commands.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/null_class_builder.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/null_class_builder.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/stub_strategy.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/stub_strategy.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught/version.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/naught.rb /<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby/naught.rb
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â ruby-naught: Install Rubygems integration metadata â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-naught/usr/share/rubygems-integration/all/specifications/naught-2.3.0.gemspec
dh_installchangelogs -pruby-naught /<<PKGBUILDDIR>>/CHANGELOG.md upstream
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby3.3 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-naught/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\ \"naught\"
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rake â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-naught/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-naught/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 -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb "test/base_object_test.rb" "test/basic_null_object_test.rb" "test/blackhole_test.rb" "test/caller_info_test.rb" "test/callstack_test.rb" "test/explicit_conversions_test.rb" "test/functions/actual_test.rb" "test/functions/just_test.rb" "test/functions/maybe_test.rb" "test/functions/null_test.rb" "test/implicit_conversions_test.rb" "test/mimic_test.rb" "test/naught/null_class_builder/command_test.rb" "test/naught/null_class_builder_test.rb" "test/naught_test.rb" "test/null_safe_proxy_test.rb" "test/pebble_test.rb" "test/predicate_test.rb" "test/singleton_null_object_test.rb" "test/test_helper.rb" -v
/<<PKGBUILDDIR>>/test/test_helper.rb:7:in `block in <top (required)>': [DEPRECATION] `SimpleCov.add_filter` is deprecated. Replace with `SimpleCov.skip` (same arguments, same behavior). Example: `SimpleCov.skip "/test/"`.
Coverage report generated for Unit Tests to coverage/index.html
Line coverage: 284 / 464 (61.20%)
Branch coverage: 8 / 86 (9.30%)
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
/usr/share/rubygems-integration/all/gems/minitest-6.0.6/lib/minitest/mock.rb:7:in `rescue in <top (required)>': cannot load such file -- minitest/mock (ruby-minitest-mock not installed) (LoadError)
from /usr/share/rubygems-integration/all/gems/minitest-6.0.6/lib/minitest/mock.rb:1:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from /<<PKGBUILDDIR>>/test/naught/null_class_builder_test.rb:2:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:21:in `block in <main>'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in `select'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in `<main>'
/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:301:in `to_specs': Could not find 'minitest-mock' (>= 0) among 112 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-naught/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' , execute `gem env` for more information
from /usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:313:in `to_spec'
from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:56:in `gem'
from /usr/share/rubygems-integration/all/gems/minitest-6.0.6/lib/minitest/mock.rb:2:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from /<<PKGBUILDDIR>>/test/naught/null_class_builder_test.rb:2:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:139:in `require'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:21:in `block in <main>'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in `select'
from /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"test" /usr/share/rubygems-integration/all/gems/rake-13.4.2/lib/rake/rake_test_loader.rb "test/base_object_test.rb" "test/basic_null_object_test.rb" "test/blackhole_test.rb" "test/caller_info_test.rb" "test/callstack_test.rb" "test/explicit_conversions_test.rb" "test/functions/actual_test.rb" "test/functions/just_test.rb" "test/functions/maybe_test.rb" "test/functions/null_test.rb" "test/implicit_conversions_test.rb" "test/mimic_test.rb" "test/naught/null_class_builder/command_test.rb" "test/naught/null_class_builder_test.rb" "test/naught_test.rb" "test/null_safe_proxy_test.rb" "test/pebble_test.rb" "test/predicate_test.rb" "test/singleton_null_object_test.rb" "test/test_helper.rb" -v]
/usr/share/rubygems-integration/all/gems/rake-13.4.2/exe/rake:27:in `<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
/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/ruby-naught returned exit code 1
make: *** [debian/rules:6: 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