Bug 2261602

Summary: python-scikit-learn: FTBFS in Fedora rawhide/f40
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-scikit-learnAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: besser82, igor.raits, ksurma, mhroncok, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-scikit-learn-1.4.1.post1-2.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-23 00:39:14 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: 2231791, 2244836    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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.