Source: ruby-avl-tree
Version: 1.2.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
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

Attachment: signature.asc
Description: PGP signature

Reply via email to