[DRE-maint] Bug#988023: ruby-hiredis FTBFS in buster

Adrian Bunk bunk at debian.org
Mon May 3 21:10:25 BST 2021


Source: ruby-hiredis
Version: 0.6.1-2
Severity: serious
Tags: ftbfs
Control: fixed -1 0.6.3-2

https://tests.reproducible-builds.org/debian/rb-pkg/buster/amd64/ruby-hiredis.html

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

RUBYLIB=/build/ruby-hiredis-0.6.1/debian/ruby-hiredis/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.5.0:/build/ruby-hiredis-0.6.1/debian/ruby-hiredis/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-hiredis/usr/share/rubygems-integration/2.5.0:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 debian/ruby-tests.rb
Run options: --seed 55740

# Running:

...........DEPRECATED: Use assert_nil if expecting nil from /build/ruby-hiredis-0.6.1/test/reader_test.rb:104. This will fail in Minitest 6.
...DEPRECATED: Use assert_nil if expecting nil from /build/ruby-hiredis-0.6.1/test/reader_test.rb:34. This will fail in Minitest 6.
...........E.#<Thread:0x000055e4c77515c8@/build/ruby-hiredis-0.6.1/test/connection_test.rb:68 run> terminated with exception (report_on_exception is true):
/usr/lib/ruby/2.5.0/socket.rb:1313:in `__accept_nonblock': closed stream (IOError)
	from /usr/lib/ruby/2.5.0/socket.rb:1313:in `accept_nonblock'
	from /build/ruby-hiredis-0.6.1/test/connection_test.rb:26:in `run'
	from /build/ruby-hiredis-0.6.1/test/connection_test.rb:69:in `block in listen'
E................DEPRECATED: Use assert_nil if expecting nil from /build/ruby-hiredis-0.6.1/test/reader_test.rb:34. This will fail in Minitest 6.
.DEPRECATED: Use assert_nil if expecting nil from /build/ruby-hiredis-0.6.1/test/reader_test.rb:104. This will fail in Minitest 6.
.

Finished in 1.025962s, 44.8360 runs/s, 57.5070 assertions/s.

  1) Error:
ExtConnectionTest#test_recover_from_partial_write:
Errno::EAGAIN: Resource temporarily unavailable
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:299:in `flush'
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:299:in `block in test_recover_from_partial_write'
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:73:in `listen'
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:289:in `test_recover_from_partial_write'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in `capture_exceptions'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:265:in `time_it'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:960:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:334:in `run_one_method'
    /usr/lib/ruby/vendor_ruby/minitest.rb:321:in `block (2 levels) in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `each'
    /usr/lib/ruby/vendor_ruby/minitest.rb:320:in `block in run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:360:in `on_signal'
    /usr/lib/ruby/vendor_ruby/minitest.rb:347:in `with_info_handler'
    /usr/lib/ruby/vendor_ruby/minitest.rb:319:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `block in __run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `map'
    /usr/lib/ruby/vendor_ruby/minitest.rb:159:in `__run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:136:in `run'
    /usr/lib/ruby/vendor_ruby/minitest.rb:63:in `block in autorun'

  2) Error:
ExtConnectionTest#test_read_against_timeout_with_other_thread:
IOError: closed stream
    /usr/lib/ruby/2.5.0/socket.rb:1313:in `__accept_nonblock'
    /usr/lib/ruby/2.5.0/socket.rb:1313:in `accept_nonblock'
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:26:in `run'
    /build/ruby-hiredis-0.6.1/test/connection_test.rb:69:in `block in listen'

46 runs, 59 assertions, 0 failures, 2 errors, 0 skips
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-hiredis-0.6.1/debian/ruby-hiredis returned exit code 1
make[1]: *** [debian/rules:18: override_dh_auto_install] Error 1


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