#1143399 ruby-naught: FTBFS: dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-naught returned exit code 1

#1143399#5
Date:
2026-08-01 22:38:42 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-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
--------------------------------------------------------------------------------

#1143399#8
Date:
2026-08-02 00:22:21 UTC
From:
To:
Hello,

Bug #1143399 in ruby-naught 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-naught/-/commit/7a0225e438dcad4f61d0a1e7db7705f36936698a

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1143399

#1143399#15
Date:
2026-08-02 00:38:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-naught, 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 1143399@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-naught 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: Sat, 01 Aug 2026 19:21:19 -0500
Source: ruby-naught
Architecture: source
Version: 2.3.0-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: 1143399
Changes:
 ruby-naught (2.3.0-2) unstable; urgency=medium
 .
   * Team upload.
   * Add a build dependency on ruby-minitest-mock (Closes: #1143399).
   * Mark as Multi-Arch: foreign.
   * Update Standards-Version to 4.7.4, no changes needed.
   * Bump debhelper-compat to 14, dropping ${misc:Depends},
     ${shlibs:Depends}, and ${ruby:Depends} from runtime dependencies.
   * Use --gem-install in the rules file.
Checksums-Sha1:
 a4c85ac32b1311a490571c6048f8455dd7bef6f5 2057 ruby-naught_2.3.0-2.dsc
 3595ebeb91fe8b671235871aff61beac1c383d19 2988 ruby-naught_2.3.0-2.debian.tar.xz
 a7d2590cbad9d9222767134e20ec239e45215df2 7206 ruby-naught_2.3.0-2_source.buildinfo
Checksums-Sha256:
 f27106da8a4d6a91d2c708ac962d41ee275a76462318cfedf1768c3cded2f21e 2057 ruby-naught_2.3.0-2.dsc
 87f9755b41d6f8b1fd6ed81bc3254055db25576b77b058dae545a5f4b47d378b 2988 ruby-naught_2.3.0-2.debian.tar.xz
 e39375f2f915e5b9a4decc1f05463db13c047a2d87be840ae32e53e6b2222889 7206 ruby-naught_2.3.0-2_source.buildinfo
Files:
 946b5f757e5cb32f3ad808d4eaf9ab20 2057 ruby optional ruby-naught_2.3.0-2.dsc
 7991af2dd419d3f859ad48ee26cc402a 2988 ruby optional ruby-naught_2.3.0-2.debian.tar.xz
 c6cb059eecf1c21114dcf4ef71c02f5b 7206 ruby optional ruby-naught_2.3.0-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpujboACgkQ4n8s+EWM
L6Qaxg/8DWsVOPMbJa2XTIZ19Qidj8gShnzoPL0OPmWa6+gyEwIDJFy6yndkf/UY
TZDObJ8/WOAqsHNiicuYghv7oV/HviDvJ3Wsntl5y/7TwvAblL/1Mfyab0b6zRNG
NipeYRl71teLwNolZTmwOo5Hbnebwl9VzdjOlrJTme2mgkt383O0q9KRcJQtwDJb
G1ihM1oDTES8F9s8Msm7sz8GHgSwna8M+dbQYcSu4tcAFIETfoUMWydgH9BC59s9
z9BzpgO31tdrTF2WzEv+gyj6VKX63RNvlIbvfbWb454wrpgqRcIiiZyoMqDD2PLr
ZN3XhePJp9Vg6SpR7DF9EeaD7cT4JRPahfaGKMfKF4zhgtkcOOoBBe6gEP2aDEF6
fHPKsp/4HYtqlqd5ChBUfeQEaA5S4gpeqmWpSfMZDkw1ejOpRe6QtYUwMr1IzxMB
NJWZpkSKwKvb1LqkOiHo+xdl9aC2yldysTJX+Rq8TM4c1t3lN0+VUHBJp/aVpI3a
iww+LhWM41il5iBAkdCE3lJMVdVnG816lv+/4w837T+ekwKkspijzvsSOVHZYGqJ
nItPuWDnRv8wjgrlCLksBx905k/VtvE2xz++ZZahEGKeXqDShsP7GyffTaH3ZCRp
HrjwL+0EHfFwBsXtOoFXvff12WGKTVPK2Z8WnXtwErspW/J3oLE=
=vzG2
-----END PGP SIGNATURE-----