Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368907 - dev-ruby/stomp-1.1.7 cannot do test phase
Summary: dev-ruby/stomp-1.1.7 cannot do test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 368825
  Show dependency tree
 
Reported: 2011-05-27 16:00 UTC by Ian Delaney (RETIRED)
Modified: 2011-05-31 18:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2011-05-27 16:00:27 UTC
Emerging the package testing for amd64.

Failed at the first line of the first step of the test/

Reproducible: Always

Steps to Reproduce:
1. emerge package with test set in FEATURES
2.
3.
Actual Results:  
>>> Source compiled.
 * Running test phase for ruby18 ...
rake aborted!
no such file to load -- rspec/core/rake_task
/mnt/gen2/tmpdir/portage/dev-ruby/stomp-1.1.7/work/ruby18/stomp-1.1.7/Rakefile:18
(See full trace by running task with --trace)
(in /mnt/gen2/tmpdir/portage/dev-ruby/stomp-1.1.7/work/ruby18/stomp-1.1.7)
 * ERROR: dev-ruby/stomp-1.1.7 failed (test phase):
 *   tests failed


Expected Results:  
pass the test

The error cites rspec which itself has just been stabalised.

gentoo64 / # eix rspec

[I] dev-ruby/rspec
     Available versions:  
        (0)     1.3.1 (~)1.3.1-r1
        (2)     ~2.5.0 ~2.6.0
        {doc ruby_targets_jruby ruby_targets_ree18 ruby_targets_ruby18 ruby_targets_ruby19 test}                                                                                          
     Installed versions:  1.3.1-r1(15:45:53 05/27/11)(ruby_targets_ruby18 test -doc -ruby_targets_jruby -ruby_targets_ree18 -ruby_targets_ruby19)  

gentoo64 / # which rake
/usr/bin/rake

gentoo64 / # which rake_task
which: no rake_task in (/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin)
gentoo64 / # equery b rake_task
[ Searching for file(s) rake_task in *... ]
gentoo64 / # 

So it is just missing a dependency package

gentoo64 / # eix rspec

[I] dev-ruby/rspec
     Available versions:  
        (0)     1.3.1 (~)1.3.1-r1
        (2)     ~2.5.0 ~2.6.0
     Installed versions:  1.3.1-r1(15:45:53 05/27/11)(ruby_targets_ruby18 test -doc -ruby_targets_jruby -ruby_targets_ree18 -ruby_targets_ruby19)
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2011-05-27 16:04:21 UTC
I haven't included a build log since it contains virt nothing more than what I have printed here.  It compiled then flunked the 1st of the 1st of the test.
Comment 2 Hans de Graaff gentoo-dev Security 2011-05-30 07:07:25 UTC
It looks like we depended on the wrong version of rspec and we should be using rspec:2.
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2011-05-30 12:18:44 UTC
please do not CC amd64@ on non-stabilization request bugs. Thanks
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-05-30 12:35:23 UTC
It looks like you are right.

Adjusted ebuild from rspec:0 to rspec:2
Not surprisingly, emerging rspec required a small list of added dependencies to be stabalised to emerge rspec-2.5.0.

=dev-ruby/rspec-2.5.0 ~amd64
=dev-ruby/rspec-mocks-2.5.0 ~amd64
=dev-ruby/rspec-core-2.5* ~amd64
=dev-ruby/rspec-expectations-2.5.0 ~amd64

repoman manifest the ebuild,emerge the above, and viola

Finished in 0.16486 seconds
93 examples, 0 failures
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-05-30 12:47:46 UTC
forgot. also installed jeweller with 

gem install jeweler,

which was prompted on console output but this may not be required, test was already completed
Comment 6 Hans de Graaff gentoo-dev Security 2011-05-30 13:56:20 UTC
Please don't close bugs that are not fixed in the tree.
Comment 7 Hans de Graaff gentoo-dev Security 2011-05-31 18:10:08 UTC
This has now been fixed in CVS for stomp 1.1.7 and 1.1.8.

Thanks for the bug report and subsequent testing.