[DRE-maint] Bug#996120: ruby-acts-as-list: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: ArgumentError: wrong number of arguments (given 3, expected 2)

Antonio Terceiro terceiro at debian.org
Mon Oct 11 13:43:54 BST 2021


Source: ruby-acts-as-list
Version: 1.0.3-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-acts-as-list 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 3, expected 2)
>     /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/schema_definitions.rb:364:in `column'
>     /<<PKGBUILDDIR>>/test/test_list.rb:14:in `block in setup_db'
>     /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/schema_statements.rb:309:in `create_table'
>     /<<PKGBUILDDIR>>/test/test_list.rb:13:in `setup_db'
>     /<<PKGBUILDDIR>>/test/test_list.rb:638:in `setup'
> 
> 194 runs, 66 assertions, 0 failures, 166 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb "test/test_default_scope_with_select.rb" "test/test_joined_list.rb" "test/test_list.rb" "test/test_no_update_for_extra_classes.rb" "test/test_no_update_for_scope_destruction.rb" "test/test_no_update_for_subclasses.rb" "test/test_scope_with_user_defined_foreign_key.rb" -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-acts-as-list/ruby-acts-as-list_1.0.3-1+rebuild1633375107_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/7f323fa5/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list