[oe] [meta-java][PATCH] openjdk-8: add recipes for openjdk-8 and openjre-8

Richard Leitner richard.leitner at skidata.com
Wed Nov 4 08:03:28 UTC 2015


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":


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!

> 
> You had trouble testing it because of cacao-native re-configure ... which should now be fixed.
> 

Yes, seems to be fixed now ;-)


Thank you & kind regards,
Richard L



More information about the Openembedded-devel mailing list