PyPokerGUI icon indicating copy to clipboard operation
PyPokerGUI copied to clipboard

can't install

Open salova322 opened this issue 4 years ago • 0 comments

Collecting PyYAML==3.12 Using cached PyYAML-3.12.zip (375 kB) Using legacy 'setup.py install' for PyYAML, since package 'wheel' is not installed. Installing collected packages: PyYAML, click Attempting uninstall: PyYAML Found existing installation: PyYAML 5.4.1 Uninstalling PyYAML-5.4.1: Successfully uninstalled PyYAML-5.4.1 Running setup.py install for PyYAML ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4fhjn6pm/pyyaml_2706c4c80ba940198e907ab55878fb7e/setup.py'"'"'; file='"'"'/tmp/pip-install-4fhjn6pm/pyyaml_2706c4c80ba940198e907ab55878fb7e/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-tlzxtp/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/salova/.local/include/python3.9/PyYAML cwd: /tmp/pip-install-4fhjn6pm/pyyaml_2706c4c80ba940198e907ab55878fb7e/ Complete output (704 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/yaml copying lib3/yaml/tokens.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/composer.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/nodes.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/loader.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/parser.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/reader.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/cyaml.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/constructor.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/representer.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/serializer.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/emitter.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/events.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/scanner.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/resolver.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/dumper.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/init.py -> build/lib.linux-x86_64-3.9/yaml copying lib3/yaml/error.py -> build/lib.linux-x86_64-3.9/yaml running build_ext creating build/temp.linux-x86_64-3.9 checking if libyaml is compilable gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/include/python3.9 -c build/temp.linux-x86_64-3.9/check_libyaml.c -o build/temp.linux-x86_64-3.9/check_libyaml.o checking if libyaml is linkable gcc -pthread build/temp.linux-x86_64-3.9/check_libyaml.o -L/usr/lib -lyaml -o build/temp.linux-x86_64-3.9/check_libyaml building '_yaml' extension creating build/temp.linux-x86_64-3.9/ext gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/usr/include/python3.9 -c ext/_yaml.c -o build/temp.linux-x86_64-3.9/ext/_yaml.o In file included from ext/_yaml.c:271: ext/_yaml.h:10: warning: "PyString_CheckExact" redefined 10 | #define PyString_CheckExact PyBytes_CheckExact | ext/_yaml.c:139: note: this is the location of the previous definition 139 | #define PyString_CheckExact PyUnicode_CheckExact | ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’: ext/_yaml.c:1410:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1410 | __pyx_v_value = yaml_get_version_string(); | ^ ext/_yaml.c: In function ‘pyx_pf_5_yaml_7CParser___init’: ext/_yaml.c:2577:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types] 2577 | yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void )__pyx_v_self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ()(void *, char *, size_t, size_t ) {aka int ()(void *, char *, long unsigned int, long unsigned int )} In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:1374:30: note: expected ‘int ()(void *, unsigned char *, size_t, size_t )’ {aka ‘int ()(void *, unsigned char *, long unsigned int, long unsigned int )’} but argument is of type ‘int ()(void *, char *, size_t, size_t )’ {aka ‘int ()(void *, char *, long unsigned int, long unsigned int *)’} 1374 | yaml_read_handler_t *handler, void *data); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/python3.9/bytesobject.h:75, from /usr/include/python3.9/Python.h:105, from ext/_yaml.c:4: /usr/include/python3.9/cpython/bytesobject.h:32:57: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign] 32 | #define PyBytes_AS_STRING(op) (assert(PyBytes_Check(op)),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | char * 33 | (((PyBytesObject *)(op))->ob_sval)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.h:11:29: note: in expansion of macro ‘PyBytes_AS_STRING’ 11 | #define PyString_AS_STRING PyBytes_AS_STRING | ^~~~~~~~~~~~~~~~~ ext/_yaml.c:2818:59: note: in expansion of macro ‘PyString_AS_STRING’ 2818 | yaml_parser_set_input_string((&__pyx_v_self->parser), PyString_AS_STRING(__pyx_v_stream), PyString_GET_SIZE(__pyx_v_stream)); | ^~~~~~~~~~~~~~~~~~ In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:1348:30: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 1348 | const unsigned char *input, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’: ext/_yaml.c:4572:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 4572 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:4584:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 4584 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:5444:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 5444 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:5518:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 5518 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:5592:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 5592 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:5604:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 5604 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:5716:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] 5716 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_token->data.scalar.value, __pyx_v_token->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 460, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 452 | const char string, / UTF-8 encoded string */ | ~~~~~~~~~~~~^~~~~~ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’: ext/_yaml.c:7424:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 7424 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:7436:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 7436 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:7655:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 7655 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:7749:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 7749 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:7790:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 7790 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:7811:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] 7811 | __pyx_t_4 = PyUnicode_DecodeUTF8(__pyx_v_event->data.scalar.value, __pyx_v_event->data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 452 | const char string, / UTF-8 encoded string */ | ~~~~~~~~~~~~^~~~~~ ext/_yaml.c:8179:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 8179 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:8220:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 8220 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:8449:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 8449 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:8490:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 8490 | __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’: ext/_yaml.c:10094:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 10094 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.alias.anchor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 734, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:10378:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 10378 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:10434:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 10434 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 753, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c:10490:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 10490 | __pyx_t_6 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.anchor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 756, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’: ext/_yaml.c:11109:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] 11109 | __pyx_t_2 = PyUnicode_DecodeUTF8(__pyx_v_self->parsed_event.data.scalar.value, __pyx_v_self->parsed_event.data.scalar.length, ((char *)"strict")); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 791, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:452:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 452 | const char string, / UTF-8 encoded string */ | ~~~~~~~~~~~~^~~~~~ ext/_yaml.c:11310:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 11310 | __pyx_t_2 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.scalar.tag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 804, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’: ext/_yaml.c:11841:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 11841 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.sequence_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 837, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’: ext/_yaml.c:12435:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] 12435 | __pyx_t_3 = PyUnicode_FromString(__pyx_v_self->parsed_event.data.mapping_start.tag); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 876, __pyx_L1_error) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ | | | yaml_char_t * {aka unsigned char *} In file included from /usr/include/python3.9/Python.h:106, from ext/_yaml.c:4: /usr/include/python3.9/unicodeobject.h:138:17: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’ {aka ‘unsigned char *’} 138 | const char u / UTF-8 encoded string */ | ~~~~~~~~~~~~^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_input_handler’: ext/_yaml.c:13141:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 13141 | __pyx_t_3 = (((__pyx_v_parser->stream_cache_len - __pyx_v_parser->stream_cache_pos) < __pyx_v_size) != 0); | ^ ext/_yaml.c: In function ‘pyx_pf_5_yaml_8CEmitter___init’: ext/_yaml.c:13630:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types] 13630 | yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void )__pyx_v_self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ()(void *, char , size_t) {aka int ()(void *, char , long unsigned int)} In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:1844:31: note: expected ‘int ()(void *, unsigned char , size_t)’ {aka ‘int ()(void *, unsigned char , long unsigned int)’} but argument is of type ‘int ()(void *, char , size_t)’ {aka ‘int ()(void *, char *, long unsigned int)’} 1844 | yaml_write_handler_t *handler, void *data); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’: ext/_yaml.c:15002:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 15002 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle); | ^ ext/_yaml.c:15117:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 15117 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix); | ^ ext/_yaml.c:15454:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign] 15454 | __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor); | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:16169:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 581 | const yaml_char_t *anchor, const yaml_char_t *tag, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:16169:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 581 | const yaml_char_t *anchor, const yaml_char_t *tag, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c:16169:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 16169 | __pyx_t_2 = ((yaml_scalar_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 582 | const yaml_char_t *value, int length, | ~~~~~~~~~~~~~~~~~~~^~~~~ ext/_yaml.c:16603:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign] 16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:16603:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign] 16603 | __pyx_t_3 = ((yaml_sequence_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c:17037:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign] 17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:17037:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign] 17037 | __pyx_t_2 = ((yaml_mapping_start_event_initialize(__pyx_v_event, __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_12serialize’: ext/_yaml.c:18516:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 18516 | __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle); | ^ ext/_yaml.c:18631:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] 18631 | __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix); | ^ ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__serialize_node’: ext/_yaml.c:19491:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign] 19491 | __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:555:69: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 555 | yaml_alias_event_initialize(yaml_event_t *event, const yaml_char_t *anchor); | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:20240:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:581:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 581 | const yaml_char_t *anchor, const yaml_char_t *tag, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:20240:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:581:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 581 | const yaml_char_t *anchor, const yaml_char_t *tag, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c:20240:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign] 20240 | __pyx_t_2 = ((yaml_scalar_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_value, __pyx_v_length, __pyx_v_plain_implicit, __pyx_v_quoted_implicit, __pyx_v_scalar_style) == 0) != 0); | ^~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:582:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 582 | const yaml_char_t *value, int length, | ~~~~~~~~~~~~~~~~~~~^~~~~ ext/_yaml.c:20605:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign] 20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:604:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:20605:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign] 20605 | __pyx_t_2 = ((yaml_sequence_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_sequence_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:604:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 604 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c:21113:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign] 21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0); | ^~~~~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:636:28: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~~~~ ext/_yaml.c:21113:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign] 21113 | __pyx_t_2 = ((yaml_mapping_start_event_initialize((&__pyx_v_event), __pyx_v_anchor, __pyx_v_tag, __pyx_v_implicit, __pyx_v_mapping_style) == 0) != 0); | ^~~~~~~~~~~ | | | char * In file included from ext/_yaml.h:2, from ext/_yaml.c:271: /usr/include/yaml.h:636:55: note: expected ‘const yaml_char_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 636 | const yaml_char_t *anchor, const yaml_char_t *tag, int implicit, | ~~~~~~~~~~~~~~~~~~~^~~ ext/_yaml.c: In function ‘PyInit__yaml’: ext/_yaml.c:23103:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 23103 | __pyx_type_5_yaml_Mark.tp_print = 0; | ^ ext/_yaml.c:23119:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 23119 | __pyx_type_5_yaml_CParser.tp_print = 0; | ^ ext/_yaml.c:23129:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 23129 | __pyx_type_5_yaml_CEmitter.tp_print = 0; | ^ ext/_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’: ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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( | ^~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24087:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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( | ^~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24087:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24087 | (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:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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( | ^~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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( | ^~~~~~~~~~~~~~~~~~~ ext/_yaml.c:24103:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 24103 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^ In file included from /usr/include/python3.9/unicodeobject.h:1026, from /usr/include/python3.9/Python.h:106, from ext/_yaml.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) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ext/_yaml.c: In function ‘__Pyx__ExceptionSave’: ext/_yaml.c:24143:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 24143 | *type = tstate->exc_type; | ^~~~~~~~ | curexc_type ext/_yaml.c:24144:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 24144 | *value = tstate->exc_value; | ^~~~~~~~~ | curexc_value ext/_yaml.c:24145:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 24145 | *tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback ext/_yaml.c: In function ‘__Pyx__ExceptionReset’: ext/_yaml.c:24152:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 24152 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type ext/_yaml.c:24153:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 24153 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value ext/_yaml.c:24154:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 24154 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback ext/_yaml.c:24155:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 24155 | tstate->exc_type = type; | ^~~~~~~~ | curexc_type ext/_yaml.c:24156:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 24156 | tstate->exc_value = value; | ^~~~~~~~~ | curexc_value ext/_yaml.c:24157:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 24157 | tstate->exc_traceback = tb; | ^~~~~~~~~~~~~ | curexc_traceback ext/_yaml.c: In function ‘__Pyx__GetException’: ext/_yaml.c:24212:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 24212 | tmp_type = tstate->exc_type; | ^~~~~~~~ | curexc_type ext/_yaml.c:24213:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 24213 | tmp_value = tstate->exc_value; | ^~~~~~~~~ | curexc_value ext/_yaml.c:24214:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 24214 | tmp_tb = tstate->exc_traceback; | ^~~~~~~~~~~~~ | curexc_traceback ext/_yaml.c:24215:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? 24215 | tstate->exc_type = local_type; | ^~~~~~~~ | curexc_type ext/_yaml.c:24216:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? 24216 | tstate->exc_value = local_value; | ^~~~~~~~~ | curexc_value ext/_yaml.c:24217:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? 24217 | tstate->exc_traceback = local_tb; | ^~~~~~~~~~~~~ | curexc_traceback error: command '/usr/bin/gcc' failed with exit code 1 ---------------------------------------- Rolling back uninstall of PyYAML Moving to /home/salova/.local/lib/python3.9/site-packages/PyYAML-5.4.1.dist-info/ from /home/salova/.local/lib/python3.9/site-packages/~yYAML-5.4.1.dist-info Moving to /home/salova/.local/lib/python3.9/site-packages/_yaml/ from /home/salova/.local/lib/python3.9/site-packages/~yaml Moving to /home/salova/.local/lib/python3.9/site-packages/yaml/ from /home/salova/.local/lib/python3.9/site-packages/~aml ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4fhjn6pm/pyyaml_2706c4c80ba940198e907ab55878fb7e/setup.py'"'"'; file='"'"'/tmp/pip-install-4fhjn6pm/pyyaml_2706c4c80ba940198e907ab55878fb7e/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-tlzxtp/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/salova/.local/include/python3.9/PyYAML Check the logs for full command output.

salova322 avatar Oct 04 '21 16:10 salova322