[DRE-maint] Bug#996342: ruby-omniauth-openid-connect: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError: wrong number of arguments (given 2, expected 0..1)

Antonio Terceiro terceiro at debian.org
Wed Oct 13 12:44:05 BST 2021


Source: ruby-omniauth-openid-connect
Version: 0.4.0-2
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-omniauth-openid-connect 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 0..1)
>     /usr/share/rubygems-integration/all/gems/i18n-1.8.10/lib/i18n.rb:196:in `translate'
>     /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:153:in `translate'
>     /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:96:in `fetch'
>     /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:120:in `parse'
>     /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker/name.rb:9:in `name'
>     /<<PKGBUILDDIR>>/test/strategy_test_case.rb:33:in `user_info'
>     /<<PKGBUILDDIR>>/test/strategy_test_case.rb:61:in `block in strategy'
>     <internal:kernel>:90:in `tap'
>     /<<PKGBUILDDIR>>/test/strategy_test_case.rb:57:in `strategy'
>     /<<PKGBUILDDIR>>/test/lib/omniauth/strategies/openid_connect_test.rb:138:in `test_option_acr_values'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
>     /usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
> 
> 40 runs, 0 assertions, 0 failures, 40 errors, 0 skips
> [Coveralls] Outside the CI environment, not sending data.
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/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.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-omniauth-openid-connect/ruby-omniauth-openid-connect_0.4.0-2+rebuild1633389953_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/20211013/3b23a26f/attachment.sig>


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