Patchwork rpm_5.4.0.bb: Add xz as rpm DEPENDS

login
register
mail settings
Submitter Matthew McClintock
Date Nov. 23, 2011, 8:11 a.m.
Message ID <1322035877-18151-1-git-send-email-msm@freescale.com>
Download mbox | patch
Permalink /patch/15323/
State New
Headers show

Comments

Matthew McClintock - Nov. 23, 2011, 8:11 a.m.
This fixes the following issue:

Log data follows:
| NOTE: Creating RPM package for perf-dbg
| NOTE: Creating RPM package for perf
| NOTE: Creating EMPTY RPM Package for kernel
| NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357
| NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357
| NOTE: Creating RPM package for kernel-dev
| NOTE: Creating RPM package for kernel-vmlinux
| NOTE: Not creating empty RPM package for kernel-misc
| NOTE: Creating RPM package for kernel-devicetree
| NOTE: Creating RPM package for kernel-module-libcrc32c
| NOTE: Creating RPM package for kernel-module-crc-itu-t
| NOTE: Creating RPM package for kernel-module-sctp
| NOTE: Creating RPM package for kernel-module-pcbc
| NOTE: Creating RPM package for kernel-module-crc32c
| NOTE: Creating RPM package for kernel-module-binfmt-misc
| NOTE: Creating RPM package for kernel-module-nfsd
| NOTE: Creating RPM package for kernel-module-exportfs
| NOTE: Creating RPM package for kernel-module-msdos
| NOTE: Creating RPM package for kernel-module-nls-utf8
| NOTE: Creating RPM package for kernel-module-udf
| NOTE: Creating RPM package for kernel-module-isofs
| NOTE: Creating RPM package for kernel-module-usbhid
| NOTE: Creating RPM package for kernel-module-scsi-wait-scan
| NOTE: Creating EMPTY RPM Package for kernel-modules
| /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
| ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information)

Signed-off-by: Matthew McClintock <msm@freescale.com>
---
 meta/recipes-devtools/rpm/rpm_5.4.0.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Richard Purdie - Nov. 23, 2011, 5:46 p.m.
On Wed, 2011-11-23 at 02:11 -0600, Matthew McClintock wrote:
> This fixes the following issue:
> 
> Log data follows:
> | NOTE: Creating RPM package for perf-dbg
> | NOTE: Creating RPM package for perf
> | NOTE: Creating EMPTY RPM Package for kernel
> | NOTE: Creating EMPTY RPM Package for kernel-3.0.9-00348-gec4b357
> | NOTE: Creating RPM package for kernel-image-3.0.9-00348-gec4b357
> | NOTE: Creating RPM package for kernel-dev
> | NOTE: Creating RPM package for kernel-vmlinux
> | NOTE: Not creating empty RPM package for kernel-misc
> | NOTE: Creating RPM package for kernel-devicetree
> | NOTE: Creating RPM package for kernel-module-libcrc32c
> | NOTE: Creating RPM package for kernel-module-crc-itu-t
> | NOTE: Creating RPM package for kernel-module-sctp
> | NOTE: Creating RPM package for kernel-module-pcbc
> | NOTE: Creating RPM package for kernel-module-crc32c
> | NOTE: Creating RPM package for kernel-module-binfmt-misc
> | NOTE: Creating RPM package for kernel-module-nfsd
> | NOTE: Creating RPM package for kernel-module-exportfs
> | NOTE: Creating RPM package for kernel-module-msdos
> | NOTE: Creating RPM package for kernel-module-nls-utf8
> | NOTE: Creating RPM package for kernel-module-udf
> | NOTE: Creating RPM package for kernel-module-isofs
> | NOTE: Creating RPM package for kernel-module-usbhid
> | NOTE: Creating RPM package for kernel-module-scsi-wait-scan
> | NOTE: Creating EMPTY RPM Package for kernel-modules
> | /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/sysroots/x86_64-linux/usr/bin/rpmbuild.real: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory
> | ERROR: Function 'BUILDSPEC' failed (see /local/home/mattsm/git/fsl-local-sdk/build_p4080ds_release/tmp/work/p4080ds-fsl-linux/linux-qoriq-sdk-3.0.6-r2/temp/log.do_package_write_rpm.18943 for further information)
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>  meta/recipes-devtools/rpm/rpm_5.4.0.bb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)DISTRO_FEATURES_BACKFILLCONSIDERED
> 
> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> index 356512a..87fb833 100644
> --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
> @@ -42,10 +42,10 @@ HOMEPAGE = "http://rpm5.org/"
>  LICENSE = "LGPL 2.1"
>  LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
>  
> -DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
> +DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt xz ${extrarpmdeps}"
>  extrarpmdeps = "python perl"
>  extrarpmdeps_virtclass-native = "file-native"
> -PR = "r22"
> +PR = "r23"
>  
>  # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
>  # in order to extract the distribution SRPM into a format we can extract...

If we don't need xy (we don't as far as I know?), could we just disable
it instead? 

Cheers,

Richard
McClintock Matthew-B29882 - Nov. 28, 2011, 9:28 p.m.
On Wed, Nov 23, 2011 at 11:46 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>>  1 files changed, 2 insertions(+), 2 deletions(-)DISTRO_FEATURES_BACKFILLCONSIDERED
>>
>> diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
>> index 356512a..87fb833 100644
>> --- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
>> +++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
>> @@ -42,10 +42,10 @@ HOMEPAGE = "http://rpm5.org/"
>>  LICENSE = "LGPL 2.1"
>>  LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
>>
>> -DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
>> +DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt xz ${extrarpmdeps}"
>>  extrarpmdeps = "python perl"
>>  extrarpmdeps_virtclass-native = "file-native"
>> -PR = "r22"
>> +PR = "r23"
>>
>>  # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
>>  # in order to extract the distribution SRPM into a format we can extract...
>
> If we don't need xy (we don't as far as I know?), could we just disable
> it instead?

Updated patch sent to list...

-M

Patch

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.0.bb b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
index 356512a..87fb833 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.0.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.0.bb
@@ -42,10 +42,10 @@  HOMEPAGE = "http://rpm5.org/"
 LICENSE = "LGPL 2.1"
 LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
 
-DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt ${extrarpmdeps}"
+DEPENDS = "bzip2 zlib db openssl elfutils expat libpcre attr acl popt xz ${extrarpmdeps}"
 extrarpmdeps = "python perl"
 extrarpmdeps_virtclass-native = "file-native"
-PR = "r22"
+PR = "r23"
 
 # rpm2cpio is a shell script, which is part of the rpm src.rpm.  It is needed
 # in order to extract the distribution SRPM into a format we can extract...