Bug 2336933 - plplot: FTBFS in Fedora Rawhide: TypeError: 'numpy.float64' object cannot be interpreted as an integer
Summary: plplot: FTBFS in Fedora Rawhide: TypeError: 'numpy.float64' object cannot be ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plplot
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F42FTBFS PYTHON3.14 NUMPY2
TreeView+ depends on / blocked
 
Reported: 2025-01-10 14:51 UTC by Karolina Surma
Modified: 2025-01-12 00:19 UTC (History)
2 users (show)

Fixed In Version: plplot-5.15.0-75.fc42
Clone Of:
Environment:
Last Closed: 2025-01-12 00:19:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-01-10 14:51:35 UTC
Description of problem:
Package plplot fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
5.15.0-73.fc42

Steps to Reproduce:
koji build --scratch f42 plplot-5.15.0-73.fc42.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/plplot

Reproducible: Always

Actual Results:  
 2/29 Test  #5: examples_python ..................***Failed    1.21 sec
Testing front-end python
x00
x01
x02
x03
x04
x05
x06
x07
x08
Traceback (most recent call last):
  File "/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/examples/python/x08", line 37, in <module>
    x08.main(w)
    ~~~~~~~~^^^
  File "/builddir/build/BUILD/plplot-5.15.0-build/plplot-5.15.0/redhat-linux-build/examples/python/x08.py", line 107, in main
    square_root = sqrt(1. - min(1., ((double(i) - x0)/a)**2))
                            ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.14/site-packages/numpy/_core/fromnumeric.py", line 3302, in min
    return _wrapreduction(a, np.minimum, 'min', axis, None, out,
                          keepdims=keepdims, initial=initial, where=where)
  File "/usr/lib64/python3.14/site-packages/numpy/_core/fromnumeric.py", line 86, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
           ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'numpy.float64' object cannot be interpreted as an integer

Comment 1 Fedora Update System 2025-01-12 00:14:07 UTC
FEDORA-2025-1cf54e18f0 (plplot-5.15.0-75.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1cf54e18f0

Comment 2 Fedora Update System 2025-01-12 00:19:56 UTC
FEDORA-2025-1cf54e18f0 (plplot-5.15.0-75.fc42) has been pushed to the Fedora 42 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.