Control: reassign -1 src:setools 4.3.0-1 On Du, 11 oct 20, 17:44:10, Matthias Klose wrote: > Package: src:python-setools > Version: 4.3.0-1 > Severity: important > Tags: sid bullseye > User: [email protected] > Usertags: python3.9 > > building 'setools.policyrep' extension > creating build > creating build/temp.linux-x86_64-3.9 > creating build/temp.linux-x86_64-3.9/setools > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security > -g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -Wformat -Werror=format-security -Wno-sign-compare > -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c > setools/policyrep.c -o build/temp.linux-x86_64-3.9/setools/policyrep.o -Werror > -Wextra -Waggregate-return -Wfloat-equal -Wformat -Wformat=2 -Winit-self > -Wmissing-format-attribute -Wmissing-include-dirs -Wnested-externs > -Wold-style-definition -Wpointer-arith -Wstrict-prototypes -Wunknown-pragmas > -Wwrite-strings -Wno-unused-parameter -Wno-suggest-attribute=format > -Wno-sign-compare -Wno-cast-qual -Wno-unreachable-code > -Wno-implicit-fallthrough > -Wno-cast-function-type -fno-exceptions > setools/policyrep.c: In function > ‘__pyx_pf_7setools_9policyrep_6AVRule_9statement’: > setools/policyrep.c:91486:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 91486 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:91486:3: error: ‘PyUnicode_AsUnicode’ is deprecated > [-Werror=deprecated-declarations] > 91486 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here > 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( > | ^~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:91486:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 91486 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > setools/policyrep.c: In function > ‘__pyx_pf_7setools_9policyrep_11AVRuleXperm_7statement’: > setools/policyrep.c:95424:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 95424 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:95424:3: error: ‘PyUnicode_AsUnicode’ is deprecated > [-Werror=deprecated-declarations] > 95424 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here > 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( > | ^~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:95424:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 95424 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > setools/policyrep.c: In function > ‘__pyx_pf_7setools_9policyrep_6TERule_7statement’: > setools/policyrep.c:97299:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 97299 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:97299:3: error: ‘PyUnicode_AsUnicode’ is deprecated > [-Werror=deprecated-declarations] > 97299 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here > 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( > | ^~~~~~~~~~~~~~~~~~~ > setools/policyrep.c:97299:3: error: ‘_PyUnicode_get_wstr_length’ is deprecated > [-Werror=deprecated-declarations] > 97299 | __pyx_t_1 = (__pyx_v_self->__pyx_base.rule_string != > Py_None)&&(__Pyx_PyUnicode_IS_TRUE(__pyx_v_self->__pyx_base.rule_string) != > 0); > | ^~~~~~~~~ > In file included from /usr/include/python3.9/unicodeobject.h:1026, > from /usr/include/python3.9/Python.h:97, > from setools/policyrep.c:46: > /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here > 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
Fixing package name. Kind regards, Andrei -- Looking after bugs assigned to unknown or inexistent packages
signature.asc
Description: PGP signature

