[OE-core] [PATCH] libarchive: add missing e2fsprogs dependency

Saul Wold sgw at linux.intel.com
Mon May 5 21:54:08 UTC 2014


On 05/05/2014 04:26 AM, Koen Kooi wrote:
> This fixes the following build error:
> 	| libarchive/archive_entry.c:59:55: fatal error: ext2fs/ext2_fs.h: No such file or directory
>
> There is no configure options to avoid this dependency.
>
> Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
> ---
>   meta/recipes-extended/libarchive/libarchive_3.1.2.bb | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> index eedbaa7..277d8c8 100644
> --- a/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> +++ b/meta/recipes-extended/libarchive/libarchive_3.1.2.bb
> @@ -5,6 +5,8 @@ SECTION = "devel"
>   LICENSE = "BSD"
>   LIC_FILES_CHKSUM = "file://COPYING;md5=b4e3ffd607d6686c6cb2f63394370841"
>
> +DEPENDS = "e2fsprogs"
> +

By doing this we also have to extend e2fprogs to be a nativesdk target.

Is there not a way to make this optional by editing the configure.ac and 
adding a switch?  What functionality to we gain or loose with / without 
the ext2fs extensions?

Sau!

>   PACKAGECONFIG ?= "libxml2 zlib bz2"
>
>   PACKAGECONFIG_append_class-target = "\
>



More information about the Openembedded-core mailing list