• Bug#1065784: libinline-python-perl: FTBFS on arm{el,hf}: Python.xs:52:5

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 22:20:01 2024
    Source: libinline-python-perl
    Version: 0.57-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=libinline-python-perl&arch=armhf&ver=0.57-1%2Bb4&stamp=1709894191&raw=0

    In file included from /usr/include/python3.11/Python.h:96: /usr/include/python3.11/sysmodule.h:13:38: note: declared here
    13 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **);
    | ^~~~~~~~~~~~~
    Python.xs:52:5: error: implicit declaration of function ‘initperl’ [-Werror=implicit-function-declaration]
    52 | initperl();
    | ^~~~~~~~
    Python.xs: In function ‘XS_Inline__Python_py_call_function_ref’: Python.xs:335:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    335 | PyObject * const func = (PyObject *) SvIV(FUNC);
    | ^
    Python.xs: In function ‘XS_Inline__Python_py_call_method’: Python.xs:441:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    441 | inst = (PyObject*)SvIV(SvRV(_inst));
    | ^
    Python.xs: In function ‘XS_Inline__Python_py_has_attr’:
    Python.xs:547:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    547 | inst = (PyObject*)SvIV(SvRV(_inst));
    | ^
    Python.xs: In function ‘XS_Inline__Python_py_get_attr’:
    Python.xs:579:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    579 | inst = (PyObject*)SvIV(SvRV(_inst));
    | ^
    Python.xs: In function ‘XS_Inline__Python_py_set_attr’:
    Python.xs:623:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    623 | inst = (PyObject*)SvIV(SvRV(_inst));
    | ^
    cc1: some warnings being treated as errors
    make[2]: *** [Makefile:356: Python.o] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)