[DRE-maint] Bug#996351: ruby-rack-oauth2: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: NoMethodError:
Antonio Terceiro
terceiro at debian.org
Wed Oct 13 12:50:36 BST 2021
Source: ruby-rack-oauth2
Version: 1.16.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-rack-oauth2 was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> NoMethodError:
> undefined method `encode' for URI:Module
> # ./lib/rack/oauth2/util.rb:8:in `rfc3986_encode'
> # ./spec/rack/oauth2/util_spec.rb:13:in `block (3 levels) in <top (required)>'
> # ./spec/rack/oauth2/util_spec.rb:14:in `block (3 levels) in <top (required)>'
>
> Finished in 3.62 seconds (files took 5.24 seconds to load)
> 379 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/rack/oauth2/util_spec.rb:14 # Rack::OAuth2::Util.rfc3986_encode
>
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-rack-oauth2/ruby-rack-oauth2_1.16.0-1+rebuild1633391818_amd64.build.txt
-------------- 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/20211013/f4d86fcb/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list