>>> Compiling source in /var/tmp/portage/dev-ruby/redcloth-4.2.3/work ... * Running compile phase for ruby18 ... (in /var/tmp/portage/dev-ruby/redcloth-4.2.3/work/ruby18/jgarber-redcloth-0df627e) rake aborted! no such file to load -- json /var/tmp/portage/dev-ruby/redcloth-4.2.3/work/ruby18/jgarber-redcloth-0df627e/Rakefile:4 (See full trace by running task with --trace) * ERROR: dev-ruby/redcloth-4.2.3 failed: * rake compile failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3165: Called ruby-ng_src_compile * environment, line 2900: Called _ruby_each_implementation 'each_ruby_compile' * environment, line 499: Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile' * environment, line 528: Called each_ruby_compile * environment, line 1085: Called die * The specific snippet of code: * ${RUBY} -S rake compile || die "rake compile failed" emerges w/o problems with dev-ruby/json installed.
Something's wrong: redcloth depends on echoe (buildtime) echoe depends on rubyforge (buildtime) rubyforge depends on json (runtime) so the chain of dependencies is there..
You're right. I guess it's an issue in my chroot, as I got pretty much all of the deps installed, except dev-ruby/json. If I used `emerge -D`, I guess it would have worked. looks good on a more or less fresh system: emerge -p =dev-ruby/redcloth-4.2.3 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-util/ragel-6.6 USE="-vim-syntax" [ebuild N ] dev-ruby/rubygems-1.3.7-r3 USE="-server -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] virtual/rubygems-0-r4 RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/rake-0.8.7-r5 USE="-bash-completion -doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/highline-1.6.1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/json-1.4.3-r2 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/rubyforge-2.0.4-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/echoe-4.3.1-r1 USE="-doc -test" RUBY_TARGETS="ruby18 -jruby -ree18 (-ruby19)" [ebuild N ] dev-ruby/redcloth-4.2.3 USE="-doc -test" RUBY_TARGETS="ruby18"