[DRE-maint] Bug#996515: ruby-tilt: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: TypeError: no implicit conversion of Hash into String

Antonio Terceiro terceiro at debian.org
Fri Oct 15 00:48:42 BST 2021


Source: ruby-tilt
Version: 2.0.10-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-tilt was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> TypeError: no implicit conversion of Hash into String
>     /usr/lib/ruby/3.0.0/csv.rb:1273:in `initialize'
>     /usr/lib/ruby/3.0.0/csv.rb:1273:in `new'
>     /usr/lib/ruby/3.0.0/csv.rb:1273:in `generate'
>     (__TEMPLATE__):in `__tilt_400'
>     /<<PKGBUILDDIR>>/debian/ruby-tilt/usr/lib/ruby/vendor_ruby/tilt/template.rb:170:in `call'
>     /<<PKGBUILDDIR>>/debian/ruby-tilt/usr/lib/ruby/vendor_ruby/tilt/template.rb:170:in `evaluate'
>     /<<PKGBUILDDIR>>/debian/ruby-tilt/usr/lib/ruby/vendor_ruby/tilt/template.rb:109:in `render'
>     /<<PKGBUILDDIR>>/test/tilt_csv_test.rb:32:in `block in <class:CSVTemplateTest>'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
> 
> 237 runs, 433 assertions, 1 failures, 6 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/tilt_asciidoctor_test.rb" "test/tilt_blueclothtemplate_test.rb" "test/tilt_buildertemplate_test.rb" "test/tilt_cache_test.rb" "test/tilt_coffeescripttemplate_test.rb" "test/tilt_commonmarkertemplate_test.rb" "test/tilt_compilesite_test.rb" "test/tilt_creoletemplate_test.rb" "test/tilt_csv_test.rb" "test/tilt_erbtemplate_test.rb" "test/tilt_erubistemplate_test.rb" "test/tilt_erubitemplate_test.rb" "test/tilt_etannitemplate_test.rb" "test/tilt_hamltemplate_test.rb" "test/tilt_kramdown_test.rb" "test/tilt_lesstemplate_test.rb" "test/tilt_liquidtemplate_test.rb" "test/tilt_livescripttemplate_test.rb" "test/tilt_mapping_test.rb" "test/tilt_markaby_test.rb" "test/tilt_markdown_test.rb" "test/tilt_marukutemplate_test.rb" "test/tilt_metadata_test.rb" "test/tilt_nokogiritemplate_test.rb" "test/tilt_pandoctemplate_test.rb" "test/tilt_prawntemplate_test.rb" "test/tilt_radiustemplate_test.rb" "test/tilt_rdiscounttemplate_test.rb" "test/tilt_rdoctemplate_test.rb" "test/tilt_redcarpettemplate_test.rb" "test/tilt_redclothtemplate_test.rb" "test/tilt_rstpandoctemplate_test.rb" "test/tilt_sasstemplate_test.rb" "test/tilt_sigil_test.rb" "test/tilt_stringtemplate_test.rb" "test/tilt_template_test.rb" "test/tilt_test.rb" "test/tilt_typescript_test.rb" "test/tilt_wikiclothtemplate_test.rb" "test/tilt_yajltemplate_test.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-tilt/ruby-tilt_2.0.10-1+rebuild1633397153_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211014/d51ea495/attachment-0001.sig>


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