[DRE-maint] Bug#798537: ruby-multi-json ftbfs in unstable

Matthias Klose doko at debian.org
Thu Sep 10 12:18:41 UTC 2015


Package: src:ruby-multi-json
Version: 1.11.2-2
Severity: serious
Tags: sid stretch

the build fails the tests in unstable:

RUBYLIB=/home/packages/tmp/ruby-multi-json-1.11.2/debian/ruby-multi-json/usr/lib/ruby/vendor_ruby:.
rake2.1 -f debian/ruby-tests.rake
/usr/bin/ruby2.1 /usr/bin/rspec spec/multi_json_spec.rb

Randomized with seed 53840
.F...........................F.

Failures:

  1) MultiJson can set adapter for a block
     Failure/Error: MultiJson.with_adapter(:json_pure) do
     MultiJson::AdapterError:
       Did not recognize your adapter specification (cannot load such file --
json/pure).
     # ./lib/multi_json/adapters/json_pure.rb:1:in `<top (required)>'
     # ./lib/multi_json.rb:153:in `load_adapter_from_string_name'
     # ./lib/multi_json.rb:98:in `load_adapter'
     # ./lib/multi_json.rb:90:in `use'
     # ./lib/multi_json.rb:142:in `with_adapter'
     # ./spec/multi_json_spec.rb:119:in `block (2 levels) in <top (required)>'

  2) MultiJson using one-shot parser should use the defined parser just for the call
     Failure/Error: expect(MultiJson::Adapters::JsonPure).to
receive(:dump).once.and_return('dump_something')
     NameError:
       uninitialized constant MultiJson::Adapters::JsonPure
     # ./spec/multi_json_spec.rb:105:in `block (3 levels) in <top (required)>'

Finished in 0.11875 seconds (files took 0.13855 seconds to load)
31 examples, 2 failures

Failed examples:

rspec ./spec/multi_json_spec.rb:117 # MultiJson can set adapter for a block
rspec ./spec/multi_json_spec.rb:109 # MultiJson using one-shot parser should use
the defined parser just for the call

Randomized with seed 53840

/usr/bin/ruby2.1 /usr/bin/rspec spec/multi_json_spec.rb failed
ERROR: Test "ruby2.1" failed. Exiting.
dh_auto_install: dh_ruby --install
/home/packages/tmp/ruby-multi-json-1.11.2/debian/ruby-multi-json returned exit
code 1
debian/rules:5: recipe for target 'binary' failed
make: *** [binary] Error 1



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