[DRE-maint] Bug#1027086: ruby-rest-client: FTBFS with ruby-rspec 3.12: ERROR: Test "ruby3.1" failed: Failure/Error:
Antonio Terceiro
terceiro at debian.org
Tue Dec 27 16:59:01 GMT 2022
Source: ruby-rest-client
Version: 2.1.0-2
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby-rspec-3.12
Hi,
I'm about to upload ruby-rspec 3.12. During a test rebuild with that version,
ruby-rest-client failed to build.
Relevant part of the build log (hopefully):
> Failure/Error:
> Request.execute(options.merge(
> :method => :head,
> :url => url,
> :headers => headers,
> :log => log), &(block || @block))
>
> #<RestClient::Request (class)> received :execute with unexpected arguments
> expected: ({:headers=>{"X-Something"=>"1"}, :log=>nil, :method=>:head, :password=>"mypass", :url=>"http://some/resource", :user=>"jane"}) (keyword arguments)
> got: ({:headers=>{"X-Something"=>"1"}, :log=>nil, :method=>:head, :password=>"mypass", :url=>"http://some/resource", :user=>"jane"}) (options hash)
> # ./lib/restclient/resource.rb:60:in `head'
> # ./spec/unit/resource_spec.rb:16:in `block (3 levels) in <top (required)>'
>
> Finished in 0.90862 seconds (files took 0.46198 seconds to load)
> 286 examples, 8 failures
>
> Failed examples:
>
> rspec ./spec/unit/request_spec.rb:506 # RestClient::Request class method execute wraps constructor
> rspec ./spec/unit/resource_spec.rb:39 # RestClient::Resource Resource delegation overrides resource headers
> rspec ./spec/unit/resource_spec.rb:19 # RestClient::Resource Resource delegation POST
> rspec ./spec/unit/resource_spec.rb:29 # RestClient::Resource Resource delegation PATCH
> rspec ./spec/unit/resource_spec.rb:9 # RestClient::Resource Resource delegation GET
> rspec ./spec/unit/resource_spec.rb:24 # RestClient::Resource Resource delegation PUT
> rspec ./spec/unit/resource_spec.rb:34 # RestClient::Resource Resource delegation DELETE
> rspec ./spec/unit/resource_spec.rb:14 # RestClient::Resource Resource delegation HEAD
>
> Randomized with seed 8137
>
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed:
The full build log is attached.
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-rest-client.log.gz
Type: application/gzip
Size: 20494 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/9f3612c3/attachment-0001.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20221227/9f3612c3/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list