Patchwork libproxy_0.4.7 do_unpack failed of qemuppc_world

login
register
mail settings
Submitter jackie huang
Date June 17, 2013, 6:30 a.m.
Message ID <1371450622-3850-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/51793/
State New
Headers show

Comments

jackie huang - June 17, 2013, 6:30 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

The tarball from upstream shows many lines of....

   tar: Ignoring unknown extended header keyword
      `LIBARCHIVE.xattr.security.selinux'
   tar: Ignoring unknown extended header keyword `SCHILY.dev'
   tar: Ignoring unknown extended header keyword `SCHILY.ino'
   tar: Ignoring unknown extended header keyword `SCHILY.nlink'

Replacing it with the .zip file from upstream

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-support/libproxy/libproxy_0.4.7.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

--
1.7.4.1
Khem Raj - June 17, 2013, 7:02 a.m.
On Jun 16, 2013, at 11:30 PM, jackie.huang@windriver.com wrote:

> From: Jackie Huang <jackie.huang@windriver.com>
> 
> The tarball from upstream shows many lines of....
> 
>   tar: Ignoring unknown extended header keyword
>      `LIBARCHIVE.xattr.security.selinux'
>   tar: Ignoring unknown extended header keyword `SCHILY.dev'
>   tar: Ignoring unknown extended header keyword `SCHILY.ino'
>   tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> 
> Replacing it with the .zip file from upstream

maybe now it would better to add zip-native to DEPENDS ?

> 
> Signed-off-by: Amy Fong <amy.fong@windriver.com>
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
> meta/recipes-support/libproxy/libproxy_0.4.7.bb |    8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> index 89f22b8..30abc27 100644
> --- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> +++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
> @@ -8,16 +8,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
> 
> DEPENDS = "gconf glib-2.0"
> 
> -PR = "r5"
> +PR = "r6"
> 
> -SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
> +SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
>            file://g++-namepace.patch \
>            file://libproxy_fix_for_gcc4.7.patch \
>            file://libproxy-0.4.7-CVE-2012-4504.patch \
>           "
> 
> -SRC_URI[md5sum] = "509e03a488a61cd62bfbaf3ab6a2a7a5"
> -SRC_URI[sha256sum] = "8fe0a58810139ba3c2e186deccf3e68adcd127aa0e972b0862b30b3dde493797"
> +SRC_URI[md5sum] = "62585570de17d10f03a5a63b701ffd52"
> +SRC_URI[sha256sum] = "429a19c57d9990349d622beecc805b23051caa62a478066bff5d9a312a8937be"
> 
> inherit cmake pkgconfig
> 
> --
> 1.7.4.1
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
jackie huang - June 17, 2013, 7:10 a.m.
On 6/17/2013 3:02 PM, Khem Raj wrote:
>
> On Jun 16, 2013, at 11:30 PM, jackie.huang@windriver.com wrote:
>
>> From: Jackie Huang <jackie.huang@windriver.com>
>>
>> The tarball from upstream shows many lines of....
>>
>>    tar: Ignoring unknown extended header keyword
>>       `LIBARCHIVE.xattr.security.selinux'
>>    tar: Ignoring unknown extended header keyword `SCHILY.dev'
>>    tar: Ignoring unknown extended header keyword `SCHILY.ino'
>>    tar: Ignoring unknown extended header keyword `SCHILY.nlink'
>>
>> Replacing it with the .zip file from upstream
>
> maybe now it would better to add zip-native to DEPENDS ?

I think the base.bbclass have added this:

     # unzip-native should already be staged before unpacking ZIP recipes
     if ".zip" in srcuri:
         d.appendVarFlag('do_unpack', 'depends', ' 
unzip-native:do_populate_sysroot')

Thanks,
Jackie

>
>>
>> Signed-off-by: Amy Fong <amy.fong@windriver.com>
>> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
>> ---
>> meta/recipes-support/libproxy/libproxy_0.4.7.bb |    8 ++++----
>> 1 files changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
>> index 89f22b8..30abc27 100644
>> --- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
>> +++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
>> @@ -8,16 +8,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
>>
>> DEPENDS = "gconf glib-2.0"
>>
>> -PR = "r5"
>> +PR = "r6"
>>
>> -SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
>> +SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
>>             file://g++-namepace.patch \
>>             file://libproxy_fix_for_gcc4.7.patch \
>>             file://libproxy-0.4.7-CVE-2012-4504.patch \
>>            "
>>
>> -SRC_URI[md5sum] = "509e03a488a61cd62bfbaf3ab6a2a7a5"
>> -SRC_URI[sha256sum] = "8fe0a58810139ba3c2e186deccf3e68adcd127aa0e972b0862b30b3dde493797"
>> +SRC_URI[md5sum] = "62585570de17d10f03a5a63b701ffd52"
>> +SRC_URI[sha256sum] = "429a19c57d9990349d622beecc805b23051caa62a478066bff5d9a312a8937be"
>>
>> inherit cmake pkgconfig
>>
>> --
>> 1.7.4.1
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>
>
Khem Raj - June 17, 2013, 7:12 a.m.
On Jun 17, 2013, at 12:10 AM, jhuang0 <jackie.huang@windriver.com> wrote:

> I think the base.bbclass have added this:
> 
>    # unzip-native should already be staged before unpacking ZIP recipes
>    if ".zip" in srcuri:
>        d.appendVarFlag('do_unpack', 'depends', ' unzip-native:do_populate_sysroot')
> 

ok nice.

Patch

diff --git a/meta/recipes-support/libproxy/libproxy_0.4.7.bb b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
index 89f22b8..30abc27 100644
--- a/meta/recipes-support/libproxy/libproxy_0.4.7.bb
+++ b/meta/recipes-support/libproxy/libproxy_0.4.7.bb
@@ -8,16 +8,16 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \

 DEPENDS = "gconf glib-2.0"

-PR = "r5"
+PR = "r6"

-SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
+SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.zip \
            file://g++-namepace.patch \
            file://libproxy_fix_for_gcc4.7.patch \
            file://libproxy-0.4.7-CVE-2012-4504.patch \
           "

-SRC_URI[md5sum] = "509e03a488a61cd62bfbaf3ab6a2a7a5"
-SRC_URI[sha256sum] = "8fe0a58810139ba3c2e186deccf3e68adcd127aa0e972b0862b30b3dde493797"
+SRC_URI[md5sum] = "62585570de17d10f03a5a63b701ffd52"
+SRC_URI[sha256sum] = "429a19c57d9990349d622beecc805b23051caa62a478066bff5d9a312a8937be"

 inherit cmake pkgconfig