aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo@ribalda.com>2019-07-05 13:18:24 +0200
committerRichard Leitner <richard.leitner@skidata.com>2019-07-09 14:39:58 +0200
commite8cd0b623407d52cdb9ea1a46b29723645cb2883 (patch)
tree2b08bfd53bc920e1f51652bf87b81c8dc9e8c4c8
parent0478e4baa73625ee2d9a5c401f28e519dc373f1d (diff)
downloadmeta-java-e8cd0b623407d52cdb9ea1a46b29723645cb2883.tar.gz
meta-java-e8cd0b623407d52cdb9ea1a46b29723645cb2883.tar.bz2
meta-java-e8cd0b623407d52cdb9ea1a46b29723645cb2883.zip
dom4j: Do not use all as PACKAGE_ARCH
It has DEPENDS that are not -native Fixes: ERROR: mc:qt5506:dom4j-1.6.1-r0 do_packagedata: 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:sstate_task_postfunc(d) 0003: File: '/workdir/repo/poky/meta/classes/sstate.bbclass', lineno: 739, function: sstate_task_postfunc 0735: 0736: sstateinst = d.getVar("SSTATE_INSTDIR") 0737: d.setVar('SSTATE_FIXMEDIR', shared_state['fixmedir']) 0738: *** 0739: sstate_installpkgdir(shared_state, d) 0740: 0741: bb.utils.remove(d.getVar("SSTATE_BUILDDIR"), recurse=True) 0742:} 0743:sstate_task_postfunc[dirs] = "${WORKDIR}" File: '/workdir/repo/poky/meta/classes/sstate.bbclass', lineno: 379, function: sstate_installpkgdir 0375: oe.path.remove(dir) 0376: 0377: for state in ss['dirs']: 0378: prepdir(state[1]) *** 0379: os.rename(sstateinst + state[0], state[1]) 0380: sstate_install(ss, d) 0381: 0382: for plain in ss['plaindirs']: 0383: workdir = d.getVar('WORKDIR') Exception: FileNotFoundError: [Errno 2] No such file or directory: '/workdir/build/tmp/work/all-poky-linux/dom4j/1.6.1-r0/sstate-build-packagedata/pkgdata' -> Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r--recipes-core/xml-commons/dom4j_1.6.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/xml-commons/dom4j_1.6.1.bb b/recipes-core/xml-commons/dom4j_1.6.1.bb
index 97c9947..ee46dfd 100644
--- a/recipes-core/xml-commons/dom4j_1.6.1.bb
+++ b/recipes-core/xml-commons/dom4j_1.6.1.bb
@@ -18,6 +18,7 @@ SRC_URI[archive.sha256sum] = "01b4abf86bce337a2a900bf121b3107320ba63b4c0f352e192
SRC_URI[jaxme.md5sum] = "084ebfe4a816058f8ff6bd731fa70df4"
SRC_URI[jaxme.sha256sum] = "0415d721259acf95c564fb84606bb17f6227c1cc444e89b78d1cd9903c1c88dc"
+PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit java-library
do_compile() {