Source: ruby-devise-two-factor Version: 4.0.0-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-devise-two-factor 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) > Shared Example Group: "two_factor_authenticatable" called from > ./spec/devise/models/two_factor_authenticatable_spec.rb:50 > # > /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:17:in > `first_name' > # > /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker/internet.rb:46:in > `block in username' > # > /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:168:in > `block in with_locale' > # > /usr/share/rubygems-integration/all/gems/i18n-1.8.10/lib/i18n.rb:314:in > `with_locale' > # > /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker.rb:168:in > `with_locale' > # > /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker/internet.rb:21:in > `username' > # > /usr/share/rubygems-integration/all/gems/faker-1.9.1/lib/faker/internet.rb:6:in > `email' > # > ./lib/devise_two_factor/spec_helpers/two_factor_authenticatable_shared_examples.rb:99:in > `block (3 levels) in <top (required)>' > # > ./lib/devise_two_factor/spec_helpers/two_factor_authenticatable_shared_examples.rb:107:in > `block (3 levels) in <top (required)>' > > Finished in 27.57 seconds (files took 3.89 seconds to load) > 43 examples, 5 failures > > Failed examples: > > rspec './spec/devise/models/two_factor_backupable_spec.rb[1:1:1:2:2:1]' # > Devise::Models::TwoFactorBackupable When included in a class behaves like > two_factor_backupable #generate_otp_backup_codes! with existing recovery > codes invalidates the existing recovery codes > rspec './spec/devise/models/two_factor_authenticatable_spec.rb[2:1:1:4:2]' # > Devise::Models::TwoFactorAuthenticatable When included in a class behaves > like two_factor_authenticatable #otp_provisioning_uri should return uri with > issuer option > rspec './spec/devise/models/two_factor_authenticatable_spec.rb[2:1:1:4:1]' # > Devise::Models::TwoFactorAuthenticatable When included in a class behaves > like two_factor_authenticatable #otp_provisioning_uri should return uri with > specified account > rspec './spec/devise/models/two_factor_authenticatable_spec.rb[1:1:1:4:1]' # > Devise::Models::TwoFactorAuthenticatable When included in a class behaves > like two_factor_authenticatable #otp_provisioning_uri should return uri with > specified account > rspec './spec/devise/models/two_factor_authenticatable_spec.rb[1:1:1:4:2]' # > Devise::Models::TwoFactorAuthenticatable When included in a class behaves > like two_factor_authenticatable #otp_provisioning_uri should return uri with > issuer option > > Randomized with seed 43488 > > /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 --format documentation failed > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-devise-two-factor/ruby-devise-two-factor_4.0.0-2+rebuild1633378063_amd64.build.txt
signature.asc
Description: PGP signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
