[oe] meta-oe: cunit: delete *.la files

Message ID 1456994787-29216-1-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell March 3, 2016, 8:46 a.m.
Remove from blacklist and fix populate_sysroot issue:
ERROR: cunit-2.1-3-r0 do_populate_sysroot: QA Issue: libcunit.la failed
sanity test  (workdir) in path
.../cunit/2.1-3-r0/sysroot-destdir/usr/lib [la]
ERROR: cunit-2.1-3-r0 do_populate_sysroot: QA staging was broken by the
package built above
ERROR: cunit-2.1-3-r0 do_populate_sysroot: Function failed: do_qa_staging

Suggested-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.1.4

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb b/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb
index ab8cf76..ad62e52 100644
--- a/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb
+++ b/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb
@@ -18,5 +18,6 @@  EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic --enable-con
 FILES_${PN}-dev += "${datadir}/CUnit"
 FILES_${PN}-doc += "${docdir}"
 
-# http://errors.yoctoproject.org/Errors/Details/35136/
-PNBLACKLIST[cunit] ?= "BROKEN: QA Issue: libcunit.la failed sanity test (workdir)"
+do_install_append() {
+    find ${D} -name "*.la" -delete
+}