• Bug#1092057: kawari8 ftbfs with Python 3.13 as the default

    From Matthias Klose@21:1/5 to All on Sat Jan 4 09:30:01 2025
    Package: src:kawari8
    Version: 8.2.8-11.1
    Severity: serious
    Tags: sid trixie
    User: debian-python@lists.debian.org
    Usertags: python3.13

    kawari8 ftbfs with Python 3.13 as the default

    [...]

    saori/saori_python.cpp: In function ‘int py_saori_exist(const char*)’: saori/saori_python.cpp:145:28: error: ‘PyEval_CallObject’ was not
    declared in this scope; did you mean ‘PyObject_CallObject’?
    145 | PyObject *result = PyEval_CallObject(saori_exist, arglist);
    | ^~~~~~~~~~~~~~~~~
    | PyObject_CallObject
    saori/saori_python.cpp: In function ‘int py_saori_load(const char*,
    const char*)’:
    saori/saori_python.cpp:166:28: error: ‘PyEval_CallObject’ was not
    declared in this scope; did you mean ‘PyObject_CallObject’?
    166 | PyObject *result = PyEval_CallObject(saori_load, arglist);
    | ^~~~~~~~~~~~~~~~~
    | PyObject_CallObject
    saori/saori_python.cpp: In function ‘int py_saori_unload(const char*)’: saori/saori_python.cpp:187:28: error: ‘PyEval_CallObject’ was not
    declared in this scope; did you mean ‘PyObject_CallObject’?
    187 | PyObject *result = PyEval_CallObject(saori_unload,
    arglist);
    | ^~~~~~~~~~~~~~~~~
    | PyObject_CallObject
    saori/saori_python.cpp: In function ‘char* py_saori_request(const char*, const char*)’:
    saori/saori_python.cpp:204:24: warning: ISO C++ forbids converting a
    string constant to ‘char*’ [-Wwrite-strings]
    204 | return "";
    | ^~
    saori/saori_python.cpp:208:28: error: ‘PyEval_CallObject’ was not
    declared in this scope; did you mean ‘PyObject_CallObject’?
    208 | PyObject *result = PyEval_CallObject(saori_request,
    arglist);
    | ^~~~~~~~~~~~~~~~~
    | PyObject_CallObject saori/saori_python.cpp:212:24: warning: ISO C++ forbids converting a
    string constant to ‘char*’ [-Wwrite-strings]
    212 | return "";
    | ^~
    make[1]: *** [gcc.mak:175: saori/saori_python.o] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
    make: *** [/usr/share/cdbs/1/class/makefile.mk:77:
    debian/stamp-makefile-build] Error 2

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