Package: src:ruby-benchmark-suite
Version: 1.0.0+git.20130122.5bded6-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_testdir -i -O--buildsystem=ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
        dh_ruby --configure
   debian/rules override_dh_auto_build
make[1]: Entering directory 
        dh_ruby --build
   dh_ruby --build
# build documentation
rdoc lib

[... snipped ...]

/usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner

│ Run tests for ruby2.3 from debian/ruby-tests.rb                             

 ruby2.3 debian/ruby-tests.rb
Loaded suite debian/ruby-tests
Calculating -------------------------------------
               sleep         1 i/100ms
               sleep        3.7 (±27.1%) i/s -          4 in   1.110849s
  <4.0> -/+ <0.2> expected to include
  <<3.692020327852676> < <4.0>-<0.2>[3.8] <= <4.0>+<0.2>[4.2]>
     16:     assert_equal "sleep", rep.label
     17:     assert_equal 4, rep.iterations
  => 18:     assert_in_delta 4.0, rep.ips, 0.2
     19:   end
     20: end

Finished in 2.12274063 seconds.
1 tests, 3 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 
0% passed
0.47 tests/s, 1.41 assertions/s
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install 
returned exit code 1
debian/rules:27: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory 
debian/rules:15: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2

The relevant part of the build log is included above.

There is apparently a test which tries to ensure that a certain task is 
in a certain amount of time (an interval, really). This is usually not a good
idea for a Debian source package, because there is not any guarantee anywhere
that the CPU performance will remain constant during the package build.
The same machine could be doing lots of other things in parallel.

If this is really a bug in one of the build-depends, please use reassign and 
so that this is still visible in the page for this package.


Reply via email to