[DRE-maint] Bug#1019642: ruby-omniauth-kerberos: FTBFS with ruby3.1: ERROR: Test "ruby3.0" failed: NoMethodError:

Antonio Terceiro terceiro at debian.org
Tue Sep 13 02:07:46 BST 2022


Source: ruby-omniauth-kerberos
Version: 0.3.0-3.1
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-omniauth-kerberos with ruby3.1 enabled, the build failed.
However, this failure does not look related to ruby3.1, as it happens
still at the ruby3.0 stage.

Relevant part of the build log (hopefully):
>      NoMethodError:
>        undefined method `[]' for nil:NilClass
>      # ./spec/omniauth/strategy/kerberos_spec.rb:26:in `block (4 levels) in <top (required)>'
>      # /usr/share/rubygems-integration/all/gems/omniauth-2.0.4/lib/omniauth/strategy.rb:202:in `call!'
>      # /usr/share/rubygems-integration/all/gems/omniauth-2.0.4/lib/omniauth/strategy.rb:169:in `call'
>      # /usr/share/rubygems-integration/all/gems/omniauth-2.0.4/lib/omniauth/test/phony_session.rb:11:in `call'
>      # /usr/share/rubygems-integration/all/gems/rack-test-2.0.2/lib/rack/test.rb:358:in `process_request'
>      # /usr/share/rubygems-integration/all/gems/rack-test-2.0.2/lib/rack/test.rb:165:in `custom_request'
>      # /usr/share/rubygems-integration/all/gems/rack-test-2.0.2/lib/rack/test.rb:114:in `get'
>      # ./spec/omniauth/strategy/kerberos_spec.rb:31:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.03598 seconds (files took 0.18132 seconds to load)
> 3 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/omniauth/strategy/kerberos_spec.rb:30 # OmniAuth::Strategies::Kerberos shows login FORM
> 
> Randomized with seed 49118
> 
> /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 failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-omniauth-kerberos/ruby-omniauth-kerberos_0.3.0-3.1+rebuild1663007898_amd64-2022-09-12T18:38:19Z.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
-------------- 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/20220912/54a523a5/attachment.sig>


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