I had a look into the ebuild file first. But no hint there :) The error message is: compile-classes: [mkdir] Created dir: /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/output/classes [javac] Compiling 60 source files to /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/output/classes [javac] /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/src/main/org/jboss/web/tomcat/tc5/StatusServlet.java:240: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] Enumeration enum = threadPools.elements(); [javac] ^ [javac] /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/src/main/org/jboss/web/tomcat/tc5/StatusServlet.java:241: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] while (enum.hasMoreElements()) [javac] ^ [javac] /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/src/main/org/jboss/web/tomcat/tc5/StatusServlet.java:243: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] ObjectName objectName = (ObjectName) enum.nextElement(); [javac] ^ [javac] /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/src/main/org/jboss/web/tomcat/tc5/jasper/JspServletOptions.java:49: org.jboss.web.tomcat.tc5.jasper.JspServletOptions is not abstract and does not override abstract method getCache() in org.apache.jasper.Options [javac] public class JspServletOptions [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error [javac] 3 warnings BUILD FAILED /var/tmp/portage/jboss-module-tomcat-4.0.2/work/jboss-4.0.2-src/tomcat/build.xml:154: Compile failed; see the compiler error output for details. GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.07" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
What happens if you downgrade tomcat from 5.5.17 to 5.5.9?
My bet is that older releases of tomcat 5.5 used servlet api 2.4.. and later (as in most recent) use servlet api 2.5. Downgrading should reveal if this is the case.
Downgrading to 5.5.9 helped.
Jeez, hope they fix it upstream or something, or we need slots for every minor version :)
That would be really bad if we had to slot tomcat like that, imo. Hopefully, it can be gotten around by bumping servletapi...
The jboss stuff in our overlays needs updating real bad. There are likely newer versions of jboss that are cool with newer tomcats...
Closing bug as this is no longer in tree. Ebuild has been moved to java-experimental overlay. It's not been touched in quite a while and I believe current JBoss efforts are not touching this package. Might need to be moved to junkyard.