Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352350 - dev-ruby/pg-0.10.1[doc] fails if dev-ruby/rdoc is not installed
Summary: dev-ruby/pg-0.10.1[doc] fails if dev-ruby/rdoc is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-21 17:21 UTC by onip
Modified: 2011-01-22 07:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,4.68 KB, text/plain)
2011-01-21 17:22 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2011-01-21 17:21:30 UTC
emerge fails when building documentation


 * Running compile phase for all ...
(in /var/tmp/portage/dev-ruby/pg-0.10.1/work/all/pg-0.10.1)
abort: there is no Mercurial repository here (.hg not found)
rake aborted!
no such file to load -- rdoc/task

(See full trace by running task with --trace)
 * ERROR: dev-ruby/pg-0.10.1 failed:
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2942:  Called ruby-ng_src_compile
 *   environment, line 2633:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  413:  Called all_ruby_compile
 *   environment, line  466:  Called all_fakegem_compile
 *   environment, line  434:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";
 * 
 * If you need support, post the output of 'emerge --info =dev-ruby/pg-0.10.1',
 * the complete build log and the output of 'emerge -pqv =dev-ruby/pg-0.10.1'.
 * The complete build log is located at '/var/tmp/portage/dev-ruby/pg-0.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/pg-0.10.1/temp/environment'.
 * S: '/var/tmp/portage/dev-ruby/pg-0.10.1/work/all/pg-0.10.1'

>>> Failed to emerge dev-ruby/pg-0.10.1, Log file:

>>>  '/var/tmp/portage/dev-ruby/pg-0.10.1/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (dev-ruby/pg-0.10.1, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/dev-ruby/pg-0.10.1/temp/build.log'

emerging rdoc solves

Reproducible: Always

Steps to Reproduce:
Comment 1 onip 2011-01-21 17:22:15 UTC
Created attachment 260454 [details]
build.log
Comment 2 Hans de Graaff gentoo-dev Security 2011-01-22 07:44:44 UTC
Thanks for the report. I've fixed this by depending on yard instead since that seems to be the preferred way to generate documentation for this package.

Fixed in CVS for pg-0.10.1.