Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329211 - dev-ruby/gherkin-1.0.30 needs dev-ruby/jeweler and dev-ruby/rspec as dependencies
Summary: dev-ruby/gherkin-1.0.30 needs dev-ruby/jeweler and dev-ruby/rspec as dependen...
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-07-21 04:53 UTC by vsync
Modified: 2010-07-21 07:59 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 vsync 2010-07-21 04:53:27 UTC
When trying to emerge dev-ruby/gherkin without jeweler and rspec installed it complains and won't emerge.

Reproducible: Always

Steps to Reproduce:
1. Do not have dev-ruby/jeweler and dev-ruby/rspec installed
2. emerge =dev-ruby/gherkin-1.0.30
3. FAIL

Actual Results:  
>>> Compiling source in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work ...
 * Running compile phase for ruby18 ...
(in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/ruby18/gherkin-1.0.30)
Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler
WARNING: Rake::ExtensionTask not installed. Skipping C compilation.
rake aborted!
no such file to load -- spec/rake/spectask
/var/tmp/portage/dev-ruby/gherkin-1.0.30/work/ruby18/gherkin-1.0.30/Rakefile:54:in `load'
(See full trace by running task with --trace)
 * Running compile phase for all ...
(in /var/tmp/portage/dev-ruby/gherkin-1.0.30/work/all/gherkin-1.0.30)
Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler
WARNING: Rake::ExtensionTask not installed. Skipping C compilation.
rake aborted!
no such file to load -- spec/rake/spectask
/var/tmp/portage/dev-ruby/gherkin-1.0.30/work/all/gherkin-1.0.30/Rakefile:54:in `load'
(See full trace by running task with --trace)
 * ERROR: dev-ruby/gherkin-1.0.30 failed:
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2728:  Called ruby-ng_src_compile
 *   environment, line 2465:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  315:  Called all_ruby_compile
 *   environment, line  367:  Called all_fakegem_compile
 *   environment, line  336:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";


Expected Results:  
jeweler and rspec should have been preinstalled by portage as dependencies
Comment 1 Hans de Graaff gentoo-dev Security 2010-07-21 07:59:47 UTC
It looks like rspec is unconditionally loaded as part of the build system, so we do need this at build time. I also added a missing dependency on rake-compiler.

Jeweler is optional, so I have not added it as a dependency.

Should be fixed now in gherkin 1.0.30.

Thanks for reporting.