Package: src:pam-python
Version: 1.1.0~git20220701.1d4e111-0.4
Severity: serious
Tags: sid trixie ftbfs
User: [email protected]
Usertags: python3.12
with python3-defaults from experimental:
a work around is to build without -Werror.
[...]
running build_ext
building 'pam_python' extension
creating build
creating build/temp.linux-x86_64-cpython-312
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
-Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/pam-python-1.1.0~git20220701.1d4e111-0.4
-Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast
-Wsign-compare -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Werror -I/usr/local/lib/
-Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -g
-DLIBPYTHON_SO=\"libpython3.12.so.1.0\" -I/usr/include/python3.12 -c
pam_python.c -o build/temp.linux-x86_64-cpython-312/pam_python.o
Running Sphinx v7.2.6
pam_python.c: In function ‘initialise_python’:
pam_python.c:130:3: error: ‘Py_DontWriteBytecodeFlag’ is deprecated
[-Werror=deprecated-declarations]
130 | Py_DontWriteBytecodeFlag = 1;
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.12/Python.h:48,
from pam_python.c:44:
/usr/include/python3.12/cpython/pydebug.h:18:37: note: declared here
18 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
| ^~~~~~~~~~~~~~~~~~~~~~~~
pam_python.c:131:3: error: ‘Py_IgnoreEnvironmentFlag’ is deprecated
[-Werror=deprecated-declarations]
131 | Py_IgnoreEnvironmentFlag = 1; /* Required to mitigate
CVE-2019-16729 */
| ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:17:37: note: declared here
17 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
| ^~~~~~~~~~~~~~~~~~~~~~~~
pam_python.c:132:3: error: ‘Py_NoUserSiteDirectory’ is deprecated
[-Werror=deprecated-declarations]
132 | Py_NoUserSiteDirectory = 1; /* Required to mitigate
CVE-2019-16729 */
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:19:37: note: declared here
19 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_NoUserSiteDirectory;
| ^~~~~~~~~~~~~~~~~~~~~~
pam_python.c:134:3: error: ‘Py_IsolatedFlag’ is deprecated
[-Werror=deprecated-declarations]
134 | Py_IsolatedFlag = 1;
| ^~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/pydebug.h:22:37: note: declared here
22 | Py_DEPRECATED(3.12) PyAPI_DATA(int) Py_IsolatedFlag;
| ^~~~~~~~~~~~~~~