Package: src:python-greenlet
Version: 0.4.15-4.2
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

python3.9 setup.py build
running build
running build_ext
building 'greenlet' extension
creating build
creating build/temp.linux-x86_64-3.9
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 -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.9 -c greenlet.c -o
build/temp.linux-x86_64-3.9/greenlet.o
greenlet.c: In function ‘g_initialstub’:
greenlet.c:823:4: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated
[-Wdeprecated-declarations]
  823 |    result = PyEval_CallObjectWithKeywords(
      |    ^~~~~~
In file included from /usr/include/python3.9/Python.h:145,
                 from greenlet.h:8,
                 from greenlet.c:5:
/usr/include/python3.9/ceval.h:17:43: note: declared here
   17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
greenlet.c: In function ‘green_dealloc’:
greenlet.c:1046:4: error: ‘_Py_DEC_REFTOTAL’ undeclared (first use in this
function); did you mean ‘_Py_DECREF’?
 1046 |    _Py_DEC_REFTOTAL;
      |    ^~~~~~~~~~~~~~~~
      |    _Py_DECREF
greenlet.c:1046:4: note: each undeclared identifier is reported only once for
each function it appears in
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1

Reply via email to