Source: ruby-fakeredis Version: 0.8.0-4 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-fakeredis 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
> #
> /usr/share/rubygems-integration/all/gems/redis-4.2.5/lib/redis.rb:1604:in
> `block in zadd'
> #
> /usr/share/rubygems-integration/all/gems/redis-4.2.5/lib/redis.rb:69:in
> `block in synchronize'
> # /usr/lib/ruby/3.0.0/monitor.rb:202:in `synchronize'
> # /usr/lib/ruby/3.0.0/monitor.rb:202:in `mon_synchronize'
> #
> /usr/share/rubygems-integration/all/gems/redis-4.2.5/lib/redis.rb:69:in
> `synchronize'
> #
> /usr/share/rubygems-integration/all/gems/redis-4.2.5/lib/redis.rb:1596:in
> `zadd'
> # ./spec/sorted_sets_spec.rb:767:in `block (4 levels) in
> <module:FakeRedis>'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:257:in
> `instance_exec'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:257:in
> `block in run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:503:in
> `block in with_around_and_singleton_context_hooks'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:460:in
> `block in with_around_example_hooks'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb:481:in
> `block in run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb:619:in
> `run_around_example_hooks_for'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/hooks.rb:481:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:460:in
> `with_around_example_hooks'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:503:in
> `with_around_and_singleton_context_hooks'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example.rb:254:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:644:in
> `block in run_examples'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:640:in
> `map'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:640:in
> `run_examples'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:606:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `block in run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `map'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `block in run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `map'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/example_group.rb:607:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:121:in
> `block (3 levels) in run_specs'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:121:in
> `map'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:121:in
> `block (2 levels) in run_specs'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/configuration.rb:2058:in
> `with_suite_hooks'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:116:in
> `block in run_specs'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/reporter.rb:74:in
> `report'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:115:in
> `run_specs'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:89:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:71:in
> `run'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib/rspec/core/runner.rb:45:in
> `invoke'
> #
> /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec:4:in
> `<main>'
>
> Finished in 0.67612 seconds (files took 0.66319 seconds to load)
> 468 examples, 18 failures, 1 pending
>
> Failed examples:
>
> rspec ./spec/keys_spec.rb:362 # KeysMethods with extended options uses ex
> option to set the expire time, in seconds
> rspec ./spec/keys_spec.rb:369 # KeysMethods with extended options uses px
> option to set the expire time, in miliseconds
> rspec ./spec/keys_spec.rb:378 # KeysMethods with extended options prefers the
> finer-grained PX expiration option over EX
> rspec ./spec/keys_spec.rb:389 # KeysMethods with extended options uses nx
> option to only set the key if it does not already exist
> rspec ./spec/keys_spec.rb:396 # KeysMethods with extended options uses xx
> option to only set the key if it already exists
> rspec ./spec/keys_spec.rb:404 # KeysMethods with extended options does not
> set the key if both xx and nx option are specified
> rspec ./spec/memory_spec.rb:47 # FakeRedis#scan with one namespace returns
> the expected array of keys
> rspec ./spec/memory_spec.rb:58 # FakeRedis#scan with multiple namespaces
> returns the expected array of keys
> rspec ./spec/sorted_sets_spec.rb:687 # SortedSetsMethods #zadd with {nx:
> true, incr: true} should increment to the provided score only if the element
> is new and return the element's score
> rspec ./spec/sorted_sets_spec.rb:701 # SortedSetsMethods #zadd with {nx:
> true, ch: true} should add only new elements, not update existing elements,
> and return the number of added elements
> rspec ./spec/sorted_sets_spec.rb:714 # SortedSetsMethods #zadd with {nx:
> true, incr: true, ch: true} should add only new elements
> rspec ./spec/sorted_sets_spec.rb:721 # SortedSetsMethods #zadd with {nx:
> true, incr: true, ch: true} should return the score of the new member
> rspec ./spec/sorted_sets_spec.rb:725 # SortedSetsMethods #zadd with {nx:
> true, incr: true, ch: true} should return nil when the member already exists
> rspec ./spec/sorted_sets_spec.rb:735 # SortedSetsMethods #zadd with {xx:
> true, incr: true} should return nil if the member does not already exist
> rspec ./spec/sorted_sets_spec.rb:740 # SortedSetsMethods #zadd with {xx:
> true, incr: true} should increment only existing elements
> rspec ./spec/sorted_sets_spec.rb:748 # SortedSetsMethods #zadd with {xx:
> true, ch: true} should return the number of updated elements and not add new
> members
> rspec ./spec/sorted_sets_spec.rb:762 # SortedSetsMethods #zadd with {xx:
> true, incr: true, ch: true} should return the new score of the inserted member
> rspec ./spec/sorted_sets_spec.rb:766 # SortedSetsMethods #zadd with {xx:
> true, incr: true, ch: true} should increment only existing elements
>
> /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-fakeredis/ruby-fakeredis_0.8.0-4+rebuild1633379457_amd64.build.txt
signature.asc
Description: PGP signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
