Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 860555

Summary: dev-ruby/activesupport-6.1.6.1 fails tests: uninitialized constant Dalli::Protocol
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 861920    
Bug Blocks:    
Attachments: dev-ruby:activesupport-6.1.6.1:20220724-131733.log
emerge-info.txt

Description Jonathan Lovelace 2022-07-24 13:24:40 UTC
Created attachment 793961 [details]
dev-ruby:activesupport-6.1.6.1:20220724-131733.log

=dev-ruby/activesupport-6.1.6.1 fails its test phase for me, with the following Ruby stack-trace:

Traceback (most recent call last):                                                                            
        5: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `<main>'        
        4: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `select'        
        3: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in `block in <main
>'                                                                                                            
        2: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in `require'      
        1: from /var/tmp/portage/dev-ruby/activesupport-6.1.6.1/work/ruby27/rails-6.1.6.1/activesupport/test/c
ache/stores/mem_cache_store_test.rb:10:in `<top (required)>'                                                  
/var/tmp/portage/dev-ruby/activesupport-6.1.6.1/work/ruby27/rails-6.1.6.1/activesupport/test/cache/stores/mem_cache_store_test.rb:21:in `<class:MemCacheStoreTest>': uninitialized constant Dalli::Protocol (NameError)
Comment 1 Jonathan Lovelace 2022-07-24 13:25:05 UTC
Created attachment 793964 [details]
emerge-info.txt
Comment 2 Hans de Graaff gentoo-dev Security 2022-07-28 10:20:52 UTC
Which version of dev-ruby/dalli do you have installed?
Comment 3 Jonathan Lovelace 2022-07-28 12:36:08 UTC
The current amd64 stable, dev-ruby/dalli-2.7.11 .
Comment 4 Hans de Graaff gentoo-dev Security 2022-07-29 07:58:40 UTC
Yes, this needs at least dalli 3.0.1, but that version needs to be stable first.
Comment 5 Larry the Git Cow gentoo-dev 2022-11-06 07:08:03 UTC
The bug has been closed via the following commit(s):

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

commit dbf22b617394b730a8b9f9005542404303856d06
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-11-05 07:46:02 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-11-06 07:07:55 +0000

    dev-ruby/activesupport: require new enough dalli for tests
    
    Closes: https://bugs.gentoo.org/860555
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/activesupport/activesupport-6.1.6.1.ebuild | 2 +-
 dev-ruby/activesupport/activesupport-6.1.7.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)