Skip to content

Error when trying to install Python-SASL on Fedora 33 / Python 3.9.1 #21

@ExarKun64

Description

@ExarKun64

Hi,

We are facing an issue when trying to install Python-SASL with Python 3.9.1 (basic install of Python in Fedora 33). This installation is required as a dependency of the ibis-framework[impala] package.

We tried several of the past proposed methods (installed python-devel, cython and several others packages) but with no success.

Here is the error message(s) we get hen trying to run the installation via "pip install" :

Collecting thriftpy
  Using cached thriftpy-0.3.9.tar.gz (208 kB)
Collecting sasl>=0.2.1
  Using cached sasl-0.2.1.tar.gz (30 kB)
Building wheels for collected packages: thriftpy, sasl
  Building wheel for thriftpy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ft78o7k3
       cwd: /tmp/pip-install-4ynv4t2d/thriftpy/
  Complete output (186 lines):
  running bdist_wheel
  The [wheel] section is deprecated. Use [bdist_wheel] instead.
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/utils.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/tornado.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/thrift.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/server.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/rpc.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/hook.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/_compat.py -> build/lib.linux-x86_64-3.9/thriftpy
  copying thriftpy/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy
  creating build/lib.linux-x86_64-3.9/thriftpy/transport
  copying thriftpy/transport/sslsocket.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
  copying thriftpy/transport/socket.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
  copying thriftpy/transport/_ssl.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
  copying thriftpy/transport/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
  creating build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/multiplex.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/json.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/exc.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/compact.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/binary.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  copying thriftpy/protocol/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
  creating build/lib.linux-x86_64-3.9/thriftpy/parser
  copying thriftpy/parser/parser.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
  copying thriftpy/parser/lexer.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
  copying thriftpy/parser/exc.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
  copying thriftpy/parser/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
  creating build/lib.linux-x86_64-3.9/thriftpy/contrib
  copying thriftpy/contrib/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib
  creating build/lib.linux-x86_64-3.9/thriftpy/transport/memory
  copying thriftpy/transport/memory/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/memory
  creating build/lib.linux-x86_64-3.9/thriftpy/transport/framed
  copying thriftpy/transport/framed/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/framed
  creating build/lib.linux-x86_64-3.9/thriftpy/transport/buffered
  copying thriftpy/transport/buffered/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/buffered
  creating build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
  copying thriftpy/contrib/tracking/tracker.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
  copying thriftpy/contrib/tracking/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
  copying thriftpy/contrib/tracking/tracking.thrift -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
  running build_ext
  building 'thriftpy.transport.cybase' extension
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/thriftpy
  creating build/temp.linux-x86_64-3.9/thriftpy/transport
  gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c thriftpy/transport/cybase.c -o build/temp.linux-x86_64-3.9/thriftpy/transport/cybase.o
  gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g build/temp.linux-x86_64-3.9/thriftpy/transport/cybase.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/thriftpy/transport/cybase.cpython-39-x86_64-linux-gnu.so
  building 'thriftpy.transport.buffered.cybuffered' extension
  creating build/temp.linux-x86_64-3.9/thriftpy/transport/buffered
  gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c thriftpy/transport/buffered/cybuffered.c -o build/temp.linux-x86_64-3.9/thriftpy/transport/buffered/cybuffered.o
  thriftpy/transport/buffered/cybuffered.c: Dans la fonction « PyInit_cybuffered »:
  thriftpy/transport/buffered/cybuffered.c:2766:78: erreur: « PyTypeObject » {alias « struct _typeobject »} n'a pas de membre nommé « tp_print »
   2766 |   __pyx_type_8thriftpy_9transport_8buffered_10cybuffered_TCyBufferedTransport.tp_print = 0;
        |                                                                              ^
  thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __Pyx_ParseOptionalKeywords »:
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                     ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
   2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                         ^
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __Pyx_CyFunction_Call »:
  thriftpy/transport/buffered/cybuffered.c:4092:2: attention: « PyCFunction_Call » est obsolète [-Wdeprecated-declarations]
   4092 |  return PyCFunction_Call(func, arg, kw);
        |  ^~~~~~
  Dans le fichier inclus depuis /usr/include/python3.9/Python.h:111,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/methodobject.h:33:43: note: déclaré ici
     33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
        |                                           ^~~~~~~~~~~~~~~~
  thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __pyx_CyFunction_init »:
  thriftpy/transport/buffered/cybuffered.c:4157:5: attention: « PyCFunction_Call » est obsolète [-Wdeprecated-declarations]
   4157 |     __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
        |     ^~~~~~~~~~~~~~~~~~~~~~~~~
  Dans le fichier inclus depuis /usr/include/python3.9/Python.h:111,
                   depuis thriftpy/transport/buffered/cybuffered.c:11:
  /usr/include/python3.9/methodobject.h:33:43: note: déclaré ici
     33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
        |                                           ^~~~~~~~~~~~~~~~
  error: command '/usr/bin/gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for thriftpy
  Running setup.py clean for thriftpy
  Building wheel for sasl (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4ynv4t2d/sasl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4ynv4t2d/sasl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-qoafzce1
       cwd: /tmp/pip-install-4ynv4t2d/sasl/
  Complete output (169 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.9
  creating build/lib.linux-x86_64-3.9/sasl
  copying sasl/__init__.py -> build/lib.linux-x86_64-3.9/sasl
  running egg_info
  writing sasl.egg-info/PKG-INFO
  writing dependency_links to sasl.egg-info/dependency_links.txt
  writing requirements to sasl.egg-info/requires.txt
  writing top-level names to sasl.egg-info/top_level.txt
  reading manifest file 'sasl.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'sasl.egg-info/SOURCES.txt'
  copying sasl/saslwrapper.cpp -> build/lib.linux-x86_64-3.9/sasl
  copying sasl/saslwrapper.h -> build/lib.linux-x86_64-3.9/sasl
  copying sasl/saslwrapper.pyx -> build/lib.linux-x86_64-3.9/sasl
  running build_ext
  building 'sasl.saslwrapper' extension
  creating build/temp.linux-x86_64-3.9
  creating build/temp.linux-x86_64-3.9/sasl
  gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Isasl -I/usr/include/python3.9 -c sasl/saslwrapper.cpp -o build/temp.linux-x86_64-3.9/sasl/saslwrapper.o
  Dans le fichier inclus depuis sasl/saslwrapper.cpp:254:
  sasl/saslwrapper.h: Dans la fonction membre « void saslwrapper::ClientImpl::interact(sasl_interact_t*) »:
  sasl/saslwrapper.h:437:11: attention: variable « input » inutilisée [-Wunused-variable]
    437 |     char* input;
        |           ^~~~~
  sasl/saslwrapper.cpp: Dans la fonction « PyObject* PyInit_saslwrapper() »:
  sasl/saslwrapper.cpp:3001:41: erreur: « PyTypeObject » {aka « struct _typeobject »} n'a pas de membre nommé « tp_print »
   3001 |   __pyx_type_4sasl_11saslwrapper_Client.tp_print = 0;
        |                                         ^~~~~~~~
  Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                   depuis /usr/include/python3.9/Python.h:97,
                   depuis sasl/saslwrapper.cpp:16:
  sasl/saslwrapper.cpp: Dans la fonction « int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*) »:
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    261 |       PyUnicode_WSTR_LENGTH(op) :                    \
        |       ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3289:22: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                      ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:262:52: attention: « Py_UNICODE* PyUnicode_AsUnicode(PyObject*) » est obsolète [-Wdeprecated-declarations]
    262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
        |                                                    ^
  sasl/saslwrapper.cpp:3289:22: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                      ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    264 |        PyUnicode_WSTR_LENGTH(op)))
        |        ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3289:22: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                      ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    261 |       PyUnicode_WSTR_LENGTH(op) :                    \
        |       ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3289:52: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                    ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:262:52: attention: « Py_UNICODE* PyUnicode_AsUnicode(PyObject*) » est obsolète [-Wdeprecated-declarations]
    262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
        |                                                    ^
  sasl/saslwrapper.cpp:3289:52: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                    ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    264 |        PyUnicode_WSTR_LENGTH(op)))
        |        ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3289:52: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3289 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                    ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    261 |       PyUnicode_WSTR_LENGTH(op) :                    \
        |       ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3305:26: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                          ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:262:52: attention: « Py_UNICODE* PyUnicode_AsUnicode(PyObject*) » est obsolète [-Wdeprecated-declarations]
    262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
        |                                                    ^
  sasl/saslwrapper.cpp:3305:26: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                          ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    264 |        PyUnicode_WSTR_LENGTH(op)))
        |        ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3305:26: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                          ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:261:7: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    261 |       PyUnicode_WSTR_LENGTH(op) :                    \
        |       ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3305:59: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                           ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:262:52: attention: « Py_UNICODE* PyUnicode_AsUnicode(PyObject*) » est obsolète [-Wdeprecated-declarations]
    262 |       ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\
        |                                                    ^
  sasl/saslwrapper.cpp:3305:59: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                           ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
    580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
        |                                             ^~~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:451:75: attention: « Py_ssize_t _PyUnicode_get_wstr_length(PyObject*) » est obsolète [-Wdeprecated-declarations]
    451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op)
        |                                                                           ^
  /usr/include/python3.9/cpython/unicodeobject.h:264:8: note: dans l'expansion de la macro « PyUnicode_WSTR_LENGTH »
    264 |        PyUnicode_WSTR_LENGTH(op)))
        |        ^~~~~~~~~~~~~~~~~~~~~
  sasl/saslwrapper.cpp:3305:59: note: dans l'expansion de la macro « PyUnicode_GET_SIZE »
   3305 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
        |                                                           ^~~~~~~~~~~~~~~~~~
  /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
    446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
        |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
  error: command '/usr/bin/gcc' failed with exit code 1
  ----------------------------------------
  ERROR: Failed building wheel for sasl
  Running setup.py clean for sasl
