Source: ruby-appraiser
Version: 0.2.0-3.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-appraiser 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):
>         No such file or directory @ rb_sysopen - 
> http://rubygems.org/api/v1/gems/rails.json
>       # ./lib/rubygems/commands/appraiser_command.rb:73:in `initialize'
>       # ./lib/rubygems/commands/appraiser_command.rb:73:in `open'
>       # ./lib/rubygems/commands/appraiser_command.rb:73:in `load_json'
>       # ./spec/appraiser_spec.rb:122:in `block (4 levels) in <top (required)>'
> 
> Deprecation Warnings:
> 
> Using `should_receive` from rspec-mocks' old `:should` syntax without 
> explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or 
> explicitly enable `:should` instead. Called from 
> /<<PKGBUILDDIR>>/spec/appraiser_spec.rb:40:in `block (3 levels) in <top 
> (required)>'.
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 1 deprecation warning total
> 
> Finished in 0.0384 seconds (files took 0.48184 seconds to load)
> 25 examples, 13 failures
> 
> Failed examples:
> 
> rspec ./spec/appraiser_spec.rb:60 # 
> Gem::Commands::AppraiserCommand#process(output) response body is not empty 
> json retrieves :default group dependency json from RubyGems API
> rspec ./spec/appraiser_spec.rb:68 # 
> Gem::Commands::AppraiserCommand#process(output) response body is not empty 
> json not retrieves :test group dependency json from RubyGems API
> rspec ./spec/appraiser_spec.rb:89 # 
> Gem::Commands::AppraiserCommand#process(output) response body is empty json 
> not raises exception
> rspec ./spec/appraiser_spec.rb:95 # 
> Gem::Commands::AppraiserCommand#process(output) response body is empty json 
> puts dependency source
> rspec ./spec/appraiser_spec.rb:113 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() raises 
> OpenURI::HTTPError exception 
> rspec ./spec/appraiser_spec.rb:114 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() raises 
> OpenURI::HTTPError exception 
> rspec ./spec/appraiser_spec.rb:125 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'name'
> rspec ./spec/appraiser_spec.rb:130 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'authors'
> rspec ./spec/appraiser_spec.rb:135 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'downloads'
> rspec ./spec/appraiser_spec.rb:140 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'project_uri'
> rspec ./spec/appraiser_spec.rb:145 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'documentation_uri'
> rspec ./spec/appraiser_spec.rb:150 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'source_code_uri'
> rspec ./spec/appraiser_spec.rb:155 # 
> Gem::Commands::AppraiserCommand#load_json(gem_name) open() returns JSON 
> response have key 'info'
> 
> /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 failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-appraiser/ruby-appraiser_0.2.0-3.1+rebuild1633375259_amd64.build.txt

Attachment: signature.asc
Description: PGP signature

Reply via email to