Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389845 - dev-ruby/nokogiri-1.5.0-r1 need dev-ruby/rdoc even if USE="-doc"?
Summary: dev-ruby/nokogiri-1.5.0-r1 need dev-ruby/rdoc even if USE="-doc"?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 00:54 UTC by Naohiro Aota
Modified: 2011-11-21 20:32 UTC (History)
0 users

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


Attachments
Complete build.log (build.log,3.61 KB, text/plain)
2011-11-08 00:54 UTC, Naohiro Aota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2011-11-08 00:54:43 UTC
Created attachment 291929 [details]
Complete build.log

USE="-doc" emerge -1 nokogir failed without dev-ruby/rdoc as following.

Steps to reproduce:
1. emerge -C rdoc
2. USE="-doc" emerge -1 nokogiri

Result:
 * Running compile phase for ruby18 ...
(in /var/tmp/portage/dev-ruby/nokogiri-1.5.0-r1/work/ruby18/tenderlove-nokogiri-965b2bc)
#<Gem::LoadError: Could not find rdoc (>= 0) amongst [hoe-2.12.3, racc-1.4.7, rake-0.8.7, rake-compiler-0.7.8, rexical-1.0.5]>
rake aborted!
uninitialized constant Hoe::Publish::RDoc
/var/tmp/portage/dev-ruby/nokogiri-1.5.0-r1/work/ruby18/tenderlove-nokogiri-965b2bc/Rakefile:22
(See full trace by running task with --trace)
Comment 1 Hans de Graaff gentoo-dev Security 2011-11-21 20:32:23 UTC
Fixed in nokogiri-1.5.0-r2 by always requiring rdoc as a build dependency, since we can't easily work around this.