[DRE-maint] Bug#1123483: tdiary-style-gfm: FTBFS: dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/tdiary-style-gfm returned exit code 1

Santiago Vila sanvila at debian.org
Tue Dec 16 20:30:06 GMT 2025


Package: src:tdiary-style-gfm
Version: 1.2.0-3
Severity: serious
Tags: ftbfs forky sid

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/202512/

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:tdiary-style-gfm, 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
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	dh_ruby --build
   dh_auto_test -O--buildsystem=ruby
	dh_ruby --test
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=ruby
   dh_prep -O--buildsystem=ruby
   dh_installdirs -O--buildsystem=ruby
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
	dh_ruby --install /<<PKGBUILDDIR>>/debian/tdiary-style-gfm

┌──────────────────────────────────────────────────────────────────────────────┐
│ tdiary-style-gfm: Install files                                              │
└──────────────────────────────────────────────────────────────────────────────┘

install -d /<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/tdiary/style/gfm/version.rb /<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby/tdiary/style/gfm/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/tdiary/style/gfm.rb /<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby/tdiary/style/gfm.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/tdiary-style-gfm.rb /<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby/tdiary-style-gfm.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ tdiary-style-gfm: Install Rubygems integration metadata                      │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/share/rubygems-integration/all/specifications/tdiary-style-gfm-1.2.0.gemspec
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.3                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"tdiary-style-gfm\"
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1421:in `block in activate_dependencies': Could not find 'unf' (~> 0.1.0) among 127 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0' at: /usr/share/rubygems-integration/all/specifications/twitter-text-1.14.7.gemspec, execute `gem env` for more information
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `each'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1389:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1423:in `block in activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `each'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1407:in `activate_dependencies'
	from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1389:in `activate'
	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `block in gem'
	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `synchronize'
	from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:62:in `gem'
	from -e:1:in `<main>'
abbrev (default: 0.1.2)
addressable (2.8.7)
base64 (default: 0.2.0)
benchmark (default: 0.3.0)
bigdecimal (default: 3.1.5)
bundler (default: 2.5.22)
cgi (default: 0.4.2)
commonmarker (0.23.10)
concurrent-ruby (1.3.5)
concurrent-ruby-edge (0.7.2)
csv (3.3.4, default: 3.2.8)
date (default: 3.3.4)
debug (1.9.2)
delegate (default: 0.3.1)
did_you_mean (1.6.3)
diff-lcs (1.6.2)
digest (default: 3.1.1)
drb (default: 2.2.0)
emot (0.0.4)
english (default: 0.8.0)
erb (default: 4.0.3)
error_highlight (default: 0.6.0)
etc (default: 1.4.3)
execjs (2.10.0)
fastimage (2.4.0)
fcntl (default: 1.1.0)
fiddle (default: 1.1.2)
fileutils (default: 1.7.2)
find (default: 0.2.0)
forwardable (default: 1.3.3)
getoptlong (default: 0.2.1)
hike (1.2.1)
hikidoc (0.1.0)
i18n (1.14.7)
io-console (default: 0.7.1)
io-nonblock (default: 0.3.0)
io-wait (default: 0.3.1)
ipaddr (default: 1.2.6)
irb (default: 1.13.1)
json (default: 2.7.2)
logger (default: 1.6.0)
mail (2.8.1)
matrix (0.4.2)
mini_mime (1.1.5)
minitest (5.26.1, 5.20.0)
multi_json (1.15.0)
mutex_m (default: 0.2.0)
net-ftp (0.3.4)
net-http (default: 0.4.1)
net-imap (0.4.19)
net-pop (0.1.2)
net-protocol (default: 0.2.2)
net-smtp (0.5.1)
net-telnet (0.2.0)
nkf (default: 0.1.3)
observer (default: 0.1.2)
open-uri (default: 0.4.1)
open3 (default: 0.2.1)
openssl (default: 3.2.0)
optparse (default: 0.4.0)
ostruct (default: 0.6.0)
pathname (default: 0.3.0)
power_assert (2.0.5, 2.0.3)
pp (default: 0.5.0)
prettyprint (default: 0.2.0)
prime (0.1.2)
prism (default: 0.19.0)
pstore (default: 0.1.3)
psych (default: 5.1.2)
public_suffix (6.0.2)
racc (1.7.3)
rack (3.1.18)
rake (13.2.1, 13.1.0)
rbs (3.4.0)
rdoc (default: 6.6.3.1)
readline (default: 0.0.4)
reline (default: 0.5.10)
resolv (default: 0.3.0)
resolv-replace (default: 0.1.1)
rexml (3.3.9)
rinda (default: 0.2.0)
rouge (4.6.1)
rspec (3.13.0)
rspec-core (3.13.0)
rspec-expectations (3.13.0)
rspec-mocks (3.13.0)
rspec-support (3.13.1)
rss (0.3.1)
ruby-debian (0.3.10)
ruby-enum (0.9.0)
ruby2_keywords (0.0.5)
rubygems-update (3.6.7)
securerandom (default: 0.3.1)
set (default: 1.1.0)
shellwords (default: 0.2.0)
singleton (default: 0.2.0)
sprockets (4.2.1)
stringio (default: 3.1.1)
strscan (default: 3.0.9)
syntax_suggest (default: 2.0.1)
syslog (default: 0.1.2)
tempfile (default: 0.2.1)
test-unit (3.6.2, 3.6.1)
thor (1.4.0)
tilt (2.6.1)
time (default: 0.3.0)
timeout (default: 0.4.1)
tmpdir (default: 0.2.0)
tsort (default: 0.2.0)
twitter-text (1.14.7)
typeprof (0.21.9)
un (default: 0.3.0)
unf (0.2.0)
uri (default: 0.13.2)
weakref (default: 0.1.3)
webrick (1.9.1)
xmlrpc (0.3.3)
yaml (default: 0.3.0)
zlib (default: 3.1.1)

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/tdiary-style-gfm/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation

