From db513b8c3b5ebbbd0b2a6c4e39440ce050eb3090 Mon Sep 17 00:00:00 2001 From: Ricardo Ribalda Delgado Date: Fri, 5 Jul 2019 13:18:16 +0200 Subject: 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: 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 Signed-off-by: Richard Leitner --- 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..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" -- cgit v1.2.3-54-g00ecf