I’m trying to rebuild this package from source and it’s also failing, but I get a different set of errors. Perhaps this will shed some light on what’s happening to someone:
Running tests for ruby2.2 using debian/ruby-tests.rake ... RUBYLIB=/Source/pkg-ruby/ruby-patron/debian/ruby-patron/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.2.0:/Source/pkg-ruby/ruby-patron/debian/ruby-patron/usr/lib/ruby/vendor_ruby:. ruby2.2 -rrake -e ARGV.unshift\(\"-f\",\ \"debian/ruby-tests.rake\"\)\;\ Rake.application.run /usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb ..........FFF....FFFF.FFFFFFFFF.F.FFF.FF.FFFFFF.FFFF..... Failures: 1) Patron::Response should strip extra spaces from header values Failure/Error: response = @session.get("/test") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/response_spec.rb:36:in `block (2 levels) in <top (required)>' 2) Patron::Response should return an array of values when multiple header fields have same name Failure/Error: response = @session.get("/repetitiveheader") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/response_spec.rb:42:in `block (2 levels) in <top (required)>' 3) Patron::Response should works with non-text files Failure/Error: response = @session.get("/picture") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/response_spec.rb:47:in `block (2 levels) in <top (required)>' 4) Patron::Session should retrieve a url with :get Failure/Error: response = @session.get("/test") Patron::TimeoutError: Operation timed out after 5003 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:54:in `block (2 levels) in <top (required)>' 5) Patron::Session should download content with :get and a file path Failure/Error: response = @session.get_file "/test", tmpfile Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:132:in `get_file' # ./spec/session_spec.rb:61:in `block (2 levels) in <top (required)>' 6) Patron::Session should include custom headers in a request Failure/Error: response = @session.get("/test", {"User-Agent" => "PatronTest"}) Patron::TimeoutError: Operation timed out after 5003 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:69:in `block (2 levels) in <top (required)>' 7) Patron::Session should merge custom headers with session headers Failure/Error: response = @session.get("/test", {"User-Agent" => "PatronTest"}) Patron::TimeoutError: Operation timed out after 5003 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:76:in `block (2 levels) in <top (required)>' 8) Patron::Session should follow redirects by default Failure/Error: response = @session.get("/redirect") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:89:in `block (2 levels) in <top (required)>' 9) Patron::Session should include redirect count in response Failure/Error: response = @session.get("/redirect") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:97:in `block (2 levels) in <top (required)>' 10) Patron::Session should not follow redirects when configured to do so Failure/Error: response = @session.get("/redirect") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:103:in `block (2 levels) in <top (required)>' 11) Patron::Session should retrieve URL metadata with :head Failure/Error: response = @session.head("/test") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:137:in `head' # ./spec/session_spec.rb:109:in `block (2 levels) in <top (required)>' 12) Patron::Session should send a delete request with :delete Failure/Error: response = @session.delete("/test") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:142:in `delete' # ./spec/session_spec.rb:116:in `block (2 levels) in <top (required)>' 13) Patron::Session should send a COPY request with :copy Failure/Error: response = @session.copy("/test", "/test2") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:183:in `copy' # ./spec/session_spec.rb:122:in `block (2 levels) in <top (required)>' 14) Patron::Session should include a Destination header in COPY requests Failure/Error: response = @session.copy("/test", "/test2") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:183:in `copy' # ./spec/session_spec.rb:128:in `block (2 levels) in <top (required)>' 15) Patron::Session should upload data with :get Failure/Error: response = @session.request(:get, "/test", {}, :data => data) Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./spec/session_spec.rb:135:in `block (2 levels) in <top (required)>' 16) Patron::Session should upload data with :put Failure/Error: response = @session.put("/test", data) Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:148:in `put' # ./spec/session_spec.rb:143:in `block (2 levels) in <top (required)>' 17) Patron::Session should upload a file with :put Failure/Error: response = @session.put_file("/test", "LICENSE") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:153:in `put_file' # ./spec/session_spec.rb:154:in `block (2 levels) in <top (required)>' 18) Patron::Session should use chunked encoding when uploading a file with :put Failure/Error: response = @session.put_file("/test", "LICENSE") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:153:in `put_file' # ./spec/session_spec.rb:164:in `block (2 levels) in <top (required)>' 19) Patron::Session should upload data with :post Failure/Error: response = @session.post("/test", data) Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:163:in `post' # ./spec/session_spec.rb:171:in `block (2 levels) in <top (required)>' 20) Patron::Session should post a hash of arguments as a urlencoded form Failure/Error: response = @session.post("/testpost", data) Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:163:in `post' # ./spec/session_spec.rb:179:in `block (2 levels) in <top (required)>' 21) Patron::Session should upload a file with :post Failure/Error: response = @session.post_file("/test", "LICENSE") Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:168:in `post_file' # ./spec/session_spec.rb:191:in `block (2 levels) in <top (required)>' 22) Patron::Session should upload a multipart with :post Failure/Error: response = @session.post_multipart("/test", { :test_data => "123" }, { :test_file => "LICENSE" } ) Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:173:in `post_multipart' # ./spec/session_spec.rb:197:in `block (2 levels) in <top (required)>' 23) Patron::Session should use chunked encoding when uploading a file with :post Failure/Error: response = @session.post_file("/test", "LICENSE") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:168:in `post_file' # ./spec/session_spec.rb:207:in `block (2 levels) in <top (required)>' 24) Patron::Session should pass credentials as http basic auth Failure/Error: response = @session.get("/test") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:215:in `block (2 levels) in <top (required)>' 25) Patron::Session should handle cookies if set Failure/Error: response = @session.get("/setcookie").body Patron::TimeoutError: Operation timed out after 5004 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:222:in `block (2 levels) in <top (required)>' 26) Patron::Session should not handle cookies by default Failure/Error: response = @session.get("/setcookie").body Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:227:in `block (2 levels) in <top (required)>' 27) Patron::Session should ignore a wrong Content-Length when asked to Failure/Error: lambda { expected no Exception, got #<Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received> with backtrace: # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:234:in `block (3 levels) in <top (required)>' # ./spec/session_spec.rb:232:in `block (2 levels) in <top (required)>' # ./spec/session_spec.rb:232:in `block (2 levels) in <top (required)>' 28) Patron::Session should fail by default with a Content-Length too high Failure/Error: lambda { expected Patron::PartialFileError, got #<Patron::TimeoutError: Operation timed out after 5002 milliseconds with 0 bytes received> with backtrace: # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:241:in `block (3 levels) in <top (required)>' # ./spec/session_spec.rb:239:in `block (2 levels) in <top (required)>' # ./spec/session_spec.rb:239:in `block (2 levels) in <top (required)>' 29) Patron::Session should work with multiple threads Failure/Error: session.post_file("/test", "LICENSE") Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:168:in `post_file' # ./spec/session_spec.rb:255:in `block (4 levels) in <top (required)>' 30) Patron::Session should limit the buffer_size Failure/Error: lambda { expected no Exception, got #<Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received> with backtrace: # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./lib/patron/session.rb:126:in `get' # ./spec/session_spec.rb:272:in `block (3 levels) in <top (required)>' # ./spec/session_spec.rb:271:in `block (2 levels) in <top (required)>' # ./spec/session_spec.rb:271:in `block (2 levels) in <top (required)>' 31) Patron::Session should serialize query params and append them to the url Failure/Error: response = @session.request(:get, "/test", {}, :query => {:foo => "bar"}) Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./spec/session_spec.rb:280:in `block (2 levels) in <top (required)>' 32) Patron::Session should merge parameters in the :query option with pre-existing query parameters Failure/Error: response = @session.request(:get, "/test?foo=bar", {}, :query => {:baz => "quux"}) Patron::TimeoutError: Operation timed out after 5001 milliseconds with 0 bytes received # ./lib/patron/session.rb:223:in `handle_request' # ./lib/patron/session.rb:223:in `request' # ./spec/session_spec.rb:287:in `block (2 levels) in <top (required)>' Deprecation Warnings: Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /Source/pkg-ruby/ruby-patron/spec/patron_spec.rb:30:in `block (2 levels) in <top (required)>'. Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /Source/pkg-ruby/ruby-patron/spec/response_spec.rb:53:in `block (2 levels) in <top (required)>'. If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure `config.raise_errors_for_deprecations!`, and it will turn the deprecation warnings into errors, giving you the full backtrace. 2 deprecation warnings total Finished in 2 minutes 51.4 seconds (files took 0.62045 seconds to load) 57 examples, 32 failures Failed examples: rspec ./spec/response_spec.rb:35 # Patron::Response should strip extra spaces from header values rspec ./spec/response_spec.rb:41 # Patron::Response should return an array of values when multiple header fields have same name rspec ./spec/response_spec.rb:46 # Patron::Response should works with non-text files rspec ./spec/session_spec.rb:53 # Patron::Session should retrieve a url with :get rspec ./spec/session_spec.rb:59 # Patron::Session should download content with :get and a file path rspec ./spec/session_spec.rb:68 # Patron::Session should include custom headers in a request rspec ./spec/session_spec.rb:74 # Patron::Session should merge custom headers with session headers rspec ./spec/session_spec.rb:87 # Patron::Session should follow redirects by default rspec ./spec/session_spec.rb:95 # Patron::Session should include redirect count in response rspec ./spec/session_spec.rb:101 # Patron::Session should not follow redirects when configured to do so rspec ./spec/session_spec.rb:108 # Patron::Session should retrieve URL metadata with :head rspec ./spec/session_spec.rb:115 # Patron::Session should send a delete request with :delete rspec ./spec/session_spec.rb:121 # Patron::Session should send a COPY request with :copy rspec ./spec/session_spec.rb:127 # Patron::Session should include a Destination header in COPY requests rspec ./spec/session_spec.rb:133 # Patron::Session should upload data with :get rspec ./spec/session_spec.rb:141 # Patron::Session should upload data with :put rspec ./spec/session_spec.rb:153 # Patron::Session should upload a file with :put rspec ./spec/session_spec.rb:163 # Patron::Session should use chunked encoding when uploading a file with :put rspec ./spec/session_spec.rb:169 # Patron::Session should upload data with :post rspec ./spec/session_spec.rb:177 # Patron::Session should post a hash of arguments as a urlencoded form rspec ./spec/session_spec.rb:190 # Patron::Session should upload a file with :post rspec ./spec/session_spec.rb:196 # Patron::Session should upload a multipart with :post rspec ./spec/session_spec.rb:206 # Patron::Session should use chunked encoding when uploading a file with :post rspec ./spec/session_spec.rb:212 # Patron::Session should pass credentials as http basic auth rspec ./spec/session_spec.rb:220 # Patron::Session should handle cookies if set rspec ./spec/session_spec.rb:226 # Patron::Session should not handle cookies by default rspec ./spec/session_spec.rb:231 # Patron::Session should ignore a wrong Content-Length when asked to rspec ./spec/session_spec.rb:238 # Patron::Session should fail by default with a Content-Length too high rspec ./spec/session_spec.rb:249 # Patron::Session should work with multiple threads rspec ./spec/session_spec.rb:261 # Patron::Session should limit the buffer_size rspec ./spec/session_spec.rb:279 # Patron::Session should serialize query params and append them to the url rspec ./spec/session_spec.rb:286 # Patron::Session should merge parameters in the :query option with pre-existing query parameters /usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed ERROR: Test "ruby2.2" failed. Exiting.
smime.p7s
Description: S/MIME cryptographic signature