Build problems on Ubuntu 8.04
Roman Kennke
roman.kennke at aicas.com
Mon Apr 21 13:24:38 UTC 2008
Hi there,
I've just setup a box with the soon-to-be-released Ubuntu 8.04, and see
a number of problems:
Minor: make sanity does not check for gawk and c++, although the build
requires them. Maybe there are some more of these, but this is what I
found.
Major:
Compilation of the NIO classes fails, it looks like the generation of a
couple of source files does not work correctly. Probably this is also a
problem with missing tools, but I can't figure out what it could be.
Telling from the genCoder.sh script, this would be sed and awk, but both
are installed. See javac error below. Any ideas on this one?
Cheers, Roman
# Running javac:
/usr/lib/jvm/java-6-openjdk/bin/java -Xmx896m -Xms128m -XX:PermSize=32m
-XX:MaxPermSize=160m
-Xbootclasspath/p:/home/roman/src/OpenJDK/openjdk/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar -jar /home/roman/src/OpenJDK/openjdk/build/linux-amd64/langtools/dist/bootstrap/lib/javac.jar -source 1.5 -target 5 -encoding ascii -Xbootclasspath:/home/roman/src/OpenJDK/openjdk/build/linux-amd64/classes -sourcepath /home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc:../../../src/solaris/classes:../../../src/share/classes -d /home/roman/src/OpenJDK/openjdk/build/linux-amd64/classes @/home/roman/src/OpenJDK/openjdk/build/linux-amd64/tmp/java/java.lang/java/.classes.list
/home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc/java/nio/charset/CharsetEncoder.java:142: cannot find symbol
symbol : class $replType$
location: class java.nio.charset.CharsetEncoder
private $replType$ replacement;
^
/home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc/java/nio/charset/CharsetEncoder.java:185: cannot find symbol
symbol : class $replType$
location: class java.nio.charset.CharsetEncoder
$replType$ replacement)
^
/home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc/java/nio/charset/CharsetEncoder.java:246: cannot find symbol
symbol : class $replType$
location: class java.nio.charset.CharsetEncoder
public final $replType$ replacement() {
^
/home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc/java/nio/charset/CharsetEncoder.java:275: cannot find symbol
symbol : class $replType$
location: class java.nio.charset.CharsetEncoder
public final CharsetEncoder replaceWith($replType$ newReplacement) {
^
/home/roman/src/OpenJDK/openjdk/build/linux-amd64/gensrc/java/nio/charset/CharsetEncoder.java:301: cannot find symbol
symbol : class $replType$
location: class java.nio.charset.CharsetEncoder
protected void implReplaceWith($replType$ newReplacement) {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors
make[3]: *** [.compile.classlist] Error 1
make[3]: Leaving directory
`/home/roman/src/OpenJDK/openjdk/jdk/make/java/java'
make[2]: *** [all] Error 1
make[2]: Leaving directory
`/home/roman/src/OpenJDK/openjdk/jdk/make/java'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/roman/src/OpenJDK/openjdk/jdk/make'
--
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt
More information about the build-dev
mailing list