Source: ruby-roo
Version: 2.8.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-r...@lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-roo 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/roo/spreadsheet.rb:27:in `extension_for'
>      # ./lib/roo/spreadsheet.rb:8:in `open'
>      # ./spec/lib/roo/spreadsheet_spec.rb:39:in `block (5 levels) in <top 
> (required)>'
> 
> Finished in 4.28 seconds (files took 1.82 seconds to load)
> 239 examples, 3 failures
> 
> Failed examples:
> 
> rspec ./spec/lib/roo/csv_spec.rb:27 # Roo::CSV#parse with headers: true 
> doesn't blow up
> rspec ./spec/lib/roo/csv_spec.rb:41 # Roo::CSV#parse_with_clean_option with 
> clean: true doesn't blow up
> rspec ./spec/lib/roo/spreadsheet_spec.rb:37 # Roo::Spreadsheet.open for a url 
> that is csv treats the url as CSV
> 
> Coverage report generated for RSpec to /<<PKGBUILDDIR>>/coverage. 1395 / 1885 
> LOC (74.01%) covered.
> Stopped processing SimpleCov as a previous error not related to SimpleCov has 
> been detected
> /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-roo/ruby-roo_2.8.3-1+rebuild1633393685_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to