Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854711 - dev-ruby/activerecord-6.0.5 fails tests if dev-ruby/railties not installed
Summary: dev-ruby/activerecord-6.0.5 fails tests if dev-ruby/railties 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: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-06-28 00:48 UTC by Jonathan Lovelace
Modified: 2022-07-03 09:51 UTC (History)
0 users

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


Attachments
dev-ruby:activerecord-6.0.5:20220626-224009.log (dev-ruby:activerecord-6.0.5:20220626-224009.log,24.38 KB, text/plain)
2022-06-28 00:48 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.41 KB, text/plain)
2022-06-28 00:49 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-06-28 00:48:54 UTC
Created attachment 788162 [details]
dev-ruby:activerecord-6.0.5:20220626-224009.log

=dev-ruby/activerecord-6.0.5 fails tests with this stack trace:

Traceback (most recent call last):                                                                            
        11: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `<main>'       
        10: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in `select'       
         9: from /usr/lib64/ruby/gems/2.7.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in `block in <mai
n>'                                                                                                           
         8: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'          
         7: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'          
         6: from /var/tmp/portage/dev-ruby/activerecord-6.0.5/work/ruby27/rails-6.0.5/activerecord/test/cases/
integration_test.rb:3:in `<top (required)>'                                                                   
         5: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'          
         4: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb:83:in `require'          
         3: from /var/tmp/portage/dev-ruby/activerecord-6.0.5/work/ruby27/rails-6.0.5/activerecord/test/cases/
helper.rb:2:in `<top (required)>'                                                                             
         2: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/core_ext/kernel_gem.rb:62:in `gem'                  
         1: from /usr/lib64/ruby/site_ruby/2.7.0/rubygems/dependency.rb:323:in `to_spec'                      
/usr/lib64/ruby/site_ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'railties' (~> 6.0.0)
 among 186 total gem(s) (Gem::MissingSpecError)                                                               
Checked in 'GEM_PATH=/var/tmp/portage/dev-ruby/activerecord-6.0.5/homedir/.gem/ruby/2.7.0:/usr/lib64/ruby/gems
/2.7.0:/usr/local/lib64/ruby/gems/2.7.0', execute `gem env` for more information                              
rake aborted!                                                                                                 

And indeed, dev-ruby/railties is not installed (in any SLOT). I note that the railties dependency is added to the gemspec in the ebuild.
Comment 1 Jonathan Lovelace 2022-06-28 00:49:26 UTC
Created attachment 788165 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2022-07-03 09:51:12 UTC
The bug has been closed via the following commit(s):

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

commit cc448eecdda7718f9900a9e90c35c598df601b49
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-07-03 09:27:11 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-07-03 09:51:08 +0000

    dev-ruby/activerecord: add missing test dependency
    
    Closes: https://bugs.gentoo.org/854711
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/activerecord/activerecord-6.0.5.ebuild | 1 +
 dev-ruby/activerecord/activerecord-6.1.6.ebuild | 1 +
 dev-ruby/activerecord/activerecord-7.0.3.ebuild | 1 +
 3 files changed, 3 insertions(+)