dev-java/avalon-logkit-2.1-r6 fails to compile using sun-jdk-1.5: [javac] /var/tmp/portage/dev-java/avalon-logkit-2.1-r6/work/ avalon-logkit-2.1/src/java/ org/apache/log/output/db/DefaultDataSource.java:23: cannot find symbol [javac] symbol : class SQLFeatureNotSupportedException [javac] location: package java.sql [javac] import java.sql.SQLFeatureNotSupportedException; [javac] ^ GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.22" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" This is because SQLFeatureNotSupportedException was added in 1.6. That class is introduced by the avalon-logkit-2.1-java7.patch in the ebuild. Possible fixes: * apply the patch conditionally * change the DEPEND and RDEPEND to jdk/jre >= 1.6 * change the patch to throw a different exception class
This was fixed in later revisions and this revision has now been removed. Closing.