Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908799 - dev-ruby/dalli-3.2.5 fails tests when dev-ruby/rack:2.2 not installed
Summary: dev-ruby/dalli-3.2.5 fails tests when dev-ruby/rack:2.2 not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-18 18:21 UTC by Jonathan Lovelace
Modified: 2023-07-08 14:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ruby:dalli-3.2.5:20230618-175300.log (dev-ruby:dalli-3.2.5:20230618-175300.log,6.74 KB, text/x-log)
2023-06-18 18:21 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.97 KB, text/plain)
2023-06-18 18:23 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2023-06-18 18:21:02 UTC
Created attachment 864156 [details]
dev-ruby:dalli-3.2.5:20230618-175300.log

dev-ruby/dalli, both version 3.2.4 and 3.2.5, fails (to run) its test suite when SLOT 2.2 of dev-ruby/rack is not installed (version 3.0.7 satisfying the no-slot-specified dependency). From the build log:

---------------------------
/usr/bin/ruby30 -w -I"lib" /usr/lib64/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/integration/test_authentication.rb" "t
est/integration/test_cas.rb" "test/integration/test_compressor.rb" "test/integration/test_concurrency.rb" "test/integration/test_connection_pool.rb" "test/integration/test_encoding.rb" "test/integration/test_failover.rb" "test/integration/test_marshal.rb" "test/integration/test_memcached_admin.rb" "test/integration/test_namespace_and_key.rb" "test/integration/test_network.rb" "test/integration/test_operations.rb" "test/integration/test_pipelined_get.rb" "test/integration/test_quiet.rb" "test/integration/test_sasl.rb" "test/integration/test_serializer.rb" "test/integration/test_ttl.rb" "test/protocol/meta/test_request_formatter.rb" "test/protocol/test_binary.rb" "test/protocol/test_server_config_parser.rb" "test/protocol/test_ttl_sanitizer.rb" "test/protocol/test_value_compressor.rb" "test/protocol/test_value_marshaller.rb" "test/protocol/test_value_serializer.rb" "test/test_client_options.rb" "test/test_compressor.rb" "test/test_digest_class.rb" "test/test_key_manager.rb" "test/test_rack_session.rb" "test/test_ring.rb" "test/test_servers_arg_normalizer.rb" 
Found memcached 1.6.19 in PATH
<internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- rack/session/abstract/id (LoadError)
        from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /var/tmp/portage/dev-ruby/dalli-3.2.5/work/ruby30/dalli-3.2.5/lib/rack/session/dalli.rb:3:in `<top (required)>'
        from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /var/tmp/portage/dev-ruby/dalli-3.2.5/work/ruby30/dalli-3.2.5/test/test_rack_session.rb:6:in `<top (required)>'
        from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from <internal:/usr/lib64/ruby/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
        from /usr/lib64/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
        from /usr/lib64/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
        from /usr/lib64/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1): [ruby -w -I"lib" /usr/lib64/ruby/gems/3.0.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/integration/test_authentication.rb" "test/integration/test_cas.rb" "test/integration/test_compressor.rb" "test/integration/test_concurrency.rb" "test/integration/test_connection_pool.rb" "test/integration/test_encoding.rb" "test/integration/test_failover.rb" "test/integration/test_marshal.rb" "test/integration/test_memcached_admin.rb" "test/integration/test_namespace_and_key.rb" "test/integration/test_network.rb" "test/integration/test_operations.rb" "test/integration/test_pipelined_get.rb" "test/integration/test_quiet.rb" "test/integration/test_sasl.rb" "test/integration/test_serializer.rb" "test/integration/test_ttl.rb" "test/protocol/meta/test_request_formatter.rb" "test/protocol/test_binary.rb" "test/protocol/test_server_config_parser.rb" "test/protocol/test_ttl_sanitizer.rb" "test/protocol/test_value_compressor.rb" "test/protocol/test_value_marshaller.rb" "test/protocol/test_value_serializer.rb" "test/test_client_options.rb" "test/test_compressor.rb" "test/test_digest_class.rb" "test/test_key_manager.rb" "test/test_rack_session.rb" "test/test_ring.rb" "test/test_servers_arg_normalizer.rb" ]
---------------------------

But once I installed rack:2.2 (version 2.2.6.4), the test suite runs without error and passes its tests.
Comment 1 Jonathan Lovelace 2023-06-18 18:23:45 UTC
Created attachment 864159 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2023-07-08 14:09:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcefaa5ddb69ae1ab0d97a765fe6528ec142a059

commit bcefaa5ddb69ae1ab0d97a765fe6528ec142a059
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-07-08 13:17:46 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-07-08 14:09:16 +0000

    dev-ruby/dalli: fix rack dependency
    
    Closes: https://bugs.gentoo.org/908799
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/dalli/dalli-3.2.4.ebuild | 4 ++--
 dev-ruby/dalli/dalli-3.2.5.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)