#1143401 ruby-pgplot: FTBFS: dh_auto_clean: error: dh_ruby --clean returned exit code 1

#1143401#5
Date:
2026-08-01 22:38:48 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-pgplot, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with ruby --buildsystem ruby
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
	dh_ruby --clean
Invalid gemspec in [pgplot.gemspec.gem2deb]: undefined method `has_rdoc=' for an instance of Gem::Specification
pgplot.gemspec:4: warning: already initialized constant Gem::Specification::PKG_VERSION
pgplot.gemspec.gem2deb:4: warning: previous definition of PKG_VERSION was here
Invalid gemspec in [pgplot.gemspec]: No such file or directory - git
/usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:135:in `load_gemspec': E: cannot load gemspec pgplot.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[1]: *** [debian/rules:15: override_dh_auto_clean] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: clean] Error 2
dpkg-buildpackage: error: debian/rules clean subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143401#10
Date:
2026-08-31 13:24:10 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for ruby-pgplot (versioned as 0.2.0-5.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian

#1143401#19
Date:
2026-09-02 13:08:16 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-pgplot, 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 1143401@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated ruby-pgplot 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: Mon, 31 Aug 2026 16:17:55 +0300
Source: ruby-pgplot
Architecture: source
Version: 0.2.0-5.1
Distribution: unstable
Urgency: medium
Maintainer: Youhei SASAKI <uwabami@gfd-dennou.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1143401
Changes:
 ruby-pgplot (0.2.0-5.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with recent rubygems. (Closes: #1143401)
Checksums-Sha1:
 f68dffb054e544a99d8f951749403726f4780b52 2077 ruby-pgplot_0.2.0-5.1.dsc
 47f0d260ea5fc1616a56f1aaee3c34dca45458f9 5184 ruby-pgplot_0.2.0-5.1.debian.tar.xz
Checksums-Sha256:
 a3fa2e764123728a82685accc72cf4fcd45275df2c80535fac2f795c791f1d6b 2077 ruby-pgplot_0.2.0-5.1.dsc
 dd85435d9f09fac65c03ff890060cb4e4061652542425963e6866759db95aa4a 5184 ruby-pgplot_0.2.0-5.1.debian.tar.xz
Files:
 a578b24fcd0efa5129ffdda75e4f354e 2077 ruby optional ruby-pgplot_0.2.0-5.1.dsc
 241e29c133ddd20f123496be8a81e058 5184 ruby optional ruby-pgplot_0.2.0-5.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmqVf+QACgkQiNJCh6LY
mLGXZg//UGgKF37o2/3GUljJxOid4wTybW9dvPSpsA8bccUyb7akFJlo27kOq0VH
9NGTJpX/GPSTt292aAPrD9/CT2Iq5wUcEC710VjOrOvlQmQ+4CCLhdVvA7zoYH5z
DYNHRdpQOrpdkwD5mekKECJ2o/eyT8k4BZcSox/obf3AvQkTWnzd6dSiT9ZGFBku
sUUFrkDef8nnQxqXtSZIkNUrjCa1YXGS01LKTo7E/xp1M4R8ez4VFJXPGGe8PXoj
Ip2eh+pOD91cKAFyqNIcCTSJwvO0YhNjmY/cLOOaMRzWqpCqCgrfy2W7J3FY80oX
gzIfUy+y/X7FEPO/IKGIs5PR8oL10lSBkxx4ekbJJstWRo1pdgwg6E5PWs8ltw1w
nCdDlNjaMqQr+j4ohSG8SXdNmHrlqvTOEBg/ZszBIdnklm/J5DYShUF+pG0Owcvb
be7dDfGkFNFSn9RNumfCICXeVyCipe+NiConWCtFTGA4ML/l+KprLXIb6l/FJ8tL
lSrhCldy7FESRLMy3mwkjGQIVeM/q1gHRPhWt66ufiuNq0y7xEjqcA4YZ+fA+XgB
m0VyYvoSo0Y8hLt46kvrkm0/1KnEu4h7awPBp0w8lnCPORu7pg7ZZzCI5mtdmqi5
5Qh24fZcRQRBOMBbd5YNwi1ch3jcLDAkxK+DolmR5/WYL0GCz8E=
=e915
-----END PGP SIGNATURE-----