[oe] [meta-java][PATCH 11/23] cup: Do not use all as PACKAGE_ARCH

Ricardo Ribalda Delgado ricardo at ribalda.com
Tue Jun 25 07:52:11 UTC 2019


cup has RDEPEND that are not PACKAGE_ARCH=all

Fixes:
ERROR: mc:qt5022:cup-0.10k-r0 do_package_write_deb_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: <module>
     0001:
 *** 0002:do_package_write_deb_setscene(d)
     0003:
File: '/workdir/repo/poky/meta/classes/package_deb.bbclass', lineno: 296, function: do_package_write_deb_setscene
     0292:
     0293:    if os.access(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN"),os.R_OK):
     0294:        os.unlink(os.path.join(tmpdir, "stamps", "DEB_PACKAGE_INDEX_CLEAN"))
     0295:
 *** 0296:    sstate_setscene(d)
     0297:}
     0298:addtask do_package_write_deb_setscene
     0299:
     0300:python () {

Signed-off-by: Ricardo Ribalda Delgado <ricardo at ribalda.com>
---
 recipes-core/cup/cup_0.10k.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-core/cup/cup_0.10k.bb b/recipes-core/cup/cup_0.10k.bb
index 7792c62..3ce5a21 100644
--- a/recipes-core/cup/cup_0.10k.bb
+++ b/recipes-core/cup/cup_0.10k.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=2c9db91c00f38e52cfc8e67bafaa7c
 
 RDEPENDS_${PN} = "java2-runtime"
 RDEPENDS_${PN}_class-native = ""
+PACKAGE_ARCH = "${TUNE_PKGARCH}"
 
 inherit java-library
 
-- 
2.20.1



More information about the Openembedded-devel mailing list