Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267038 - dev-java/tomcat-servlet-api-5.5.27 wants jdk1.4 if java5 not set.
Summary: dev-java/tomcat-servlet-api-5.5.27 wants jdk1.4 if java5 not set.
Status: RESOLVED DUPLICATE of bug 267035
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-21 23:36 UTC by Chris Ryan
Modified: 2009-04-21 23:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***