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

Antonio Terceiro terceiro at debian.org
Tue Oct 12 12:35:12 BST 2021


Source: ruby-dalli
Version: 2.7.11-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-dalli 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)
>     
> 
> rails test <<PKGBUILDDIR>>/test/test_active_support.rb:42
> 
> Dalli::key validation#test_0002_allow namespace to be a symbol = 0.00 s = .
> Dalli::key validation#test_0001_not allow blanks = 0.00 s = .
> Encoding::using a live server#test_0001_support i18n content = 0.00 s = .
> Encoding::using a live server#test_0002_support content expiry = 1.21 s = .
> 
> Finished in 38.006598s, 5.0781 runs/s, 206.5168 assertions/s.
> 193 runs, 7849 assertions, 0 failures, 63 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/benchmark_test.rb" "test/test_active_support.rb" "test/test_cas_client.rb" "test/test_compressor.rb" "test/test_dalli.rb" "test/test_encoding.rb" "test/test_failover.rb" "test/test_network.rb" "test/test_rack_session.rb" "test/test_ring.rb" "test/test_sasl.rb" "test/test_serializer.rb" "test/test_server.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-dalli/ruby-dalli_2.7.11-1+rebuild1633377472_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/20211012/7f10622f/attachment.sig>


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