[oe] [meta-java] bitbake openjdk-7-jre error

Richard Leitner - SKIDATA Richard.Leitner at skidata.com
Mon Sep 14 19:37:03 UTC 2015


Hi Rachana,
with which revision of the "meta-java" repository are you working?
It seems there are problems with dependencies (NSS)...

Please try again with the current HEAD of the meta-java repository.
IMHO it would be best to follow the "Usage instructions" from the README file [1].

regards,
Richard

[1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/README

> Hi,
> 
> I am pretty new to openembedded development. I am trying to get java working. I followed the steps given in the below link:
> http://icedtea.classpath.org/wiki/CrossCompileOECoreTutorial#Run_bitbake_openjdk-6_to_start_the_cross-compile_build.21
> 
> But I am getting the following error:
> checking for system library directory... /usr/lib
> | checking whether to enable the NSS-based security provider... disabled by default (edit java.security to enable)
> | /home/topic/workspace/workshop_platform/zynq_platform/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/configure: line 8646: syntax error near unexpected token `NSS,'
> | /home/topic/workspace/workshop_platform/zynq_platform/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/icedtea-2.3.12/configure: line 8646: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)'
> | Configure failed. The contents of all config.log files follows to aid debugging
> | ERROR: oe_runconf failed
> | WARNING: /home/topic/workspace/workshop_platform/zynq_platform/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/run.do_configure.1003:1 exit 1 from
> |   exit 1
> | ERROR: Function failed: do_configure (log file is located at /home/topic/workspace/workshop_platform/zynq_platform/build/tmp-glibc/work/armv7a-vfp-neon-oe-linux-gnueabi/openjdk-7-jre/25b30-2.3.12-r5.1/temp/log.do_configure.1003)
> ERROR: Task 6 (/home/topic/workspace/workshop_platform/zynq_platform/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb, do_configure) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2719 tasks of which 2718 didn't need to be rerun and 1 failed.
> No currently running tasks (2716 of 2733)
> 
> Summary: 1 task failed:
>   /home/topic/workspace/workshop_platform/zynq_platform/meta-java/recipes-core/openjdk/openjdk-7_25b30-2.3.12.bb, do_configure
> Summary: There were 5 WARNING messages shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> Kindly help! I am pretty much stuck at this point.




More information about the Openembedded-devel mailing list