[oe] [meta-java][PATCH] openjdk-8: add recipes for openjdk-8 and openjre-8
Jens Rehsack
rehsack at gmail.com
Wed Nov 4 17:57:35 UTC 2015
> Am 04.11.2015 um 09:03 schrieb Richard Leitner <richard.leitner at skidata.com>:
>
>
> On 11/03/2015 05:20 PM, Jens Rehsack wrote:
>>
>> Am 03.11.2015 um 16:40 schrieb Richard Leitner <richard.leitner at skidata.com>:
>>>
>>> On 11/03/2015 03:54 PM, Jens Rehsack wrote:
>>>> That's maybe because I copy the format-patch output manually into the mail.
>>>> Use this one: https://github.com/rehsack/meta-java/commit/57eba04b0f68a55b3250a692bc5834902709c903
>>>
>>> Same error :-(
>>> Do I need any previous patches applied which are not yet on master?
>>
>> Depends - this one comes first, because openjdk-8 supports building for distro's without x11:
>>
>> https://github.com/rehsack/meta-java/commit/566f95135c9f8b8bedd1e24b2b5872177b1fdbe4
>
> Thank you for the hint! Now it applies.
>
> But I get following error when running "bitbake openjdk-7":
Sure? Didn't you "bitbake openjdk-8"? Or is it because virtual/javac-native now points
to openjdk-8-native and there is no known way for me to let a user sanely pick the
beloved one on his/her own?
But openjdk-7 should not depend on virtual/javac-native -- so some enlightening is
required ...
> ERROR: Function failed: do_configure (log file is located at
> /build/myTarget/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.31291)
> ERROR: Logfile of failure stored in:
> /build/myTarget/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.31291
> Log 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
> /build/myTarget/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
> /build/myTarget/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.31291)
> ERROR: Task 1074
> (/opt/yocto/poky/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb,
> do_configure) failed with exit code '1'
>
>
> Why is openjdk-8-native built at all here?
> Nonetheless the same error occurs when building openjdk-8!
>
> Furthermore following two warnings pop up:
>
>
> WARNING: Variable key ALTERNATIVE_${JDKPN} (java) replaces original key
> ALTERNATIVE_openjdk-8 (java).
> WARNING: Variable key ALTERNATIVE_${JDKPN} (java) replaces original key
> ALTERNATIVE_openjdk-8 (java).
>
>
> Currently I have no time digging deeper into the problem, sorry for that!
> But if you have a hint/solution I will test it again!
Otavio didn't apply the stuff, because poky has to commit https://github.com/rehsack/poky/commits/master-java-support first:
* https://github.com/rehsack/poky/commit/65cdad40f2717b85892e12c80749cd43c1e19a40 is universal,
because configure of openjdk-8 will be deleted by original autotools.bbclass without any ability to recover
* https://github.com/rehsack/poky/commit/20ad5ff329a59b92b97ffad889e06b35ccad6e3f is needed for target's with ARMv5e (only
the DSP versions, not all ARMv5!)
Cheers
--
Jens Rehsack - rehsack at gmail.com
More information about the Openembedded-devel
mailing list