[DRE-maint] Bug#1122474: ruby-prawn-table: FTBFS: undefined method `manual_dir='

Santiago Vila sanvila at debian.org
Wed Dec 10 20:41:00 GMT 2025


Package: src:ruby-prawn-table
Version: 0.2.2-2
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:ruby-prawn-table, 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
W: XS-Ruby-Versions is deprecated, and will be ignored
   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
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-prawn-table

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-prawn-table: Install files                                              │
└──────────────────────────────────────────────────────────────────────────────┘

install -d /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell/image.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell/image.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell/in_table.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell/in_table.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell/span_dummy.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell/span_dummy.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell/subtable.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell/subtable.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell/text.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell/text.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cell.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cell.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/cells.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/cells.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/column_width_calculator.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/column_width_calculator.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table/version.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/prawn/table.rb /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby/prawn/table.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ ruby-prawn-table: Install Rubygems integration metadata                      │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/share/rubygems-integration/all/specifications/prawn-table-0.2.2.gemspec
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner

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

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-prawn-table/usr/share/rubygems-integration/all:/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 -t ~unresolved
Prawn specs: Running on Ruby Version: 3.3.8
Run options: exclude {:unresolved=>true}
......................................................................................................................................................Mocha deprecation warning at /<<PKGBUILDDIR>>/lib/prawn/table.rb:254:in `style': Expectation defined at /<<PKGBUILDDIR>>/spec/table_spec.rb:954:in `block (3 levels) in <top (required)>' expected keyword arguments (foo: :bar), but received positional hash ({:foo => :bar}). These will stop matching when strict keyword argument matching is enabled. See the documentation for Mocha::Configuration#strict_keyword_argument_matching=.
......................................................................

Deprecation Warnings:

RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is deprecated, it is now set to true as default and setting it to false has no effect.

Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/cell_spec.rb:30:in `block (3 levels) in <top (required)>'.


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

2 deprecation warnings total

Finished in 0.99061 seconds (files took 0.22407 seconds to load)
220 examples, 0 failures


┌──────────────────────────────────────────────────────────────────────────────┐
│ dh_ruby --install finished                                                   │
└──────────────────────────────────────────────────────────────────────────────┘

ruby manual/contents.rb
/<<PKGBUILDDIR>>/manual/example_helper.rb:8:in `<top (required)>': undefined method `manual_dir=' for module Prawn::ManualBuilder (NoMethodError)

Prawn::ManualBuilder.manual_dir = File.dirname(__FILE__)
                    ^^^^^^^^^^^^^
	from manual/contents.rb:5:in `require_relative'
	from manual/contents.rb:5:in `<main>'
make[1]: *** [debian/rules:19: override_dh_auto_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



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