[DRE-maint] Bug#996364: ruby-recursive-open-struct: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Failure/Error: alias_method :modifiable?, :modifiable

Antonio Terceiro terceiro at debian.org
Wed Oct 13 14:15:56 BST 2021


Source: ruby-recursive-open-struct
Version: 1.1.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, ruby-recursive-open-struct 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):
> Failure/Error: alias_method :modifiable?, :modifiable
> 
> NameError:
>   undefined method `modifiable' for class `RecursiveOpenStruct'
>   Did you mean?  module
> # ./lib/recursive_open_struct.rb:84:in `alias_method'
> # ./lib/recursive_open_struct.rb:84:in `<class:RecursiveOpenStruct>'
> # ./lib/recursive_open_struct.rb:16:in `<top (required)>'
> # ./spec/recursive_open_struct/recursion_spec.rb:2:in `<top (required)>'
> Run options: include {:focus=>true}
> 
> All examples were filtered out; ignoring {:focus=>true}
> No examples found.
> 
> Finished in 0.00011 seconds (files took 0.40327 seconds to load)
> 0 examples, 0 failures, 7 errors occurred outside of examples
> 
> /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-recursive-open-struct/ruby-recursive-open-struct_1.1.1-1+rebuild1633392915_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/c0128c0c/attachment.sig>


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