From 2219bbdd19bc91cef58a1e23c6f7910c07f01df7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 13 Dec 2012 01:13:34 -0800 Subject: jamvm: sstate doesnt work for jamvm-native jamvm uses hardcoded values for classpath which then gets into the jamvm-native binary now if you unpack the shared state into a different tree it will not find the right classes and fail icedtea7-native-2.1.3-r1.0/fake-jdk/bin/javah exhibits Classpath bug 39408... configure: error: The Java compiler /evobuilds2/buildbot/slaves/slave/kraj/build/yocto/daily/tmp-eglibc/sysroots/x86_64-linux/usr/bin/javac failed For more details see http://old.nabble.com/Re:-Problems-with-JamVM-(I-am-a-beginner)please-help-me-out!-p17404599.html Signed-off-by: Khem Raj --- recipes-core/jamvm/jamvm.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-core') diff --git a/recipes-core/jamvm/jamvm.inc b/recipes-core/jamvm/jamvm.inc index bf2bc4b..ee0e5c0 100644 --- a/recipes-core/jamvm/jamvm.inc +++ b/recipes-core/jamvm/jamvm.inc @@ -47,4 +47,7 @@ FILES_${PN} += "${libdir}/jamvm/lib*.so" ALTERNATIVE_NAME = "java" ALTERNATIVE_PATH = "${bindir}/jamvm" ALTERNATIVE_PRIORITY = "4" +# shared state for jamvm-native does not work +# since the paths are hardcoded +SSTATE_MIRRORS_class-native = "" -- cgit v1.2.3-54-g00ecf From 6f454e40911adcd4b501bf6fe1ee9068d4038f51 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 14 Mar 2013 14:12:26 -0700 Subject: jamvm-initial: Disable shared state shared state does not work for jamvm since it hardcodes the staging paths into binaries it uses packageconfig so lets inherit relevant class Signed-off-by: Khem Raj --- recipes-core/jamvm/jamvm-initial_1.4.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-core') diff --git a/recipes-core/jamvm/jamvm-initial_1.4.5.bb b/recipes-core/jamvm/jamvm-initial_1.4.5.bb index ea5a9d2..d317695 100644 --- a/recipes-core/jamvm/jamvm-initial_1.4.5.bb +++ b/recipes-core/jamvm/jamvm-initial_1.4.5.bb @@ -20,7 +20,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz \ # This uses 32 bit arm, so force the instruction set to arm, not thumb ARM_INSTRUCTION_SET = "arm" -inherit native autotools +inherit native autotools pkgconfig # libdir must be modified so that jamvm-initial and -native # do not interfere @@ -45,3 +45,6 @@ do_install_append() { SRC_URI[md5sum] = "3f538bab6e1c77aed331e5e71f754f5b" SRC_URI[sha256sum] = "f329d1c8f42c06b53a3e82763d33900b100b8e9acd7afe02f7583c51253fd6e5" +# shared state for jamvm-native does not work +# since the paths are hardcoded +SSTATE_MIRRORS_class-native = "" -- cgit v1.2.3-54-g00ecf From 9bdefd9669a08b9c82d91ac89c738c560676862e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 Mar 2013 21:50:39 -0700 Subject: classpath: Add file to DEPENDS shared state exposed this build time error | java_net_VMURLConnection.c:44:19: fatal error: magic.h: No such file or directory | compilation terminated. | make[3]: *** [java_net_VMURLConnection.lo] Error 1 | make[3]: *** Waiting for unfinished jobs.... classpath uses libmagic and file provides it so add that to depends Signed-off-by: Khem Raj --- recipes-core/classpath/classpath.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-core') diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc index 214c9cd..1bdfd78 100644 --- a/recipes-core/classpath/classpath.inc +++ b/recipes-core/classpath/classpath.inc @@ -9,7 +9,7 @@ PBN = "classpath" inherit autotools java gettext -DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst" +DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file" RPROVIDES_${PN} = "" @@ -21,7 +21,7 @@ RPROVIDES_${PN} = "${PBN}" RPROVIDES_${PN}-common = "${PBN}-common" RPROVIDES_${PN}-gtk = "${PBN}-awt" -PR = "r2" +PR = "r3" SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" -- cgit v1.2.3-54-g00ecf