Source: ruby-omniauth-oauth2-generic
Version: 0.2.2-1.1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-omniauth-oauth2-generic with ruby3.1 enabled, the build
failed. This does not look related to ruby3.1 though, as the failure
happens yet at the ruby3.0 tests.

Relevant part of the build log (hopefully):
>      Failure/Error: expect(last_response.headers["Location"]).to 
> match(%r{redirect_uri=https%3A%2F%2Fmy_server.com%2Foauth%2Fcallback&})
>        expected nil to match 
> /redirect_uri=https%3A%2F%2Fmy_server.com%2Foauth%2Fcallback&/
>      # ./spec/strategies/oauth2_generic_spec.rb:54:in `block (4 levels) in 
> <top (required)>'
> 
> Finished in 0.0412 seconds (files took 0.42358 seconds to load)
> 8 examples, 4 failures
> 
> Failed examples:
> 
> rspec ./spec/strategies/oauth2_generic_spec.rb:15 # 
> OmniAuth::Strategies::OAuth2Generic using default options responds to the 
> default auth URL (oauth2_generic)
> rspec ./spec/strategies/oauth2_generic_spec.rb:45 # 
> OmniAuth::Strategies::OAuth2Generic with custom provider settings the auth 
> endpoint (/auth/{name}) responds to the custom auth URL
> rspec ./spec/strategies/oauth2_generic_spec.rb:49 # 
> OmniAuth::Strategies::OAuth2Generic with custom provider settings the auth 
> endpoint (/auth/{name}) redirects to the correct custom authorize URL
> rspec ./spec/strategies/oauth2_generic_spec.rb:53 # 
> OmniAuth::Strategies::OAuth2Generic with custom provider settings the auth 
> endpoint (/auth/{name}) passes the correct redirect URL
> 
> /usr/bin/ruby3.0 
> -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
> ERROR: Test "ruby3.0" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-omniauth-oauth2-generic/ruby-omniauth-oauth2-generic_0.2.2-1.1+rebuild1663007915_amd64-2022-09-12T18:38:36Z.build

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

Attachment: signature.asc
Description: PGP signature

Reply via email to