Patchwork [CONSOLIDATED,PULL,18/19] libgcc: Add MLPREFIX to sanity check skip

login
register
mail settings
Submitter Saul Wold
Date April 30, 2012, 10:21 p.m.
Message ID <c2cec8404ac996817bc7ec44fc4d800ae2735989.1335824356.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/26725/
State New
Headers show

Comments

Saul Wold - April 30, 2012, 10:21 p.m.
Fixes:
ERROR: QA Issue: non -staticdev package contains static .a library: lib32-libgcov-dev path '/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/packages-split/lib32-libgcov-dev/usr/lib/i586-pokymllib32-linux/4.7.1/libgcov.a'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/temp/log.do_package.9691
NOTE: package lib32-libgcc-4.7.0+svnr186651-r0: task do_package: Failed
ERROR: Task 1077 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/meta/recipes-devtools/gcc/libgcc_4.7.bb, do_package) failed with exit code '1'
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-devtools/gcc/libgcc_4.7.bb |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
Richard Purdie - May 1, 2012, 10:48 a.m.
On Mon, 2012-04-30 at 15:21 -0700, Saul Wold wrote:
> Fixes:
> ERROR: QA Issue: non -staticdev package contains static .a library: lib32-libgcov-dev path '/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/packages-split/lib32-libgcov-dev/usr/lib/i586-pokymllib32-linux/4.7.1/libgcov.a'
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa
> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/build/tmp/work/x86-pokymllib32-linux/lib32-libgcc-4.7.0+svnr186651-r0/temp/log.do_package.9691
> NOTE: package lib32-libgcc-4.7.0+svnr186651-r0: task do_package: Failed
> ERROR: Task 1077 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-multilib/build/meta/recipes-devtools/gcc/libgcc_4.7.bb, do_package) failed with exit code '1'
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-devtools/gcc/libgcc_4.7.bb |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
> index 8529755..1262fd3 100644
> --- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
> +++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
> @@ -66,6 +66,5 @@ do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"
>  
>  BBCLASSEXTEND = "nativesdk"
>  
> -INSANE_SKIP_${PN}-dev = "staticdev"
> -INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev"
> -
> +INSANE_SKIP_${MLPREFIX}${PN}-dev = "staticdev"
> +INSANE_SKIP_${MLPREFIX}libgcov${PKGSUFFIX}-dev = "staticdev"

You only need to add this in the non ${PN} (second) case. I suspect the
above causes different warnings.

Cheers,

Richard

Patch

diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
index 8529755..1262fd3 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
@@ -66,6 +66,5 @@  do_package_write_rpm[depends] += "virtual/${MLPREFIX}libc:do_package"
 
 BBCLASSEXTEND = "nativesdk"
 
-INSANE_SKIP_${PN}-dev = "staticdev"
-INSANE_SKIP_libgcov${PKGSUFFIX}-dev = "staticdev"
-
+INSANE_SKIP_${MLPREFIX}${PN}-dev = "staticdev"
+INSANE_SKIP_${MLPREFIX}libgcov${PKGSUFFIX}-dev = "staticdev"