Failed to build thriftpy sasl
DEPRECATION: Could not build wheels for thriftpy, sasl which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: thriftpy, sasl, thrift-sasl, impyla
    Running setup.py install for thriftpy ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-614vwxx8/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/thriftpy
         cwd: /tmp/pip-install-4ynv4t2d/thriftpy/
    Complete output (185 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.9
    creating build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/utils.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/tornado.py -> build/lib.linux-x86_64-3.9/thriftpy
   copying thriftpy/thrift.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/server.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/rpc.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/hook.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/_compat.py -> build/lib.linux-x86_64-3.9/thriftpy
    copying thriftpy/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy
    creating build/lib.linux-x86_64-3.9/thriftpy/transport
    copying thriftpy/transport/sslsocket.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
    copying thriftpy/transport/socket.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
    copying thriftpy/transport/_ssl.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
    copying thriftpy/transport/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport
    creating build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/multiplex.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/json.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/exc.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/compact.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/binary.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    copying thriftpy/protocol/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/protocol
    creating build/lib.linux-x86_64-3.9/thriftpy/parser
    copying thriftpy/parser/parser.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
    copying thriftpy/parser/lexer.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
    copying thriftpy/parser/exc.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
    copying thriftpy/parser/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/parser
    creating build/lib.linux-x86_64-3.9/thriftpy/contrib
    copying thriftpy/contrib/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib
    creating build/lib.linux-x86_64-3.9/thriftpy/transport/memory
    copying thriftpy/transport/memory/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/memory
    creating build/lib.linux-x86_64-3.9/thriftpy/transport/framed
    copying thriftpy/transport/framed/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/framed
    creating build/lib.linux-x86_64-3.9/thriftpy/transport/buffered
    copying thriftpy/transport/buffered/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/transport/buffered
    creating build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
    copying thriftpy/contrib/tracking/tracker.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
    copying thriftpy/contrib/tracking/__init__.py -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
    copying thriftpy/contrib/tracking/tracking.thrift -> build/lib.linux-x86_64-3.9/thriftpy/contrib/tracking
    running build_ext
    building 'thriftpy.transport.cybase' extension
    creating build/temp.linux-x86_64-3.9
    creating build/temp.linux-x86_64-3.9/thriftpy
    creating build/temp.linux-x86_64-3.9/thriftpy/transport
    gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c thriftpy/transport/cybase.c -o build/temp.linux-x86_64-3.9/thriftpy/transport/cybase.o
    gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g build/temp.linux-x86_64-3.9/thriftpy/transport/cybase.o -L/usr/lib64 -o build/lib.linux-x86_64-3.9/thriftpy/transport/cybase.cpython-39-x86_64-linux-gnu.so
    building 'thriftpy.transport.buffered.cybuffered' extension
    creating build/temp.linux-x86_64-3.9/thriftpy/transport/buffered
    gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.9 -c thriftpy/transport/buffered/cybuffered.c -o build/temp.linux-x86_64-3.9/thriftpy/transport/buffered/cybuffered.o
    thriftpy/transport/buffered/cybuffered.c: Dans la fonction « PyInit_cybuffered »:
    thriftpy/transport/buffered/cybuffered.c:2766:78: erreur: « PyTypeObject » {alias « struct _typeobject »} n'a pas de membre nommé « tp_print »
     2766 |   __pyx_type_8thriftpy_9transport_8buffered_10cybuffered_TCyBufferedTransport.tp_print = 0;
          |                                                                              ^
    thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __Pyx_ParseOptionalKeywords »:
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2983:21: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2983 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « PyUnicode_AsUnicode » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:580:45: note: déclaré ici
      580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
          |                                             ^~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c:2999:25: attention: « _PyUnicode_get_wstr_length » est obsolète [-Wdeprecated-declarations]
     2999 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                         ^
    Dans le fichier inclus depuis /usr/include/python3.9/unicodeobject.h:1026,
                     depuis /usr/include/python3.9/Python.h:97,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/cpython/unicodeobject.h:446:26: note: déclaré ici
      446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __Pyx_CyFunction_Call »:
    thriftpy/transport/buffered/cybuffered.c:4092:2: attention: « PyCFunction_Call » est obsolète [-Wdeprecated-declarations]
     4092 |  return PyCFunction_Call(func, arg, kw);
          |  ^~~~~~
    Dans le fichier inclus depuis /usr/include/python3.9/Python.h:111,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/methodobject.h:33:43: note: déclaré ici
       33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
          |                                           ^~~~~~~~~~~~~~~~
    thriftpy/transport/buffered/cybuffered.c: Dans la fonction « __pyx_CyFunction_init »:
    thriftpy/transport/buffered/cybuffered.c:4157:5: attention: « PyCFunction_Call » est obsolète [-Wdeprecated-declarations]
     4157 |     __pyx_CyFunctionType_type.tp_call = PyCFunction_Call;
          |     ^~~~~~~~~~~~~~~~~~~~~~~~~
    Dans le fichier inclus depuis /usr/include/python3.9/Python.h:111,
                     depuis thriftpy/transport/buffered/cybuffered.c:11:
    /usr/include/python3.9/methodobject.h:33:43: note: déclaré ici
       33 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *);
          |                                           ^~~~~~~~~~~~~~~~
    error: command '/usr/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4ynv4t2d/thriftpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-614vwxx8/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/thriftpy Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions