On 2026-10-02 10:25, Mathieu Dubois-Briand wrote:
Does it build on your side? Here I get this error:

| ../../sources/shadow-4.20.3/lib/commonio.c: In function ‘dec_lock_count’:
| ../../sources/shadow-4.20.3/lib/commonio.c:425:51: error: passing argument 1 
of ‘nscd_flush_cache’ makes integer from pointer without a cast 
[-Wint-conversion]
|   425 |                                 nscd_flush_cache ("passwd");
|       |                                                   ^~~~~~~~
|       |                                                   |
|       |                                                   char *

https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4753


Hi Mathieu,

This is my favorite musl build failure :(

Based on AUH logs, poky-tiny builds against musl (arm-poky-linux-musleabi in the log), and the shadow recipe only turns on NSCD for glibc (NSCDOPT:libc-glibc = "--with-nscd").

So on musl it builds without NSCD and compiles the broken nscd.h fallback stub, which fails on GCC 14.

My local build was glibc, so NSCD was enabled and the broken stub was never compiled.


I will send V2 with upstream fix which was merged yesterday .

https://github.com/shadow-maint/shadow/commit/b8d3549a49acfe967f45aebaf06d474c82c46d2


Regards,

Jaipaul

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247102): 
https://lists.openembedded.org/g/openembedded-core/message/247102
Mute This Topic: https://lists.openembedded.org/mt/121542789/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to