Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297237 - dev-ruby/rake-0.8.7-r2 fails (USE=doc) if no rake installed
Summary: dev-ruby/rake-0.8.7-r2 fails (USE=doc) if no rake installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-17 00:03 UTC by Henrik
Modified: 2009-12-17 14:15 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 Henrik 2009-12-17 00:03:02 UTC
I have install dev-ruby/rubygems
And I will install dev-ruby/rake. But I find something missing?


[ebuild  N    ] dev-ruby/rake-0.8.7-r2  USE="-bash-completion" RUBY_TARGETS="ruby18 (-jruby) (-ruby19)" 0 kB

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

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-ruby/rake-0.8.7-r2
 * rake-0.8.7.tgz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                        [ ok ]
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

 * CPV:  dev-ruby/rake-0.8.7-r2
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux ruby_targets_ruby18 userland_GNU x86
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking rake-0.8.7.tgz to /var/tmp/portage/dev-ruby/rake-0.8.7-r2/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rake-0.8.7-r2/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rake-0.8.7-r2/work ...
 * Running prepare phase for all ...
 * Running prepare phase for ruby18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rake-0.8.7-r2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rake-0.8.7-r2/work ...
 * Running compile phase for all ...
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- rake (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from bin/rake:29
 * ERROR: dev-ruby/rake-0.8.7-r2 failed:
 *   doc generation failed
 *
 * Call stack:
 *     ebuild.sh, line   61:  Called src_compile
 *   environment, line 2677:  Called ruby-ng_src_compile
 *   environment, line 2455:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  277:  Called all_ruby_compile
 *   environment, line  314:  Called die
 * The specific snippet of code:
 *       bin/rake rdoc || die "doc generation failed"
 *
 * If you need support, post the output of 'emerge --info =dev-ruby/rake-0.8.7-r2',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/rake-0.8.7-r2'.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/work/all//rake-0.8.7'

>>> Failed to emerge dev-ruby/rake-0.8.7-r2, Log file:

>>>  '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/temp/build.log'

 * Messages for package dev-ruby/rake-0.8.7-r2:

 * ERROR: dev-ruby/rake-0.8.7-r2 failed:
 *   doc generation failed
 *
 * Call stack:
 *     ebuild.sh, line   61:  Called src_compile
 *   environment, line 2677:  Called ruby-ng_src_compile
 *   environment, line 2455:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  277:  Called all_ruby_compile
 *   environment, line  314:  Called die
 * The specific snippet of code:
 *       bin/rake rdoc || die "doc generation failed"
 *
 * If you need support, post the output of 'emerge --info =dev-ruby/rake-0.8.7-r2',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/rake-0.8.7-r2'.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/temp/environment'.
 * S: '/var/tmp/portage/dev-ruby/rake-0.8.7-r2/work/all//rake-0.8.7'


But I found a way to get it to work on by
~# gem install rake

Reproducible: Didn't try
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-17 14:15:57 UTC
Fixed, and it wasn't respecting USE=doc either so it's fixed as well.