#1143424 td2planet: FTBFS: dh_auto_clean: error: dh_ruby --clean returned exit code 1

#1143424#5
Date:
2026-08-01 22:39:32 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:td2planet, 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 [td2planet.gemspec.gem2deb]: undefined method `has_rdoc=' for an instance of Gem::Specification
Invalid gemspec in [td2planet.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 td2planet.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>'
W: XS-Ruby-Versions is deprecated, and will be ignored
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
--------------------------------------------------------------------------------

#1143424#10
Date:
2026-08-11 17:05:03 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
td2planet, 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 1143424@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yukiharu YABUKI <yyabuki@debian.org> (supplier of updated td2planet 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: Wed, 12 Aug 2026 00:36:06 +0900
Source: td2planet
Architecture: source
Version: 0.3.0-6
Distribution: unstable
Urgency: medium
Maintainer: Yukiharu YABUKI <yyabuki@debian.org>
Changed-By: Yukiharu YABUKI <yyabuki@debian.org>
Closes: 1143424
Changes:
 td2planet (0.3.0-6) unstable; urgency=medium
 .
   [ Yukiharu YABUKI ]
   * Fix build error (Closes: #1143424)
     - rewrite gemspec file.
   * Re-write from old style gemspec to nowadays style gemspec.
   * Remove useless lines in debian/rules
   * Update debian/control
Checksums-Sha1:
 d51d5182c6363dd4fc7f78c80b4c01947c7c8c8f 1862 td2planet_0.3.0-6.dsc
 1394dacf833693ea4eb9a172b112e9b67e5bbfa8 4880 td2planet_0.3.0-6.debian.tar.xz
 de9d63b28357fb3fa20766c3f1827948f5f45e72 6353 td2planet_0.3.0-6_amd64.buildinfo
Checksums-Sha256:
 e553bd97b10da40f82b4b8d0b713603bd8d79cb14d641dc9480230266e83123f 1862 td2planet_0.3.0-6.dsc
 c3767736af565285a47ad52017a6f8feb0871d5f843ae6a27f8bbdead0ef07b6 4880 td2planet_0.3.0-6.debian.tar.xz
 bd29dafa806ff7d138672fe3c22d9072f3d077f6336049eae174de10337987c8 6353 td2planet_0.3.0-6_amd64.buildinfo
Files:
 f4b257eeabc704c923ac9c11a81b677c 1862 ruby optional td2planet_0.3.0-6.dsc
 4ae15ac56ec360028a7e8ef52f98d01e 4880 ruby optional td2planet_0.3.0-6.debian.tar.xz
 a7ef77b23a7538460ddd53155d8f0480 6353 ruby optional td2planet_0.3.0-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEZ4rGejxaFgWBItYhcagC0LzRvJIFAmp7TPkTHHl5YWJ1a2lA
ZGViaWFuLm9yZwAKCRBxqALQvNG8kiEjEADby1g/OLeDxpuvFsax/gqbyWINuTfb
UtO4HSsPCyO6X019d2xdIa6Z/u8v20/m5fd1D+RlRcJvNoasI8GLskKtX+bRAKp7
IbJ9D6/YDbZPafjFIkzOSt+cL2OvmZXkIq5fKeoQbvEq0CUfGVeQX8wO5cNIJlw0
oPqpgPyoAyjjjdZn7o3qZAdDcd4CtpuJOQXsvFIDF2nzgr9R33W94EjQByDJLQ7T
pBsLPC0/yU2y3VD4Xv+HhvntZ8epWObGpnqBtHEcPXikMvHnXTilbLBeuoXDL973
JUgZGYEBWIneIwixY02RDzEOiqHv3wY309V9Od8hgMs9XyS91Bt36iKQA4Z+8u0/
eSp0/Lv19yDTCGsfaMhueuJMNeMSonDNspBcjtClFtbCl3p4R3GlqbNoS+qu1iZb
zBs3yVPjH3P5mhcHtVqje4A5kpwWKYRvtk5nV+2tJIn/DIrQmCZxp7nxz0HUvpwe
f3CaqasdLNbUY1vY9rtwKrYOj/z7TPxpX/Zm6kfBVBS5uS6Dykng6Yv3eSGNSxHK
F3RUwYd5y5N5yabHZK98a2ApXhQ6pPVYEUHIwh6qXx6fSS+uEzgcgqGT0mqWKfl4
c2EOBjZAfZep06l5OY2yCgGFyK7VDeF85to7iaAUv0Nio5LgHy8TNK/zZG+7KB/L
TkixzTdL5QgmWA==
=Y5/e
-----END PGP SIGNATURE-----