[oe] Error while building openjdk-6 using meta-java

Shalini K P Shalini.KP at LntTechservices.com
Wed Feb 18 04:52:06 UTC 2015


Hi,

        I m using "git://git.yoctoproject.org/meta-java" layer. I m getting error while compiling java in the compilestep2. Not able to fix this. Below is the error log.


/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/bootstrap/jdk1.6.0/bin/java  -client -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPermSize=160m -jar /homeError: time is more than 10 years from present: 1104530400000
| java.lang.RuntimeException: time is more than 10 years from present: 1104530400000
|
|     at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
|     at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
|     at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
|
| make[5]: *** [/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk.build-ecj/lib/currency.data] Error 1
|
| make[5]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make/java/java'
|
| make[4]: *** [all] Error 1
| make[4]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make/java'
|
| make[3]: *** [all] Error 1
| make[3]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make'
|
| make[2]: *** [jdk-build] Error 2
| make[2]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj'
|
| make[1]: *** [build_product_image] Error 2
| make[1]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj'
|
| make: *** [stamps/icedtea-ecj.stamp] Error 2
|
| + die oe_runmake failed
| + bbfatal oe_runmake failed
| + echo ERROR: oe_runmake failed
| ERROR: oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
|
| /ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk.build-ecj/btjars/generatecurrencydata.jar -o /home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk.build-ecj/lib/currency.data.temp \
|         < ../../../src/share/classes/java/util/CurrencyData.properties
| Error: time is more than 10 years from present: 1104530400000
| java.lang.RuntimeException: time is more than 10 years from present: 1104530400000
|     at build.tools.generatecurrencydata.GenerateCurrencyData.makeSpecialCaseEntry(GenerateCurrencyData.java:285)
|     at build.tools.generatecurrencydata.GenerateCurrencyData.buildMainAndSpecialCaseTables(GenerateCurrencyData.java:225)
|     at build.tools.generatecurrencydata.GenerateCurrencyData.main(GenerateCurrencyData.java:154)
| make[5]: *** [/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk.build-ecj/lib/currency.data] Error 1
| make[5]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make/java/java'
| make[4]: *** [all] Error 1
| make[4]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make/java'
| make[3]: *** [all] Error 1
| make[3]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj/jdk/make'
| make[2]: *** [jdk-build] Error 2
| make[2]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj'
| make[1]: *** [build_product_image] Error 2
| make[1]: Leaving directory `/home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/build/openjdk-ecj'
| make: *** [stamps/icedtea-ecj.stamp] Error 2
| + die oe_runmake failed
| + bbfatal oe_runmake failed
| + echo ERROR: oe_runmake failed
| ERROR: oe_runmake failed
| + exit 1
| + bb_exit_handler
| + ret=1
| + echo WARNING: exit code 1 from a shell command.
| WARNING: exit code 1 from a shell command.
| + exit 1
| ERROR: Function failed: do_compilesteptwo (log file is located at /home/ubuntu/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/openjdk-6-jre/6b24-1.11.9-r22.1/temp/log.do_compilesteptwo.28700)
ERROR: Task 6 (/home/ubuntu/fsl-community-bsp/sources/meta-java/recipes-core/openjdk/openjdk-6_6b24-1.11.9.bb, do_compilesteptwo) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1894 tasks of which 1887 didn't need to be rerun and 1 failed.
No currently running tasks (1894 of 1903)

Summary: 1 task failed:
  /home/ubuntu/fsl-community-bsp/sources/meta-java/recipes-core/openjdk/openjdk-6_6b24-1.11.9.bb, do_compilesteptwo
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Request help in this regard.


Thanks & Regards
Shalini K P

L&T Technology Services Ltd

www.LntTechservices.com<http://www.lnttechservices.com/>

This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.



More information about the Openembedded-devel mailing list