home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.61k stars 30.38k forks source link

Failed updating 0.91.4 > 0.92.0 #23434

Closed sweebee closed 5 years ago

sweebee commented 5 years ago

Home Assistant release with the issue:

0.92.0

Last working Home Assistant release (if known): 0.91.4

Operating environment (Hass.io/Docker/Windows/etc.):

manual installation raspberry pi. Previous updates worked fine, this one doesn't.

Description of problem: Can't upgrade to newer home assistant version. Getting following error when upgrading.

Traceback (if applicable):

(homeassistant) pi@raspberrypi:/srv/homeassistant $ pip3 install --upgrade homeassistant
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting homeassistant
  Using cached https://files.pythonhosted.org/packages/bb/94/dd2d566a504310e386da1ea9fe29547aab102ec87342411d7c8cf9d619e6/homeassistant-0.92.0-py3-none-any.whl
Requirement already satisfied, skipping upgrade: certifi>=2018.04.16 in ./lib/python3.5/site-packages (from homeassistant) (2019.3.9)
Requirement already satisfied, skipping upgrade: attrs==18.2.0 in ./lib/python3.5/site-packages (from homeassistant) (18.2.0)
Requirement already satisfied, skipping upgrade: astral==1.10.1 in ./lib/python3.5/site-packages (from homeassistant) (1.10.1)
Collecting PyJWT==1.7.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: pip>=8.0.3 in ./lib/python3.5/site-packages (from homeassistant) (19.1)
Collecting cryptography==2.6.1 (from homeassistant)
  Using cached https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied, skipping upgrade: voluptuous==0.11.5 in ./lib/python3.5/site-packages (from homeassistant) (0.11.5)
Collecting python-slugify==3.0.2 (from homeassistant)
Collecting ruamel.yaml==0.15.91 (from homeassistant)
Requirement already satisfied, skipping upgrade: aiohttp==3.5.4 in ./lib/python3.5/site-packages (from homeassistant) (3.5.4)
Requirement already satisfied, skipping upgrade: jinja2>=2.10 in ./lib/python3.5/site-packages (from homeassistant) (2.10)
Requirement already satisfied, skipping upgrade: pyyaml<4,>=3.13 in ./lib/python3.5/site-packages (from homeassistant) (3.13)
Requirement already satisfied, skipping upgrade: pytz>=2019.01 in ./lib/python3.5/site-packages (from homeassistant) (2019.1)
Requirement already satisfied, skipping upgrade: async-timeout==3.0.1 in ./lib/python3.5/site-packages (from homeassistant) (3.0.1)
Requirement already satisfied, skipping upgrade: bcrypt==3.1.6 in ./lib/python3.5/site-packages (from homeassistant) (3.1.6)
Requirement already satisfied, skipping upgrade: requests==2.21.0 in ./lib/python3.5/site-packages (from homeassistant) (2.21.0)
Requirement already satisfied, skipping upgrade: voluptuous-serialize==2.1.0 in ./lib/python3.5/site-packages (from homeassistant) (2.1.0)
Requirement already satisfied, skipping upgrade: asn1crypto>=0.21.0 in ./lib/python3.5/site-packages (from cryptography==2.6.1->homeassistant) (0.24.0)
Requirement already satisfied, skipping upgrade: six>=1.4.1 in ./lib/python3.5/site-packages (from cryptography==2.6.1->homeassistant) (1.12.0)
Requirement already satisfied, skipping upgrade: cffi!=1.11.3,>=1.8 in ./lib/python3.5/site-packages (from cryptography==2.6.1->homeassistant) (1.11.5)
Collecting text-unidecode==1.2 (from python-slugify==3.0.2->homeassistant)
  Using cached https://files.pythonhosted.org/packages/79/42/d717cc2b4520fb09e45b344b1b0b4e81aa672001dd128c180fabc655c341/text_unidecode-1.2-py2.py3-none-any.whl
