[DRE-maint] Bug#945210: ruby-redis-namespace ftbfs with ruby-redis 4 in experimental
Pirate Praveen
praveen at onenetbeyond.org
Thu Nov 21 09:04:14 GMT 2019
Package: ruby-redis-namespace
version: 1.6.0-1
severity: important
This package fails to build with ruby-redis 4 in experimental and
blocking its upload to unstable.
RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-redis-namespace/usr/lib/ruby/vendor_ruby:.
GEM_PATH=debian/ruby-redis-namespace/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0
ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb
.................The client method is deprecated as of redis-rb 4.0.0,
please use the new _clientmethod instead. Support for the old method
will be removed in redis-namespace 2.0.
FThe client method is deprecated as of redis-rb 4.0.0, please use the
new _clientmethod instead. Support for the old method will be removed
in redis-namespace 2.0.
FF..........F.........................................................................
Failures:
1) redis proxies `client` to the _client and deprecated
Failure/Error: expect(@namespaced.client).to eq(@redis.client)
Redis::CommandError:
ERR Unknown subcommand or wrong number of arguments for ''. Try
CLIENT HELP
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis/client.rb:126:in
`call'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:222:in
`block in client'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`block in synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:221:in
`client'
# ./spec/redis_spec.rb:29:in `block (2 levels) in <top (required)>'
2) redis proxies `_client` to the _client
Failure/Error: expect(@namespaced.client).to eq(@redis.client)
Redis::CommandError:
ERR Unknown subcommand or wrong number of arguments for ''. Try
CLIENT HELP
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis/client.rb:126:in
`call'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:222:in
`block in client'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`block in synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:221:in
`client'
# ./spec/redis_spec.rb:33:in `block (2 levels) in <top (required)>'
3) redis should be able to use a namespace
Failure/Error: result = @redis.send(command, *args, &block)
Redis::CommandError:
ERR unknown command `[]`, with args beginning with: `ns:foo`,
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis/client.rb:126:in
`call'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3311:in
`block in method_missing'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`block in synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3310:in
`method_missing'
# ./lib/redis/namespace.rb:442:in `call_with_namespace'
# ./lib/redis/namespace.rb:328:in `method_missing'
# ./spec/redis_spec.rb:37:in `block (2 levels) in <top (required)>'
4) redis should be able to use a namespace with setrange
Failure/Error: result = @redis.send(command, *args, &block)
Redis::CommandError:
ERR unknown command `[]`, with args beginning with: `ns:foo`,
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis/client.rb:126:in
`call'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3311:in
`block in method_missing'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`block in synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:52:in
`synchronize'
#
/usr/share/rubygems-integration/all/gems/redis-4.1.2/lib/redis.rb:3310:in
`method_missing'
# ./lib/redis/namespace.rb:442:in `call_with_namespace'
# ./lib/redis/namespace.rb:328:in `method_missing'
# ./spec/redis_spec.rb:132:in `block (2 levels) in <top
(required)>'
Finished in 1.2 seconds (files took 0.18478 seconds to load)
104 examples, 4 failures
Failed examples:
rspec ./spec/redis_spec.rb:28 # redis proxies `client` to the _client
and deprecated
rspec ./spec/redis_spec.rb:32 # redis proxies `_client` to the _client
rspec ./spec/redis_spec.rb:36 # redis should be able to use a namespace
rspec ./spec/redis_spec.rb:130 # redis should be able to use a
namespace with setrange
More information about the Pkg-ruby-extras-maintainers
mailing list