On Fri, Feb 20, 2026 at 9:49 AM Geoff Parker via
lists.openembedded.org <[email protected]>
wrote:
>
> The recent workaround for https://github.com/swiftlang/swift/issues/69311
> breaks python3-m2crypto-native, with error about missing e_os2.h file in
> recipe-sysroot-native.
>
> Apply do_configure:prepend to class-target only to fix.

I will pick the scarthgap patch after it has been merged in master. Is
this applicable to whinlatter branch as well?

>
> Signed-off-by: Geoff Parker <[email protected]>
> ---
>  meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb 
> b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
> index dce459477f..24e6ef9b32 100644
> --- a/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb
> @@ -46,7 +46,7 @@ export SWIG_FEATURES
>
>  export STAGING_DIR
>
> -do_configure:prepend() {
> +do_configure:prepend:class-target() {
>      # workaround for https://github.com/swiftlang/swift/issues/69311
>      sed -i "/sys\/types.h/d" ${RECIPE_SYSROOT}${includedir}/openssl/e_os2.h
>  }
> --
> 2.39.5
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124607): 
https://lists.openembedded.org/g/openembedded-devel/message/124607
Mute This Topic: https://lists.openembedded.org/mt/117903868/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to