summaryrefslogtreecommitdiffstats
path: root/recipes-core/jakarta-libs
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo@ribalda.com>2019-07-05 13:18:20 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-07-09 14:39:58 +0200
commitb4864ad1460a94da3e9cb2d1c4fcb787816dae87 (patch)
tree68918bdd112a457d6de177ee4c50b2350bb46bae /recipes-core/jakarta-libs
parent97943afc8e826ab5a22882e95cdb40dac5f69ba5 (diff)
downloadmeta-java-b4864ad1460a94da3e9cb2d1c4fcb787816dae87.tar.gz
bsf: Do not build as all PACKAGE_ARCH
The package DEPENDS on non -native package, which breaks multiconfig. Fixes: NOTE: recipe bsf-2.4.0-r1: task do_package: Succeeded ERROR: mc:qt5507:bsf-2.4.0-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:populate_packages(d) 0003: File: '/workdir/repo/poky/meta/classes/package.bbclass', lineno: 1237, function: populate_packages 1233: 1234: mkdir_recurse(dvar, root, os.path.dirname(file)) 1235: fpath = os.path.join(root,file) 1236: if not cpath.islink(file): *** 1237: os.link(file, fpath) 1238: continue 1239: ret = bb.utils.copyfile(file, fpath) 1240: if ret is False or ret == 0: 1241: bb.fatal("File population failed") Exception: FileExistsError: [Errno 17] File exists: './usr/share/java/bsf-2.4.0.jar' -> '/workdir/build/tmp/work/all-poky-linux/bsf/2.4.0-r1/packages-split/libbsf-java/./usr/share/java/bsf-2.4.0.jar' ERROR: mc:qt5507:bsf-2.4.0-r1 do_package: [Errno 17] File exists: './usr/share/java/bsf-2.4.0.jar' -> '/workdir/build/tmp/work/all-poky-linux/bsf/2.4.0-r1/packages-split/libbsf-java/./usr/share/java/bsf-2.4.0.jar' ERROR: mc:qt5507:bsf-2.4.0-r1 do_package: Function failed: populate_packages ERROR: Logfile of failure stored in: /workdir/build/tmp/work/all-poky-linux/bsf/2.4.0-r1/temp/log.do_package.12673 NOTE: recipe bsf-2.4.0-r1: task do_package: Failed ERROR: Task (multiconfig:qt5507:/workdir/repo/poky/../meta-java/recipes-core/jakarta-libs/bsf_2.4.0.bb:do_package) failed with exit code '1' Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/jakarta-libs')
-rw-r--r--recipes-core/jakarta-libs/bsf_2.4.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/jakarta-libs/bsf_2.4.0.bb b/recipes-core/jakarta-libs/bsf_2.4.0.bb
index 1037396..a79cbf4 100644
--- a/recipes-core/jakarta-libs/bsf_2.4.0.bb
+++ b/recipes-core/jakarta-libs/bsf_2.4.0.bb
@@ -1,11 +1,13 @@
1SUMMARY = "Bean Scripting Framework package" 1SUMMARY = "Bean Scripting Framework package"
2AUTHOR = "Apache Software Foundation" 2AUTHOR = "Apache Software Foundation"
3LICENSE = "Apache-2.0" 3LICENSE = "Apache-2.0"
4PR = "r1" 4PR = "r2"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1e01b26bacfc2232046c90a330332b3" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b1e01b26bacfc2232046c90a330332b3"
6 6
7SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz" 7SRC_URI = "http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-${PV}.tar.gz"
8 8
9PACKAGE_ARCH = "${TUNE_PKGARCH}"
10
9inherit java-library 11inherit java-library
10 12
11DEPENDS = "jacl commons-logging rhino xalan-j bcel" 13DEPENDS = "jacl commons-logging rhino xalan-j bcel"