[DRE-maint] Bug#996136: ruby-bindex: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed.

Antonio Terceiro terceiro at debian.org
Mon Oct 11 14:01:29 BST 2021


Source: ruby-bindex
Version: 0.5.0-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-bindex 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):
> /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.0                           │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-bindex/usr/share/rubygems-integration/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -e gem\ \"bindex\"
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.0 from debian/ruby-tests.rake                            │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-bindex/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0:/<<PKGBUILDDIR>>/debian/ruby-bindex/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-bindex/usr/share/rubygems-integration/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -S rake -f debian/ruby-tests.rake
> /usr/bin/ruby3.0 -w -I"test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/current_bindings_test.rb" "test/exception_test.rb" "test/test_helper.rb" -v
> Run options: -v --seed 43548
> 
> # Running:
> 
> CurrentBindingsTest#test_first binding returned is the current one = 0.00 s = F
> ExceptionTest#test_re-raising doesn't lose bindings information = 0.00 s = F
> ExceptionTest#test_bindings goes down the_stack = 0.00 s = F
> ExceptionTest#test_bindings is_empty_when_exception_is_still_not_raised = 0.00 s = .
> ExceptionTest#test_bindings is_empty_when_set_backtrace_is_badly_called = 0.00 s = .
> ExceptionTest#test_bindings inside_of_an_eval = 0.00 s = F
> ExceptionTest#test_bindings returns all the bindings of where the error originated = 0.00 s = F
> ExceptionTest#test_bindings returns all the bindings of where a custom error originate = 0.00 s = F
> 
> Finished in 0.002111s, 3790.5530 runs/s, 4264.3721 assertions/s.
> 
>   1) Failure:
> CurrentBindingsTest#test_first binding returned is the current one [/<<PKGBUILDDIR>>/test/current_bindings_test.rb:5]:
> Expected: 5
>   Actual: 1
> 
>   2) Failure:
> ExceptionTest#test_re-raising doesn't lose bindings information [/<<PKGBUILDDIR>>/test/exception_test.rb:31]:
> Expected: 3
>   Actual: 1
> 
>   3) Failure:
> ExceptionTest#test_bindings goes down the_stack [/<<PKGBUILDDIR>>/test/exception_test.rb:19]:
> Expected: 11
>   Actual: 1
> 
>   4) Failure:
> ExceptionTest#test_bindings inside_of_an_eval [/<<PKGBUILDDIR>>/test/exception_test.rb:25]:
> Expected: 11
>   Actual: 1
> 
>   5) Failure:
> ExceptionTest#test_bindings returns all the bindings of where the error originated [/<<PKGBUILDDIR>>/test/exception_test.rb:7]:
> Expected: 3
>   Actual: 1
> 
>   6) Failure:
> ExceptionTest#test_bindings returns all the bindings of where a custom error originate [/<<PKGBUILDDIR>>/test/exception_test.rb:13]:
> Expected: 5
>   Actual: 1
> 
> 8 runs, 9 assertions, 6 failures, 0 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/current_bindings_test.rb" "test/exception_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-bindex/ruby-bindex_0.5.0-1+rebuild1633375661_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/0559b45f/attachment-0001.sig>


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