[From nobody Wed Jul  1 00:59:05 2026
Received: (at submit) by bugs.debian.org; 13 Sep 2022 01:08:36 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.9 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FROMDEVELOPER,PGPSIGNATURE,
 SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
 autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 150; neutral, 144; spammy,
 0. spammytokens: hammytokens:0.000-+--H*ct:pgp-sha256,
 0.000-+--bookworm, 0.000-+--H*RT:localhost, 0.000-+--H*ct:application,
 0.000-+--H*ct:protocol
Return-path: &lt;terceiro@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47814)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;terceiro@debian.org&gt;) id 1oXuPk-0005zb-MN
 for submit@bugs.debian.org; Tue, 13 Sep 2022 01:08:36 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=cjxLeBEsOH48fGWqWsUAc1lpj3yyhDneEiia7QOwwgA=; b=mmLFKtvSPcTtPzt8mSrZscO2Y/
 TfYnWuSPJJFvc+xcv1+b7XntFgUkAy3FRH9/lKn2kQR9uASEJGQBUaDwau7Kx1uom/CLRTOUjb45b
 7HpITyi8pD4shXqtYO14XilynBvzSgXeKkD3la1s6R0nhRetiDMg5LhV+gjvrWeT7ZwYE9e/f/1ce
 8+gpf8yM1VwdQzAEpBLzEzF6RctH37Zq8azkxnTs7GYixbkoXfhgVTPNe8F/6HEQ+Q2N1XaPhk5WI
 89uTxzaaJRvSLUZclV1xEMlFzWLPP4nMR4zANN+RZc4m1FBtXWIxbPqitzmkpxd0JvtmTa+0WC0At
 g3yds8oQ==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;terceiro@debian.org&gt;)
 id 1oXuPj-002J8K-PC
 for submit@bugs.debian.org; Tue, 13 Sep 2022 01:08:34 +0000
Received: from localhost (unknown
 [IPv6:2804:14d:7224:851d:b068:36b7:24b7:ecf3])
 by winterfell.papolivre.org (Postfix) with ESMTPSA id 37CBC1C2F41
 for &lt;submit@bugs.debian.org&gt;; Mon, 12 Sep 2022 22:08:32 -0300 (-03)
Date: Mon, 12 Sep 2022 22:08:30 -0300
From: Antonio Terceiro &lt;terceiro@debian.org&gt;
To: submit@bugs.debian.org
Subject: ruby-omniauth-oauth2-generic: FTBFS with ruby3.1: ERROR: Test
 &quot;ruby3.0&quot; failed:      Failure/Error:
 expect(last_response.headers[&quot;Location&quot;]).to
 match(%r{redirect_uri=https%3A%2F%2Fmy_server.com%2Foauth%2Fcallback&amp;})
Message-ID: &lt;Yx/YDtYxCH/Puxy8@debian.org&gt;
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol=&quot;application/pgp-signature&quot;; boundary=&quot;PziCblu9StlYmYfl&quot;
Content-Disposition: inline
X-Debian-User: terceiro
Delivered-To: submit@bugs.debian.org


--PziCblu9StlYmYfl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Source: ruby-omniauth-oauth2-generic
Version: 0.2.2-1.1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby@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):
&gt;      Failure/Error: expect(last_response.headers[&quot;Location&quot;]).to match(%r=
{redirect_uri=3Dhttps%3A%2F%2Fmy_server.com%2Foauth%2Fcallback&amp;})
&gt;        expected nil to match /redirect_uri=3Dhttps%3A%2F%2Fmy_server.com%=
2Foauth%2Fcallback&amp;/
&gt;      # ./spec/strategies/oauth2_generic_spec.rb:54:in `block (4 levels) i=
n &lt;top (required)&gt;'
&gt;=20
&gt; Finished in 0.0412 seconds (files took 0.42358 seconds to load)
&gt; 8 examples, 4 failures
&gt;=20
&gt; Failed examples:
&gt;=20
&gt; rspec ./spec/strategies/oauth2_generic_spec.rb:15 # OmniAuth::Strategies:=
:OAuth2Generic using default options responds to the default auth URL (oaut=
h2_generic)
&gt; 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
&gt; 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
&gt; 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
&gt;=20
&gt; /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 --patt=
ern ./spec/\*\*/\*_spec.rb --format documentation failed
&gt; ERROR: Test &quot;ruby3.0&quot; failed:=20


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-12T=
18: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

--PziCblu9StlYmYfl
Content-Type: application/pgp-signature; name=&quot;signature.asc&quot;

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmMf2A4ACgkQ/A2xu81G
C95tBBAArAjrp7DTlYrudowWZJWuOpA0TaGlodrLMYiZVAF0albSVOBJceGdIsCF
bIIij69lyJINTivgPPliwCfOOV5P/tO+5wRLD5bEG6sBeKnenJGe0opgJKryWUP2
+o5UnnZ8YRzleh/5tQIfJfszaH8kN3YylH+umY9MU+MOEJkK8zHanetglkIOLlfu
4IRomn5q7QaBjSqzV6+BWEMt10fiKGu7w0ZblcDXxNEJkwYialqdbnfjbQor0pz9
tnssruL4Pf10S+q1XZoFtAHCu51ggTj5CAgqQr7QJ3qT0j+4KBJcH9r1Oy+omH4J
K23LfbUGsp46kNeLr14JOBXPb8ZZfogiJJAKMxgMx+1WF3geofYb79OLm4kj53iT
gv4UKhZTZSxOElcQzOpidyUjw7fr5y+wKAqCWDPzAgurFB5ERNu+UODa6nUa0Zac
GFxshwU7Tf25masVViOHCDqrfUZkxVH3dbaaj07HJ7Sh8/vdn2HwB17Ytmqhlnmu
yVKRn5iE1WrGQ2lIpvNhwijKPaC8h8rAy2VRR1eMqJxaMd3uPenWWP4GqVxps6qP
49qzhS+Zi5aJKLxP/jbg4xor/1F8+riE2FbWYl2kXN4jaaMfP6vV1nsySyY8Y7/Y
LRVR/F0LPFiIKMSUmDYzdUDlnvNRZDoV9KEI3DPb5Es079CmLjY=
=KLgq
-----END PGP SIGNATURE-----

--PziCblu9StlYmYfl--
]