Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381233 - dev-ruby/hoe-2.12.2[doc] failed to (re)build documentation
Summary: dev-ruby/hoe-2.12.2[doc] failed to (re)build documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-30 21:26 UTC by Martin von Gagern
Modified: 2011-09-12 18:39 UTC (History)
1 user (show)

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


Attachments
build log (dev-ruby:hoe-2.12.2:20110830-210124.log,3.58 KB, text/plain)
2011-08-30 21:26 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2011-08-30 21:26:49 UTC
Created attachment 285103 [details]
build log

Elapsed: 2.696s
cp README_txt.html index.html
rake aborted!
No such file or directory - README_txt.html

(See full trace by running task with --trace)
 * ERROR: dev-ruby/hoe-2.12.2 failed (compile phase):
 *   failed to (re)build documentation
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2910:  Called ruby-ng_src_compile
 *   environment, line 2574:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  521:  Called all_ruby_compile
 *   environment, line  574:  Called all_fakegem_compile
 *   environment, line  542:  Called die
 * The specific snippet of code:
 *           rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to (re)build documentation";
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-12 18:24:47 UTC
hoe-2.12.3 also fails on USE=doc, but with a different error:

>>> Compiling source in /var/tmp/portage/dev-ruby/hoe-2.12.3/work ...
 * Running compile phase for all ...
(in /var/tmp/portage/dev-ruby/hoe-2.12.3/work/all/hoe-2.12.3)
#<Gem::LoadError: Could not find RubyGem rdoc (>= 0)
>
rake aborted!
uninitialized constant Hoe::Publish::RDoc
/var/tmp/portage/dev-ruby/hoe-2.12.3/work/all/hoe-2.12.3/Rakefile:8
(See full trace by running task with --trace)
 * ERROR: dev-ruby/hoe-2.12.3 failed (compile phase):
 *   failed to (re)build documentation
Comment 2 Hans de Graaff gentoo-dev Security 2011-09-12 18:39:19 UTC
Fixed in hoe 2.12.3 by explicitly depending on the gem version of rdoc instead of the older bundled version.