From 9fd6867c739263cec3cb68e00e2d01c18d553ef4 Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Fri, 5 Jul 2019 13:18:13 +0200 Subject: dbus-java: Do not use all as PACKAGE_ARCH dbus-java has RDEPEND that are not PACKAGE_ARCH=all Fixes: ERROR: dbus-java-2.7-r0 do_populate_sysroot_setscene: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function: 0001: *** 0002:do_populate_sysroot_setscene(d) 0003: File: '/workdir/repo/poky/meta/classes/staging.bbclass', lineno: 126, function: do_populate_sysroot_setscene 0122:do_populate_sysroot[sstate-outputdirs] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" 0123:do_populate_sysroot[sstate-fixmedir] = "${COMPONENTS_DIR}/${PACKAGE_ARCH}/${PN}" 0124: 0125:python do_populate_sysroot_setscene () { *** 0126: sstate_setscene(d) 0127:} 0128:addtask do_populate_sysroot_setscene 0129: 0130:def staging_copyfile(c, target, dest, postinsts, seendirs): Signed-off-by: Ricardo Ribalda Delgado Signed-off-by: Richard Leitner --- recipes-extended/dbus/dbus-java_2.7.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-extended/dbus/dbus-java_2.7.bb b/recipes-extended/dbus/dbus-java_2.7.bb index 0b093a0..dfd2ff1 100644 --- a/recipes-extended/dbus/dbus-java_2.7.bb +++ b/recipes-extended/dbus/dbus-java_2.7.bb @@ -11,7 +11,10 @@ RDEPENDS_${PN}-viewer = "java2-runtime libunixsocket-java ${PN}-bin libmatthew-d RDEPENDS_${PN}-bin = "java2-runtime libunixsocket-java libmatthew-debug-java ${JPN}" RSUGGESTS_${JPN} = "libunixsocket-java" -PR = "r0" +PR = "r1" + +PACKAGE_ARCH = "${TUNE_PKGARCH}" + LIC_FILES_CHKSUM = "file://COPYING;md5=72cc739fb93ae32741edbae802490e92" SRC_URI = "http://dbus.freedesktop.org/releases/dbus-java/dbus-java-${PV}.tar.gz" -- cgit v1.2.3-54-g00ecf