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
Upstream appears rather dormant. Last commit was half a year ago.
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
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.