Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248250 - dev-java/freemarker-2.3.13 with dev-java/juel-2.1.0 requires >=virtual/jdk-1.5
Summary: dev-java/freemarker-2.3.13 with dev-java/juel-2.1.0 requires >=virtual/jdk-1.5
Status: RESOLVED DUPLICATE of bug 161622
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High minor
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 21:36 UTC by Martin von Gagern
Modified: 2008-11-29 14:17 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 Martin von Gagern 2008-11-22 21:36:51 UTC
BUILD FAILED
java.lang.UnsupportedClassVersionError: javax/el/ELResolver (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
...
!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH=""
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"

The freemarker ebuild is written to only require jdk 1.4. juel, one of its dependencies, however is compiled for target 1.5 and thus cannot be used by the 1.4 javac.

In the long run it might make sense for packages to store their target versions somewhere where depend-java-query can find it and select a jdk appropriately, so you won't have to change the ebuilds of all reverse dependencies when one java package changes its target version.

Workaround: JAVA_PKG_FORCE_VM=sun-jdk-1.5 emerge -1 freemarker
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-11-29 14:17:55 UTC

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