Source: ruby-autoparse
Version: 0.3.3-2
Severity: important
User: debian-r...@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:


Deprecation Warnings:

--------------------------------------------------------------------------------
JSONMatchers::EqualsJson implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.
(Used from /build/ruby-autoparse-0.3.3/spec/autoparse/instance_spec.rb:69:in 
`block (2 levels) in <top (required)>')
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
JSONMatchers::EqualsJson implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.
(Used from /build/ruby-autoparse-0.3.3/spec/autoparse/instance_spec.rb:149:in 
`block (2 levels) in <top (required)>')
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
JSONMatchers::EqualsJson implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.
(Used from /build/ruby-autoparse-0.3.3/spec/autoparse/instance_spec.rb:369:in 
`block (2 levels) in <top (required)>')
--------------------------------------------------------------------------------
Too many similar deprecation messages reported, disregarding further reports. 
Pass `--deprecation-out` or set `config.deprecation_stream` to a file for full 
output.

Using `should` from rspec-expectations' old `:should` syntax without explicitly 
enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly 
enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` 
instead. Called from 
/build/ruby-autoparse-0.3.3/spec/autoparse/instance_spec.rb:31:in `block (2 
levels) in <top (required)>'.


If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.

Failures:

  1) AutoParse::Instance with the node schema should not accept an invalid node 
input
     Failure/Error: if data['$ref']

     NoMethodError:
       undefined method `[]' for 3.14:Float
     # ./lib/autoparse/instance.rb:303:in `initialize'
     # ./lib/autoparse/instance.rb:172:in `new'
     # ./lib/autoparse/instance.rb:172:in `validate_object_property'
     # ./lib/autoparse/instance.rb:205:in `block in validate_union_property'
     # ./lib/autoparse/instance.rb:182:in `each'
     # ./lib/autoparse/instance.rb:182:in `validate_union_property'
     # ./lib/autoparse/instance.rb:272:in `validate_property_value'
     # ./lib/autoparse/instance.rb:397:in `block in valid?'
     # ./lib/autoparse/instance.rb:395:in `each'
     # ./lib/autoparse/instance.rb:395:in `valid?'
     # ./spec/autoparse/instance_spec.rb:1369:in `block (2 levels) in <top 
(required)>'

11 deprecation warnings total

Finished in 0.28262 seconds (files took 0.21684 seconds to load)
111 examples, 1 failure

Failed examples:

rspec ./spec/autoparse/instance_spec.rb:1363 # AutoParse::Instance with the 
node schema should not accept an invalid node input

/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-autoparse-0.3.3/debian/ruby-autoparse 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-autoparse.log

Please fix it!

Cheers,
Chris.

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to