[DRE-maint] Bug#888192: ruby-prof: FTBFS on ruby2.5: ArgumentError: incomplete format specifier; use %%

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


Source: ruby-prof
Version: 0.16.2+dfsg-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

Build log excerpt:


  1) Failure:
LineNumbersTest#test_function_line_no [/build/ruby-prof-0.16.2+dfsg/test/line_number_test.rb:37]:
Expected: 10
  Actual: 11

  2) Failure:
LineNumbersTest#test_c_function [/build/ruby-prof-0.16.2+dfsg/test/line_number_test.rb:65]:
Expected: 14
  Actual: 15

  3) Error:
RackTest#test_create_profile_reports:
ArgumentError: incomplete format specifier; use %% (double %) instead
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/graph_printer.rb:59:in `sprintf'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/graph_printer.rb:59:in `block in print_methods'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/graph_printer.rb:49:in `reverse_each'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/graph_printer.rb:49:in `print_methods'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/abstract_printer.rb:75:in `print_thread'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/abstract_printer.rb:69:in `block in print_threads'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/abstract_printer.rb:68:in `each'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/abstract_printer.rb:68:in `print_threads'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/printers/abstract_printer.rb:64:in `print'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:89:in `block (2 levels) in print'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:88:in `open'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:88:in `block in print'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:75:in `each'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:75:in `print'
    /build/ruby-prof-0.16.2+dfsg/debian/ruby-prof/usr/lib/ruby/vendor_ruby/ruby-prof/rack.rb:36:in `call'
    /build/ruby-prof-0.16.2+dfsg/test/rack_test.rb:42:in `test_create_profile_reports'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:107:in `block (3 levels) in run'


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

Please fix it!

Cheers,
Chris.



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