Package: src:ruby-ftw
Version: 0.0.44-1
Severity: important

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
dh: Compatibility levels before 9 are deprecated (level 7 in use)
   dh_testdir -i -O--buildsystem=ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
dh_auto_configure: Compatibility levels before 9 are deprecated (level 7 in use)
        dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
dh_auto_build: Compatibility levels before 9 are deprecated (level 7 in use)
        dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
dh_auto_test: Compatibility levels before 9 are deprecated (level 7 in use)

[... snipped ...]

install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/websocket/constants.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/websocket/constants.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/websocket/rack.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/websocket/rack.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/pool.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/pool.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/server.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/server.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/poolable.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/poolable.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/response.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/response.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/http/headers.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/http/headers.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/http/message.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/http/message.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw/dns.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw/dns.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/ftw.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/ftw.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/rack/handler/ftw.rb 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby/rack/handler/ftw.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata                                       
 │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at 
/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/share/rubygems-integration/all/specifications/ftw-0.0.44.gemspec
/usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rb                             
 │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-ftw/usr/lib/ruby/vendor_ruby:. 
GEM_PATH=debian/ruby-ftw/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
 ruby2.3 debian/ruby-tests.rb
/<<PKGBUILDDIR>>/test/ftw/protocol.rb:19:in `test': wrong number of arguments 
(given 1, expected 2) (ArgumentError)
        from /<<PKGBUILDDIR>>/test/ftw/protocol.rb:19:in `block in <top 
(required)>'
        from /usr/lib/ruby/vendor_ruby/minitest/spec.rb:83:in `class_eval'
        from /usr/lib/ruby/vendor_ruby/minitest/spec.rb:83:in `describe'
        from /<<PKGBUILDDIR>>/test/ftw/protocol.rb:5:in `<top (required)>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /<<PKGBUILDDIR>>/test/all.rb:14:in `use'
        from /<<PKGBUILDDIR>>/test/all.rb:22:in `block in <top (required)>'
        from /<<PKGBUILDDIR>>/test/all.rb:21:in `each'
        from /<<PKGBUILDDIR>>/test/all.rb:21:in `<top (required)>'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in 
`require'
        from debian/ruby-tests.rb:2:in `<main>'
Loading tests from /<<PKGBUILDDIR>>/test/ftw/protocol.rb
Coverage report generated for MiniTest to /<<PKGBUILDDIR>>/coverage. 32 / 159 
LOC (20.13%) covered.
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-ftw returned 
exit code 1
debian/rules:15: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

This is just how the build ends, not necessarily the relevant part.

I've put several build logs here:

https://people.debian.org/~sanvila/build-logs/ruby-ftw/

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.

The bug should be reproducible with sbuild on a single CPU virtual machine,
provided you try enough times (as the failure happens randomly).

Thanks.

Reply via email to