Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331265 - dev-ruby/redcloth-4.2.3 misses dev-ruby/json dep
Summary: dev-ruby/redcloth-4.2.3 misses dev-ruby/json dep
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 00:11 UTC by Markus Meier
Modified: 2010-08-05 08:13 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 Markus Meier gentoo-dev 2010-08-05 00:11:29 UTC
>>> 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.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-05 00:45:53 UTC
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..
Comment 2 Markus Meier gentoo-dev 2010-08-05 08:13:50 UTC
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"