Bug 454429 - Can't build devel HEAD on F-9
Can't build devel HEAD on F-9
Product: Fedora
Classification: Fedora
Component: tomcat5 (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Devrim Gündüz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-08 09:07 EDT by Andrew Overholt
Modified: 2008-10-27 10:33 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-10-27 10:33:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrew Overholt 2008-07-08 09:07:41 EDT
Should I be able to "make x86_64" in tomcat5/devel?  Here's the end of the log:

     [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
    [javac] javac: invalid source release: 5.0
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

The following error occurred while executing this line:
The following error occurred while executing this line:
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)
Linux vvvvt #1 SMP Fri Jun 27 15:58:30 EDT 2008 x86_64
x86_64 x86_64 GNU/Linux
Comment 1 Andrew Overholt 2008-07-08 10:15:04 EDT
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.
Comment 2 Christopher D. Stover 2008-10-24 10:55:56 EDT
It looks like this bug got slightly neglected.  Does this problem still exist?
Comment 3 Andrew Overholt 2008-10-24 11:15:27 EDT
I assume yes.  David?
Comment 4 David Walluck 2008-10-24 11:25:26 EDT
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.
Comment 5 Andrew Overholt 2008-10-27 10:33:17 EDT
This works for me now.  Thanks!

Note You need to log in before you can comment on or make changes to this bug.