On Tue, Dec 2, 2025 at 10:27 PM Changqing Li via lists.openembedded.org < [email protected]> wrote:
> From: Changqing Li <[email protected]> > > When libeconf is installed on the host and GCC from extended buildtools > is used, the host’s libeconf is detected and -DUSE_ECONF=1 gets enabled. > However, the buildtools GCC cannot see the host header files, causing > the shadow-native do_compile fail with error: > ../../shadow-4.17.3/lib/getdef.c:22:10: fatal error: libeconf.h: No such > file or directory > > This patch disable econf to workaround above issue. > > Signed-off-by: Changqing Li <[email protected]> > --- > meta/recipes-extended/shadow/shadow_4.18.0.bb | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/meta/recipes-extended/shadow/shadow_4.18.0.bb > b/meta/recipes-extended/shadow/shadow_4.18.0.bb > index ba65fc7196..42d0d54b3a 100644 > --- a/meta/recipes-extended/shadow/shadow_4.18.0.bb > +++ b/meta/recipes-extended/shadow/shadow_4.18.0.bb > @@ -46,6 +46,8 @@ EXTRA_OECONF += " \ > --without-sssd \ > ${NSCDOPT}" > > +CACHED_CONFIGUREVARS:class-native += "ac_cv_lib_econf_econf_readDirs=no" > + > I think it would be good to add it to all shadow recipe classes. > CFLAGS:append:libc-musl = " -DLIBBSD_OVERLAY" > > NSCDOPT = "" > -- > 2.34.1 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#227235): https://lists.openembedded.org/g/openembedded-core/message/227235 Mute This Topic: https://lists.openembedded.org/mt/116590532/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
