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

Bug 172477

Summary: dev-java/commons-lang-2.0-r2 wants to install dev-java/sun-jdk-1.4.2.13-r1 with USE flag "doc"
Product: Gentoo Linux Reporter: Heiko Baums <heiko.baums>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Heiko Baums 2007-03-27 22:30:58 UTC
`emerge dev-java/commons-lang-2.0-r2` wants to install

dev-java/sun-jdk-1.4.2.13-r1,
dev-java/java-sdk-docs-1.4.2 and
virtual/java-1.4.2

when USE flag "doc" is enabled even if I have uninstalled these packages in favour of

dev-java/sun-jdk-1.6.0-r1,
dev-java/java-sdk-docs-1.6.0-r1 and
virtual/jdk-1.6.0

which are already installed.

With USE flag "-doc" it doesn't want to install the old Java version.

On the first look it's caused by this line in the ebuild:
"doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )"

Also with USE flag "doc" the old Java version shouldn't be installed.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 07:10:07 UTC
Except that it doesn't work, see Bug 158720. NOTABUG.