[DRE-maint] Bug#1143392: ruby-capybara: FTBFS: dh_auto_install: error: dh_ruby --install /<<BUILDDIR>>/ruby-capybara-3.40.0\+ds/debian/ruby-capybara returned exit code 1
Santiago Vila
sanvila at debian.org
Sat Aug 1 23:38:26 BST 2026
Package: src:ruby-capybara
Version: 3.40.0+ds-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-capybara, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
dh_autoreconf_clean -O--buildsystem=ruby
dh_clean -O--buildsystem=ruby
debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_update_autotools_config -O--buildsystem=ruby
dh_autoreconf -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -O--buildsystem=ruby
dh_ruby --build
dh_auto_test -O--buildsystem=ruby
[... snipped ...]
accepts Regexp for individual class names for XPath based selectors
accepts Regexp for individual class names for CSS based selectors
with :style option
accepts string for CSS based selectors
accepts Regexp for CSS base selectors
:css selector
finds by CSS locator
:xpath selector
finds by XPath locator
:id selector
finds by locator
:field selector
finds by locator
finds by id string
finds by id regexp
finds by name
finds by placeholder
finds by type
:option selector
finds disabled options
finds selected options
finds not selected and not disabled options
:button selector
finds by value
finds by title
includes non-matching parameters in failure message
:element selector
finds by any attributes
supports regexp matching
still works with system keys
works without element type
validates attribute presence when true
validates attribute absence when false
includes wildcarded keys in description
accepts XPath::Expression
:link_or_button selector
should not find links when disabled == true
when modified
should still work
:table selector
finds by rows
finds by columns
Capybara::Server
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:34031
should spool up a rack server
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:33167
should do nothing when no server given
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:32865
should bind to the specified host
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:22789
should use specified port
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:22790
should use given port
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:34431
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:40099
should find an available port
should handle that getting available ports fails randomly
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:42803
should return its #base_url
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:44447
should call #clamp on the puma configuration to ensure that environment is a string
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:44449
should not emit any warnings when booting puma
should support SSL (PENDING: Temporarily skipped with xit)
#<Thread:0x00007f252cf2e240 /<<PKGBUILDDIR>>/lib/capybara/server.rb:76 run> terminated with exception (report_on_exception is true):
/<<PKGBUILDDIR>>/spec/server_spec.rb:254:in `block (3 levels) in <top (required)>': kaboom (RuntimeError)
from /<<PKGBUILDDIR>>/lib/capybara/server.rb:77:in `block in boot'
should raise server errors when the server errors before the timeout
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:36493
should raise an error when there are pending requests
is not #responsive? when Net::HTTP raises a SystemCallError
should attempt an HTTPS connection if HTTP connection returns EOFError
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
should attempt an HTTPS connection if HTTP connection returns Net::ReadTimeout
When Capybara.reuse_server is true
Capybara starting Puma...
* Listening on http://127.0.0.1:46287
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:44469
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:42523
should use the existing server if it already running
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:36255
detects and waits for all reused server sessions pending requests
When Capybara.reuse_server is false
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:38915
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:35639
should not reuse an already running server
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:44969
Capybara starting Puma...
* Version 8.0.2, codename: Into the Arena
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:39475
detects and waits for only one sessions pending requests
Capybara::Session
#new
should raise an error if passed non-existent driver
verifies a passed app is a rack app
current_driver
is global when threadsafe false
is thread specific threadsafe true
session_name
is global when threadsafe false
is thread specific when threadsafe true
quit
will reset the driver
resets the document
Capybara::Node::WhitespaceNormalizer
#normalize_spacing
does nothing to text not containing special characters
compresses excess breaking spacing
#normalize_visible_spacing
does nothing to text not containing special characters
compresses excess breaking visible spacing
Capybara::Selector::XPathBuilder
add_attribute_conditions
adds a single string condition to a single selector
adds multiple string conditions to a single selector
adds a single string condition to a multiple selector
adds multiple string conditions to a multiple selector
adds simple regexp conditions to a single selector
adds wildcard regexp conditions to a single selector
adds alternated regexp conditions to a single selector
adds alternated regexp conditions to a multiple selector
returns original selector when regexp can't be substringed
:class
handles string
handles negated strings
handles array of strings
handles array of string when negated included
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Capybara::Session DSL #has_css? should support case insensitive :class and :id options
# Nokogiri doesn't support case insensitive CSS attribute matchers
Failure/Error: raise ArgumentError, "This driver doesn't support case insensitive attribute matching when using CSS base selectors"
ArgumentError:
This driver doesn't support case insensitive attribute matching when using CSS base selectors
# /<<PKGBUILDDIR>>/lib/capybara/rack_test/driver.rb:82:in `rescue in find_css'
# /<<PKGBUILDDIR>>/lib/capybara/rack_test/driver.rb:77:in `find_css'
# /<<PKGBUILDDIR>>/lib/capybara/node/base.rb:108:in `find_css'
# /<<PKGBUILDDIR>>/lib/capybara/queries/selector_query.rb:254:in `find_nodes_by_selector_format'
# /<<PKGBUILDDIR>>/lib/capybara/queries/selector_query.rb:167:in `block in resolve_for'
# /<<PKGBUILDDIR>>/lib/capybara/node/base.rb:77:in `synchronize'
# /<<PKGBUILDDIR>>/lib/capybara/queries/selector_query.rb:166:in `resolve_for'
# /<<PKGBUILDDIR>>/lib/capybara/node/matchers.rb:869:in `block in _verify_selector_result'
# /<<PKGBUILDDIR>>/lib/capybara/node/base.rb:84:in `synchronize'
# /<<PKGBUILDDIR>>/lib/capybara/node/matchers.rb:868:in `_verify_selector_result'
# /<<PKGBUILDDIR>>/lib/capybara/node/matchers.rb:110:in `assert_selector'
# /<<PKGBUILDDIR>>/lib/capybara/session.rb:774:in `assert_selector'
# /<<PKGBUILDDIR>>/lib/capybara/dsl.rb:52:in `call'
# /<<PKGBUILDDIR>>/lib/capybara/dsl.rb:52:in `assert_selector'
# /<<PKGBUILDDIR>>/lib/capybara/rspec/matchers/have_selector.rb:18:in `element_matches?'
# /<<PKGBUILDDIR>>/lib/capybara/rspec/matchers/base.rb:52:in `matches?'
# /<<PKGBUILDDIR>>/lib/capybara/spec/session/has_css_spec.rb:70:in `block (2 levels) in <top (required)>'
# ------------------
# --- Caused by: ---
# Nokogiri::CSS::SyntaxError:
# unexpected ' ' after '[:substring_match, "'UITARI'"]'
# /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/gems/nokogiri-1.19.4/lib/nokogiri/css/parser_extras.rb:32:in `on_error'
2) Capybara::Session RackTest #has_css? should support case insensitive :class and :id options
# Nokogiri doesn't support case insensitive CSS attribute matchers
# /<<PKGBUILDDIR>>/lib/capybara/spec/session/has_css_spec.rb:69
3) if xfeature aliases to pending then this should be 'temporarily disabled with xfeature'
# Temporarily disabled with xfeature
# /<<PKGBUILDDIR>>/spec/rspec/features_spec.rb:83
4) if xfeature aliases to pending then this also should be 'temporarily disabled with xfeature'
# Temporarily disabled with xfeature
# /<<PKGBUILDDIR>>/spec/rspec/features_spec.rb:87
5) if xscenario aliases to pending then this test should be 'temporarily disabled with xscenario'
# Temporarily disabled with xscenario
# /<<PKGBUILDDIR>>/spec/rspec/scenarios_spec.rb:19
6) Capybara::Server should support SSL
# Temporarily skipped with xit
# /<<PKGBUILDDIR>>/spec/server_spec.rb:133
Failures:
1) capybara/minitest should support minitest
Failure/Error: MinitestTest.run reporter, {}
ArgumentError:
wrong number of arguments (given 2, expected 3)
# /usr/share/rubygems-integration/all/gems/minitest-6.0.6/lib/minitest.rb:484:in `run'
# /<<PKGBUILDDIR>>/spec/minitest_spec.rb:171:in `block (2 levels) in <top (required)>'
2) capybara/minitest/spec should support minitest spec
Failure/Error: MinitestSpecTest.run reporter, {}
ArgumentError:
wrong number of arguments (given 2, expected 3)
# /usr/share/rubygems-integration/all/gems/minitest-6.0.6/lib/minitest.rb:484:in `run'
# /<<PKGBUILDDIR>>/spec/minitest_spec_spec.rb:160:in `block (2 levels) in <top (required)>'
Finished in 2 minutes 32.6 seconds (files took 0.6761 seconds to load)
2573 examples, 2 failures, 6 pending
Failed examples:
rspec /<<PKGBUILDDIR>>/spec/minitest_spec.rb:167 # capybara/minitest should support minitest
rspec /<<PKGBUILDDIR>>/spec/minitest_spec_spec.rb:156 # capybara/minitest/spec should support minitest spec
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.7/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.6/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install'
from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<BUILDDIR>>/ruby-capybara-3.40.0\+ds/debian/ruby-capybara returned exit code 1
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-ruby-extras-maintainers
mailing list