Skip to contentSkip to conversation

Updates to meta-java (master) in 2015-12-17

DISCUSSION Otavio Salvador 1 participant 1 message Dec 17, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

I pushed following updates:

commit 35739fca028996c594b1efa2225a77c8d6038193 (HEAD -> pending, yocto/master, m/master)

Author: Erkka Kääriä <[email protected]>
Date:   Wed Dec 16 12:49:13 2015 +0200

openjdk-8: Use zero mode on arm

Currently arm build fails due to hotspot errors. Use zero mode instead.

commit 90dd0d795d239e845cd235662dcce5134655ecab

Author: Jackie Huang <[email protected]>
Date:   Wed Dec 16 14:42:07 2015 +0800

openjdk-7: skip the already-stripped test

libfreetype.so.6 is copied from STAGING_LIBDIR and binaries/libraries in sysroot are already stripped since the following commit in oe-core:
"30f3774 staging: Strip files in sysroot"

commit d4fbf276edcc2dbf7531ac0daa2bb169c3d5adee

Author: Jackie Huang <[email protected]>
Date:   Tue Dec 15 14:46:45 2015 +0800

openjdk-7: drop an inappropriate patch

The patch icedtea-jdk-build-nio-gensor-genuc-gensc-static.patch is to add static option to build nio gensor/genuc/gensc, and was added when upgrading to IcedTea 2.6.1 OpenJDK 7u85b01.

Another patch icedtea-jdk-nio-use-host-cc.patch uses host cc for nio build so it fails on host that lack of static libraries:
| /usr/bin/ld: cannot find -lpthread

And there is no comments explaining why it needs static linking, so drop the patch for now unless we have better understanding and make a more proper patch.

commit a16545d6c8ecb1eda359d86ad5613f1d9d7b9f48

Author: Jackie Huang <[email protected]>
Date:   Mon Dec 14 17:01:19 2015 +0800

cacao: fix the depends for target package

The target package also depends on classpath, zlib, etc, which is incorrect overrode, use _append for the class-target instead.

commit bf6405846903e2e5495a337c8f2076eb915b15f6

Author: Jens Rehsack <[email protected]>
Date:   Sat Dec 12 10:36:02 2015 +0100

openjdk-8: fix rewrite QA warnings

Fix bitbake warnings from variable renaming like

Variable key FILES_${PN} (${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} ${sysconfdir} ${sharedstatedir} ${localstatedir} ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d ${datadir}/${BPN} ${libdir}/${BPN}/* ${datadir}/pixmaps ${datadir}/applications ${datadir}/idl ${datadir}/omf ${datadir}/sounds ${libdir}/bonobo/servers) replaces original key FILES_openjre-8 ( ${JRE_HOME}/bin/[a-z]* ${JRE_HOME}/lib/[a-z]* ${JRE_HOME}/LICENSE ${JRE_HOME}/release ).

It is caused by using FILES_${PN} and FILES_{JDKPN} or FILES_${JREPN}, respectively. Moving FILES_{JDKPN} to openjdk-8_%.bb and FILES_${JREPN} to openjre-8_%.bb to allow consequently use FILES_${PN}.

Regards,

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750