Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 389845

Summary: dev-ruby/nokogiri-1.5.0-r1 need dev-ruby/rdoc even if USE="-doc"?
Product: Gentoo Linux Reporter: Naohiro Aota <naota>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete build.log

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.