[DRE-maint] Bug#996295: ruby-i18n-inflector-rails: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:

Antonio Terceiro terceiro at debian.org
Tue Oct 12 23:19:43 BST 2021


Source: ruby-i18n-inflector-rails
Version: 1.0.7-4.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-i18n-inflector-rails 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):
>       ArgumentError:
>         wrong number of arguments (given 2, expected 1)
>       # /usr/share/rubygems-integration/all/gems/actionpack-6.0.3.7/lib/abstract_controller/translation.rb:13:in `translate'
>       # ./lib/i18n-inflector-rails/inflector.rb:322:in `translate'
>       # ./spec/inflector_spec.rb:215:in `t_male'
>       # ./spec/inflector_spec.rb:327:in `block (4 levels) in <top (required)>'
> 
> Finished in 2.06 seconds (files took 3.09 seconds to load)
> 33 examples, 11 failures
> 
> Failed examples:
> 
> rspec ./spec/inflector_spec.rb:272 # ApplicationController controller instance methods #translate should translate using inflection patterns and pick up the right value
> rspec ./spec/inflector_spec.rb:278 # ApplicationController controller instance methods #translate should make use of a block passed to inflection method
> rspec ./spec/inflector_spec.rb:282 # ApplicationController controller instance methods #translate should make use of inherited inflection method assignments
> rspec ./spec/inflector_spec.rb:286 # ApplicationController controller instance methods #translate should make use of overriden inflection method assignments
> rspec ./spec/inflector_spec.rb:290 # ApplicationController controller instance methods #translate should prioritize strict kinds when both inflection options are passed
> rspec ./spec/inflector_spec.rb:295 # ApplicationController controller instance methods #translate should use regular kind option when strict kind option is missing
> rspec ./spec/inflector_spec.rb:300 # ApplicationController controller instance methods #translate should make use of disabled inflection method assignments
> rspec ./spec/inflector_spec.rb:308 # ApplicationController controller instance methods #translate should not raise when method does not exists and verify_methods is enabled
> rspec ./spec/inflector_spec.rb:314 # ApplicationController controller instance methods #translate should translate with the :inflector_lazy_methods switch turned off
> rspec ./spec/inflector_spec.rb:318 # ApplicationController controller instance methods #translate should omit pattern interpolation when locale is not inflected
> rspec ./spec/inflector_spec.rb:326 # ApplicationController controller instance methods #t should call translate
> 
> /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 failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-i18n-inflector-rails/ruby-i18n-inflector-rails_1.0.7-4.1+rebuild1633383189_amd64.build.txt
-------------- 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/20211012/17980ead/attachment.sig>


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