Failed to build with openjdk

Description

The build command is:
bin/buildit --m64 --openjdk localhost production
The error output as following:

[exec] -init-src-dirs:
[exec] [echo] Using primary.src.dir=./drop_included/jaxws_src/src
[exec] [echo] Using src.dir.id=/home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jaxws/drop_included/jaxws_src/src:/home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jaxws/drop_included/jaf_src/src
[exec]
[exec] compile:
[exec] [javac] Compiling 2568 source files to /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk.build-ecj/jaxws/build/classes
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:61: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterDataLatin1
[exec] [javac] return CharacterDataLatin1.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:65: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterData00
[exec] [javac] return CharacterData00.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:67: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterData01
[exec] [javac] return CharacterData01.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:69: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterData02
[exec] [javac] return CharacterData02.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:71: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterData0E
[exec] [javac] return CharacterData0E.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:74: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterDataPrivateUse
[exec] [javac] return CharacterDataPrivateUse.instance;
[exec] [javac] ^
[exec] [javac] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jdk/src/share/classes/java/lang/CharacterData.java:76: cannot find symbol
[exec] [javac] symbol : variable instance
[exec] [javac] location: class java.lang.CharacterDataUndefined
[exec] [javac] return CharacterDataUndefined.instance;
[exec] [javac] ^
[exec] [javac] Note: Some input files use or override a deprecated API.
[exec] [javac] Note: Recompile with -Xlint:deprecation for details.
[exec] [javac] Note: Some input files use unchecked or unsafe operations.
[exec] [javac] Note: Recompile with -Xlint:unchecked for details.
[exec] [javac] 7 errors
[exec] Makefile:155: recipe for target 'all' failed
[exec] make[3]: Leaving directory '/home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jaxws/make'
[exec] make/jaxws-rules.gmk:42: recipe for target 'jaxws-build' failed
[exec] make[2]: Leaving directory '/home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj'
[exec] Makefile:198: recipe for target 'build_product_image' failed
[exec] make[1]: Leaving directory '/home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj'
[exec] Makefile:2605: recipe for target 'stamps/icedtea-ecj.stamp' failed
[exec]
[exec] BUILD FAILED
[exec] /home/lynus/JikesRVM-master/components/icedtea/6-1.13.13/icedtea6-1.13.13/icedtea-build/openjdk-ecj/jaxws/build.xml:136: Compile failed; see the compiler error output for details.
[exec]
[exec] Total time: 10 seconds
[exec] make[3]: *** [all] Error 1
[exec] make[2]: *** [jaxws-build] Error 2
[exec] make[1]: *** [build_product_image] Error 2
[exec] make: *** [stamps/icedtea-ecj.stamp] Error 2

BUILD FAILED
/home/lynus/JikesRVM-master/build.xml:292: The following error occurred while executing this line:
/home/lynus/JikesRVM-master/build.xml:302: The following error occurred while executing this line:
/home/lynus/JikesRVM-master/build/components/openjdk.xml:88: The following error occurred while executing this line:
/home/lynus/JikesRVM-master/build/components/base.xml:70: The following error occurred while executing this line:
/home/lynus/JikesRVM-master/build/components/base.xml:76: The following error occurred while executing this line:
/home/lynus/JikesRVM-master/build/components/openjdk.xml:78: exec returned: 2

Environment

oracle jdk-6u45-linux-x64
Ubuntu 16.04

Status

Assignee

Unassigned

Reporter

Linyu Zhu

Labels

None

External issue ID

None

Components

Affects versions

git tip

Priority

Medium
Configure