Package: src:ruby-httpclient Version: 2.7.1-1 Severity: serious Dear maintainer:
I tried to build this package 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 dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby [... snipped ...] test_debug_dev: .: (1.147961) test_no_sslv3: F =============================================================================== Failure: test_no_sslv3(TestSSL) /<<PKGBUILDDIR>>/test/test_ssl.rb:221:in `test_no_sslv3' 218: 219: def test_no_sslv3 220: teardown_server => 221: assert_raise(ArgumentError) do 222: setup_server_with_ssl_version(:SSLv3) 223: @client.ssl_config.verify_mode = nil 224: @client.get("https://localhost:#{serverport}/hello") <ArgumentError> expected but was <Errno::EADDRINUSE(<Address already in use - listen(2)>)> diff: ? ArgumentErrno::EADDRINUSE(<Address already in use - listen(2)>) =============================================================================== : (1.109614) test_options: .: (0.101632) test_proxy_ssl: .: (1.284714) test_set_default_paths: .: (1.151999) test_sync: .: (1.191771) test_use_higher_TLS: O =============================================================================== TODO: it does not pass with Java 7 or old openssl [test_use_higher_TLS(TestSSL)] /<<PKGBUILDDIR>>/test/test_ssl.rb:238:in `test_use_higher_TLS' =============================================================================== : (1.102445) test_verification: .: (0.197484) Finished in 183.685536657 seconds. ------ 221 tests, 747 assertions, 1 failures, 7 errors, 0 pendings, 1 omissions, 0 notifications 96.3636% passed ------ 1.20 tests/s, 4.07 assertions/s rake aborted! Command failed with status (1): [ruby -I"test" "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_auth.rb" "test/test_cookie.rb" "test/test_hexdump.rb" "test/test_http-access2.rb" "test/test_httpclient.rb" "test/test_include_client.rb" "test/test_jsonclient.rb" "test/test_ssl.rb" "test/test_webagent-cookie.rb" -v] Tasks: TOP => default (See full trace by running task with --trace) ERROR: Test "ruby2.3" failed. Exiting. dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-httpclient returned exit code 1 debian/rules:6: recipe for target 'binary-indep' failed make: *** [binary-indep] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Because this source package only generates "Arch: all" packages, this is the same as a FTBFS bug in the usual sense and the fact that I was using "dpkg-buildpackage -A" is quite irrelevant. For this particular package, I've also checked that it fails to build from source in the reproducible builds site: https://tests.reproducible-builds.org/ Thanks.