[OE-core] [PATCH] glibc-testsuite: Depend on virtual/libc-locale instead of glibc-locale
Nathan Rossi
nathan at nathanrossi.com
Fri Sep 13 07:49:25 UTC 2019
On Thu, 12 Sep 2019 at 02:00, Peter Kjellerstedt
<peter.kjellerstedt at axis.com> wrote:
>
> This avoids the following error when using some other toolchain than
> the one provided by OE-Core:
>
> ERROR: Nothing PROVIDES 'glibc-locale' (but
> .../meta/recipes-core/glibc/glibc-testsuite_2.30.bb DEPENDS on or
> otherwise requires it)
> glibc-locale was skipped: PREFERRED_PROVIDER_virtual/libc-locale set
> to some-other-glibc-locale, not glibc-locale
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
> ---
>
> I doubt glibc-testsuite will work when another toolchain is used, but
> with this change it does at least not fail the build anymore.
Just thinking about this a bit more, this recipe really only works
correctly if libc == glibc. So this should instead be a skiprecipe
based on PREFRRED_PROVIDER_virtual/libc and _virtual/libc-locale. I
have sent out a patch that does that, please give it a test and let me
know if that does not resolve the errors you are getting.
Thanks,
Nathan
>
> meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
> index 64fa8d87df..170e865cb0 100644
> --- a/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
> +++ b/meta/recipes-core/glibc/glibc-testsuite_2.30.bb
> @@ -8,7 +8,7 @@ PROVIDES = ""
> # setup depends
> INHIBIT_DEFAULT_DEPS = ""
>
> -DEPENDS += "glibc-locale libgcc gcc-runtime"
> +DEPENDS += "virtual/libc-locale libgcc gcc-runtime"
>
> # remove the initial depends
> DEPENDS_remove = "libgcc-initial"
> --
> 2.21.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list