Should I be able to "make x86_64" in tomcat5/devel? Here's the end of the log: tomcat-util.jar: [echo] ----- Java-utils ----- [echo] -- puretls.present = ${puretls.present} [echo] -- jsse.present = true /usr/lib/jvm-exports/java/jsse.jar [echo] -- commons-logging = true [echo] -- jmx = true /usr/share/java/mx4j/mx4j-jmx.jar [echo] -- modeler = true /usr/share/java/commons-modeler.jar [echo] -- skip.digester = ${skip.digester} [echo] -- JDK14 = true [echo] -- JDK15 = ${jdk1.5.present} [javac] Compiling 92 source files to /home/overholt/sources/rpms/tomcat5/devel/tomcat5-5.5.26/apache-tomcat-5.5.26-src/build/build/classes [javac] javac: invalid source release: 5.0 [javac] Usage: javac <options> <source files> [javac] use -help for a list of possible options BUILD FAILED /home/overholt/sources/rpms/tomcat5/devel/tomcat5-5.5.26/apache-tomcat-5.5.26-src/build/build.xml:610: The following error occurred while executing this line: /home/overholt/sources/rpms/tomcat5/devel/tomcat5-5.5.26/apache-tomcat-5.5.26-src/build/build.xml:213: The following error occurred while executing this line: /home/overholt/sources/rpms/tomcat5/devel/tomcat5-5.5.26/apache-tomcat-5.5.26-src/connectors/util/build.xml:95: Compile failed; see the compiler error output for details. $ java -version; rpm -qf `readlink -f $(which java)`; rpm -qf `readlink -f $(which javac)`; uname -a java version "1.6.0" OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode) java-1.6.0-openjdk-1.6.0.0-0.15.b09.fc9.x86_64 java-1.6.0-openjdk-devel-1.6.0.0-0.15.b09.fc9.x86_64 Linux vvvvt 2.6.25.9-76.fc9.x86_64 #1 SMP Fri Jun 27 15:58:30 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
It looks like if I have gcj as my java and javac alternative, it builds. We should see why this doesn't build with OpenJDK.
It looks like this bug got slightly neglected. Does this problem still exist?
I assume yes. David?
This has a workaround added in rawhide (modified tomcat5-5.5-connectors-util-build.patch), but not in F9. Yet, I was obviously able to build and submit for F-9. Isn't 5.0 supposed to be a valid synonym for 1.5? In that case it's a compiler bug rather than an upstream tomcat bug. Have you tried to build lately? If necessary, we could add the workaround to the F-9 branch as well, but we should instead fix ecj to accept 5.0 in addition to 1.5.
This works for me now. Thanks!