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

Bug 267038

Summary: dev-java/tomcat-servlet-api-5.5.27 wants jdk1.4 if java5 not set.
Product: Gentoo Linux Reporter: Chris Ryan <wyvern>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Ryan 2009-04-21 23:36:52 UTC
I have a java6 vm for my system vm.

When I tried to install this package it wanted to install jdk1.4 as I did not have the java5 flag set, although I'm using a vm capable of supporting java5.



Reproducible: Always



Expected Results:  
The package should be installable using java6.

In the ebuild there are these lines:

DEPEND="java5? ( >=virtual/jdk-1.5 )
    !java5? ( =virtual/jdk-1.4* )
    source? ( app-arch/zip )"
RDEPEND="java5? ( >=virtual/jdk-1.5 )
    !java5? ( =virtual/jdk-1.4* )"

I modified my ebuild to have:

DEPEND=">=virtual/jdk-1.5
    source? ( app-arch/zip )"
RDEPEND=">=virtual/jdk-1.5"

and the build installed fine.
Comment 1 Chris Ryan 2009-04-21 23:38:39 UTC
Apologies for dupe submit

*** This bug has been marked as a duplicate of bug 267035 ***