Source: ruby-curb Version: 1.0.5-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=ruby-curb&arch=amd64&ver=1.0.5-1%2Bb3&stamp=1712538836&raw=0 ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby3.1 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-curb/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:189: warning: assigned but unused variable - in_file_stack Loaded suite /usr/share/rubygems-integration/all/gems/rake-13.2.0/lib/rake/rake_test_loader Started .............................E =============================================================================== Error: test_easy_http_verbs(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 4/5 of needed bytes read /<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:1064:in `http_put' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:1064:in `test_easy_http_verbs' 1061: assert_equal "POST\n", curl.body_str 1062: curl.http('PURGE') 1063: assert_equal 'PURGE', curl.body_str => 1064: curl.http_put('hello') 1065: assert_equal "PUT\nhello", curl.body_str 1066: curl.http('COPY') 1067: assert_equal 'COPY', curl.body_str =============================================================================== ................................................................E =============================================================================== Error: test_put_data(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read /<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:885:in `test_put_data' 882: curl = Curl::Easy.new(TestServlet.url) 883: curl.put_data = 'message' 884: => 885: curl.perform 886: 887: assert_match(/^PUT/, curl.body_str) 888: assert_match(/message$/, curl.body_str) =============================================================================== E =============================================================================== Error: test_put_data_null_bytes(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 2/3 of needed bytes read /<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:896:in `test_put_data_null_bytes' 893: curl = Curl::Easy.new(TestServlet.url) 894: curl.put_data = "a\0b" 895: => 896: curl.perform 897: 898: assert_match(/^PUT/, curl.body_str) 899: assert_match("a\0b", curl.body_str) =============================================================================== .E =============================================================================== Error: test_put_remote(TestCurbCurlEasy): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read /<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:873:in `http_put' /<<PKGBUILDDIR>>/tests/tc_curl_easy.rb:873:in `test_put_remote' 870: def test_put_remote 871: curl = Curl::Easy.new(TestServlet.url) 872: curl.headers['Content-Type'] = 'application/json' => 873: assert curl.http_put("message") 874: assert_match(/^PUT/, curl.body_str) 875: assert_match(/message$/, curl.body_str) 876: assert_match(/message$/, curl.body) =============================================================================== .....................................E =============================================================================== Error: test_multi_easy_http_01(TestCurbCurlMulti): Curl::Err::AbortedByCallbackError: <200> expected but was <0>. /<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:523:in `block in test_multi_easy_http_01' 520: { :url => TestServlet.url, :method => :get } 521: ] 522: Curl::Multi.http(urls, {:pipeline => true}) do|easy, code, method| => 523: assert_equal 200, code 524: case method 525: when :post 526: assert_match(/POST/, easy.body_str) /<<PKGBUILDDIR>>/lib/curl/multi.rb:143:in `block (2 levels) in http' /<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `perform' /<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `http' /<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:522:in `test_multi_easy_http_01' =============================================================================== ..E =============================================================================== Error: test_multi_easy_put_01(TestCurbCurlMulti): Curl::Err::AbortedByCallbackError: </PUT/> was expected to be =~ <"">. /<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:508:in `block in test_multi_easy_put_01' 505: { :url => TestServlet.url, :method => :put, :put_data => "message", 506: :headers => {'Content-Type' => 'application/json' } }] 507: Curl::Multi.put(urls, {}, {:pipeline => true}) do|easy| => 508: assert_match(/PUT/, easy.body_str) 509: assert_match(/message/, easy.body_str) 510: end 511: end /<<PKGBUILDDIR>>/lib/curl/multi.rb:67:in `block in put' /<<PKGBUILDDIR>>/lib/curl/multi.rb:143:in `block (2 levels) in http' /<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `perform' /<<PKGBUILDDIR>>/lib/curl/multi.rb:164:in `http' /<<PKGBUILDDIR>>/lib/curl/multi.rb:67:in `put' /<<PKGBUILDDIR>>/tests/tc_curl_multi.rb:507:in `test_multi_easy_put_01' =============================================================================== ..................................E =============================================================================== Error: test_put(TestCurl): Curl::Err::ReadError: Failed to open/read local data from file/application: client read function EOF fail, only only 6/7 of needed bytes read /<<PKGBUILDDIR>>/lib/curl/easy.rb:80:in `perform' /<<PKGBUILDDIR>>/lib/curl.rb:26:in `http' /<<PKGBUILDDIR>>/lib/curl.rb:26:in `http' /<<PKGBUILDDIR>>/lib/curl.rb:39:in `put' /<<PKGBUILDDIR>>/tests/tc_curl.rb:20:in `test_put' 17: end 18: 19: def test_put => 20: curl = Curl.put(TestServlet.url, {:foo => "bar"}) 21: assert_equal "PUT\nfoo=bar", curl.body_str 22: end 23: =============================================================================== .... Finished in 3.907309752 seconds. ------------------------------------------------------------------------------- 178 tests, 699 assertions, 0 failures, 7 errors, 0 pendings, 0 omissions, 0 notifications 96.0674% passed ------------------------------------------------------------------------------- 45.56 tests/s, 178.90 assertions/s rake aborted! Command failed with status (1) /usr/share/rubygems-integration/all/gems/rake-13.2.0/exe/rake:27:in `<top (required)>' Tasks: TOP => default => unittests (See full trace by running task with --trace) ERROR: Test "ruby3.1" failed. Exiting. dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-curb returned exit code 1 make: *** [debian/rules:7: binary-arch] Error 25 Cheers -- Sebastian Ramacher _______________________________________________ Pkg-ruby-extras-maintainers mailing list Pkg-ruby-extras-maintainers@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers