-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
Recently fa-mlat-client for piaware started failing to build on Debian 13 (still builds OK on Ubuntu 24)
Up to beginning of January 2025, it used to build successfully on Debian 13 using python3-pyasyncore & cx_Freeze-7.2.0 (still builds OK on Ubuntu 24)
Ubuntu 24: python version 3.12 and gcc version 4:13
Debian 13: python version 3.13 and gcc version 4:14
Please see below failure log during build process by command dpkg-buildpackage -b --no-sign
In file included from /usr/include/python3.13/Python.h:123:
/usr/include/python3.13/pylifecycle.h:37:38: note: declared here
37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *);
| ^~~~~~~~~~~~~~~~~
source/bases/common.c:292:5: error: implicit declaration of function ‘Py_SetPath’; did you mean ‘Py_GetPath’? [-Wimplicit-function-declaration]
292 | Py_SetPath(wpath);
| ^~~~~~~~~~
| Py_GetPath
source/bases/common.c:294:5: warning: ‘PySys_SetArgvEx’ is deprecated [-Wdeprecated-declarations]
294 | PySys_SetArgvEx(argc, argv, 0);
| ^~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/Python.h:125:
/usr/include/python3.13/sysmodule.h:11:38: note: declared here
11 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int);
| ^~~~~~~~~~~~~~~
source/bases/console.c: In function ‘main’:
source/bases/console.c:77:14: error: implicit declaration of function ‘_PyMem_RawStrdup’; did you mean ‘PyMem_RawFree’? [-Wimplicit-function-declaration]
77 | oldloc = _PyMem_RawStrdup(setlocale(LC_ALL, NULL));
| ^~~~~~~~~~~~~~~~
| PyMem_RawFree
source/bases/console.c:77:12: error: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
77 | oldloc = _PyMem_RawStrdup(setlocale(LC_ALL, NULL));
| ^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
make[1]: *** [debian/rules:83: build_mlat-client] Error 1
Metadata
Metadata
Assignees
Labels
No labels