#1019643 ruby-omniauth-oauth2-generic: FTBFS with ruby3.1: ERROR: Test "ruby3.0" failed: Failure/Error: expect(last_response.headers["Location"]).to match(%r{redirect_uri=https%3A%2F%2Fmy_server.com%2Foauth%2Fcallback&})

#1019643#5
Date:
2022-09-13 01:08:30 UTC
From:
To:
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):
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

#1019643#12
Date:
2023-03-22 13:59:53 UTC
From:
To:
On Mon, 12 Sep 2022 22:08:30 -0300 Antonio Terceiro  <terceiro@debian.org> wrote:
 > 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.

This looks like a test only failure as gitlab confirmed everything
works with ruby 3.0 here
https://gitlab.com/gitlab-org/gitlab/-/issues/386908

The upstream seems inactive though, still reported as
https://gitlab.com/satorix/omniauth-oauth2-generic/-/issues/37

#1019643#17
Date:
2026-06-30 23:08:16 UTC
From:
To:
Hello,

Bug #1019643 in ruby-omniauth-oauth2-generic reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-omniauth-oauth2-generic/-/commit/d49589847c15a5678bdde19c26809345f1c23056

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1019643

#1019643#24
Date:
2026-06-30 23:57:26 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-omniauth-oauth2-generic, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1019643@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon Quigley <tsimonq2@debian.org> (supplier of updated ruby-omniauth-oauth2-generic package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 30 Jun 2026 18:07:40 -0500
Source: ruby-omniauth-oauth2-generic
Architecture: source
Version: 0.2.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Simon Quigley <tsimonq2@debian.org>
Closes: 1019643 1109026
Changes:
 ruby-omniauth-oauth2-generic (0.2.8-2) unstable; urgency=medium
 .
   * Team upload.
   * Drop DH_RUBY_IGNORE_TESTS from control.
   * Allow both GET and POST methods in the tests (Closes: #1019643, #1109026).
   * Refresh patch headers.
   * Refresh the upstream metadata.
   * Upgrade the watch file to version 5.
   * Use --gem-install layout in rules.
   * Refresh the copyright file.
   * Drop {XS,XB}-Ruby-Versions from control.
   * Update Standards-Version to 4.7.4.
   * Bump debhelper-compat to 14, dropping ${misc:Depends},
     ${shlibs:Depends}, and ${ruby:Depends} from runtime dependencies.
Checksums-Sha1:
 676d9178277aa4c132b01f0d74d05f5aa5212e69 2257 ruby-omniauth-oauth2-generic_0.2.8-2.dsc
 85011d2223651e2c7d98458fa4ec55a69d9bfb13 3440 ruby-omniauth-oauth2-generic_0.2.8-2.debian.tar.xz
 4485037c45f9a40c7deff27699fdb150ebb3b5d9 8135 ruby-omniauth-oauth2-generic_0.2.8-2_source.buildinfo
Checksums-Sha256:
 02f6e38b342fa618739a0dcca2a8a123fd36e22b6529bdd34f4f485f14eb1065 2257 ruby-omniauth-oauth2-generic_0.2.8-2.dsc
 939c200c6c40ebb8f951ee1b0c8209f6d61c060b2faa00671b034abe659b0d05 3440 ruby-omniauth-oauth2-generic_0.2.8-2.debian.tar.xz
 f83f4f7750e51b45e350e159341b3099c7f38a15697be69660edc532fe5a5c06 8135 ruby-omniauth-oauth2-generic_0.2.8-2_source.buildinfo
Files:
 f71102b0da33ca4fbb6cb40f3838eda1 2257 ruby optional ruby-omniauth-oauth2-generic_0.2.8-2.dsc
 0ae0c5fd645579ddca051a3ea25b2c96 3440 ruby optional ruby-omniauth-oauth2-generic_0.2.8-2.debian.tar.xz
 9e39a2429a5d363e544b926247fc7389 8135 ruby optional ruby-omniauth-oauth2-generic_0.2.8-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmpETFwACgkQ4n8s+EWM
L6ROTQ/8C/FpPTUaQm9lNKKtnyrem33NRvKLsf+Eu6NV6qFE5FCiEdhYmWCQ1U9X
rbdDf6EpwBZ2X3FooMmhhBkzxWvqTvo/w2LNPQpFJbMlfUf5K8Qb20KemtPy0HiZ
1Uc311TwL947HB3YIejziOr9eeBMz7IhuXsuLbN1nDzFJcU3cxdGjvbk9aMOGfUr
gcuHDC5Ll+aJNqQBmGYuDaofKB8Hokeie0vHhdjB2lfAFKB9TzSRhvYsr+RDV7vs
0tGIp2GAABKaXUtj8TCOnJyRZsizhK3v5P0dKFsnCiUHWY4cZe0Syt3tHN/YqvOW
/vOJiD8cqOC1Sa0ZSfGU9fSgxPo0RoOB4ikTUedzPgig+4FSoGacCU9ANmcUKqI1
faxp/SqjBVEj1FiQrDyHXnwuEywWqKOQgVpQRxaYRFFazzDRfDscQ6paKT5yCdF8
4ph+flvssaw4Y2GRIaB6y5E+99ffb7CJ32rTxazeybieLbbB7U54fmz3vNz4usuh
FrVktpAbAsnzKpPKvteydFuuFGUhuncQrgkYIy1MUVQkH9ukibZ16d2R+3YxBmta
h4wBnavYB2EBQ7pwwRod8GOQ+LgBGOSMRgTY0miID3riVf3m545+CBuC0XyRlNnu
ca3UQyiKMDQxUuQ0B5kkPx5FKMJWZkGukDfG4DCeVEPF6udf5wo=
=VW6W
-----END PGP SIGNATURE-----