python3-m2crypto: fix python3-m2crypto-native do_configure:prepend()
PATCH 1/1 python3-m2crypto: fix python3-m2crypto-native do_configure:prepend()
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.
--- meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +1 -1
@@ -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 }
Signature · 1 line
2.39.5
Quoted 6 lines · Geoff Parker via lists.openembedded.org
The recent workaround for https://github.com/swiftlang/swift/issues/69311
breaks python3-m2crypto-native, with error about missinge_os2.hfile 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?
Quoted 31 lines
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(-)meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +1
-2@@ -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 (#124519): https://lists.openembedded.org/g/openembedded-devel/message/124519
Mute This Topic: https://lists.openembedded.org/mt/117903868/3616702
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Anuj,
Yes is applies to whinlatter also. I had submitted a patch to openembedded master a few hours before submitting for scarthgap:
https://lore.kernel.org/all/[email protected]/
Quoted 51 lines · Anuj Mittal
Quoted 2 lines · Geoff Parker via lists.openembedded.org
The recent workaround for
https://github.com/swiftlang/swift/issues/69311
Quoted 4 lines
breaks python3-m2crypto-native, with error about missing
e_os2.hfile 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?
Review
Quoted 7 lines
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(-)(quoted diff) +0
-0python3-m2crypto_0.40.1.bb b/meta-python/recipes-devtools/python/ python3-m2crypto_0.40.1.bb
meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb export SWIG_FEATURES · line 51
Quoted 11 lines
index
dce459477f..24e6ef9b32100644meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +1
-1@@ -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.hQuoted 8 lines
meta-python/recipes-devtools/python/python3-m2crypto_0.40.1.bb +0
-1} --2.39.5
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#124519):https://lists.openembedded.org/g/openembedded-devel/message/124519
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/117903868/3616702
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-