[meta-java,v4,23/23] dom4j: Do not use all as PACKAGE_ARCH

Submitted by Ricardo Ribalda Delgado on July 5, 2019, 11:18 a.m. | Patch ID: 162840

Details

Message ID 20190705111824.22255-24-ricardo@ribalda.com
State Master Next
Delegated to: Richard Leitner
Headers show

Commit Message

Ricardo Ribalda Delgado July 5, 2019, 11:18 a.m.
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>
---
 recipes-core/xml-commons/dom4j_1.6.1.bb | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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() {