Bug 2261034

Summary: python-lxml: xslt.pxi: calls to _copyXSLT() cast to the wrong type - lxml fails to build with GCC 14
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-lxmlAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, igor.raits, lbalhar, me, mhroncok, mizdebsk, python-maint, python-packagers-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-lxml-5.1.0-5.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-07 14:59:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2137509, 2137516, 2231791, 2244836    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2024-01-29 19:10:23 UTC
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/

Comment 1 Fedora Release Engineering 2024-01-29 19:10:30 UTC
Created attachment 2011629 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2024-01-29 19:10:35 UTC
Created attachment 2011630 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2024-01-29 19:10:38 UTC
Created attachment 2011631 [details]
state.log

Comment 4 Miro Hrončok 2024-01-29 19:29:20 UTC
Reported upstream: https://bugs.launchpad.net/lxml/+bug/2051243

Comment 5 Miro Hrončok 2024-02-07 10:02:14 UTC
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.

Comment 6 Fedora Update System 2024-02-07 13:28:50 UTC
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

Comment 7 Fedora Update System 2024-02-07 14:59:34 UTC
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.

Comment 8 Miro Hrončok 2024-02-27 17:16:46 UTC
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"