[DRE-maint] Bug#996514: ruby-terrapin: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Failure/Error: undef_method :exitstatus

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


Source: ruby-terrapin
Version: 0.6.0-2
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-terrapin 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):
>      Failure/Error: undef_method :exitstatus
> 
>      FrozenError:
>        can't modify frozen object: pid 1724074 exit 0
>      # ./spec/support/unsetting_exitstatus.rb:4:in `undef_method'
>      # ./spec/support/unsetting_exitstatus.rb:4:in `singleton class'
>      # ./spec/support/unsetting_exitstatus.rb:3:in `assuming_no_processes_have_been_run'
>      # ./spec/terrapin/errors_spec.rb:55:in `block (2 levels) in <top (required)>'
> 
> Deprecation Warnings:
> 
> Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/terrapin/command_line/runners/backticks_runner_spec.rb:19:in `block (2 levels) in <top (required)>'.
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 1 deprecation warning total
> 
> Finished in 1.4 seconds (files took 0.51763 seconds to load)
> 67 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/terrapin/errors_spec.rb:54 # When an error happens does not blow up if running the command errored before execution
> 
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-terrapin/ruby-terrapin_0.6.0-2+rebuild1633396815_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/f9741519/attachment.sig>


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