Patchwork [3/4] libarchive: add e2fsprogs to DEPENDS

login
register
mail settings
Submitter Paul Eggleton
Date Dec. 4, 2013, 4:40 p.m.
Message ID <2dd7befefe608408e58b46ac7af3daafe7d5aa82.1386175183.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/62841/
State New
Headers show

Comments

Paul Eggleton - Dec. 4, 2013, 4:40 p.m.
libarchive's configure script looks for ext2fs/ext2_fs.h in order to use
some defines for file attributes support if present (but doesn't link to
any additional libraries.) There is no configure option to disable this,
and if e2fsprogs is rebuilding between do_configure and do_compile you
can currently get a failure. Since we normally only build this recipe
for the target, and this functionality should really be supported on all
linux systems, just add the dependency as most normal Linux distros seem
to.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-extended/libarchive/libarchive_2.8.5.bb | 2 ++
 1 file changed, 2 insertions(+)
Paul Eggleton - Dec. 5, 2013, 1:46 p.m.
On Wednesday 04 December 2013 16:40:28 Paul Eggleton wrote:
> libarchive's configure script looks for ext2fs/ext2_fs.h in order to use
> some defines for file attributes support if present (but doesn't link to
> any additional libraries.) There is no configure option to disable this,
> and if e2fsprogs is rebuilding between do_configure and do_compile you
> can currently get a failure. Since we normally only build this recipe
> for the target, and this functionality should really be supported on all
> linux systems, just add the dependency as most normal Linux distros seem
> to.

Actually this has problems building for nativesdk since there is no nativesdk-
e2fsprogs; scratch this while I figure out a better solution.

Cheers,
Paul

Patch

diff --git a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
index 11c2f7d..d3fb09e 100644
--- a/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
+++ b/meta/recipes-extended/libarchive/libarchive_2.8.5.bb
@@ -4,6 +4,8 @@  SECTION = "devel"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4255e2e6f0349a4ac8fbd68459296e46"
 
+DEPENDS = "e2fsprogs"
+
 PACKAGECONFIG ?= "libxml2 zlib bz2"
 
 PACKAGECONFIG_append_class-target = "\