[DRE-maint] Bug#888190: ruby-mustermann19: FTBFS on ruby2.5: TypeError: Integer

Chris West (Faux) debian at fau.xxx
Tue Jan 23 20:33:54 UTC 2018


Source: ruby-mustermann19
Version: 0.4.3+git20160621-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) Mustermann new invalid arguments raise a TypeError for unsupported types
     Failure/Error: expect { Mustermann.new(10) }.to raise_error(TypeError, "Fixnum can't be coerced into Mustermann::Pattern")
     
       expected TypeError with "Fixnum can't be coerced into Mustermann::Pattern", got #<TypeError: Integer can't be coerced into Mustermann::Pattern> with backtrace:
         # /build/ruby-mustermann19-0.4.3+git20160621/lib/mustermann.rb:72:in `new'
         # /build/ruby-mustermann19-0.4.3+git20160621/spec/mustermann_spec.rb:49:in `block (5 levels) in <top (required)>'
         # /build/ruby-mustermann19-0.4.3+git20160621/spec/mustermann_spec.rb:49:in `block (4 levels) in <top (required)>'
     # /build/ruby-mustermann19-0.4.3+git20160621/spec/mustermann_spec.rb:49:in `block (4 levels) in <top (required)>'

Finished in 1.41 seconds (files took 1.08 seconds to load)
4484 examples, 1 failure

Failed examples:

rspec /build/ruby-mustermann19-0.4.3+git20160621/spec/mustermann_spec.rb:48 # Mustermann new invalid arguments raise a TypeError for unsupported types

/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-mustermann19-0.4.3\+git20160621/debian/ruby-mustermann19 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-mustermann19.log

Please fix it!

Cheers,
Chris.



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