Skip to contentSkip to conversation

python3-lxml: ignore incompatible-pointer-types issues in native build

PATCH New Martin Jansa 1 participant 1 message Oct 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-lxml: ignore incompatible-pointer-types issues in native build

* to allow building native version on hosts with gcc-14
* it's properly fixed in 5.0.2 version sent to oe-core/scarthgap in:
https://lists.openembedded.org/g/openembedded-core/message/206391
but for kirkstone we can just demote the issue back to warning

* fixes:
https://bugs.launchpad.net/lxml/+bug/2045435

---
 meta-python/recipes-devtools/python/python3-lxml_4.8.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-lxml_4.8.0.bb +2 -0
index 0c78d97abd..afb76d8c54 100644
@@ -41,3 +41,5 @@ BBCLASSEXTEND = "native nativesdk"
 RDEPENDS:${PN} += "libxml2 libxslt ${PYTHON_PN}-compression"
 
 CLEANBROKEN = "1"
+
+BUILD_CFLAGS += "-Wno-error=incompatible-pointer-types"
Signature · 1 line
2.47.0