Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-20 Thread Sanjuán García , Jorge via lists . openembedded . org
ython3/3.13.2 ' '-pipe', There are still some 'prefix-map' stuff that is not properly being replaced because the do_install() task is doing this sed expression `-e "s,${B},/build/path/unavailable/,g"`. We could probably move that to `py_

Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-20 Thread Sanjuán García , Jorge via lists . openembedded . org
t is meant to when removing DEBUG_PREFIX_MAP. Regards, Jorge De: Alexander Kanavin Enviado: miércoles, 19 de febrero de 2025 14:28 Para: Sanjuán García, Jorge Cc: openembedded-core@lists.openembedded.org Asunto: Re: [OE-core] [PATCH] python3: Remove DEBUG_

Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-20 Thread Alexander Kanavin via lists.openembedded.org
On Thu, 20 Feb 2025 at 08:00, Sanjuán García, Jorge wrote: > There are still some 'prefix-map' stuff that is not properly being replaced > because the do_install() task is > doing this sed expression `-e "s,${B},/build/path/unavailable/,g"`. We could > probably move that to > `py_package_prepro

Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-19 Thread Alexander Kanavin via lists.openembedded.org
On Wed, 19 Feb 2025 at 16:47, Sanjuán García, Jorge wrote: > The reason I found this is beacause I was trying to do something that > required building python extensions on a host were the compilation flag > `-fcanon-prefix-map` was invalid as that was introduced with gcc13. However, > looking a

Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-19 Thread Alexander Kanavin via lists.openembedded.org
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 20

[OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-19 Thread Sanjuán García , Jorge via lists . openembedded . org
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 --- m