[DRE-maint] Bug#996133: ruby-barby: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- sorted_set (LoadError)

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:59:24 BST 2021


Source: ruby-barby
Version: 0.6.8+dfsg-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-barby 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):
> <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- sorted_set (LoadError)
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/3.0.0/set/sorted_set.rb:2:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/vendor_ruby/chunky_png/palette.rb:13:in `<module:ChunkyPNG>'
> 	from /usr/lib/ruby/vendor_ruby/chunky_png/palette.rb:1:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/vendor_ruby/chunky_png.rb:155:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/vendor_ruby/rqrcode/export/png.rb:2:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/vendor_ruby/rqrcode/export.rb:5:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/vendor_ruby/rqrcode.rb:6:in `<module:RQRCode>'
> 	from /usr/lib/ruby/vendor_ruby/rqrcode.rb:3:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /<<PKGBUILDDIR>>/debian/ruby-barby/usr/lib/ruby/vendor_ruby/barby/barcode/qr_code.rb:1:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /<<PKGBUILDDIR>>/test/qr_code_test.rb:2:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in `block in <main>'
> 	from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `select'
> 	from /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `<main>'
> 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/bookland_test.rb" "test/codabar_test.rb" "test/code_128_test.rb" "test/code_25_iata_test.rb" "test/code_25_interleaved_test.rb" "test/code_25_test.rb" "test/code_39_test.rb" "test/code_93_test.rb" "test/ean13_test.rb" "test/ean8_test.rb" "test/outputter/cairo_outputter_test.rb" "test/outputter/html_outputter_test.rb" "test/outputter/pdfwriter_outputter_test.rb" "test/outputter/png_outputter_test.rb" "test/outputter/prawn_outputter_test.rb" "test/outputter/rmagick_outputter_test.rb" "test/outputter/svg_outputter_test.rb" "test/outputter_test.rb" "test/pdf_417_test.rb" "test/qr_code_test.rb" "test/upc_supplemental_test.rb" "test/test_helper.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-barby/ruby-barby_0.6.8+dfsg-1+rebuild1633375546_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/20211011/eb81e3ad/attachment.sig>


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