diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-11 11:05:52 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-12 10:25:33 +0200 |
commit | 932515ad3517e4d5ab926e12a7ad73dd4b70e275 (patch) | |
tree | 0475eda2dbe7f45b04f9c39a0a5f0040c0f6bf20 /recipes-qt | |
parent | c2768bd4e5dffb22126c0bd1f40638c9a74295fd (diff) |
qt5-ptest.inc: append do_populate_sysroot only for target
* otherwise it breaks e.g. qtxmlpatterns-native build as shown in:
http://errors.yoctoproject.org/Errors/Details/147039/
ERROR: 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:do_populate_sysroot(d)
0003:
File: 'TOPDIR/openembedded-core/meta/classes/staging.bbclass', lineno: 128, function: do_populate_sysroot
0124:
0125:python do_populate_sysroot_setscene () {
0126: sstate_setscene(d)
0127:}
*** 0128:addtask do_populate_sysroot_setscene
0129:
0130:def staging_copyfile(c, target, dest, postinsts, seendirs):
0131: import errno
0132:
File: 'TOPDIR/openembedded-core/meta/classes/staging.bbclass', lineno: 114, function: copyFiles
0110:
0111:do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
0112:do_populate_sysroot[vardepsexclude] += "MULTI_PROVIDER_WHITELIST"
0113:
*** 0114:POPULATESYSROOTDEPS = ""
0115:POPULATESYSROOTDEPS_class-target = "virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot"
0116:POPULATESYSROOTDEPS_class-nativesdk = "virtual/${TARGET_PREFIX}binutils-crosssdk:do_populate_sysroot"
0117:do_populate_sysroot[depends] += "${POPULATESYSROOTDEPS}"
0118:
Exception: FileNotFoundError: [Errno 2] No such file or directory: 'TOPDIR/tmp-glibc/work/x86_64-linux/qtxmlpatterns-native/5.8.0+gitAUTOINC+9f7e01b582-r0/sysroot-destdir/usr/'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r-- | recipes-qt/qt5/qt5-ptest.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-qt/qt5/qt5-ptest.inc b/recipes-qt/qt5/qt5-ptest.inc index 49d44acb..d39f65aa 100644 --- a/recipes-qt/qt5/qt5-ptest.inc +++ b/recipes-qt/qt5/qt5-ptest.inc @@ -13,7 +13,7 @@ do_compile_ptest() { oe_runmake } -do_populate_sysroot_append() { +do_populate_sysroot_append_class-target() { workdir = d.getVar('WORKDIR') srcdir = workdir + '/sysroot-destdir/usr/' destdir = workdir + '/recipe-sysroot/usr/' |