[DRE-maint] Bug#1019664: ruby-rspec: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }

Antonio Terceiro terceiro at debian.org
Tue Sep 13 12:59:53 BST 2022


Source: ruby-rspec
Version: 3.10.0c1e1m2s3-1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-rspec with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>      Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
>        expected /received: 0 times/ but nothing was raised
>      # ./spec/rspec/support/deprecation_helpers_spec.rb:66:in `block (4 levels) in <top (required)>'
>      # ./spec/rspec/support/deprecation_helpers_spec.rb:65:in `block (3 levels) in <top (required)>'
> 
>   2) RSpec::Support::ShellOut can shell out to ruby with the current load path
>      # Need to investigate why this is failing -- see https://travis-ci.org/rspec/rspec-core/jobs/60327106 and https://travis-ci.org/rspec/rspec-support/jobs/60296920 for examples
>      # ./spec/rspec/support/spec/shell_out_spec.rb:22
> 
> Finished in 0.7821 seconds (files took 0.18394 seconds to load)
> 553 examples, 0 failures, 2 pending
> 
> Randomized with seed 24209
> 
> cd -
> Failed: rspec-core, rspec-expectations
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-rspec/ruby-rspec_3.10.0c1e1m2s3-1+rebuild1663008138_amd64-2022-09-12T18:42:19Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- 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/20220913/3b7dafda/attachment.sig>


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