Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267035 - 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 INVALID
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:
: 267038 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-21 23:19 UTC by Chris Ryan
Modified: 2009-04-22 07:53 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:19:27 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
*** Bug 267038 has been marked as a duplicate of this bug. ***
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2009-04-22 07:53:13 UTC
Until bug #161622 is fixed this is wanted behavior. If you don't want to pull in JDK 1.4 you must set both java5 and java6 use flags.

pena betelgeuse # euse -i java5
global use flags (searching: java5)
************************************************************
[-    ] java5 - Use Java 1.5 to build package || ( reduced deps, 1.5 features, source/target 1.5 )

Closing as INVALID as there is nothing to do for us in this bug at this moment.