Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368631 - dev-ruby/hoe-2.8.0 tests depends on dev-ruby/hoe-seattlerb
Summary: dev-ruby/hoe-2.8.0 tests depends on dev-ruby/hoe-seattlerb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 20:43 UTC by Joshua Pettett
Modified: 2011-06-03 07:47 UTC (History)
0 users

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


Attachments
hoe-2.8.0 ebuild patch to include hoe-seattlerb dependency for tests (hoe-2.8.0.ebuild_tests_depend_on_hoe-seattlerb.patch,523 bytes, application/octet-stream)
2011-05-24 20:43 UTC, Joshua Pettett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Pettett 2011-05-24 20:43:02 UTC
Created attachment 274537 [details]
hoe-2.8.0 ebuild patch to include hoe-seattlerb dependency for tests

Emerging hoe-2.8.0 with FEATURES="test" fails as seen below.  Emerging dev-ruby/hoe-seattlerb first allows tests to pass.  Attaching tested ebuild patch that includes dependency.


 * Running test phase for ruby18 ...
(in /var/tmp/portage/dev-ruby/hoe-2.8.0/work/ruby18/hoe-2.8.0)
warning: couldn't activate the seattlerb plugin, skipping
/usr/bin/ruby18 -w -I../../minitest/dev/lib:lib:bin:test:. -e 'require "rubygems"; require "test/unit"; require "test/test_hoe_gemcutter.rb"; require "test/test_hoe.rb"' -- 
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing': uninitialized constant MiniTest (NameError)
        from ./test/test_hoe_gemcutter.rb:4
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from -e:1
rake aborted!
Command failed with status (1): [/usr/bin/ruby18 -w -I../../minitest/dev/li...]
Comment 1 Hans de Graaff gentoo-dev Security 2011-06-03 07:47:23 UTC
Thanks for the report.

I have opted to 'fix' this by restricting the tests on hoe 2.8.0. Since hoe-seattlerb is not marked stable on all arches it can't just be added to the hoe-2.8.0 ebuild, and since newer versions of hoe don't need this dependency even for testing this seemed like the solution with the lowest impact.