Source: kamailio Version: 5.6.2-1 Severity: serious Tags: ftbfs User: debian-pyt...@lists.debian.org Usertags: python3.11
Hi Maintainer Kamailio's python extension fails to build with Python 3.11 as the default version, and kamailio-python3-modules misses /usr/lib/x86_64-linux-gnu/kamailio/modules/app_python3.so, although the build doesn't fail outright, due to the for loops in the override_dh_auto_build target of debian/rules not exiting on error. I've copied what I hope is the relevant part of the log below. Regards Graham apy_kemi.c:1846:107: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 1846 | (pframe && pframe->f_code)?PyCode_Addr2Line(pframe->f_code, pframe->f_lasti):0); | ^~ ../../core/dprint.h:337:99: note: in definition of macro ‘LOG_FX’ 337 | LOGV_FUNCSUFFIX_STR(funcname), ## args); \ | ^~~~ ../../core/dprint.h:351:25: note: in expansion of macro ‘LOG_FL’ 351 | LOG_FL(facility, level, NULL, prefix, fmt, ## args) | ^~~~~~ ../../core/dprint.h:354:25: note: in expansion of macro ‘LOG_FP’ 354 | LOG_FP(DEFAULT_FACILITY, (level), LOC_INFO, fmt, ## args) | ^~~~~~ apy_kemi.c:1839:25: note: in expansion of macro ‘LOG’ 1839 | LOG(cfg_get(core, core_cfg, latency_log), | ^~~ make[4]: *** [../../Makefile.rules:100: apy_kemi.o] Error 1 make[4]: *** Waiting for unfinished jobs.... python_msgobj.c: In function ‘python_msgobj_init’: python_msgobj.c:510:27: error: lvalue required as left operand of assignment 510 | Py_TYPE(&MSGtype) = &PyType_Type; | ^ make[4]: *** [../../Makefile.rules:100: python_msgobj.o] Error 1 make[3]: *** [Makefile:513: install-modules] Error 1