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
*** This bug has been marked as a duplicate of bug 161622 ***