Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306493 - dev-ruby/json-1.2.0-r1 should depend on dev-ruby/rake
Summary: dev-ruby/json-1.2.0-r1 should depend on dev-ruby/rake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-23 08:54 UTC by Dániel Varga
Modified: 2010-02-23 18:20 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 Dániel Varga 2010-02-23 08:54:44 UTC
It seems building dev-ruby/json-1.2.0-r1 needs dev-ruby/rake. After installing rake dev-ruby/json merges perfectly. However dev-ruby/json-1.2.0 doesn't need dev-ruby/rake. I use Portage 2.1.7.16. 
Thank you for your time.
Have a nice day.

# emerge -av =dev-ruby/json-1.2.0.r1

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-ruby/json-1.2.0-r1 [1.2.0] USE="-doc -test%" RUBY_TARGETS="ruby18%* -jruby% (-ruby19)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/json-1.2.0-r1
 * json-1.2.0.gem RMD160 SHA1 SHA256 size ;-) ...                                                                                                                  [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                             [ ok ]
 * CPV:  dev-ruby/json-1.2.0-r1
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 userland_GNU
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                                       [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                                        [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work
>>> Preparing source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/json-1.2.0-r1/work ...
 * Running compile phase for ruby18 ...
/usr/bin/ruby18: No such file or directory -- rake (LoadError)
 * ERROR: dev-ruby/json-1.2.0-r1 failed:
 *   extension compile failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2789:  Called ruby-ng_src_compile
 *   environment, line 2557:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  326:  Called _ruby_invoke_environment 'ruby18' 'each_ruby_compile'
 *   environment, line  354:  Called each_ruby_compile
 *   environment, line  866:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake compile_ext || die "extension compile failed";
 * 
 * If you need support, post the output of 'emerge --info =dev-ruby/json-1.2.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/json-1.2.0-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-ruby/json-1.2.0-r1/work/ruby18//json-1.2.0'

>>> Failed to emerge dev-ruby/json-1.2.0-r1, Log file:

>>>  '/var/tmp/portage/dev-ruby/json-1.2.0-r1/temp/build.log'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-ruby/json-1.2.0-r1
2. got error message
Comment 1 Hans de Graaff gentoo-dev Security 2010-02-23 18:20:14 UTC
Looks like we forgot to add that dependency. Fixed in json-1.2.0-r1 now. Thanks for reporting.