Skip to contentSkip to conversation

glibc-testsuite: Depend on virtual/libc-locale instead of glibc-locale

PATCH In review Peter Kjellerstedt 2 participants 2 messages Sep 11, 2019 – Sep 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glibc-testsuite: Depend on virtual/libc-locale instead of glibc-locale

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

---

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(-)
meta/recipes-core/glibc/glibc-testsuite_2.30.bb +1 -1
index 64fa8d87df..170e865cb0 100644
@@ -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"
Signature · 1 line
2.21.0
#1 lore raw
Quoted 10 lines · Peter Kjellerstedt

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

Quoted 5 lines

---

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

Quoted 25 lines
 meta/recipes-core/glibc/glibc-testsuite_2.30.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-testsuite_2.30.bb +1 -2
index 64fa8d87df..170e865cb0 100644
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core