TDiary::Style::GfmDiary
  #append
    HTML
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...># comment in code block\n</code></pre>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    CHTML
      is expected to eq "<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Time.at( 1041346800 ), \"su...re><code># comment in code block\n</code></pre>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n"
    to_src
      is expected to eq "# subTitle\nhonbun\n\n## subTitleH4\nhonbun\n\n```\n# comment in code block\n```\n\n"
  #replace
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...<h4>replaceTitleH4</h4>\n<p>replace</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  autolink
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...gle.com\">http://www.google.com</a></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  auto imagelink
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...le.com/logo.jpg\" alt=\"google\" /></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  auto imagelink
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti....com\" target=\"_blank\">Anchor</a></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  url syntax with code blocks
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...tp://example.com</a> is example.com</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  ignored url syntax with markdown anchor
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...le.com\">example</a> is example.com</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  plugin syntax
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...l'\nvalval\nvalval\nvaoooo\nEOS\n%></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  plugin syntax with url args
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...ttps://www.example.com/bar.html\"%></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  link to my plugin
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...><%=my \"20120101p01\", \"Link\" %></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  code highlighting
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...s\n   @foo = 'bar'\n end\n</code></pre>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  ignore emphasis
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...uda</p>\n<p><%=isbn_left_image ''%></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  twitter username
    in plain context
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...ofollow\">a_matsuda</a> is amatsuda</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    with <pre>
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...e></pre>\n<p>@a_matsuda is amatsuda</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    with <code>
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...ode></p>\n<p>@a_matsuda is amatsuda</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  emoji
    in plain context
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti... alt='sushi' class='emoji' /> は美味しい</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    in (multiline) <pre>
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...re><code>:sushi: は\n美味しい\n</code></pre>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    in <code>
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti.../h3>\n<p><code>:sushi:</code> は美味しい</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
    in <code> (with attribute)
      is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti... class=\"foo\">:sushi:</code> は美味しい</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  do not modify original string
    is expected to eq "\n{{fn 'テスト'}}\"\n\n"
  stashes in pre, code, plugin
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...=plugin \"\\0\", \"\\1\", \"\\2\"%></p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"
  plugin syntax in pre, code block
    is expected to eq "<div class=\"section\">\n<%=section_enter_proc( Time.at( 1041346800 ) )%>\n<h3><%= subtitle_proc( Ti...ddress}}</code> is golang template.</p>\n<%=section_leave_proc( Time.at( 1041346800 ) )%>\n</div>\n"

Finished in 0.00742 seconds (files took 0.13104 seconds to load)
24 examples, 0 failures

/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57: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 /<<PKGBUILDDIR>>/debian/tdiary-style-gfm returned exit code 1
make[1]: *** [debian/rules:9: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-ruby-extras-maintainers mailing list