We're not seeing the problem on the autobuilder (which has checks for host paths leaking into target installations). And I'm not seeing it in my local build.
Can you show an example of this happening? So that it's clear what isn't being correctly removed without this fix. Alex On Wed, 19 Feb 2025 at 14:03, Sanjuán García, Jorge via lists.openembedded.org <Jorge.SanjuanGarcia=duagon....@lists.openembedded.org> wrote: > > Paths in DEBUG_PREFIX_MAP are not being removed from sysconfigdata > files correctly as they are split into line separated values. Update > the sed command so that it uses any matching patern from > DEBUG_PREFIX_MAP instead an exact match of the full variable. > > Signed-off-by: Jorge Sanjuan Garcia <jorge.sanjuangar...@duagon.com> > --- > meta/recipes-devtools/python/python3_3.13.2.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-devtools/python/python3_3.13.2.bb > b/meta/recipes-devtools/python/python3_3.13.2.bb > index 52fac76c00..656a73f501 100644 > --- a/meta/recipes-devtools/python/python3_3.13.2.bb > +++ b/meta/recipes-devtools/python/python3_3.13.2.bb > @@ -291,10 +291,12 @@ SSTATE_HASHEQUIV_FILEMAP = " \ > " > PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess" > > +DEBUG_PREFIX_MAP_REGEX = > "${@'\\|'.join(d.getVar('DEBUG_PREFIX_MAP').split())}" > + > py_package_preprocess () { > # Remove references to buildmachine paths in target Makefile and > _sysconfigdata > sed -i -e 's:--sysroot=${STAGING_DIR_TARGET}::g' -e > s:'--with-libtool-sysroot=${STAGING_DIR_TARGET}'::g \ > - -e 's|${DEBUG_PREFIX_MAP}||g' \ > + -e 's:${DEBUG_PREFIX_MAP_REGEX}::g' \ > -e 's:${HOSTTOOLS_DIR}/::g' \ > -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ > -e 's:${RECIPE_SYSROOT}::g' \ > -- > 2.43.0 > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#211708): https://lists.openembedded.org/g/openembedded-core/message/211708 Mute This Topic: https://lists.openembedded.org/mt/111268642/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-