#1142723 mecab: FTBFS: /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:135:in `load_gemspec': E: cannot load gemspec mecab-ruby.gemspec (RuntimeError)

Package:
src:mecab
Source:
src:mecab
Submitter:
Sebastian Ramacher
Date:
2026-07-29 11:07:02 UTC
Severity:
normal
Tags:
#1142723#5
Date:
2026-07-24 15:09:29 UTC
From:
To:
Source: mecab
Version: 0.996-16
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

mecab FTBFS:

dh_auto_install --buildsystem=ruby
	dh_ruby --install /build/reproducible-path/mecab-0.996/debian/tmp
Invalid gemspec in [mecab-ruby.gemspec.gem2deb]: undefined method `has_rdoc=' for an instance of Gem::Specification
Invalid gemspec in [mecab-ruby.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 mecab-ruby.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:63:in `installers'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:52: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 /build/reproducible-path/mecab-0.996/debian/tmp returned exit code 1
make[1]: *** [debian/rules:34: override_dh_auto_install] Error 25

See
https://buildd.debian.org/status/fetch.php?pkg=mecab&arch=amd64&ver=0.996-16%2Bb1&stamp=1784820429&raw=0
for details.

Cheers

#1142723#10
Date:
2026-07-27 12:44:23 UTC
From:
To:
Dear maintainer,

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

cu
Adrian

#1142723#19
Date:
2026-07-29 11:04:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mecab, 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 1142723@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 mecab 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, 27 Jul 2026 13:23:10 +0300
Source: mecab
Architecture: source
Version: 0.996-16.1
Distribution: unstable
Urgency: medium
Maintainer: Natural Language Processing (Japanese) <team+pkg-nlp-ja@tracker.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1142723
Changes:
 mecab (0.996-16.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with recent rubygems. (Closes: #1142723)
Checksums-Sha1:
 69d177fc2f392a44c0391ba279bafc60e5251870 2615 mecab_0.996-16.1.dsc
 db7843790111737a9826821952cc19ea61f109ce 12996 mecab_0.996-16.1.debian.tar.xz
Checksums-Sha256:
 6f16b5df71bac3f5dde66c91825942525a3d7590a3849a9d1b120f448cfcd546 2615 mecab_0.996-16.1.dsc
 5af410e1b1b2a08cba547f2f3076525d5ce2560fdba1f677cf0ba0ea0072348b 12996 mecab_0.996-16.1.debian.tar.xz
Files:
 a63c960ff26b5d3e87f2932e1cde97d4 2615 misc optional mecab_0.996-16.1.dsc
 f94e4c69d16dbce25c81845f60f566fc 12996 misc optional mecab_0.996-16.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmpnM94ACgkQiNJCh6LY
mLFW0g//UzfYZTHvADv+gawmkH10u6/aA3v+t5ZJ2t9UDr8mBOih8JD/lC9mq6XQ
Uvz0wG+KxmKoNd9OTH2ASLYitKP8T+i+GK9VAwdh4sp7KVWukW3mwm5vph/U8YsS
SdPqDFrJJyw+ol8MD2BIRTq6emWA42dtdpSgtOLNn7N4soCtmuqJpsw414RF2W1C
4L2vEzLiAzM72tjvbNu/THF3yKP7PLFZ4CUdf9EyDM733AEc+imn6+oXymJDF69p
SgWfHdLFobr/u2NwJYKaR59dFG0ZfqQL3LKXqevikzBBxYIChtE4XvU8/ySYfP1R
56M8oAe9ZX7g7iSUszNQqDvkqxjcRYAHLqC/nJiJQs/HnXu3S0+kr/NLE5FfCetk
f2idI1bTKVMsSZuDFpsmLdTyXU20srFHE6NXEFb3tLGI3BFkQsdIrLvys7XxxV3l
eejc8DzJs/JgtBbzcwd1DpiQnVIUvBoiWUNOlUlRF8L/5MzLG9K9xBiLeat9A7m5
+8nSLWE4ItmuNW/3Mi4bpzSsDqSeOS6q1hOxiMiPmePVVKJ4GGLCjp5twpZVgynK
0fgOAOJ5xVDeAtUMs2FPyO+NUXv5WVLoUdFKBA66o3CYZnCOle6DBALGEOSpYkDs
5kfd/AENk0zvSigkWsamSB58nTbllw1iruMeVDhlle/mHsWYSUQ=
=Fvlf
-----END PGP SIGNATURE-----