Bug 1959353 - scipy fails to build in Fedora rawhide on aarch64, ppc64le, s390x
Summary: scipy fails to build in Fedora rawhide on aarch64, ppc64le, s390x
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: scipy
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Forró
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: ARMTracker ZedoraTracker PPCTracker
TreeView+ depends on / blocked
 
Reported: 2021-05-11 10:55 UTC by Miro Hrončok
Modified: 2022-12-13 15:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-13 15:22:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2021-05-11 10:55:49 UTC
Description of problem:
Package scipy fails to build from source in Fedora rawhide on aarch64, ppc64le and s390x.

aarch64 and s390x:

=========================== short test summary info ============================
FAILED scipy/linalg/tests/test_solvers.py::test_solve_discrete_are - Assertio...
= 1 failed, 41336 passed, 2247 skipped, 103 xfailed, 7 xpassed, 40 warnings in 459.85s (0:07:39) =

ppc64le:

=========================== short test summary info ============================
FAILED scipy/cluster/tests/test_vq.py::TestKMean::test_kmeans2_init
FAILED scipy/cluster/tests/test_vq.py::TestKMean::test_krandinit
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_const_jac
FAILED scipy/integrate/tests/test_integrate.py::TestComplexOde::test_vode
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_events
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[Radau]
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[LSODA]
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration_stiff[BDF]
FAILED scipy/sparse/tests/test_base.py::TestCOO::test_expm
FAILED scipy/signal/tests/test_signaltools.py::TestLFilterZI::test_basic
FAILED scipy/spatial/tests/test_slerp.py::TestGeometricSlerp::test_handle_antipodes[start1-end1-warning]
FAILED scipy/optimize/tests/test__remove_redundancy.py::TestRRSVD::test_m_gt_n
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_first_step
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[complex128-True]
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[complex128-False]
FAILED scipy/stats/tests/test_kdeoth.py::test_kde_2d
FAILED scipy/integrate/tests/test_integrate.py::TestZVODECheckParameterUse::test_no_params
FAILED scipy/optimize/tests/test_trustregion.py::TestTrustRegionSolvers::test_dogleg_accuracy
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_args
FAILED scipy/stats/tests/test_kdeoth.py::test_logpdf_overflow
FAILED scipy/linalg/tests/test_basic.py::TestSolve::test_random
FAILED scipy/integrate/tests/test_integrate.py::TestVODECheckParameterUse::test_one_scalar_param
FAILED scipy/linalg/tests/test_lapack.py::test_tfsm
FAILED scipy/sparse/linalg/tests/test_expm_multiply.py::TestExpmActionInterval::test_expm_multiply_interval_status_2
FAILED scipy/linalg/tests/test_basic.py::TestSolve::test_random_complex
FAILED scipy/sparse/tests/test_base.py::TestCSCNonCanonical::test_expm
FAILED scipy/signal/tests/test_signaltools.py::TestResample::test_poly_vs_filtfilt
FAILED scipy/integrate/_ivp/tests/test_ivp.py::test_integration
FAILED scipy/signal/tests/test_signaltools.py::TestLFilterZI::test_scale_invariance
FAILED scipy/sparse/tests/test_base.py::TestDOK::test_expm
FAILED scipy/optimize/tests/test__spectral.py::test_linear_definite
FAILED scipy/spatial/tests/test_distance.py::TestCdist::test_cdist_extra_args
FAILED scipy/signal/tests/test_ltisys.py::TestImpulse::test_06
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-True]
FAILED scipy/optimize/tests/test_linprog.py::TestAutoscaleIP::test_bug_6690
FAILED scipy/optimize/tests/test__remove_redundancy.py::TestRRPivotDense::test_m_gt_n
FAILED scipy/interpolate/tests/test_interpnd.py::TestLinearNDInterpolation::test_smoketest_alternate
FAILED scipy/linalg/tests/test_lapack.py::test_pptrs_pptri_pptrf_ppsv_ppcon[float32-False]
FAILED scipy/linalg/tests/test_decomp.py::TestEigh::test_eigh[6-d-True-False-True-None]
= 39 failed, 27870 passed, 1707 skipped, 73 xfailed, 3 xpassed, 5 warnings in 830.80s (0:13:50) =


This is important for the planned Python 3.10 update: https://fedoraproject.org/wiki/Changes/Python3.10

We do regular Copr test rebuilds with Python 3.10 only on x86_64, so we have no idea if the failures also happen with Python 3.10, but I suspect they do.
Once we proceed with the actual Python mass rebuild in a Koji side tag (~end of May/start of June 2021, once Python 3.10.0b2 is released), failures on other architectures will block us.

Since scipy is an important Python package that many other packages (transitively) require, I've set the severity to high.

Please ideally at least workaround this issue (e.g. by deselecting some tests temporarily on the affected architectures) before 2021-05-25. If you don't, we'll need to do it as provenpackagers, but our way of doing it might not be ideal to you, as the maintainer.

Thanks.

Version-Release number of selected component:
1.6.2-3.fc35

Steps to Reproduce:
fedpkg --release rawhide build --scratch

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/scipy
See https://koji.fedoraproject.org/koji/taskinfo?taskID=67683557 for architectures not tracked in Koschei.

Comment 1 Miro Hrončok 2021-06-02 10:34:09 UTC
We have started the Python 3.10 rebuild.

Comment 2 Miro Hrončok 2021-06-03 09:01:38 UTC
A workaround: https://src.fedoraproject.org/rpms/scipy/pull-request/19

Comment 3 Miro Hrončok 2021-06-04 20:03:26 UTC
Workaround applied.

Comment 4 Ben Cotton 2021-08-10 13:02:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 5 Ben Cotton 2022-11-29 16:56:53 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 6 Ben Cotton 2022-12-13 15:22:48 UTC
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13.

Fedora Linux 35 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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