[DRE-maint] Bug#888167: ruby-recursive-open-struct: FTBFS on ruby2.5: indifferent access overwriting values

Chris West (Faux) debian at fau.xxx
Tue Jan 23 18:36:05 UTC 2018


Source: ruby-recursive-open-struct
Version: 1.0.2-1
Severity: important
User: debian-ruby at lists.debian.org
Usertags: ruby2.5

Dear Maintainer,

This package fails to build against ruby2.5. Soon, there will
be a transition to ruby2.5, and this package will FTBFS in sid.

There may be some details on the wiki about common problems:
https://wiki.debian.org/Teams/Ruby/Ruby25Transition

Build log excerpt:

Failures:

  1) RecursiveOpenStruct indifferent access overwriting values when preserve_original_keys is enabled preserves the original keys after resetting value
     Failure/Error: expect(recursive.to_h).to eq modified_hash

       expected: {:foo=>[{"bar"=>[{"foo"=>:foo}]}]}
            got: {:foo=>[{"bar"=>[{"foo"=>:bar, :foo=>:foo}]}]}

       (compared using ==)

       Diff:
       @@ -1,2 +1,2 @@
       -:foo => [{"bar"=>[{"foo"=>:foo}]}],
       +:foo => [{"bar"=>[{"foo"=>:bar, :foo=>:foo}]}],
     # ./spec/recursive_open_struct/indifferent_access_spec.rb:158:in `block (6 levels) in <top (required)>'

Finished in 0.0499 seconds (files took 0.25849 seconds to load)
102 examples, 1 failure

Failed examples:

rspec ./spec/recursive_open_struct/indifferent_access_spec.rb:156 # RecursiveOpenStruct indifferent access overwriting values when preserve_original_keys is enabled preserves the original keys after resetting value

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-recursive-open-struct-1.0.2/debian/ruby-recursive-open-struct returned exit code 1
make: *** [binary] Error 1
debian/rules:6: recipe for target 'binary' failed
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Full build log:
https://rbuild.fau.xxx/2018-01-23/ruby-recursive-open-struct.log

Please fix it!

Cheers,
Chris.



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