Bug 2333486 - python-gradunwarp: FTBFS in Fedora Rawhide
Summary: python-gradunwarp: FTBFS in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-gradunwarp
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: NUMPY2
TreeView+ depends on / blocked
 
Reported: 2024-12-20 11:33 UTC by Sandro
Modified: 2024-12-24 10:55 UTC (History)
3 users (show)

Fixed In Version: python-gradunwarp-1.2.3-2.fc42
Clone Of:
Environment:
Last Closed: 2024-12-24 10:55:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Washington-University gradunwarp issues 20 0 None open Build fails with NumPy 2.x 2024-12-20 11:34:51 UTC

Description Sandro 2024-12-20 11:33:25 UTC
Description of problem:
Package python-gradunwarp fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.2.2-6.fc41

Steps to Reproduce:
koji build --scratch f42 python-gradunwarp-1.2.2-6.fc41.src.rpm

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

Reproducible: Always

Actual Results:  
  gradunwarp/core/interp3_ext.c: In function ‘interp3’:
  gradunwarp/core/interp3_ext.c:93:31: error: lvalue required as left operand of assignment
     93 |         PyArray_FLAGS(result) |= NPY_OWNDATA;
        |                               ^~
  gradunwarp/core/interp3_ext.c:97:51: warning: passing argument 1 of ‘(PyObject * (*)(PyObject *))*(PyArray_API + 784)’ from incompatible pointer type [-Wincompatible-pointer-types]
     97 |     itr_v = (PyArrayIterObject *) PyArray_IterNew(result);
        |                                                   ^~~~~~
        |                                                   |
        |                                                   PyArrayObject * {aka struct tagPyArrayObject_fields *}
  gradunwarp/core/interp3_ext.c:97:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’}
  gradunwarp/core/interp3_ext.c:98:51: warning: passing argument 1 of ‘(PyObject * (*)(PyObject *))*(PyArray_API + 784)’ from incompatible pointer type [-Wincompatible-pointer-types]
     98 |     itr_r = (PyArrayIterObject *) PyArray_IterNew(R);
        |                                                   ^
        |                                                   |
        |                                                   PyArrayObject * {aka struct tagPyArrayObject_fields *}
  gradunwarp/core/interp3_ext.c:98:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’}
  gradunwarp/core/interp3_ext.c:99:51: warning: passing argument 1 of ‘(PyObject * (*)(PyObject *))*(PyArray_API + 784)’ from incompatible pointer type [-Wincompatible-pointer-types]
     99 |     itr_c = (PyArrayIterObject *) PyArray_IterNew(C);
        |                                                   ^
        |                                                   |
        |                                                   PyArrayObject * {aka struct tagPyArrayObject_fields *}
  gradunwarp/core/interp3_ext.c:99:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’}
  gradunwarp/core/interp3_ext.c:100:51: warning: passing argument 1 of ‘(PyObject * (*)(PyObject *))*(PyArray_API + 784)’ from incompatible pointer type [-Wincompatible-pointer-types]
    100 |     itr_s = (PyArrayIterObject *) PyArray_IterNew(S);
        |                                                   ^
        |                                                   |
        |                                                   PyArrayObject * {aka struct tagPyArrayObject_fields *}
  gradunwarp/core/interp3_ext.c:100:51: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’}
  gradunwarp/core/interp3_ext.c:123:16: warning: returning ‘PyArrayObject *’ {aka ‘struct tagPyArrayObject_fields *’} from a function with incompatible return type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
    123 |         return result;
        |                ^~~~~~
  error: command '/usr/bin/gcc' failed with exit code 1

Comment 1 Sandro 2024-12-20 11:34:52 UTC
Upstream appears rather dormant. Last commit was half a year ago.

Comment 2 Fedora Update System 2024-12-24 10:52:46 UTC
FEDORA-2024-e564974f16 (python-gradunwarp-1.2.3-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e564974f16

Comment 3 Fedora Update System 2024-12-24 10:55:50 UTC
FEDORA-2024-e564974f16 (python-gradunwarp-1.2.3-2.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.