Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340001 - dev-ruby/gherkin-1.0.30-r1 fails to compile
Summary: dev-ruby/gherkin-1.0.30-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 01:14 UTC by Nathan Phillip Brink (binki) (RETIRED)
Modified: 2010-10-09 09:21 UTC (History)
0 users

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


Attachments
/tmp/gherkin-1.0.30-r1-build.log (gherkin-1.0.30-r1-build.log,2.55 KB, text/plain)
2010-10-07 01:14 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details
/tmp/emerge--info.txt (emerge--info.txt,7.16 KB, text/plain)
2010-10-07 01:14 UTC, Nathan Phillip Brink (binki) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-07 01:14:22 UTC
See to-be-attached build.log.

I added the --trace option to rake (perhaps the ruby* eclasses could include this option by default somehow and ebuilds as well?) to get the following:

ohnopublishing gherkin-1.0.30 # pwd
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30
ohnopublishing gherkin-1.0.30 # ruby  -I lib -S rake --trace compile 
(in /var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30)
rake aborted!
no such file to load -- spec/rake/spectask
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
/usr/lib64/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30/tasks/rspec.rake:1
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30/Rakefile:54:in `load'
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30/Rakefile:54
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30/Rakefile:54:in `each'
/var/tmp/portage/dev-ruby/gherkin-1.0.30-r1/work/ruby18/gherkin-1.0.30/Rakefile:54
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `load'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2383:in `raw_load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2017:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2016:in `load_rakefile'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2000:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/usr/bin/rake:8:in `load'
/usr/bin/rake:8
ohnopublishing gherkin-1.0.30 # less tasks/rspec.rake 
require 'spec/rake/spectask'
...
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-07 01:14:40 UTC
Created attachment 249807 [details]
/tmp/gherkin-1.0.30-r1-build.log
Comment 2 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-07 01:14:49 UTC
Created attachment 249808 [details]
/tmp/emerge--info.txt
Comment 3 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2010-10-07 01:43:40 UTC
Installing dev-ruby/rspec:0 seems to fix the problem (I only had dev-ruby/rspec:2 installed beforehand because rspec:0 was never pulled in).
Comment 4 Hans de Graaff gentoo-dev Security 2010-10-09 09:21:23 UTC
I've fixed the rspec dependency to only depend on SLOT="0", which should fix this. Thanks for reporting.