Requirement already satisfied, skipping upgrade: typing-extensions>=3.6.5; python_version < "3.7" in ./lib/python3.5/site-packages (from aiohttp==3.5.4->homeassistant) (3.7.2)
Requirement already satisfied, skipping upgrade: multidict<5.0,>=4.0 in ./lib/python3.5/site-packages (from aiohttp==3.5.4->homeassistant) (4.5.2)
Requirement already satisfied, skipping upgrade: yarl<2.0,>=1.0 in ./lib/python3.5/site-packages (from aiohttp==3.5.4->homeassistant) (1.3.0)
Requirement already satisfied, skipping upgrade: chardet<4.0,>=2.0 in ./lib/python3.5/site-packages (from aiohttp==3.5.4->homeassistant) (3.0.4)
Requirement already satisfied, skipping upgrade: idna-ssl>=1.0; python_version < "3.7" in ./lib/python3.5/site-packages (from aiohttp==3.5.4->homeassistant) (1.1.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in ./lib/python3.5/site-packages (from jinja2>=2.10->homeassistant) (1.1.0)
Requirement already satisfied, skipping upgrade: urllib3<1.25,>=1.21.1 in ./lib/python3.5/site-packages (from requests==2.21.0->homeassistant) (1.24.1)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in ./lib/python3.5/site-packages (from requests==2.21.0->homeassistant) (2.8)
Requirement already satisfied, skipping upgrade: pycparser in ./lib/python3.5/site-packages (from cffi!=1.11.3,>=1.8->cryptography==2.6.1->homeassistant) (2.19)
Building wheels for collected packages: cryptography
  Building wheel for cryptography (PEP 517) ... error
  ERROR: Complete output from command /srv/homeassistant/bin/python3 /srv/homeassistant/lib/python3.5/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpyt8uo3li:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-armv7l-3.5
  creating build/lib.linux-armv7l-3.5/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.5/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.5/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.5/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.5/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.5/cryptography
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat
  creating build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/x509
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/backends/openssl
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-armv7l-3.5/cryptography/hazmat/primitives/twofactor
  running egg_info
  writing top-level names to src/cryptography.egg-info/top_level.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing src/cryptography.egg-info/PKG-INFO
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files matching '*' found under directory 'vectors'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  running build_ext
  generating cffi module 'build/temp.linux-armv7l-3.5/_padding.c'
  creating build/temp.linux-armv7l-3.5
  generating cffi module 'build/temp.linux-armv7l-3.5/_constant_time.c'
  generating cffi module 'build/temp.linux-armv7l-3.5/_openssl.c'
  building '_openssl' extension
  creating build/temp.linux-armv7l-3.5/build
  creating build/temp.linux-armv7l-3.5/build/temp.linux-armv7l-3.5
  arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-6waWnr/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/srv/homeassistant/include -I/usr/include/python3.5m -c build/temp.linux-armv7l-3.5/_openssl.c -o build/temp.linux-armv7l-3.5/build/temp.linux-armv7l-3.5/_openssl.o -Wconversion -Wno-error=sign-conversion
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘Cryptography_pem_password_cb’:
  build/temp.linux-armv7l-3.5/_openssl.c:2973:35: warning: conversion to ‘size_t {aka unsigned int}’ from ‘int’ may change the sign of the result [-Wsign-conversion]
           memcpy(buf, st->password, st->length);
                                     ^~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_ASN1_STRING_data’:
  build/temp.linux-armv7l-3.5/_openssl.c:10775:3: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
     return ASN1_STRING_data(x0);
     ^~~~~~
  In file included from /usr/local/include/openssl/bn.h:18:0,
                   from /usr/local/include/openssl/asn1.h:23,
                   from build/temp.linux-armv7l-3.5/_openssl.c:545:
  /usr/local/include/openssl/asn1.h:554:1: note: declared here
   DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_ASN1_STRING_data’:
  build/temp.linux-armv7l-3.5/_openssl.c:10798:3: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
     { result = ASN1_STRING_data(x0); }
     ^
  In file included from /usr/local/include/openssl/bn.h:18:0,
                   from /usr/local/include/openssl/asn1.h:23,
                   from build/temp.linux-armv7l-3.5/_openssl.c:545:
  /usr/local/include/openssl/asn1.h:554:1: note: declared here
   DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_datagram’:
  build/temp.linux-armv7l-3.5/_openssl.c:11911:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_datagram();
            ^~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_datagram’:
  build/temp.linux-armv7l-3.5/_openssl.c:11921:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_datagram(); }
              ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_mem’:
  build/temp.linux-armv7l-3.5/_openssl.c:11935:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_mem();
            ^~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_mem’:
  build/temp.linux-armv7l-3.5/_openssl.c:11945:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_mem(); }
              ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17225:3: warning: ‘DTLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_client_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1863:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17235:3: warning: ‘DTLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_client_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1863:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17285:3: warning: ‘DTLSv1_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1861:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17295:3: warning: ‘DTLSv1_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1861:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17309:3: warning: ‘DTLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_server_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1862:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:17319:3: warning: ‘DTLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_server_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1862:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_EVP_PKEY_get_raw_private_key’:
  build/temp.linux-armv7l-3.5/_openssl.c:23427:10: warning: implicit declaration of function ‘EVP_PKEY_get_raw_private_key’ [-Wimplicit-function-declaration]
     return EVP_PKEY_get_raw_private_key(x0, x1, x2);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_EVP_PKEY_get_raw_public_key’:
  build/temp.linux-armv7l-3.5/_openssl.c:23493:10: warning: implicit declaration of function ‘EVP_PKEY_get_raw_public_key’ [-Wimplicit-function-declaration]
     return EVP_PKEY_get_raw_public_key(x0, x1, x2);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_OCSP_resp_get0_certs’:
  build/temp.linux-armv7l-3.5/_openssl.c:27971:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return OCSP_resp_get0_certs(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_OCSP_resp_get0_certs’:
  build/temp.linux-armv7l-3.5/_openssl.c:27994:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = OCSP_resp_get0_certs(x0); }
              ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_OCSP_resp_get0_respdata’:
  build/temp.linux-armv7l-3.5/_openssl.c:28109:10: warning: implicit declaration of function ‘OCSP_resp_get0_respdata’ [-Wimplicit-function-declaration]
     return OCSP_resp_get0_respdata(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:28109:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
     return OCSP_resp_get0_respdata(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_OCSP_resp_get0_respdata’:
  build/temp.linux-armv7l-3.5/_openssl.c:28132:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     { result = OCSP_resp_get0_respdata(x0); }
              ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_OCSP_resp_get0_tbs_sigalg’:
  build/temp.linux-armv7l-3.5/_openssl.c:28181:10: warning: implicit declaration of function ‘OCSP_resp_get0_tbs_sigalg’ [-Wimplicit-function-declaration]
     return OCSP_resp_get0_tbs_sigalg(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:28181:10: warning: return makes pointer from integer without a cast [-Wint-conversion]
     return OCSP_resp_get0_tbs_sigalg(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_OCSP_resp_get0_tbs_sigalg’:
  build/temp.linux-armv7l-3.5/_openssl.c:28204:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
     { result = OCSP_resp_get0_tbs_sigalg(x0); }
              ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_OPENSSL_config’:
  build/temp.linux-armv7l-3.5/_openssl.c:28451:3: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations]
     OPENSSL_config(x0);
     ^~~~~~~~~~~~~~
  In file included from /usr/local/include/openssl/evp.h:13:0,
                   from /usr/local/include/openssl/cmac.h:19,
                   from build/temp.linux-armv7l-3.5/_openssl.c:555:
  /usr/local/include/openssl/conf.h:91:1: note: declared here
   DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_OPENSSL_config’:
  build/temp.linux-armv7l-3.5/_openssl.c:28473:3: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations]
     { OPENSSL_config(x0); }
     ^
  In file included from /usr/local/include/openssl/evp.h:13:0,
                   from /usr/local/include/openssl/cmac.h:19,
                   from build/temp.linux-armv7l-3.5/_openssl.c:555:
  /usr/local/include/openssl/conf.h:91:1: note: declared here
   DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_add_extra_chain_cert’:
  build/temp.linux-armv7l-3.5/_openssl.c:34131:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_add_extra_chain_cert(x0, x1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_add_extra_chain_cert’:
  build/temp.linux-armv7l-3.5/_openssl.c:34171:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_add_extra_chain_cert(x0, x1); }
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:34595:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_get_mode(x0);
            ^~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:34618:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_get_mode(x0); }
                ^~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_session_cache_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:34703:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_get_session_cache_mode(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_session_cache_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:34726:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_get_session_cache_mode(x0); }
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:36332:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_set_mode(x0, x1);
            ^~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:36332:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:36365:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_set_mode(x0, x1); }
                ^~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:36365:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_post_handshake_auth’:
  build/temp.linux-armv7l-3.5/_openssl.c:36542:3: warning: implicit declaration of function ‘SSL_CTX_set_post_handshake_auth’ [-Wimplicit-function-declaration]
     SSL_CTX_set_post_handshake_auth(x0, x1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from build/temp.linux-armv7l-3.5/_openssl.c:730:0:
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_session_cache_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:36726:45: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_set_session_cache_mode(x0, x1);
                                               ^
  build/temp.linux-armv7l-3.5/_openssl.c:36726:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_set_session_cache_mode(x0, x1);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from build/temp.linux-armv7l-3.5/_openssl.c:730:0:
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_session_cache_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:36759:49: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_set_session_cache_mode(x0, x1); }
                                                   ^
  build/temp.linux-armv7l-3.5/_openssl.c:36759:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_set_session_cache_mode(x0, x1); }
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_dh’:
  build/temp.linux-armv7l-3.5/_openssl.c:37128:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_set_tmp_dh(x0, x1);
            ^~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_dh’:
  build/temp.linux-armv7l-3.5/_openssl.c:37168:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_set_tmp_dh(x0, x1); }
                ^~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_ecdh’:
  build/temp.linux-armv7l-3.5/_openssl.c:37181:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_CTX_set_tmp_ecdh(x0, x1);
            ^~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_ecdh’:
  build/temp.linux-armv7l-3.5/_openssl.c:37221:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_CTX_set_tmp_ecdh(x0, x1); }
                ^~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_SESSION_get_ticket_lifetime_hint’:
  build/temp.linux-armv7l-3.5/_openssl.c:37970:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     return SSL_SESSION_get_ticket_lifetime_hint(x0);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_SESSION_get_ticket_lifetime_hint’:
  build/temp.linux-armv7l-3.5/_openssl.c:37993:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_SESSION_get_ticket_lifetime_hint(x0); }
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_get_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:39358:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     return SSL_get_mode(x0);
            ^~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_get_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:39381:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_get_mode(x0); }
                ^~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_set_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:41301:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     return SSL_set_mode(x0, x1);
            ^~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:41301:10: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_SSL_set_mode’:
  build/temp.linux-armv7l-3.5/_openssl.c:41334:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
     { result = SSL_set_mode(x0, x1); }
                ^~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c:41334:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_SSL_set_post_handshake_auth’:
  build/temp.linux-armv7l-3.5/_openssl.c:41393:3: warning: implicit declaration of function ‘SSL_set_post_handshake_auth’ [-Wimplicit-function-declaration]
     SSL_set_post_handshake_auth(x0, x1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42820:3: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_client_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1851:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42830:3: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_client_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1851:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42844:3: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1849:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42854:3: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1849:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42868:3: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_server_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1850:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42878:3: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_server_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1850:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42892:3: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_client_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1857:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42902:3: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_client_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1857:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42916:3: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1855:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42926:3: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1855:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42940:3: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_server_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1856:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42950:3: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_server_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1856:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42964:3: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_client_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1845:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_client_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42974:3: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_client_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1845:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42988:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1843:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:42998:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1843:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:43012:3: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_server_method();
     ^~~~~~
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1844:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_server_method’:
  build/temp.linux-armv7l-3.5/_openssl.c:43022:3: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_server_method(); }
     ^
  In file included from /usr/local/include/openssl/comperr.h:14:0,
                   from /usr/local/include/openssl/comp.h:17,
                   from /usr/local/include/openssl/ssl.h:17,
                   from build/temp.linux-armv7l-3.5/_openssl.c:730:
  /usr/local/include/openssl/ssl.h:1844:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_X509_CRL_get_lastUpdate’:
  build/temp.linux-armv7l-3.5/_openssl.c:44095:3: warning: ‘X509_CRL_get_lastUpdate’ is deprecated [-Wdeprecated-declarations]
     return X509_CRL_get_lastUpdate(x0);
     ^~~~~~
  In file included from /usr/local/include/openssl/x509_vfy.h:20:0,
                   from /usr/local/include/openssl/x509.h:320,
                   from /usr/local/include/openssl/ct.h:18,
                   from build/temp.linux-armv7l-3.5/_openssl.c:566:
  /usr/local/include/openssl/x509.h:727:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_X509_CRL_get_lastUpdate’:
  build/temp.linux-armv7l-3.5/_openssl.c:44118:3: warning: ‘X509_CRL_get_lastUpdate’ is deprecated [-Wdeprecated-declarations]
     { result = X509_CRL_get_lastUpdate(x0); }
     ^
  In file included from /usr/local/include/openssl/x509_vfy.h:20:0,
                   from /usr/local/include/openssl/x509.h:320,
                   from /usr/local/include/openssl/ct.h:18,
                   from build/temp.linux-armv7l-3.5/_openssl.c:566:
  /usr/local/include/openssl/x509.h:727:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_d_X509_CRL_get_nextUpdate’:
  build/temp.linux-armv7l-3.5/_openssl.c:44131:3: warning: ‘X509_CRL_get_nextUpdate’ is deprecated [-Wdeprecated-declarations]
     return X509_CRL_get_nextUpdate(x0);
     ^~~~~~
  In file included from /usr/local/include/openssl/x509_vfy.h:20:0,
                   from /usr/local/include/openssl/x509.h:320,
                   from /usr/local/include/openssl/ct.h:18,
                   from build/temp.linux-armv7l-3.5/_openssl.c:566:
  /usr/local/include/openssl/x509.h:728:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
   ^
  build/temp.linux-armv7l-3.5/_openssl.c: In function ‘_cffi_f_X509_CRL_get_nextUpdate’:
  build/temp.linux-armv7l-3.5/_openssl.c:44154:3: warning: ‘X509_CRL_get_nextUpdate’ is deprecated [-Wdeprecated-declarations]
     { result = X509_CRL_get_nextUpdate(x0); }
     ^
  In file included from /usr/local/include/openssl/x509_vfy.h:20:0,
                   from /usr/local/include/openssl/x509.h:320,
                   from /usr/local/include/openssl/ct.h:18,
                   from build/temp.linux-armv7l-3.5/_openssl.c:566:
  /usr/local/include/openssl/x509.h:728:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
   ^
  arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fdebug-prefix-map=/build/python3.5-6waWnr/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.5/build/temp.linux-armv7l-3.5/_openssl.o -lssl -lcrypto -o build/lib.linux-armv7l-3.5/cryptography/hazmat/bindings/_openssl.abi3.so
  /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/6/../../../libssl.a(t1_meth.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  /usr/lib/gcc/arm-linux-gnueabihf/6/../../../libssl.a: error adding symbols: Bad value
  collect2: error: ld returned 1 exit status
  error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
  Running setup.py clean for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
fabaff commented 5 years ago

It seem that you can 't build the wheel of cryptography on your system. Try to install it manually. Check for the right architecture on https://pypi.org/project/cryptography/#files

$ pip install cryptography-2.6.1-....whl
sweebee commented 5 years ago

Tried that but i get Requirement already satisfied

uphillbattle commented 5 years ago

I get the same problem when trying a fresh install of HA on RPi 3B+ with a USB connected SSD. Upgrade to 0.92 worked well earlier today when I upgraded the SD card installation, but fresh install on the SSD does not work.

Have run pip install --upgrade pip (it appears pip version 19.1 is required), pip install pep517 (result OK) and finally pip install cryptography, but the cryptography installation fails with the final error message: ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly.

uphillbattle commented 5 years ago

$ sudo apt-get install libssl-dev and then (homeassistant) homeassistant@raspberrypi:/srv/homeassistant $ pip3 install homeassistant resulted in successful instatllation of HA.

Credit: https://community.home-assistant.io/t/cant-update-to-0-92-on-a-venv-errors-on-cryptography/113052/2

sweebee commented 5 years ago

Thanks! its still installing but going further now. Looks like its going to work now.