| 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] Java | Assignee: | Java team <java> |
| Status: | RESOLVED INVALID | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** Bug 267038 has been marked as a duplicate of this bug. *** 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. |
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.