[DRE-maint] Bug#996147: ruby-capybara: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:
Antonio Terceiro
terceiro at debian.org
Mon Oct 11 14:07:39 BST 2021
Source: ruby-capybara
Version: 3.12.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-capybara was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> ArgumentError:
> wrong number of arguments (given 4, expected 3)
> # ./lib/capybara/selector/filters/node_filter.rb:9:in `initialize'
> # ./lib/capybara/selector/filter_set.rb:115:in `new'
> # ./lib/capybara/selector/filter_set.rb:115:in `add_filter'
> # ./lib/capybara/selector/filter_set.rb:19:in `node_filter'
> # ./lib/capybara/selector.rb:5:in `block in <top (required)>'
> # ./lib/capybara/selector/filter_set.rb:15:in `instance_eval'
> # ./lib/capybara/selector/filter_set.rb:15:in `initialize'
> # ./lib/capybara/selector/filter_set.rb:77:in `new'
> # ./lib/capybara/selector/filter_set.rb:77:in `add'
> # ./lib/capybara/selector.rb:4:in `<top (required)>'
> # ./lib/capybara.rb:430:in `<module:Capybara>'
> # ./lib/capybara.rb:9:in `<top (required)>'
> # ./lib/capybara/spec/spec_helper.rb:5:in `<top (required)>'
> # ./spec/spec_helper.rb:4:in `<top (required)>'
> # ./spec/xpath_builder_spec.rb:3:in `<top (required)>'
> No examples found.
>
>
> Finished in 0.00006 seconds (files took 1.85 seconds to load)
> 0 examples, 0 failures, 21 errors occurred outside of examples
>
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-capybara/ruby-capybara_3.12.0-1+rebuild1633376144_amd64.build.txt
-------------- 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/20211011/da0a1b59/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list