python-lxml failed to build from source in Fedora rawhide/f40 https://koji.fedoraproject.org/koji/taskinfo?taskID=112206614 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Please fix python-lxml at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, python-lxml will be orphaned. Before branching of Fedora 41, python-lxml will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2011629 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2011630 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2011631 [details] state.log
Reported upstream: https://bugs.launchpad.net/lxml/+bug/2051243
I've opened https://src.fedoraproject.org/rpms/python-lxml/pull-request/39 as a workaround. Will close this, as I don't think tracking the removal of the workaround in bugzilla is necessary.
FEDORA-2024-301a570130 (python-lxml-5.1.0-5.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-301a570130
FEDORA-2024-301a570130 (python-lxml-5.1.0-5.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
For the record, this code is generated by cython. I proposed https://src.fedoraproject.org/rpms/Cython/pull-request/57 to add #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"