Source: kawari8
Version: 8.2.8-11.1
Severity: normal
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: python3.13-default

This package failed build from source when test-built against a version of
python3-defaults that has 3.13 as the default Python 3 version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

g++  -I/usr/include/python3.13 -I/usr/include/python3.13  -fno-strict-overflow 
-Wsign-compare  -DNDEBUG -g -O2 -Wall -DENABLE_SAORI_PYTHON 
-DENABLE_SAORI_NATIVE -O1 -I. -DNDEBUG -fPIC -fno-strict-aliasing -Wall 
-fomit-frame-pointer -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-mbranch-protection=standard -osaori/saori_python.o -c saori/saori_python.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
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
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-25T17:24:09Z


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/1124156/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as default, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to