Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355305 - dev-ruby/racc-1.4.6 with ruby18 needs rake to compile
Summary: dev-ruby/racc-1.4.6 with ruby18 needs rake to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 09:30 UTC by Sebastian L.
Modified: 2011-02-20 13:03 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 Sebastian L. 2011-02-17 09:30:41 UTC
dev-ruby/racc-1.4.6 (other version not tested) for ruby18 has compile time dependency rake and/or rake-compiler.

Reproducible: Didn't try

Steps to Reproduce:




I did have neither dev-ruby/rake, dev-ruby/rake-compiler nor dev-ruby/racc installed. A Nokogiri update pulled all three:

[ebuild     U ~] dev-ruby/nokogiri-1.4.4 [1.4.0] USE="-doc -ffi% -test%" RUBY_TARGETS="ruby18%* -jruby% -ree18% (-ruby19)" 194 kB
[ebuild  N     ]  dev-ruby/hoe-2.8.0  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 114 kB
[ebuild  N    ~]  dev-ruby/rake-compiler-0.7.6  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 27 kB
[ebuild  N     ]   dev-ruby/rake-0.8.7-r5  USE="bash-completion -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18" 101 kB
[ebuild  N    ~]  dev-ruby/racc-1.4.6  USE="-test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 108 kB
[ebuild  N    ~]  dev-ruby/rexical-1.0.5  USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" 20 kB

Total: 6 packages (1 upgrade, 5 new), Size of downloads: 564 kB


emerge failed for dev-ruby/racc:

>>> Compiling source in /var/tmp/portage/dev-ruby/racc-1.4.6/work ...
 * Running compile phase for ruby18 ...
/usr/bin/ruby18: No such file or directory -- rake (LoadError)
 * ERROR: dev-ruby/racc-1.4.6 failed (compile phase):
 *   build failed


It worked after I manually did "emerge -1 rake-compiler" (which also pulled dev-ruby/rake).
Comment 1 Hans de Graaff gentoo-dev Security 2011-02-20 13:03:04 UTC
dev-ruby/rake is missing. We never caught this since we test with USE=doc and FEATURES=test, both of which automatically pull in rake.

Fixed in CVS for racc-1.4.6.