aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo@ribalda.com>2019-07-05 13:18:16 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-07-09 14:39:58 +0200
commitdb513b8c3b5ebbbd0b2a6c4e39440ce050eb3090 (patch)
tree5e5dc309696a0a25ea9e2d40eff6de133f8a74bc
parent87a609f99b934d49210444c2d69f3f6925fa5100 (diff)
downloadmeta-java-db513b8c3b5ebbbd0b2a6c4e39440ce050eb3090.tar.gz
meta-java-db513b8c3b5ebbbd0b2a6c4e39440ce050eb3090.tar.bz2
meta-java-db513b8c3b5ebbbd0b2a6c4e39440ce050eb3090.zip
xalan-j: Do not use all as PACKAGE_ARCH
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@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/xalan-j/xalan-j_2.7.1.bb4
1 files changed, 3 insertions, 1 deletions
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..ad985cb 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"
+PR = "r2"
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"