[DRE-maint] Bug#996122: ruby-addressable: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:45:36 BST 2021


Source: ruby-addressable
Version: 2.8.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-addressable 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):
>      ArgumentError:
>        wrong number of arguments (given 2, expected 1)
>      # /usr/share/rubygems-integration/all/gems/public_suffix-3.0.3/lib/public_suffix/list.rb:67:in `parse'
>      # /usr/share/rubygems-integration/all/gems/public_suffix-3.0.3/lib/public_suffix/list.rb:49:in `default'
>      # /usr/share/rubygems-integration/all/gems/public_suffix-3.0.3/lib/public_suffix.rb:67:in `parse'
>      # ./spec/addressable/uri_spec.rb:5597:in `block (3 levels) in <top (required)>'
> 
> Finished in 0.87539 seconds (files took 0.41869 seconds to load)
> 1387 examples, 9 failures, 5 pending
> 
> Failed examples:
> 
> rspec ./spec/addressable/uri_spec.rb:406 # Addressable::URI when initialized from individual components returns 'com' for #tld
> rspec ./spec/addressable/uri_spec.rb:2412 # Addressable::URI when parsed from 'HTTP://EXAMPLE.COM/' should have a tld of 'com'
> rspec ./spec/addressable/uri_spec.rb:2427 # Addressable::URI when parsed from 'http://www.example.co.uk/' should have a tld of 'co.uk'
> rspec ./spec/addressable/uri_spec.rb:2431 # Addressable::URI when parsed from 'http://www.example.co.uk/' should have a domain of 'example.co.uk'
> rspec ./spec/addressable/uri_spec.rb:2446 # Addressable::URI when parsed from 'http://sub_domain.blogspot.com/' should have a tld of 'com'
> rspec ./spec/addressable/uri_spec.rb:2450 # Addressable::URI when parsed from 'http://sub_domain.blogspot.com/' should have a domain of 'blogspot.com'
> rspec ./spec/addressable/uri_spec.rb:5580 # Addressable::URI when given the tld  'uk' should have a tld of 'uk'
> rspec ./spec/addressable/uri_spec.rb:5590 # Addressable::URI when given the tld  which  contains a subdomain
> rspec ./spec/addressable/uri_spec.rb:5596 # Addressable::URI when given the tld  which  is part of the domain
> 
> /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 spec/addressable/idna_spec.rb spec/addressable/security_spec.rb spec/addressable/template_spec.rb spec/addressable/uri_spec.rb failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-addressable/ruby-addressable_2.8.0-1+rebuild1633375132_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/20211011/a00dada5/attachment-0001.sig>


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