[oe] [meta-oe][PATCH 2/5] talloc, libtevent, libtdb: depend on attr

Huang, Jie (Jackie) Jackie.Huang at windriver.com
Fri Nov 13 02:48:52 UTC 2015



> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-devel-
> bounces at lists.openembedded.org] On Behalf Of Christopher Larson
> Sent: Friday, November 13, 2015 4:17 AM
> To: openembedded-devel at lists.openembedded.org
> Cc: Christopher Larson
> Subject: [oe] [meta-oe][PATCH 2/5] talloc,libtevent,libtdb: depend on attr
> 
> From: Christopher Larson <chris_larson at mentor.com>
> 
> These will depend on libattr if it's available, and we need deterministic
> builds. This fixes a build-deps failure which occurs when attr is built before
> them. There's currently no configuration option to explicitly control this
> dependency, and I don't know enough about waf to add such an option, so
> unconditionally dep on it for now.

I added depends on libcap  for libtevent for the same reason days ago, but it really concern
me now, the 'libreplace' in these waf based packages check many packages(I see
libbsd, libcap, libacl for now) existence then build with them if found, and there
is no configure option to disable them, does anyone has a better idea how to
make waf build in deterministic way? Maybe we should disable the built-in
libraries 'libreplace' or add a PACKAGECONFIG for it?

Thanks,
Jackie

> 
> Signed-off-by: Christopher Larson <chris_larson at mentor.com>
> ---
>  meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb        | 1 +
>  meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb | 2 +-
>  meta-oe/recipes-support/talloc/talloc_2.1.1.bb        | 1 +
>  3 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb b/meta-oe/recipes-
> support/libtdb/libtdb_1.3.0.bb
> index 0b9e1f2..e349187 100644
> --- a/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
> +++ b/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
> @@ -1,6 +1,7 @@
>  SUMMARY = "The tdb library"
>  SECTION = "libs"
>  LICENSE = "LGPL-3.0+ & GPL-3.0+"
> +DEPENDS += "attr"
> 
>  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-
> 3.0;md5=bfccfe952269fff2b407dd11f2f3083b \
>                      file://${COREBASE}/meta/files/common-licenses/GPL-
> 3.0;md5=c79ff39f19dfec6d293b95dea7b07891"
> diff --git a/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb b/meta-oe/recipes-
> support/libtevent/libtevent_0.9.21.bb
> index f297f30..c37eeb3 100644
> --- a/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
> +++ b/meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
> @@ -3,7 +3,7 @@ HOMEPAGE = "http://tevent.samba.org"
>  SECTION = "libs"
>  LICENSE = "LGPLv3+"
> 
> -DEPENDS += "talloc libcap"
> +DEPENDS += "talloc libcap attr"
>  RDEPENDS_${PN} += "libtalloc"
>  RDEPENDS_python-tevent = "python"
> 
> diff --git a/meta-oe/recipes-support/talloc/talloc_2.1.1.bb b/meta-oe/recipes-
> support/talloc/talloc_2.1.1.bb
> index 89c390f..7931374 100644
> --- a/meta-oe/recipes-support/talloc/talloc_2.1.1.bb
> +++ b/meta-oe/recipes-support/talloc/talloc_2.1.1.bb
> @@ -2,6 +2,7 @@ SUMMARY = "Hierarchical, reference counted memory pool system with
> destructors"
>  HOMEPAGE = "http://talloc.samba.org"
>  SECTION = "libs"
>  LICENSE = "LGPL-3.0+ & GPL-3.0+"
> +DEPENDS += "attr"
> 
>  SRC_URI = "http://samba.org/ftp/${BPN}/${BPN}-${PV}.tar.gz"
>  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-
> 3.0;md5=bfccfe952269fff2b407dd11f2f3083b \
> --
> 2.2.1
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list