#1143400 ruby-odbc: FTBFS: dh_auto_clean: error: dh_ruby --clean returned exit code 1

#1143400#5
Date:
2026-08-01 22:38:44 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-odbc, 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 [ruby-odbc.gemspec.gem2deb]: undefined method `has_rdoc=' for an instance of Gem::Specification
Invalid gemspec in [ruby-odbc.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 ruby-odbc.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:15: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143400#8
Date:
2026-08-02 14:18:24 UTC
From:
To:
Hello,

Bug #1143400 in ruby-odbc 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-odbc/-/commit/e686ddc4feea8af94fe214ef3168dd03510cec7a

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1143400

#1143400#15
Date:
2026-08-02 14:35:24 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-odbc, 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 1143400@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-odbc 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:17:26 -0500
Source: ruby-odbc
Architecture: source
Version: 0.999993-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1143400
Changes:
 ruby-odbc (0.999993-1) 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 ]
   * Upgrade the watch file to version 5.
   * New upstream release (Closes: #1143400).
   * Refresh the rules file.
   * Drop {XS,XB}-Ruby-Versions from control.
   * Update Standards-Version to 4.7.4.
   * Use Ruby Testsuite.
   * Bump debhelper-compat to 14, dropping ${misc:Depends},
     ${shlibs:Depends}, and ${ruby:Depends} from runtime dependencies.
Checksums-Sha1:
 3a839e8867590eecf77952679d5daf5cc539dd79 2038 ruby-odbc_0.999993-1.dsc
 7896c99dca3f4be4cf2de850c063ce8a0d3c41ed 77695 ruby-odbc_0.999993.orig.tar.gz
 a5ff80520f37d819fc240316eade6d060a5ceb2b 6656 ruby-odbc_0.999993-1.debian.tar.xz
 273df83bf1cf034a4df333862dc840c2b1ecca12 7210 ruby-odbc_0.999993-1_source.buildinfo
Checksums-Sha256:
 5ac4bd33d58f19f0ce15de61fcc99538e0f2346b0a2adc484b110665eb31c85b 2038 ruby-odbc_0.999993-1.dsc
 183bbcad9237389120939c6c3e8e77051b4bbf77bd94e9391c74974aa1b698eb 77695 ruby-odbc_0.999993.orig.tar.gz
 6e66bafde013cb77c6c80420f9e08a7f4f80077c635994a3cfc7974874c37529 6656 ruby-odbc_0.999993-1.debian.tar.xz
 9c263ddb243ae6767c4fed70ed5b8241a425134a3bb9602d9a8fff3363f89943 7210 ruby-odbc_0.999993-1_source.buildinfo
Files:
 ff3cf46f050da7a3b71cd68a212fa006 2038 ruby optional ruby-odbc_0.999993-1.dsc
 fd335de36cd033be1d04854724f9279a 77695 ruby optional ruby-odbc_0.999993.orig.tar.gz
 37fd6f43827add8faec3ca20144ac406 6656 ruby optional ruby-odbc_0.999993-1.debian.tar.xz
 1e342a623122690080b1695ac39873f0 7210 ruby optional ruby-odbc_0.999993-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpvUawACgkQ4n8s+EWM
L6Q7ww//U4ToRodv4zw1myRHaS6ui+HSMohpzaMFgsHpf8AizLyBOZqyaMRyw/Np
OklkwSNQ/ugJKcTmc42JQJ3WlvkEzl6sRv/nQyFHZ3353QSUF/r4pJmHZ4C0bd7x
vwlWL5MjVDTCcfSddQ2UHAt4WTgn+sTm+H4lIHV703LN4LCEi1i0tYnvOKIR9uoZ
aUrq34aXm6xLnu8wmmvMipZf0TIYKvsdtg/HeNiqTizMIZ+f9lG9BMual6oVEpXf
Wc4ipQPFXBi0QaLyWSdv429fxFCN2AXxJ5EO15qaaKhNfSOfPa0q7whnpW6aw0+v
UeTpuc9RE0vE89AX+Ux0E1kbrjz23C3GSy6aizU4h5ZPItJ+UECHnlhvg+O++ZFB
6njuznjIsy9LE2C0BEljOs/X5tdokFsCRcCilqR0LLjfXEvcC+W5zf8WnF9yeoLo
RMdhWzOG5BViddg4UMPr7v7XS8+5mpUu/Pss49EnZb/jwqb36ByJ4/3lxqRzIiqF
pJ8hupE00sSpkcbXcvOT9l9QqLjMnt+jDr9duavY9WukaA9nVoxbVpjIEpDUq8Zl
cwn/Er8nbrARSemIWmnw0UtaJ1GoIfFndLXBTEhpg4K5Vc+adp1Brx/MJ95qENAU
XB1a+EPSd1vbyfD0+JTuekR4wg+yjJ9rbl7E+mdJGh+wB0jyvLQ=
=LkMP
-----END PGP SIGNATURE-----