Skip to contentSkip to conversation

Updates to meta-java (master) in 2015-03-11

DISCUSSION Otavio Salvador 1 participant 1 message Mar 11, 2015

lore
Share & tools
lore
#0 lore raw

Hello,

I pushed following updates:

commit e977e9317f854be38c23fc72ffa2b250bca1cc3f (HEAD, origin/master, origin/HEAD, pending)

Author: Magnus Olsson <[email protected]>
Date:   Wed Mar 11 08:47:55 2015 +0100

openjdk-7-jre: RDEPENDS openjdk-7-common

-jre binaries such as keytool, policytool and more requires libjli.so so ensure there's a RDEPEND that provides it.

Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so).

Both of these already DEPENDS -common, so the build was not broken before but this patch will also silence the QA file-rdeps issue.

commit 1b6a492c6e04673864204bcbeb14215c1b462e7d

Author: Mario Domenech Goulart <[email protected]>
Date:   Tue Mar 10 18:10:21 2015 -0300

rxtx: add patch to support i.MX serial ports

Support for /dev/ttymxc* devices.

commit a3ede8721f19af849c6a23e3f8e60485ef9f30df

Author: Mario Domenech Goulart <[email protected]>
Date:   Tue Mar 10 18:10:20 2015 -0300

rxtx: update to the latest Debian patchset

Update the recipe to apply all patches available from
git://anonscm.debian.org/pkg-java/rxtx.git as of a4cd13e04254cea7842df2e30e9d12e9765a3ef9.

commit bd9c60238c4c62d9a0f2d60b89aef429a1b71e34

Author: Magnus Olsson <[email protected]>
Date:   Tue Mar 10 13:19:54 2015 +0100

initials: silence "populate_sysroot manifest not found" warnings

A number of recipes in meta-java use autotools.bbclass for building; internally it uses the sstate-control populate_sysroot manifests to locate and copy aslocals for configure dependencies as part of the do_configure step. The manifest path differs depending on if it's a native package or not so autotools.bbclass looks at the package name to determine if its native or not (it's native if it ends with "-native").

The warnings are emitted because a few (native) recipes in meta-java (such as cacao-initial, classpath-initial and more) are incorrectly being classified as non-native by autotools.bbclass, which makes it look for the manifest in the wrong place and finally gives up with the warning:

WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found

This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap, jamvm-initial and jikes-initial since they are all native and rely on autotools.

This patch renames the recipes so they end with -native, e.g ecj-initial-native. It also updates the recipes so they DEPEND on the corresponding new name. This helps autotools.bbclass to properly classify the recipes are native and silence the warnings.

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