[Python-modules-team] Bug#972019: pygame ftbfs with python3.9 as supported python version

Matthias Klose doko at debian.org
Sun Oct 11 16:04:10 BST 2020


Package: src:pygame
Version: 1.9.6+dfsg-3
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.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=/<<BUILDDIR>>/pygame-1.9.6+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include
-I/usr/include/SDL -I/usr/include -I/usr/include -I/usr/include/python3.9 -c
src_c/pypm.c -o build/temp.linux-x86_64-3.9/src_c/pypm.o
src_c/pypm.c: In function ‘__pyx_pf_4pypm_6Output___init__’:
src_c/pypm.c:2247:20: warning: assignment discards ‘const’ qualifier from
pointer target type [-Wdiscarded-qualifiers]
 2247 |     __pyx_v_errmsg = Pm_GetErrorText(__pyx_v_err);
      |                    ^
src_c/pypm.c: In function ‘PyInit_pypm’:
src_c/pypm.c:6419:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no
member named ‘tp_print’
 6419 |   __pyx_type_4pypm_Output.tp_print = 0;
      |                          ^
src_c/pypm.c:6434:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no
member named ‘tp_print’
 6434 |   __pyx_type_4pypm_Input.tp_print = 0;
      |                         ^
src_c/pypm.c: In function ‘__Pyx_ParseOptionalKeywords’:
src_c/pypm.c:7037:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Wdeprecated-declarations]
 7037 |                     (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from src_c/pypm.c:4:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
src_c/pypm.c:7037:21: warning: ‘PyUnicode_AsUnicode’ is deprecated
[-Wdeprecated-declarations]
 7037 |                     (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from src_c/pypm.c:4:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
      |                                             ^~~~~~~~~~~~~~~~~~~
src_c/pypm.c:7037:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Wdeprecated-declarations]
 7037 |                     (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
      |                     ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
                 from /usr/include/python3.9/Python.h:97,
                 from src_c/pypm.c:4:



More information about the Python-modules-team mailing list