[oe-commits] [openembedded-core] 01/01: libarchive: Add PACKAGECONFIG for lz4 to ensure determinism

git at git.openembedded.org git at git.openembedded.org
Sat Jun 4 13:14:00 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit f12fe90a78ca1239691e8fd8f7b06ce59b8b72cc
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sat Jun 4 09:04:26 2016 +0100

    libarchive: Add PACKAGECONFIG for lz4 to ensure determinism
    
    This avoids:
    
    WARNING: opkg-1_0.3.1-r0 do_package_qa: QA Issue: libopkg rdepends on lz4, but it isn't a build dependency, missing lz4 in DEPENDS or PACKAGECONFIG? [build-deps]
    
    and ERROR:
    
    build-appliance-image-15.0.0-r0 do_rootfs: Unable to install packages. Command '/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/sysroots/x86_64-linux/usr/bin/smart --log-level=warning --data-dir=/home/pokybuild/yocto-autobuilder/yocto-worker/build-appliance/build/build/tmp/work/qemux86_64-poky-linux/build-appliance-image/15.0.0-r0/rootfs/var/lib/smart install -y packagegroup-core-boot at qemux86_64 packagegroup-core-ssh-openssh at all psplash at core2_64 kernel-d [...]
    Loading cache...
    Updating cache...               ######################################## [100%]
    
    Computing transaction...error: Can't install libopkg1-1:0.3.1-r0.0 at core2_64: no package provides lz4 >= 131+git0+d86dc9167
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/libarchive/libarchive_3.2.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.0.bb b/meta/recipes-extended/libarchive/libarchive_3.2.0.bb
index e1f0202..fe22ea5 100644
--- a/meta/recipes-extended/libarchive/libarchive_3.2.0.bb
+++ b/meta/recipes-extended/libarchive/libarchive_3.2.0.bb
@@ -29,6 +29,7 @@ PACKAGECONFIG[libxml2] = "--with-xml2,--without-xml2,libxml2,"
 PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat,"
 PACKAGECONFIG[lzo] = "--with-lzo2,--without-lzo2,lzo,"
 PACKAGECONFIG[nettle] = "--with-nettle,--without-nettle,nettle,"
+PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
 
 SRC_URI = "http://libarchive.org/downloads/libarchive-${PV}.tar.gz \
            "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list