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

Federico Pietro Briata federico at briata.org
Wed Jan 13 09:46:11 PST 2016


Hi again,
looking to the above error on Makefile, seems there is still something
wrong with autotools


cat
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile
# This Makefile was generated by configure Tue Jan 12 22:44:00 CET 2016
# GENERATED FILE, DO NOT EDIT
SPEC:=/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/build/linux-x86_64-normal-server-release/spec.gmk
include
/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile

so the build stuck here in this loop I think.

regards
Federico

2016-01-12 17:41 GMT+01:00 Federico Pietro Briata <federico at briata.org>:

> Hi Stef,
> Thanks, I've tried to apply that patch and also
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=527b28c10955daf0387597020d69593ce24bcaa4
>
> and now I'm getting this:
>
> ERROR: Function failed: do_compile (log file is located at
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
> ERROR: Logfile of failure stored in:
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889
> Log data follows:
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
> 'bit-64', 'x86_64-linux', 'common']
> | DEBUG: Executing shell function do_compile
> | NOTE: make
> OE_CFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -O2 -pipe -DHEADLESS=true
> OE_CPPFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -DHEADLESS=true
> OE_CXXFLAGS=-isystem/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/include
> -O2 -pipe -DHEADLESS=true
> OE_LDFLAGS=-L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -L/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -Wl,-rpath-link,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/usr/lib
> -Wl,-rpath,/home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/sysroots/x86_64-linux/lib
> -Wl,-O1 BUILD_HEADLESS_ONLY=1 BUILD_HEADLESS=true BUILD_SOUNDLESS_ONLY=1
> X11_NOT_NEEDED=1 CUPS_NOT_NEEDED=1 ALSA_NOT_NEEDED=1 PULSE_NOT_NEEDED=1
> MAKE_VERBOSE=y VERBOSE=-s LOG_LEVEL=trace QUIETLY= images
> |
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/Makefile:27:
> *** Too many open files.  Stop.
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
> /home/federico/yocto/imx6/R6.0/build-OpenJDK8-imx6-mx6quad/tmp-eglibc/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_compile.15889)
> ERROR: Task 207
> (/home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
> openjdk-8-native_72b05.bb, do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1469 tasks of which 1237 didn't need to be
> rerun and 1 failed.
> No currently running tasks (1469 of 1483)
>
> Summary: 1 task failed:
>   /home/federico/yocto/imx6/R6.0/sources/meta-java/recipes-core/openjdk/
> openjdk-8-native_72b05.bb, do_compile
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> thanks and regards
> federico
>
> 2015-12-19 10:38 GMT+01:00 Stef <Stefboerrigter at gmail.com>:
>
>> 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
>> <https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40>
>>
>> It worked for me
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160113/8df7c457/attachment.html>


More information about the yocto mailing list