[DRE-maint] Bug#996118: pry: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: NoMethodError:

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:39:34 BST 2021


Source: pry
Version: 0.13.1-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, pry 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 `to_json' for nil:NilClass
>      # (eval):1:in `block (3 levels) in <top (required)>'
>      # ./spec/syntax_checking_spec.rb:52:in `eval'
>      # ./spec/syntax_checking_spec.rb:52:in `block (3 levels) in <top (required)>'
> 
> Finished in 8.88 seconds (files took 0.60044 seconds to load)
> 1431 examples, 2 failures, 6 pending
> 
> Failed examples:
> 
> rspec './spec/syntax_checking_spec.rb[1:20]' # Pry should raise an error on invalid syntax like ["puts {'key'=>'val'}.to_json"]
> rspec './spec/syntax_checking_spec.rb[1:21]' # Pry should display correct number of errors on invalid syntax like ["puts {'key'=>'val'}.to_json"]
> 
> Randomized with seed 7166
> 
> /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 build full is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/pry/pry_0.13.1-1+rebuild1633374393_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/2179ca4b/attachment-0001.sig>


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