#1143398 ruby-nanotest: FTBFS: dh_auto_clean: error: dh_ruby --clean returned exit code 1

#1143398#5
Date:
2026-08-01 22:38:40 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-nanotest, 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_auto_clean -O--buildsystem=ruby
	dh_ruby --clean
Invalid gemspec in [nanotest.gemspec.gem2deb]: undefined method `has_rdoc=' for an instance of Gem::Specification
Invalid gemspec in [nanotest.gemspec]: undefined method `has_rdoc=' for an instance of Gem::Specification
/usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:135:in `load_gemspec': E: cannot load gemspec nanotest.gemspec (RuntimeError)
	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:37:in `block in initialize'
	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `chdir'
	from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `initialize'
	from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:24:in `new'
	from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:24:in `initialize'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:228:in `new'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:228:in `block in installers'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:227:in `map'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:227:in `installers'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:121:in `clean'
	from /usr/bin/dh_ruby:91:in `<main>'
dh_auto_clean: error: dh_ruby --clean returned exit code 1
make: *** [debian/rules:7: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143398#8
Date:
2026-08-02 14:09:13 UTC
From:
To:
Hello,

Bug #1143398 in ruby-nanotest 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-nanotest/-/commit/e9f29fb573481dc2affe1c6e75e010ea74852a4e

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1143398

#1143398#15
Date:
2026-08-02 14:35:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-nanotest, 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 1143398@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-nanotest 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 09:08:37 -0500
Source: ruby-nanotest
Architecture: source
Version: 0.9.4.1-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: 1143398
Changes:
 ruby-nanotest (0.9.4.1-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Lucas Nussbaum ]
   * debian/gbp.conf: Add for DEP-14
   * debian/gbp.conf: remove trailing empty lines
   * debian/.gitattributes: remove
   * debian/salsa-ci.yml: use team-specific include
 .
   [ Simon Quigley ]
   * Refresh the upstream metadata.
   * Upgrade the watch file to version 5.
   * Add drop-has_rdoc.patch to fix FTBFS (Closes: #1143398).
   * Update Standards-Version to 4.7.4.
   * Bump debhelper-compat to 14, dropping ${misc:Depends},
     ${shlibs:Depends}, and ${ruby:Depends} from runtime dependencies.
   * Mark as Multi-Arch: foreign.
Checksums-Sha1:
 45f1eeab83f875ab2825ec498a4c039d36cd9de0 2021 ruby-nanotest_0.9.4.1-3.dsc
 7a9f7b1fa77f474e46c128a24c4d8efa2c90c11d 3400 ruby-nanotest_0.9.4.1-3.debian.tar.xz
 42d40c13f5ccbd4362e60c222b8f3dcd64c24e46 7222 ruby-nanotest_0.9.4.1-3_source.buildinfo
Checksums-Sha256:
 910f026cf07db4458eff67ccd1d808a13a5a48c96217d7b54d504c92760bb6cb 2021 ruby-nanotest_0.9.4.1-3.dsc
 c9fae6d5aa9e8cb04fcbb5f394751e93245509b49aa9e969a6a0704a91188647 3400 ruby-nanotest_0.9.4.1-3.debian.tar.xz
 a962fdbbc775143d8a7c0cf6a4d43be19404797ff1bb54c0ce7f63e3cfc3c080 7222 ruby-nanotest_0.9.4.1-3_source.buildinfo
Files:
 281a0129ac5eaa592af290839984170d 2021 ruby optional ruby-nanotest_0.9.4.1-3.dsc
 6bc1dcedae7b5a1e71273a1833ba11fe 3400 ruby optional ruby-nanotest_0.9.4.1-3.debian.tar.xz
 c457a4a5d56c5d62aba9c94656dc4e4e 7222 ruby optional ruby-nanotest_0.9.4.1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpvT4YACgkQ4n8s+EWM
L6T/sBAAhIljCXHAGVENAnJWCfcsFtTex5hQjC8ieibNQcldPvkUKky+Z64VsacG
+KosY1djDIw9J5Rah7bUCRhovjPvctN7c7tv8khYhgAKN7W6Blh++kWYTgnRADUX
OO5olNUiWEHZqJpHFHelrrD+Cu+rbUISBOclYJDIdAm1fhJZJNAW5kxBc9JOCece
eGOhCgrmgioTnUi9I8mU99fOGhf9x3FND+3H032+pSguC3HtgNvoWhcue6QsjAMe
WK0bMf4BrfpMCnTvGbYGcRp0yiTcVLMxRvvCQUnxshIXq0lkpNFslNBzbVu12O2h
XyDtnS2UJm1f11pCbO3+qzmAmo4MbyHq1b7ZrwJ9g66xxXEkvUA2PXZcvLAiHP4n
GDHGNk2Z6UCDFwm5fIBZtryvFste4+KERYbLLPqtqkKzbd0nfomyGb/BK0YU1EH6
ppoJ4Pxn6a532Q177JCfsEuibl9ppVhZCJ5FDnOkzYm/Ze1KEWyogP2wL9Od0IEV
uInhjMjqdA3FeywO/R6C8P+Xa3OmkS7Vo456Ht/lbTC1jrOVuDvdnrZ82DqBec/2
c/fUlaEMKDdQneRYBIeNNnS2BMu8UVxOYCGnxd/t4uqtunpgnyQlXvsfB5HTHP5A
yEGhTHHlMMMo+raszbfLcM+IVWqhWyhXTwO8MqadELVAyDLJXb8=
=vK1z
-----END PGP SIGNATURE-----