[DRE-maint] Bug#996127: ruby-avl-tree: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Error: test_each_value(TestRedBlackTree): ArgumentError: tried to create Proc object without a block

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:49:51 BST 2021


Source: ruby-avl-tree
Version: 1.2.1-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-avl-tree 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):
> Error: test_each_value(TestRedBlackTree): ArgumentError: tried to create Proc object without a block
> /<<PKGBUILDDIR>>/debian/ruby-avl-tree/usr/lib/ruby/vendor_ruby/red_black_tree.rb:483:in `initialize'
> /<<PKGBUILDDIR>>/debian/ruby-avl-tree/usr/lib/ruby/vendor_ruby/red_black_tree.rb:483:in `new'
> /<<PKGBUILDDIR>>/debian/ruby-avl-tree/usr/lib/ruby/vendor_ruby/red_black_tree.rb:483:in `each_value'
> /<<PKGBUILDDIR>>/test/test_red_black_tree.rb:516:in `test_each_value'
>      513:     s.each do |k, v|
>      514:       h[k] = v
>      515:     end
>   => 516:     assert_equal s.values.sort, h.each_value.sort
>      517:     #
>      518:     values = []
>      519:     h.each_value do |v|
> ===============================================================================
> ................
> Finished in 0.03659665 seconds.
> -------------------------------------------------------------------------------
> 121 tests, 550 assertions, 0 failures, 9 errors, 0 pendings, 0 omissions, 0 notifications
> 92.562% passed
> -------------------------------------------------------------------------------
> 3306.31 tests/s, 15028.70 assertions/s
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-avl-tree/ruby-avl-tree_1.2.1-1+rebuild1633375423_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/ca9c5032/attachment.sig>


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