Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on pip install of PyYAML #1

Open
KonradHoeffner opened this issue Feb 17, 2021 · 0 comments
Open

Error on pip install of PyYAML #1

KonradHoeffner opened this issue Feb 17, 2021 · 0 comments

Comments

@KonradHoeffner
Copy link

KonradHoeffner commented Feb 17, 2021

Even with sudo, pip install aborts on a fresh clone on Arch Linux. Using su instead of sudo results in the same error.

 sudo pip3 install -r requirements.txt
Requirement already satisfied: requests==2.18.1 in /usr/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (2.18.1)
Requirement already satisfied: rdflib==4.2.2 in /usr/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (4.2.2)
Requirement already satisfied: tornado==4.5.2 in /usr/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (4.5.2)
Collecting PyYAML==3.13
  Using cached PyYAML-3.13.tar.gz (270 kB)
Requirement already satisfied: isodate in /usr/lib/python3.9/site-packages (from rdflib==4.2.2->-r requirements.txt (line 2)) (0.6.0)
Requirement already satisfied: pyparsing in /usr/lib/python3.9/site-packages (from rdflib==4.2.2->-r requirements.txt (line 2)) (2.4.7)
Requirement already satisfied: urllib3<1.22,>=1.21.1 in /usr/lib/python3.9/site-packages (from requests==2.18.1->-r requirements.txt (line 1)) (1.21.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3.9/site-packages (from requests==2.18.1->-r requirements.txt (line 1)) (2020.12.5)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3.9/site-packages (from requests==2.18.1->-r requirements.txt (line 1)) (3.0.4)
Requirement already satisfied: idna<2.6,>=2.5 in /usr/lib/python3.9/site-packages (from requests==2.18.1->-r requirements.txt (line 1)) (2.5)
Requirement already satisfied: six in /usr/lib/python3.9/site-packages (from isodate->rdflib==4.2.2->-r requirements.txt (line 2)) (1.15.0)
Using legacy 'setup.py install' for PyYAML, since package 'wheel' is not installed.
Installing collected packages: PyYAML
    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-v96erdhc/pyyaml_516b5422fdc14376b40a7cdd7e8cfa8e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v96erdhc/pyyaml_516b5422fdc14376b40a7cdd7e8cfa8e/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-bp217ljc/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/PyYAML
         cwd: /tmp/pip-install-v96erdhc/pyyaml_516b5422fdc14376b40a7cdd7e8cfa8e/
    Complete output (641 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/events.py -> build/lib.linux-x86_64-3.9/yaml
    copying lib3/yaml/tokens.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/loader.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/error.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/composer.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/nodes.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/representer.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/cyaml.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/scanner.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:565:
    ext/_yaml.h:10: warning: "PyString_CheckExact" redefined
       10 | #define PyString_CheckExact PyBytes_CheckExact
          |
    ext/_yaml.c:455: note: this is the location of the previous definition
      455 |   #define PyString_CheckExact          PyUnicode_CheckExact
          |
    ext/_yaml.c: In function ‘__pyx_pf_5_yaml_get_version_string’:
    ext/_yaml.c:1818:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     1818 |   __pyx_v_value = yaml_get_version_string();
          |                 ^
    ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
    ext/_yaml.c:3318:52: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [-Wincompatible-pointer-types]
     3318 |     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:565:
    /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:96,
                     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:3559:59: note: in expansion of macro ‘PyString_AS_STRING’
     3559 |     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:565:
    /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:5457:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     5457 |     __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:97,
                     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:5469:71: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     5469 |     __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:97,
                     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:6583:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     6583 |     __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:97,
                     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:6675:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     6675 |     __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:97,
                     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:6767:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     6767 |     __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:97,
                     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:6779:61: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     6779 |     __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:97,
                     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:6911:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
     6911 |     __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:97,
                     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:8664:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     8664 |         __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:97,
                     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:8676:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     8676 |         __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:97,
                     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:8935:63: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     8935 |     __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:97,
                     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:9047:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9047 |       __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:97,
                     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:9088:66: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9088 |       __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:97,
                     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:9109:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
     9109 |     __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:97,
                     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:9490:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9490 |       __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:97,
                     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:9531:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9531 |       __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:97,
                     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:9779:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9779 |       __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:97,
                     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:9820:73: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
     9820 |       __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:97,
                     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:11517:75: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    11517 |     __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:97,
                     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:11837:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    11837 |     __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:97,
                     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:11893:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    11893 |     __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:97,
                     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:11949:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    11949 |     __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:97,
                     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:12626:74: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
    12626 |   __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:97,
                     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:12849:76: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    12849 |     __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:97,
                     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:13419:84: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    13419 |     __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:97,
                     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:14052:83: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
    14052 |     __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:97,
                     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:14903:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
    14903 |   __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:15423:53: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [-Wincompatible-pointer-types]
    15423 |   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:565:
    /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:16813:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
    16813 |         __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
          |                                            ^
    ext/_yaml.c:16928:44: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
    16928 |         __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
          |                                            ^
    ext/_yaml.c:17265:62: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
    17265 |     __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:565:
    /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:17980:63: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    17980 |     __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:565:
    /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:17980:79: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    17980 |     __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:565:
    /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:17980:92: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    17980 |     __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:565:
    /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:18414:71: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
    18414 |     __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:565:
    /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:18414:87: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
    18414 |     __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:565:
    /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:18848:70: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
    18848 |     __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:565:
    /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:18848:86: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
    18848 |     __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:565:
    /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:20317:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
    20317 |       __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
          |                                          ^
    ext/_yaml.c:20432:42: warning: pointer targets in assignment from ‘char *’ to ‘yaml_char_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign]
    20432 |       __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:21288:65: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
    21288 |     __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:565:
    /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:22099:68: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    22099 |       __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:565:
    /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:22099:84: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    22099 |       __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:565:
    /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:22099:97: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
    22099 |       __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:565:
    /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:22486:76: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
    22486 |       __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:565:
    /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:22486:92: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
    22486 |       __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:565:
    /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:23016:75: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
    23016 |       __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:565:
    /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:23016:91: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
    23016 |       __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:565:
    /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_modinit_type_init_code’:
    ext/_yaml.c:25698:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
    25698 |   __pyx_type_5_yaml_Mark.tp_print = 0;
          |                         ^
    ext/_yaml.c:25718:28: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
    25718 |   __pyx_type_5_yaml_CParser.tp_print = 0;
          |                            ^
    ext/_yaml.c:25732:29: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’
    25732 |   __pyx_type_5_yaml_CEmitter.tp_print = 0;
          |                             ^
    ext/_yaml.c: In function ‘__Pyx_ParseOptionalKeywords’:
    ext/_yaml.c:26917:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26917:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26917:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26917:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26917:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26917:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26917 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
          |                     ^
    In file included from /usr/include/python3.9/unicodeobject.h:1026,
                     from /usr/include/python3.9/Python.h:97,
                     from 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:26933:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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:26933:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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:26933:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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:26933:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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:26933:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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:26933:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
    26933 |                         (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:97,
                     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) {
          |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
    error: command '/usr/bin/gcc' failed with exit code 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v96erdhc/pyyaml_516b5422fdc14376b40a7cdd7e8cfa8e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v96erdhc/pyyaml_516b5422fdc14376b40a7cdd7e8cfa8e/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-bp217ljc/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/PyYAML Check the logs for full command output.
@KonradHoeffner KonradHoeffner changed the title Error on pip install Error on pip install of PyYAML Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant