[DRE-maint] Bug#1026627: ruby-omniauth-twitter: FTBFS: ERROR: Test "ruby3.1" failed: NoMethodError:

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:14:13 GMT 2022


Source: ruby-omniauth-twitter
Version: 1.4.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>      NoMethodError:
>        undefined method `[]' for nil:NilClass
> 
>              @env['SCRIPT_NAME'] || ''
>                  ^^^^^^^^^^^^^^^
>      # /usr/share/rubygems-integration/all/gems/omniauth-2.1.0/lib/omniauth/strategy.rb:501:in `script_name'
>      # /usr/share/rubygems-integration/all/gems/omniauth-2.1.0/lib/omniauth/strategy.rb:450:in `callback_path'
>      # ./lib/omniauth/strategies/twitter.rb:78:in `callback_path'
>      # ./spec/omniauth/strategies/twitter_spec.rb:171:in `block (4 levels) in <top (required)>'
> 
> Finished in 0.05119 seconds (files took 0.93798 seconds to load)
> 21 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/omniauth/strategies/twitter_spec.rb:170 # OmniAuth::Strategies::Twitter request_phase with no callback_url set should return the default callback_path value
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 49 / 51 LOC (96.08%) covered.
> Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
> /usr/bin/ruby3.1 -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.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/ruby-omniauth-twitter_1.4.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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