[oe] [meta-java][PATCH 15/23] xalan-j: Do not use all as PACKAGE_ARCH
Ricardo Ribalda Delgado
ricardo at ribalda.com
Tue Jun 25 07:52:15 UTC 2019
It has DEPENDS that are not -native.
Fixes:
ERROR: mc:inteli7:xalan-j-2.7.1-r1 do_package: 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:emit_pkgdata(d)
0003:
File: '/workdir/repo/poky/meta/classes/package.bbclass', lineno: 1502, function: emit_pkgdata
1498: allow_empty = d.getVar('ALLOW_EMPTY_%s' % pkg)
1499: if not allow_empty:
1500: allow_empty = d.getVar('ALLOW_EMPTY')
1501: root = "%s/%s" % (pkgdest, pkg)
*** 1502: os.chdir(root)
1503: g = glob('*')
1504: if g or allow_empty == "1":
1505: # Symlinks needed for reverse lookups (from the final package name)
1506: subdata_sym = pkgdatadir + "/runtime-reverse/%s" % pkgval
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/workdir/build/tmp/work/all-poky-linux/xalan-j/2.7.1-r1/packages-split/xalan-j-src'
Signed-off-by: Ricardo Ribalda Delgado <ricardo at ribalda.com>
---
recipes-core/xalan-j/xalan-j_2.7.1.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/recipes-core/xalan-j/xalan-j_2.7.1.bb b/recipes-core/xalan-j/xalan-j_2.7.1.bb
index 7c68fba..922e293 100644
--- a/recipes-core/xalan-j/xalan-j_2.7.1.bb
+++ b/recipes-core/xalan-j/xalan-j_2.7.1.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = " \
AUTHOR = "Apache Software Foundation"
HOMEPAGE = "http://xml.apache.org/xalan-j"
-PR = "r1"
+PE = "1"
DEPENDS = "xerces-j regexp jlex cup jaxp1.3 bcel"
@@ -18,6 +18,8 @@ SRC_URI = "\
S = "${WORKDIR}/${BPN}_2_7_1"
+PACKAGE_ARCH = "${TUNE_PKGARCH}"
+
inherit java-library
JPN = "libxalan2-java"
--
2.20.1
More information about the Openembedded-devel
mailing list