From: Martin Jansa <[email protected]>

https://lists.gnu.org/archive/html/bug-libunistring/2026-02/msg00001.html

glibc-2.43 isn't used in OE builds yet, but this fixes libunistring-native:
https://errors.yoctoproject.org/Errors/Details/903980/
unistring-native/1.4.1/recipe-sysroot-native/usr/include  
-isystemTOPDIR/tmp/work/x86_64-linux/libunistring-native/1.4.1/recipe-sysroot-native/usr/include
 -O2 -pipe -c ../../sources/libunistring-1.4.1/lib/amemxfrm.c
In file included from /usr/include/features.h:540,
                 from /usr/include/errno.h:25,
                 from ../../sources/libunistring-1.4.1/lib/amemxfrm.c:23:
./stdlib.h:807:20: error: expected identifier or ‘(’ before ‘_Generic’
  807 | _GL_EXTERN_C void *bsearch (const void *__key,
      |                    ^~~~~~~
make[2]: *** [Makefile:10166: config.h] Error 1

Signed-off-by: Martin Jansa <[email protected]>
---
 .../{libunistring_1.4.1.bb => libunistring_1.4.2.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-support/libunistring/{libunistring_1.4.1.bb => 
libunistring_1.4.2.bb} (93%)

diff --git a/meta/recipes-support/libunistring/libunistring_1.4.1.bb 
b/meta/recipes-support/libunistring/libunistring_1.4.2.bb
similarity index 93%
rename from meta/recipes-support/libunistring/libunistring_1.4.1.bb
rename to meta/recipes-support/libunistring/libunistring_1.4.2.bb
index 791f4983ed..8f6cc27193 100644
--- a/meta/recipes-support/libunistring/libunistring_1.4.1.bb
+++ b/meta/recipes-support/libunistring/libunistring_1.4.2.bb
@@ -21,7 +21,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
 DEPENDS = "gperf-native"
 
 SRC_URI = "${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz"
-SRC_URI[sha256sum] = 
"12542ad7619470efd95a623174dcd4b364f2483caf708c6bee837cb53a54cb9d"
+SRC_URI[sha256sum] = 
"e82664b170064e62331962126b259d452d53b227bb4a93ab20040d846fec01d8"
 
 inherit autotools texinfo
 BBCLASSEXTEND = "native nativesdk"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#232505): 
https://lists.openembedded.org/g/openembedded-core/message/232505
Mute This Topic: https://lists.openembedded.org/mt/118156600/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to