From 84b2d1e7a538523e91326d2f1169591d56d1e4a8 Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Fri, 5 Jul 2019 13:18:14 +0200 Subject: rhino: Do not use all as PACKAGE_ARCH rhino has RDEPEND that are not PACKAGE_ARCH=all Fixes: ERROR: mc:inteli7:rhino-1.7r4-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: 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 Signed-off-by: Richard Leitner --- recipes-core/rhino/rhino_1.7r4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-core/rhino/rhino_1.7r4.bb b/recipes-core/rhino/rhino_1.7r4.bb index 0a84473..4242005 100644 --- a/recipes-core/rhino/rhino_1.7r4.bb +++ b/recipes-core/rhino/rhino_1.7r4.bb @@ -6,6 +6,8 @@ DEPENDS_class-native += "classpath-native" BBCLASSEXTEND = "native" +PACKAGE_ARCH = "${TUNE_PKGARCH}" + inherit java-library SRC_URI = "\ -- cgit v1.2.3-54-g00ecf