[DRE-maint] Bug#1019644: ruby-omniauth-openid-connect: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start': coverage measurement is already setup (RuntimeError)

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:09:22 BST 2022


Source: ruby-omniauth-openid-connect
Version: 0.10.0-2
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-omniauth-openid-connect with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start': coverage measurement is already setup (RuntimeError)
> 	from /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start_coverage_with_criteria'
> 	from /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:343:in `start_coverage_measurement'
> 	from /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:59:in `start'
> 	from /usr/lib/ruby/vendor_ruby/coveralls.rb:74:in `start!'
> 	from /usr/lib/ruby/vendor_ruby/coveralls.rb:19:in `wear!'
> 	from /<<PKGBUILDDIR>>/test/test_helper.rb:15:in `<top (required)>'
> 	from /<<PKGBUILDDIR>>/test/lib/omniauth/strategies/openid_connect_test.rb:1:in `require_relative'
> 	from /<<PKGBUILDDIR>>/test/lib/omniauth/strategies/openid_connect_test.rb:1:in `<top (required)>'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in `require'
> 	from /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
> 	from /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
> 	from /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
> [Coveralls] Set up the SimpleCov formatter.
> [Coveralls] Using SimpleCov's default settings.
> [Coveralls] Outside the CI environment, not sending data.
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/lib/omniauth/strategies/openid_connect_test.rb" "test/test_helper.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-omniauth-openid-connect/ruby-omniauth-openid-connect_0.10.0-2+rebuild1663007917_amd64-2022-09-12T18:38:37Z.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/20220912/a5070246/attachment.sig>


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