[DRE-maint] Bug#1019645: ruby-otr-activerecord: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: ArgumentError:

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:10:06 BST 2022


Source: ruby-otr-activerecord
Version: 2.0.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-otr-activerecord with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>      ArgumentError:
>        wrong number of arguments (given 4, expected 1)
>      # ./lib/otr-activerecord/activerecord.rb:61:in `configure_from_file!'
>      # ./spec/otr-activerecord/activerecord_spec.rb:21:in `block (4 levels) in <top (required)>'
> 
> Finished in 0.00541 seconds (files took 0.43504 seconds to load)
> 2 examples, 2 failures
> 
> Failed examples:
> 
> rspec ./spec/otr-activerecord/activerecord_spec.rb:8 # OTR::ActiveRecord.configure_from_file! when simple configuration file is given configures active record
> rspec ./spec/otr-activerecord/activerecord_spec.rb:20 # OTR::ActiveRecord.configure_from_file! when configuration file with multiple roles given configures active record
> 
> /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 examples/grape-activerecord4/.gem2deb.Gemfile.lock examples/grape-activerecord4/Gemfile.lock
> mv examples/grape-activerecord5/.gem2deb.Gemfile.lock examples/grape-activerecord5/Gemfile.lock
> mv examples/rakefile-activerecord5/.gem2deb.Gemfile.lock examples/rakefile-activerecord5/Gemfile.lock
> mv examples/rakefile-activerecord5.2/.gem2deb.Gemfile.lock examples/rakefile-activerecord5.2/Gemfile.lock
> mv examples/rakefile-activerecord6.0/.gem2deb.Gemfile.lock examples/rakefile-activerecord6.0/Gemfile.lock
> mv examples/rakefile-activerecord7.0/.gem2deb.Gemfile.lock examples/rakefile-activerecord7.0/Gemfile.lock
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-otr-activerecord/ruby-otr-activerecord_2.0.3-3+rebuild1663007937_amd64-2022-09-12T18:38:58Z.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/92875100/attachment.sig>


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