[DRE-maint] Bug#888166: ruby-rabl: FTBFS on ruby2.5: BSON:Module serialize

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


Source: ruby-rabl
Version: 0.13.0-2
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


Looks very similar to this issue, fixed last year:
https://bugs.debian.org/849315

Build log excerpt:

ERROR
 Rabl::Engine with bson defaults #object asserts that it sets data source => undefined method `serialize' for BSON:Module occured
 at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'
at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block in run'
at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `each'
at /usr/lib/ruby/vendor_ruby/riot.rb:39:in `block (2 levels) in run'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:98:in `run'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `run_sub_contexts'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `each'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:146:in `block in run_sub_contexts'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:97:in `run'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `local_run'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:108:in `each'
at /usr/lib/ruby/vendor_ruby/riot/context.rb:109:in `block in local_run'
at /usr/lib/ruby/vendor_ruby/riot/rr.rb:33:in `run'
at /usr/lib/ruby/vendor_ruby/riot/assertion.rb:51:in `run'
at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `evaluate'
at /usr/lib/ruby/vendor_ruby/riot/situation.rb:61:in `instance_eval'
at /build/ruby-rabl-0.13.0/test/bson_engine_test.rb:22:in `block (4 levels) in <top (required)>'
at /usr/lib/ruby/vendor_ruby/tilt/template.rb:96:in `render'
at /build/ruby-rabl-0.13.0/lib/rabl/template.rb:15:in `evaluate'
at /build/ruby-rabl-0.13.0/lib/rabl/engine.rb:47:in `render'
at /build/ruby-rabl-0.13.0/lib/rabl/engine.rb:380:in `cache_results'
at /build/ruby-rabl-0.13.0/lib/rabl/engine.rb:48:in `block in render'
at /build/ruby-rabl-0.13.0/lib/rabl/engine.rb:154:in `to_bson'

ERROR
 Rabl::Engine with bson defaults #object asserts that it can set root node => undefined method `serialize' for BSON:Module occured
 at /usr/lib/ruby/vendor_ruby/riot.rb:129:in `block in <module:Riot>'
at /usr/lib/ruby/vendor_ruby/riot.rb:38:in `run'
at /usr/lib/ruby/vendor_ruby/riot/reporter.rb:46:in `summarize'

...

166 passes, 0 failures, 142 errors in 0.540211 seconds
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-rabl-0.13.0/debian/ruby-rabl returned exit code 1
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Full build log:
https://rbuild.fau.xxx/2018-01-23/ruby-rabl.log

Please fix it!

Cheers,
Chris.



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