[yocto] [meta-java] openjdk-8 fail to build

Stef Stefboerrigter at gmail.com
Sat Dec 19 01:38:27 PST 2015


Federico Pietro Briata <federicobriata at ...> writes:

> 
> 
> 
> Hi All,
> I'm trying to build openjdk-8 but I'm stuck.my current setup does not 
define anything for:#PREFERRED_PROVIDER_virtual/java-
native#PREFERRED_PROVIDER_virtual/javac-native
> 
> follow the log error
> 
> 
> 
> ERROR: Function failed: do_configure (log file is located at 
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: 
Logfile of failure stored in: /home/federico/yocto/imx6/R6.0/build-imx6-
mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-
r0/temp/log.do_configure.27024Log data follows:| DEBUG: Executing python 
function sysroot_cleansstate| DEBUG: Python function sysroot_cleansstate 
finished| DEBUG: SITE files ['endian-little', 'common-linux', 'common-
glibc', 'bit-64', 'x86_64-linux', 'common']| DEBUG: Executing shell 
function autotools_preconfigure| DEBUG: Shell function 
autotools_preconfigure finished| DEBUG: Executing python function 
autotools_copy_aclocals| DEBUG: Python function autotools_copy_aclocals 
finished| DEBUG: Executing shell function do_configure| ERROR: no 
configure script found at /home/federico/yocto/imx6/R6.0/build-imx6-
mx6quad/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-
e8bed1496ff2/configure| WARNING: exit code 1 from a shell command.| 
ERROR: Function failed: do_configure (log file is located at 
/home/federico/yocto/imx6/R6.0/build-imx6-mx6quad/tmp/work/x86_64-
linux/openjdk-8-native/72b05-r0/temp/log.do_configure.27024)ERROR: Task 
146 (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit 
code '1'NOTE: Tasks Summary: Attempted 1139 tasks of which 15 didn't 
need to be rerun and 1 failed.No currently running tasks (1139 of 
1150)Summary: 1 task failed:  
/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-
core/openjdk/openjdk-8-native_72b05.bb, do_configure
> 
> thanks and regards
> 
> Federico
> 
> 
> 
> 
> 

Try to apply this patch to meta layer:
https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c
1e19a40

It worked for me


More information about the yocto mailing list