[OE-core] [PATCH 1/3] cmake-native: Fix build on ubuntu

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jul 20 07:42:48 UTC 2012


On Thu, 2012-07-19 at 22:22 -0700, Khem Raj wrote:
> From: Khem Raj <kraj at juniper.net>
> 
> Fixes errors like
> 
> /yocto/poky/build/tmp/work/x86_64-linux/cmake-native-2.8.5-r2.1/cmake-2.8.5/Utilities/cmlibarchive/libarchive/archive_entry.c:56:55:
> fatal error: ext2fs/ext2_fs.h: No such file or directory
> 
> Signed-off-by: Khem Raj <kraj at juniper.net>
> ---
>  meta/recipes-devtools/cmake/cmake-native_2.8.5.bb |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> index 3fe0c2e..98ae300 100644
> --- a/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> +++ b/meta/recipes-devtools/cmake/cmake-native_2.8.5.bb
> @@ -1,7 +1,9 @@
>  require cmake.inc
>  inherit native
>  
> -PR = "${INC_PR}.1"
> +DEPENDS += "e2fsprogs-native"
> +
> +PR = "${INC_PR}.2"
>  
>  SRC_URI[md5sum] = "3c5d32cec0f4c2dc45f4c2e84f4a20c5"
>  SRC_URI[sha256sum] = "5e18bff75f01656c64f553412a8905527e1b85efaf3163c6fb81ea5aaced0b91"

Does cmake really need e2fsprogs? Can we disable that dependency
instead? What would we lose?

Cheers,

Richard





More information about the Openembedded-core mailing list