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

installation fails on fresh ubuntu 14.04.5 machine #3366

Closed
cromulus opened this issue Jan 25, 2017 · 1 comment
Closed

installation fails on fresh ubuntu 14.04.5 machine #3366

cromulus opened this issue Jan 25, 2017 · 1 comment

Comments

@cromulus
Copy link

cromulus commented Jan 25, 2017

Running this command:

apt update && apt full-upgrade -y

apt install -y python3-flask links duplicity libyaml-dev python3-dnspython python3-dateutil python-pip build-essential libssl-dev libffi-dev python3-dev python3-pip

pip3 install --upgrade \
  rtyaml "email_validator>=1.0.0" "free_tls_certificates>=0.1.3" "exclusiveprocess" \
  "idna>=2.0.0" "cryptography>=1.0.2" boto psutil

produces this error:

 Running setup.py install for cryptography

    Installed /tmp/pip_build_root/cryptography/cffi-1.9.1-py3.4-linux-x86_64.egg
    Searching for pycparser
    Reading https://pypi.python.org/simple/pycparser/
    Best match: pycparser 2.17
    Downloading https://pypi.python.org/packages/be/64/1bb257ffb17d01f4a38d7ce686809a736837ad4371bcc5c42ba7a715c3ac/pycparser-2.17.tar.gz#md5=ca98dcb50bc1276f230118f6af5a40c7
    Processing pycparser-2.17.tar.gz
    Writing /tmp/easy_install-29vm5b82/pycparser-2.17/setup.cfg
    Running pycparser-2.17/setup.py -q bdist_egg --dist-dir /tmp/easy_install-29vm5b82/pycparser-2.17/egg-dist-tmp-lu56lhjw
    warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
    warning: no previously-included files matching 'lextab.*' found under directory 'tests'
    warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
    warning: no previously-included files matching 'lextab.*' found under directory 'examples'
    zip_safe flag not set; analyzing archive contents...
    pycparser.ply.__pycache__.lex.cpython-34: module references __file__
    pycparser.ply.__pycache__.lex.cpython-34: module MAY be using inspect.getsourcefile
    pycparser.ply.__pycache__.ygen.cpython-34: module references __file__
    pycparser.ply.__pycache__.yacc.cpython-34: module references __file__
    pycparser.ply.__pycache__.yacc.cpython-34: module MAY be using inspect.getsourcefile
    pycparser.ply.__pycache__.yacc.cpython-34: module MAY be using inspect.stack

    Installed /tmp/pip_build_root/cryptography/pycparser-2.17-py3.4.egg

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
    generating cffi module 'build/temp.linux-x86_64-3.4/_padding.c'
    generating cffi module 'build/temp.linux-x86_64-3.4/_constant_time.c'
    generating cffi module 'build/temp.linux-x86_64-3.4/_openssl.c'
    building '_openssl' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/_openssl.c -o build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_openssl.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_openssl.o -lssl -lcrypto -o build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/_openssl.cpython-34m.so
    building '_constant_time' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/_constant_time.c -o build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_constant_time.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_constant_time.o -o build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/_constant_time.cpython-34m.so
    building '_padding' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/_padding.c -o build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_padding.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/build/temp.linux-x86_64-3.4/_padding.o -o build/lib.linux-x86_64-3.4/cryptography/hazmat/bindings/_padding.cpython-34m.so
  Running setup.py install for psutil
    building 'psutil._psutil_linux' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=501 -DPSUTIL_LINUX=1 -I/usr/include/python3.4m -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-3.4/psutil/_psutil_linux.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/psutil/_psutil_linux.o -o build/lib.linux-x86_64-3.4/psutil/_psutil_linux.cpython-34m.so
    building 'psutil._psutil_posix' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=501 -DPSUTIL_LINUX=1 -I/usr/include/python3.4m -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-3.4/psutil/_psutil_posix.o
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/psutil/_psutil_posix.o -o build/lib.linux-x86_64-3.4/psutil/_psutil_posix.cpython-34m.so

    warning: manifest_maker: MANIFEST.in, line 14: 'recursive-include' expects <dir> <pattern1> <pattern2> ...

    warning: no previously-included files matching '*' found under directory 'docs/_build'
    warning: no previously-included files matching '*' found under directory '.ci'
  Running setup.py install for pyyaml
    checking if libyaml is compilable
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c build/temp.linux-x86_64-3.4/check_libyaml.c -o build/temp.linux-x86_64-3.4/check_libyaml.o
    checking if libyaml is linkable
    x86_64-linux-gnu-gcc -pthread build/temp.linux-x86_64-3.4/check_libyaml.o -lyaml -o build/temp.linux-x86_64-3.4/check_libyaml
    building '_yaml' extension
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -c ext/_yaml.c -o build/temp.linux-x86_64-3.4/ext/_yaml.o
    In file included from ext/_yaml.c:271:0:
    ext/_yaml.h:10:0: warning: "PyString_CheckExact" redefined [enabled by default]
     #define PyString_CheckExact PyBytes_CheckExact
     ^
    ext/_yaml.c:139:0: note: this is the location of the previous definition
       #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 [enabled by default]
       __pyx_v_value = yaml_get_version_string();
                     ^
    ext/_yaml.c: In function ‘__pyx_pf_5_yaml_7CParser___init__’:
    ext/_yaml.c:2577:5: warning: passing argument 2 of ‘yaml_parser_set_input’ from incompatible pointer type [enabled by default]
         yaml_parser_set_input((&__pyx_v_self->parser), __pyx_f_5_yaml_input_handler, ((void *)__pyx_v_self));
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:1367:1: note: expected ‘int (*)(void *, unsigned char *, size_t,  size_t *)’ but argument is of type ‘int (*)(void *, char *, size_t,  size_t *)’
     yaml_parser_set_input(yaml_parser_t *parser,
     ^
    ext/_yaml.c:2818:5: warning: pointer targets in passing argument 2 of ‘yaml_parser_set_input_string’ differ in signedness [-Wpointer-sign]
         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:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:1341:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
     yaml_parser_set_input_string(yaml_parser_t *parser,
     ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__token_to_object’:
    ext/_yaml.c:4572:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:4584:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag_directive.prefix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 418, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:5444:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.alias.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 448, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:5518:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.anchor.value); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 451, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:5592:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.handle); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 454, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:5604:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = PyUnicode_FromString(__pyx_v_token->data.tag.suffix); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 455, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:5716:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:1276:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                           ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__event_to_object’:
    ext/_yaml.c:7424:9: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
             __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->handle); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 574, __pyx_L1_error)
             ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:7436:9: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
             __pyx_t_4 = PyUnicode_FromString(__pyx_v_tag_directive->prefix); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 575, __pyx_L1_error)
             ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:7655:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.alias.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 586, __pyx_L1_error)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:7749:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 591, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:7790:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.scalar.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 594, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:7811:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:1276:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                           ^
    ext/_yaml.c:8179:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 620, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:8220:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.sequence_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 623, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:8449:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.anchor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 637, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:8490:7: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
           __pyx_t_4 = PyUnicode_FromString(__pyx_v_event->data.mapping_start.tag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 640, __pyx_L1_error)
           ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_node’:
    ext/_yaml.c:10094:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:10378:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:10434:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c:10490:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_scalar_node’:
    ext/_yaml.c:11109:3: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign]
       __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)
       ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:1276:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8(
                           ^
    ext/_yaml.c:11310:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_sequence_node’:
    ext/_yaml.c:11841:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_7CParser__compose_mapping_node’:
    ext/_yaml.c:12435:5: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign]
         __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)
         ^
    In file included from /usr/include/python3.4m/Python.h:77:0,
                     from ext/_yaml.c:4:
    /usr/include/python3.4m/unicodeobject.h:718:23: note: expected ‘const char *’ but argument is of type ‘yaml_char_t *’
     PyAPI_FUNC(PyObject*) PyUnicode_FromString(
                           ^
    ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter___init__’:
    ext/_yaml.c:13630:3: warning: passing argument 2 of ‘yaml_emitter_set_output’ from incompatible pointer type [enabled by default]
       yaml_emitter_set_output((&__pyx_v_self->emitter), __pyx_f_5_yaml_output_handler, ((void *)__pyx_v_self));
       ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:1829:1: note: expected ‘int (*)(void *, unsigned char *, size_t)’ but argument is of type ‘int (*)(void *, char *, size_t)’
     yaml_emitter_set_output(yaml_emitter_t *emitter,
     ^
    ext/_yaml.c: In function ‘__pyx_f_5_yaml_8CEmitter__object_to_event’:
    ext/_yaml.c:15002:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
             __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                                ^
    ext/_yaml.c:15117:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
             __pyx_v_tag_directives_end->prefix = PyString_AS_STRING(__pyx_v_prefix);
                                                ^
    ext/_yaml.c:15454:5: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = ((yaml_alias_event_initialize(__pyx_v_event, __pyx_v_anchor) == 0) != 0);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:553:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
     ^
    ext/_yaml.c:16169:5: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:16169:5: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:16169:5: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:16603:5: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:601:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_sequence_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:16603:5: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:601:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_sequence_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:17037:5: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:633:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_mapping_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:17037:5: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
         __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);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:633:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_mapping_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c: In function ‘__pyx_pf_5_yaml_8CEmitter_12serialize’:
    ext/_yaml.c:18516:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
           __pyx_v_tag_directives_end->handle = PyString_AS_STRING(__pyx_v_handle);
                                              ^
    ext/_yaml.c:18631:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
           __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:5: warning: pointer targets in passing argument 2 of ‘yaml_alias_event_initialize’ differ in signedness [-Wpointer-sign]
         __pyx_t_2 = ((yaml_alias_event_initialize((&__pyx_v_event), __pyx_v_anchor) == 0) != 0);
         ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:553:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_alias_event_initialize(yaml_event_t *event, yaml_char_t *anchor);
     ^
    ext/_yaml.c:20240:7: warning: pointer targets in passing argument 2 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:20240:7: warning: pointer targets in passing argument 3 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:20240:7: warning: pointer targets in passing argument 4 of ‘yaml_scalar_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:578:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_scalar_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:20605:7: warning: pointer targets in passing argument 2 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:601:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_sequence_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:20605:7: warning: pointer targets in passing argument 3 of ‘yaml_sequence_start_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:601:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_sequence_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:21113:7: warning: pointer targets in passing argument 2 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:633:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_mapping_start_event_initialize(yaml_event_t *event,
     ^
    ext/_yaml.c:21113:7: warning: pointer targets in passing argument 3 of ‘yaml_mapping_start_event_initialize’ differ in signedness [-Wpointer-sign]
           __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);
           ^
    In file included from ext/_yaml.h:2:0,
                     from ext/_yaml.c:271:
    /usr/include/yaml.h:633:1: note: expected ‘yaml_char_t *’ but argument is of type ‘char *’
     yaml_mapping_start_event_initialize(yaml_event_t *event,
     ^
    x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.4/ext/_yaml.o -lyaml -o build/lib.linux-x86_64-3.4/_yaml.cpython-34m.so

  Found existing installation: six 1.5.2
    Not uninstalling six at /usr/lib/python3/dist-packages, owned by OS
  Found existing installation: setuptools 3.3
    Not uninstalling setuptools at /usr/lib/python3/dist-packages, owned by OS
  Running setup.py install for cffi
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>
        import setuptools.version
      File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
        import packaging.version
    ImportError: No module named 'packaging'
    Complete output from command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hoa0sujr-record/install-record.txt --single-version-externally-managed --compile:
    Traceback (most recent call last):

  File "<string>", line 1, in <module>

  File "/usr/local/lib/python3.4/dist-packages/setuptools/__init__.py", line 12, in <module>

    import setuptools.version

  File "/usr/local/lib/python3.4/dist-packages/setuptools/version.py", line 1, in <module>

    import pkg_resources

  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>

    import packaging.version

ImportError: No module named 'packaging'

----------------------------------------
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hoa0sujr-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/cffi
Storing debug log for failure in /root/.pip/pip.log

and subsequently totally breaks pip3, with all invocations resulting in this error:

root@ubuntu-1gb-nyc3-01:~# pip3
Traceback (most recent call last):
  File "/usr/bin/pip3", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>
    import packaging.version
ImportError: No module named 'packaging'
@dstufft
Copy link
Member

dstufft commented Jan 25, 2017

This is almost certainly going to be pypa/pip#4253.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants