Patchwork coreutils: disable ACL as we do not depend on it

login
register
mail settings
Submitter Marcin Juszkiewicz
Date March 22, 2013, 1:53 p.m.
Message ID <1363960423-16933-1-git-send-email-marcin.juszkiewicz@linaro.org>
Download mbox | patch
Permalink /patch/46699/
State New
Headers show

Comments

Marcin Juszkiewicz - March 22, 2013, 1:53 p.m.
Coreutils does not depend on ACL but also does not disable it. Effect is
that from time to time I have a copy in sstate-cache which got built
with ACL and then I have problem while building images or sdk:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-standalone-hhvm-sdk-target:
|  *    libacl1 (>= 2.2.51) *
|  * opkg_install_cmd: Cannot install package packagegroup-core-standalone-hhvm-sdk-target.

Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
---
 meta/recipes-core/coreutils/coreutils_8.14.bb | 1 +
 1 file changed, 1 insertion(+)
Paul Eggleton - March 22, 2013, 1:58 p.m.
On Friday 22 March 2013 14:53:43 Marcin Juszkiewicz wrote:
> Coreutils does not depend on ACL but also does not disable it. Effect is
> that from time to time I have a copy in sstate-cache which got built
> 
> with ACL and then I have problem while building images or sdk:
> | Collected errors:
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for
> |  packagegroup-core-standalone-hhvm-sdk-target: *    libacl1 (>= 2.2.51) *
> |  * opkg_install_cmd: Cannot install package
> |  packagegroup-core-standalone-hhvm-sdk-target.
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta/recipes-core/coreutils/coreutils_8.14.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb
> b/meta/recipes-core/coreutils/coreutils_8.14.bb index 04c9eb2..71c4cdf
> 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.14.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
> @@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
>  SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
>  SRC_URI[sha256sum] =
> "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
> 
> +EXTRA_OECONF = "--disable-acl"
>  EXTRA_OECONF_class-native = "--without-gmp"
> 
>  # [ df mktemp base64 gets a special treatment and is not included in this

Presumably the "acl" recipe will no longer work if this is done... ?

Cheers,
Paul
Paul Eggleton - March 22, 2013, 2:01 p.m.
On Friday 22 March 2013 13:58:35 Paul Eggleton wrote:
> On Friday 22 March 2013 14:53:43 Marcin Juszkiewicz wrote:
> > Coreutils does not depend on ACL but also does not disable it. Effect is
> > that from time to time I have a copy in sstate-cache which got built
> > 
> > with ACL and then I have problem while building images or sdk:
> > | Collected errors:
> > |  * satisfy_dependencies_for: Cannot satisfy the following dependencies
> > |  for
> > |  packagegroup-core-standalone-hhvm-sdk-target: *    libacl1 (>= 2.2.51)
> > |  *
> > |  * opkg_install_cmd: Cannot install package
> > |  packagegroup-core-standalone-hhvm-sdk-target.
> > 
> > Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> > ---
> > 
> >  meta/recipes-core/coreutils/coreutils_8.14.bb | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb
> > b/meta/recipes-core/coreutils/coreutils_8.14.bb index 04c9eb2..71c4cdf
> > 100644
> > --- a/meta/recipes-core/coreutils/coreutils_8.14.bb
> > +++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
> > @@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
> > 
> >  SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
> >  SRC_URI[sha256sum] =
> > 
> > "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
> > 
> > +EXTRA_OECONF = "--disable-acl"
> > 
> >  EXTRA_OECONF_class-native = "--without-gmp"
> >  
> >  # [ df mktemp base64 gets a special treatment and is not included in this
> 
> Presumably the "acl" recipe will no longer work if this is done... ?

Er, I think I had this backwards. Please ignore, sorry for the noise.

Cheers,
Paul
Richard Purdie - March 22, 2013, 2:08 p.m.
On Fri, 2013-03-22 at 14:53 +0100, Marcin Juszkiewicz wrote:
> Coreutils does not depend on ACL but also does not disable it. Effect is
> that from time to time I have a copy in sstate-cache which got built
> with ACL and then I have problem while building images or sdk:
> 
> | Collected errors:
> |  * satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-standalone-hhvm-sdk-target:
> |  *    libacl1 (>= 2.2.51) *
> |  * opkg_install_cmd: Cannot install package packagegroup-core-standalone-hhvm-sdk-target.
> 
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta/recipes-core/coreutils/coreutils_8.14.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb
> index 04c9eb2..71c4cdf 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.14.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
> @@ -21,6 +21,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
>  SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
>  SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
>  
> +EXTRA_OECONF = "--disable-acl"
>  EXTRA_OECONF_class-native = "--without-gmp"


Doesn't the -native override need this as well?

Cheers,

Richard

Patch

diff --git a/meta/recipes-core/coreutils/coreutils_8.14.bb b/meta/recipes-core/coreutils/coreutils_8.14.bb
index 04c9eb2..71c4cdf 100644
--- a/meta/recipes-core/coreutils/coreutils_8.14.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.14.bb
@@ -21,6 +21,7 @@  SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
 SRC_URI[md5sum] = "bcb135ce553493a45aba01b39eb3920a"
 SRC_URI[sha256sum] = "0d120817c19292edb19e92ae6b8eac9020e03d51e0af9cb116cf82b65d18b02d"
 
+EXTRA_OECONF = "--disable-acl"
 EXTRA_OECONF_class-native = "--without-gmp"
 
 # [ df mktemp base64 gets a special treatment and is not included in this