[OE-core] [PATCH] glibc-testsuite: Depend on virtual/libc-locale instead of glibc-locale

Peter Kjellerstedt peter.kjellerstedt at axis.com
Wed Sep 11 16:00:16 UTC 2019


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.

 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



More information about the Openembedded-core mailing list