[DRE-maint] Bug#876294: ruby-rblineprof: FTBFS on hurd-i386 and kfreebsd-i386: test_real fails

Aaron M. Ucko ucko at debian.org
Wed Sep 20 15:04:17 UTC 2017


Source: ruby-rblineprof
Version: 0.3.7-1
Severity: important
Tags: upstream
Justification: fails to build from source
User: debian-hurd at lists.debian.org

Builds of ruby-rblineprof for the non-release architectures hurd-i386
and kfreebsd-i386 (but for whatever reason not any other architectures,
even i386 or kfreebsd-amd64) have been failing:

  LineProfTest: 
    test_cpu:					.: (0.010000)
    test_method:									.: (1.000000)
    test_objects:													.: (0.000000)
    test_real:																	F
  ===============================================================================
  Failure:
    <1000> -/+ <600> was expected to include
    <10000>.
    
    Relation:
    <<1000>-<600>[400.0] <= <1000>+<600>[1600.0] < <10000>>
  test_real(LineProfTest)
  /<<PKGBUILDDIR>>/test/test_lineprof.rb:12:in `test_real'
        9:     end
       10: 
       11:     line = profile[__FILE__][__LINE__-3]
    => 12:     assert_in_delta 1000, line[0], 600
       13:     assert_equal 1, line[2]
       14:   end
       15: 
  ===============================================================================

(Above output from hurd-i386; kfreebsd-i386 is similar, but line[0] is
1996 there and the timing details of course vary.)

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



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