Skip to content

numpy 2.4.4 #4783

Description

@predators46

cross compile

gcc 14
numpy 2.4.4
python 3.14

2026-04-06T10:48:37.5954906Z In file included from /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarrayobject.h:12,
2026-04-06T10:48:37.5956638Z                  from /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/arrayobject.h:5,
2026-04-06T10:48:37.5958006Z                  from examples/pybullet/pybullet.c:56:
2026-04-06T10:48:37.5959950Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.5962052Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.5962573Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~
2026-04-06T10:48:37.6066186Z examples/pybullet/pybullet.c:10262:53: error: passing argument 1 of 'PyArray_DATA' from incompatible pointer type [-Wincompatible-pointer-types]
2026-04-06T10:48:37.6067432Z 10262 |                                 memcpy(PyArray_DATA(pyDep), imageData.m_depthValues,
2026-04-06T10:48:37.6068058Z       |                                                     ^~~~~
2026-04-06T10:48:37.6068521Z       |                                                     |
2026-04-06T10:48:37.6069234Z       |                                                     PyObject * {aka struct _object *}
2026-04-06T10:48:37.6071299Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.6073166Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.6073587Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~
2026-04-06T10:48:37.6176515Z examples/pybullet/pybullet.c:10264:53: error: passing argument 1 of 'PyArray_DATA' from incompatible pointer type [-Wincompatible-pointer-types]
2026-04-06T10:48:37.6178126Z 10264 |                                 memcpy(PyArray_DATA(pySeg), imageData.m_segmentationMaskValues,
2026-04-06T10:48:37.6178990Z       |                                                     ^~~~~
2026-04-06T10:48:37.6179586Z       |                                                     |
2026-04-06T10:48:37.6180281Z       |                                                     PyObject * {aka struct _object *}
2026-04-06T10:48:37.6182375Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.6184899Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.6185508Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~
2026-04-06T10:48:37.6231237Z examples/pybullet/pybullet.c: In function 'pybullet_renderImageObsolete':
2026-04-06T10:48:37.6309874Z examples/pybullet/pybullet.c:10686:53: error: passing argument 1 of 'PyArray_DATA' from incompatible pointer type [-Wincompatible-pointer-types]
2026-04-06T10:48:37.6312624Z 10686 |                                 memcpy(PyArray_DATA(pyRGB), imageData.m_rgbColorData,
2026-04-06T10:48:37.6314032Z       |                                                     ^~~~~
2026-04-06T10:48:37.6315019Z       |                                                     |
2026-04-06T10:48:37.6315590Z       |                                                     PyObject * {aka struct _object *}
2026-04-06T10:48:37.6320279Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.6323899Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.6326905Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~
2026-04-06T10:48:37.6401430Z examples/pybullet/pybullet.c:10688:53: error: passing argument 1 of 'PyArray_DATA' from incompatible pointer type [-Wincompatible-pointer-types]
2026-04-06T10:48:37.6435170Z 10688 |                                 memcpy(PyArray_DATA(pyDep), imageData.m_depthValues,
2026-04-06T10:48:37.6437537Z       |                                                     ^~~~~
2026-04-06T10:48:37.6439278Z       |                                                     |
2026-04-06T10:48:37.6441031Z       |                                                     PyObject * {aka struct _object *}
2026-04-06T10:48:37.6444948Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.6446955Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.6447453Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~
2026-04-06T10:48:37.6511441Z examples/pybullet/pybullet.c:10690:53: error: passing argument 1 of 'PyArray_DATA' from incompatible pointer type [-Wincompatible-pointer-types]
2026-04-06T10:48:37.6515363Z 10690 |                                 memcpy(PyArray_DATA(pySeg), imageData.m_segmentationMaskValues,
2026-04-06T10:48:37.6518955Z       |                                                     ^~~~~
2026-04-06T10:48:37.6521907Z       |                                                     |
2026-04-06T10:48:37.6524595Z       |                                                     PyObject * {aka struct _object *}
2026-04-06T10:48:37.6528589Z /test/staging_dir/hostpkg/lib/python3.14/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1544:35: note: expected 'const PyArrayObject *' {aka 'const struct tagPyArrayObject_fields *'} but argument is of type 'PyObject *' {aka 'struct _object *'}
2026-04-06T10:48:37.6531160Z  1544 | PyArray_DATA(const PyArrayObject *arr)
2026-04-06T10:48:37.6533130Z       |              ~~~~~~~~~~~~~~~~~~~~~^~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions