All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] meta-oe: cunit: delete *.la files
@ 2016-03-03  8:46 Anders Roxell
  2016-03-03  9:15 ` Martin Jansa
  2016-03-03 10:56 ` [PATCHv2] " Anders Roxell
  0 siblings, 2 replies; 4+ messages in thread
From: Anders Roxell @ 2016-03-03  8:46 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen.kooi

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

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
+}
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] meta-oe: cunit: delete *.la files
  2016-03-03  8:46 [PATCH] meta-oe: cunit: delete *.la files Anders Roxell
@ 2016-03-03  9:15 ` Martin Jansa
  2016-03-03 10:56 ` [PATCHv2] " Anders Roxell
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2016-03-03  9:15 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen.kooi

[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]

On Thu, Mar 03, 2016 at 09:46:27AM +0100, Anders Roxell wrote:
> 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)

> 
> 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(-)
> 
> 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
> +}
> -- 
> 2.1.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCHv2] cunit: delete *.la files
  2016-03-03  8:46 [PATCH] meta-oe: cunit: delete *.la files Anders Roxell
  2016-03-03  9:15 ` Martin Jansa
@ 2016-03-03 10:56 ` Anders Roxell
  2016-03-03 13:47   ` Burton, Ross
  1 sibling, 1 reply; 4+ messages in thread
From: Anders Roxell @ 2016-03-03 10:56 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen.kooi

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, 1 insertion(+), 4 deletions(-)

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..c9d87e3 100644
--- a/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb
+++ b/meta-oe/recipes-devtools/cunit/cunit_2.1-3.bb
@@ -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)"
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCHv2] cunit: delete *.la files
  2016-03-03 10:56 ` [PATCHv2] " Anders Roxell
@ 2016-03-03 13:47   ` Burton, Ross
  0 siblings, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2016-03-03 13:47 UTC (permalink / raw)
  To: OpenEmbedded Devel List

On 3 March 2016 at 10:56, Anders Roxell <anders.roxell@linaro.org> wrote:

> +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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-03 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-03  8:46 [PATCH] meta-oe: cunit: delete *.la files Anders Roxell
2016-03-03  9:15 ` Martin Jansa
2016-03-03 10:56 ` [PATCHv2] " Anders Roxell
2016-03-03 13:47   ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.