ERROR: Function failed: docompile (log file is located at /.../build/out-glibc/work/x86_64-linux/imx-loader-native/git-r1/temp/log.do_compile.19740)_
ERROR: Logfile of failure stored in: /.../build/out-glibc/work/x8664-linux/imx-loader-native/git-r1/temp/log.do_compile.19740
ERROR: Task 313 (virtual:native:/.../stuff/meta-toradex/recipes-devtools/imx-loader/imx-loadergit.bb, do_compile) failed with exit code '1'
libstdc++-4.8-dev:i386
sudo apt-get update & sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install aptitude
Ref:
http://developer.toradex.com/knowledge-base/board-support-package/openembedded-(core)#Prerequisites
WARNING: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
/usr/lib/libstdc++fs.la
/usr/lib/libstdc++fs.a
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete within do_install.
gcc-runtime: 2 installed and not shipped files.[installed-vs-shipped]
WARNING: QA Issue: [some-recipe]: /[some-recipe]/etc/luv/
parsers/[recipe-luv-parser] is owned by uid XXXX, which is the
same as the user running bitbake. This may be due to host
contamination.
[some-recipe]: /[some-recipe]/etc/luv/tests/[some-luv-runner]
is owned by uid XXXX, which is the same as the user running
bitbake. This may be due to host contamination [host-user-contaminated]
This happens because do_install_runner installs files but it is not
executed as fakeroot. do_install is executed with fakeroot.
Hence, there were two options to fix this warning. 1) make do_install_
runner run with fakeroot or 2) convert do_install_runner into an
append of do_install. Since do_install_runner is doing nothing
special but installing the test suite parser and runner, I chose
option 2).
This fixes https://github.com/01org/luv-yocto/issues/65.
Signed-off-by: Ricardo Neri <ricardo.neri-calderon at linux.intel.com>
---
meta-luv/classes/luv-test.bbclass | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/meta-luv/classes/luv-test.bbclass b/meta-luv/classes/luv-test.bbclass
index dc20978..1d0f781 100644
--- a/meta-luv/classes/luv-test.bbclass
+++ b/meta-luv/classes/luv-test.bbclass
@@ -14,7 +14,7 @@ PARSER_PATH = "${sysconfdir}/luv/parsers"
FILES_${PN} += "${RUNNER_PATH}/${PN} ${PARSER_PATH}/${PN}"
-do_install_runner() {
+do_install_append() {
runner_dir="${D}${RUNNER_PATH}"
install -d $runner_dir
@@ -39,5 +39,3 @@ ${LUV_TEST} ${LUV_TEST_ARGS}
EOF
chmod +x ${runner_dir}/${PN}
}
-
-addtask install_runner after do_install before do_package
--
2.7.4
Ref .https://lists.01.org/pipermail/luv/2016-April/001044.html