Problème lors de l'installation d'url
Problème lors de l'installation d'url avec pip3 install
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/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-bn5zjun4
cwd: /tmp/pip-install-z6wga6gd/url/
Complete output (258 lines):
Building from C++
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/url
copying url/__init__.py -> build/lib.linux-x86_64-3.8/url
creating build/lib.linux-x86_64-3.8/url/psl
copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-3.8/url/psl
running build_ext
building 'url.url' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/url
creating build/temp.linux-x86_64-3.8/url/url-cpp
creating build/temp.linux-x86_64-3.8/url/url-cpp/src
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/url.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/utf8.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/punycode.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/psl.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url.cpp -o build/temp.linux-x86_64-3.8/url/url.o -std=c++11
url/url.cpp: In function ‘PyObject* PyInit_url()’:
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12497 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12498 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12499 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12500 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12501 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12502 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for url
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/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-7uoqmoxd/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/url
cwd: /tmp/pip-install-z6wga6gd/url/
Complete output (258 lines):
Building from C++
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/url
copying url/__init__.py -> build/lib.linux-x86_64-3.8/url
creating build/lib.linux-x86_64-3.8/url/psl
copying url/psl/2016-08-16.psl -> build/lib.linux-x86_64-3.8/url/psl
running build_ext
building 'url.url' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/url
creating build/temp.linux-x86_64-3.8/url/url-cpp
creating build/temp.linux-x86_64-3.8/url/url-cpp/src
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/url.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/url.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/utf8.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/utf8.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/punycode.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/punycode.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url-cpp/src/psl.cpp -o build/temp.linux-x86_64-3.8/url/url-cpp/src/psl.o -std=c++11
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iurl/url-cpp/include -I/usr/include/python3.8 -c url/url.cpp -o build/temp.linux-x86_64-3.8/url/url.o -std=c++11
url/url.cpp: In function ‘PyObject* PyInit_url()’:
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10054:34: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10054 | __pyx_type_3url_3url_StringURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10059:35: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10059 | __pyx_type_3url_3url_UnicodeURL.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10063:52: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10063 | __pyx_type_3url_3url___pyx_scope_struct__deparam.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10066:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10066 | __pyx_type_3url_3url___pyx_scope_struct_1_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10069:59: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10069 | __pyx_type_3url_3url___pyx_scope_struct_2_filter_params.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10072:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10072 | __pyx_type_3url_3url___pyx_scope_struct_3_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp:10075:53: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
10075 | __pyx_type_3url_3url___pyx_scope_struct_4_genexpr.tp_print = 0;
| ^~~~~~~~
In file included from /usr/include/python3.8/object.h:746,
from /usr/include/python3.8/pytime.h:6,
from /usr/include/python3.8/Python.h:85,
from url/url.cpp:4:
/usr/include/python3.8/cpython/object.h:260:30: note: declared here
260 | Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
| ^~~~~~~~
url/url.cpp: In function ‘void __Pyx__ExceptionSwap(PyThreadState*, PyObject**, PyObject**, PyObject**)’:
url/url.cpp:12497:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12497 | tmp_type = tstate->exc_type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12498:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12498 | tmp_value = tstate->exc_value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12499:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12499 | tmp_tb = tstate->exc_traceback;
| ^~~~~~~~~~~~~
| curexc_traceback
url/url.cpp:12500:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
12500 | tstate->exc_type = *type;
| ^~~~~~~~
| curexc_type
url/url.cpp:12501:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
12501 | tstate->exc_value = *value;
| ^~~~~~~~~
| curexc_value
url/url.cpp:12502:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
12502 | tstate->exc_traceback = *tb;
| ^~~~~~~~~~~~~
| curexc_traceback
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z6wga6gd/url/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z6wga6gd/url/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-7uoqmoxd/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/url Check the logs for full command output.