[DRE-maint] Bug#996382: ruby-seamless-database-pool: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError:
Antonio Terceiro
terceiro at debian.org
Wed Oct 13 15:28:19 BST 2021
Source: ruby-seamless-database-pool
Version: 1.0.20-1.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-seamless-database-pool 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 1, expected 0)
> # /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:273:in `transaction'
> # ./lib/active_record/connection_adapters/seamless_database_pool_adapter.rb:187:in `block in transaction'
> # ./lib/active_record/connection_adapters/seamless_database_pool_adapter.rb:260:in `use_master_connection'
> # ./lib/active_record/connection_adapters/seamless_database_pool_adapter.rb:186:in `transaction'
> # ./spec/seamless_database_pool_adapter_spec.rb:146:in `block (4 levels) in <top (required)>'
> # ./lib/seamless_database_pool.rb:51:in `block in use_persistent_read_connection'
> # ./lib/seamless_database_pool.rb:78:in `set_read_only_connection_type'
> # ./lib/seamless_database_pool.rb:51:in `use_persistent_read_connection'
> # ./spec/seamless_database_pool_adapter_spec.rb:144:in `block (3 levels) in <top (required)>'
>
> Finished in 0.75931 seconds (files took 0.97484 seconds to load)
> 64 examples, 1 failure
>
> Failed examples:
>
> rspec ./spec/seamless_database_pool_adapter_spec.rb:135 # SeamlessDatabasePoolAdapter selecting a connection from the pool should use the master connection inside a transaction
>
> Randomized with seed 45692
>
> /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 --format documentation failed
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-seamless-database-pool/ruby-seamless-database-pool_1.0.20-1.1+rebuild1633395012_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/20211013/d99f9c6a/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list