Bug 2261602 - python-scikit-learn: FTBFS in Fedora rawhide/f40
Summary: python-scikit-learn: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scikit-learn
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-01-29 21:53 UTC by Fedora Release Engineering
Modified: 2024-03-23 00:39 UTC (History)
5 users (show)

Fixed In Version: python-scikit-learn-1.4.1.post1-2.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-03-23 00:39:14 UTC
Type: ---
Embargoed:


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


Links
System ID Private Priority Status Summary Last Updated
Github cython cython issues 2747 0 None open 'final' subclasses produce suboptimal self casts 2024-03-12 12:08:27 UTC
Github cython cython issues 6033 0 None closed [BUG] Incompatible pointer in inlined method of derived class 2024-03-12 12:08:23 UTC
Github scikit-learn scikit-learn issues 28530 0 None open BUILD gcc14 cannot compile scikit-learn 2024-03-12 12:08:29 UTC

Description Fedora Release Engineering 2024-01-29 21:53:39 UTC
python-scikit-learn failed to build from source in Fedora rawhide/f40

https://koji.fedoraproject.org/koji/taskinfo?taskID=112398882


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
Please fix python-scikit-learn 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-scikit-learn will be orphaned. Before branching of Fedora 41,
python-scikit-learn 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 21:53:46 UTC
Created attachment 2013282 [details]
build.log

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

Comment 2 Fedora Release Engineering 2024-01-29 21:53:51 UTC
Created attachment 2013283 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 21:53:54 UTC
Created attachment 2013284 [details]
state.log

Comment 4 Sergio Pascual 2024-02-24 21:50:41 UTC
So the problem appears in some inlined methods of a cython class. The method receives a pointer to the base class instead of a pointer of the derived class. But it only happens if the method is inline.

If have reported the problem in cython upstream

Comment 5 Miro Hrončok 2024-02-27 17:17:13 UTC
For the record, I proposed https://src.fedoraproject.org/rpms/Cython/pull-request/57 to add #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"

Comment 6 Fedora Update System 2024-03-16 18:51:06 UTC
FEDORA-2024-567f4d397a (python-scikit-learn-1.4.1.post1-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-567f4d397a

Comment 7 Fedora Update System 2024-03-17 01:18:56 UTC
FEDORA-2024-567f4d397a has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-567f4d397a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-567f4d397a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-03-23 00:39:14 UTC
FEDORA-2024-567f4d397a (python-scikit-learn-1.4.1.post1-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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