Source: ruby-cocaine Version: 0.5.8-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-cocaine 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 2351759 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/cocaine/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/cocaine/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 6.87 seconds (files took 2.68 seconds to load)
> 67 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/cocaine/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-cocaine/ruby-cocaine_0.5.8-1.1+rebuild1633376733_amd64.build.txt
signature.asc
Description: PGP signature

