Skip to contentSkip to conversation

meta-oe: cunit: delete *.la files

PATCH Superseded Anders Roxell 3 participants 4 messages Mar 3, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-oe: cunit: delete *.la files

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

---
 meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb +3 -2
index ab8cf76..ad62e52 100644
@@ -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
+}
Signature · 1 line
2.1.4
#1 lore raw
Quoted 7 lines · Anders Roxell

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

Can we use remove-libtool bbclass instead?

Also meta-oe: doesn't belong to commit summary (only as [meta-oe] tag in e-mail)

Quoted 28 lines
---
 meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb +3 -2
index ab8cf76..ad62e52 100644
@@ -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
+}
Signature · 7 lines
2.1.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

PATCH v2 1/1 cunit: delete *.la files

In reply to Anders Roxell

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

---
 meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb +1 -4
index ab8cf76..c9d87e3 100644
@@ -11,12 +11,9 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/cunit/CUnit/${PV}/CUnit-${PV}.tar.bz2 \
 SRC_URI[md5sum] = "b5f1a9f6093869c070c6e4a9450cc10c"
 SRC_URI[sha256sum] = "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214"
 
-inherit autotools-brokensep
+inherit autotools-brokensep remove-libtool
 
 EXTRA_OECONF = "--enable-memtrace --enable-automated --enable-basic --enable-console"
 
 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)"
Signature · 1 line
2.1.4
#3 lore raw

Re: [PATCHv2] cunit: delete *.la files

Quoted 2 lines · Anders Roxell

+inherit autotools-brokensep remove-libtool

I should point out this was meant to be something that the distro or user inherited, not per-recipe to avoid broken .la files.

Ross