[DRE-maint] Bug#1019648: ruby-premailer-rails: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: RuntimeError:

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:15:56 BST 2022


Source: ruby-premailer-rails
Version: 1.10.3-3
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-premailer-rails with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> RuntimeError:
>   coverage measurement is already setup
> # /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start'
> # /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start_coverage_with_criteria'
> # /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:343:in `start_coverage_measurement'
> # /usr/share/rubygems-integration/all/gems/simplecov-0.21.2/lib/simplecov.rb:59:in `start'
> # ./spec/spec_helper.rb:15:in `<top (required)>'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
> # ./spec/unit/premailer_rails_spec.rb:1:in `<top (required)>'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in `load'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in `block in load'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
> # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:326:in `load'
> No examples found.
> 
> Finished in 0.00005 seconds (files took 1.27 seconds to load)
> 0 examples, 0 failures, 8 errors occurred outside of examples
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 38 / 255 LOC (14.9%) covered.
> Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> mv ./.gem2deb.Gemfile.lock Gemfile.lock
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-premailer-rails/ruby-premailer-rails_1.10.3-3+rebuild1663007954_amd64-2022-09-12T18:39:15Z.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/e7f9bf7f/attachment.sig>


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