[DRE-maint] Bug#902520: ruby-parallel: FTBFS in buster/sid (failing tests)
Santiago Vila
sanvila at debian.org
Wed Jun 27 13:50:40 BST 2018
Package: src:ruby-parallel
Version: 1.12.0-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
dh_update_autotools_config -i -O--buildsystem=ruby
dh_autoreconf -i -O--buildsystem=ruby
dh_auto_configure -i -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -i -O--buildsystem=ruby
dh_ruby --build
dh_ruby --build
dh_auto_test -i -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary-indep
[... snipped ...]
8) Parallel.in_processes does not open unnecessary pipes
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:193
9) Parallel.map can be killed instantly
# Temporarily skipped with xit
# ./spec/parallel_spec.rb:389
Failures:
1) Parallel.map saves time
Failure/Error:
time_taken{
`ruby spec/cases/parallel_map_sleeping.rb`
}.should <= 3.5
expected: <= 3.5
got: 4.062194108963013
# ./spec/parallel_spec.rb:224:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:8:in `block (2 levels) in <top (required)>'
2) Parallel.map starts new process imediatly when old exists
Failure/Error:
time_taken{
`ruby spec/cases/parallel_map_uneven.rb`
}.should <= 3.5
expected: <= 3.5
got: 4.061793565750122
# ./spec/parallel_spec.rb:238:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:8:in `block (2 levels) in <top (required)>'
Finished in 46.25 seconds (files took 0.08835 seconds to load)
120 examples, 2 failures, 9 pending
Failed examples:
rspec ./spec/parallel_spec.rb:221 # Parallel.map saves time
rspec ./spec/parallel_spec.rb:235 # Parallel.map starts new process imediatly when old exists
/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 /<<PKGBUILDDIR>>/debian/ruby-parallel returned exit code 1
debian/rules:5: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.
The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-parallel.html
If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list