Bug 2261034 - python-lxml: xslt.pxi: calls to _copyXSLT() cast to the wrong type - lxml fails to build with GCC 14
Summary: python-lxml: xslt.pxi: calls to _copyXSLT() cast to the wrong type - lxml fai...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-lxml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernC PortingToModernCExemptions F40FTBFS PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-01-29 19:10 UTC by Fedora Release Engineering
Modified: 2024-02-27 17:16 UTC (History)
8 users (show)

Fixed In Version: python-lxml-5.1.0-5.fc40
Clone Of:
Environment:
Last Closed: 2024-02-07 14:59:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2024-01-29 19:10 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 19:10 UTC, Fedora Release Engineering
no flags Details
state.log (1.65 KB, text/plain)
2024-01-29 19:10 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-lxml pull-request 39 0 None None None 2024-02-07 10:02:14 UTC
Launchpad.net lxml/+bug/2051243 0 None None None 2024-01-29 19:29:20 UTC

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"


Note You need to log in before you can comment on or make changes to this bug.