Failed building wheel for cryptography

2,806 views
Skip to first unread message

soman...@gmail.com

unread,
Feb 15, 2018, 9:19:13 AM2/15/18
to taigaio
Hi there, 
pip install -r requirements.txt
produces Failed building wheel for cryptography error 
every required openssl and dev headers are yet installed 

Any idea ?

thanks
Somanos

$:~/taiga-back$ mkvirtualenv -p /usr/bin/python3.5 taiga
NOTE: Virtual environments directory /home/taiga/.virtualenvs does not exist. Creating...
Running virtualenv with interpreter /usr/bin/python3.5
Using base prefix '/usr'
New python executable in /home/taiga/.virtualenvs/taiga/bin/python3.5
Also creating executable in /home/taiga/.virtualenvs/taiga/bin/python
Installing setuptools, pip, wheel...done.

$:~/taiga-back$ pip install -r requirements.txt
Collecting git+https://github.com/Xof/django-pglocks.git (from -r requirements.txt (line 33))
  Cloning https://github.com/Xof/django-pglocks.git to /tmp/pip-ydr66890-build
Collecting Django==1.10.6 (from -r requirements.txt (line 1))
  Using cached Django-1.10.6-py2.py3-none-any.whl
Collecting django-picklefield==0.3.2 (from -r requirements.txt (line 3))
  Using cached django_picklefield-0.3.2-py2.py3-none-any.whl
Collecting django-sampledatahelper==0.4.1 (from -r requirements.txt (line 4))
Collecting gunicorn==19.6.0 (from -r requirements.txt (line 5))
  Using cached gunicorn-19.6.0-py2.py3-none-any.whl
Collecting psycopg2==2.7 (from -r requirements.txt (line 6))
  Using cached psycopg2-2.7-cp35-cp35m-manylinux1_x86_64.whl
Collecting Pillow==3.4.2 (from -r requirements.txt (line 7))
  Using cached Pillow-3.4.2-cp35-cp35m-manylinux1_x86_64.whl
Collecting pytz==2016.10 (from -r requirements.txt (line 8))
  Using cached pytz-2016.10-py2.py3-none-any.whl
Collecting six==1.10.0 (from -r requirements.txt (line 9))
  Using cached six-1.10.0-py2.py3-none-any.whl
Collecting amqp==2.1.4 (from -r requirements.txt (line 10))
  Using cached amqp-2.1.4-py2.py3-none-any.whl
Collecting djmail==1.0.1 (from -r requirements.txt (line 11))
Collecting django-jinja==2.2.2 (from -r requirements.txt (line 12))
Collecting jinja2==2.9.5 (from -r requirements.txt (line 13))
  Using cached Jinja2-2.9.5-py2.py3-none-any.whl
Collecting pygments==2.2.0 (from -r requirements.txt (line 14))
  Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting django-sites==0.9 (from -r requirements.txt (line 15))
Collecting Markdown==2.6.8 (from -r requirements.txt (line 16))
Collecting fn==0.4.3 (from -r requirements.txt (line 17))
Collecting diff-match-patch==20121119 (from -r requirements.txt (line 18))
Collecting requests==2.13.0 (from -r requirements.txt (line 19))
  Using cached requests-2.13.0-py2.py3-none-any.whl
Collecting requests-oauthlib==0.8.0 (from -r requirements.txt (line 20))
  Using cached requests_oauthlib-0.8.0-py2.py3-none-any.whl
Collecting webcolors==1.7 (from -r requirements.txt (line 21))
Collecting django-sr==0.0.4 (from -r requirements.txt (line 22))
Collecting easy-thumbnails==2.3 (from -r requirements.txt (line 23))
  Using cached easy_thumbnails-2.3-py2.py3-none-any.whl
Collecting celery==4.0.2 (from -r requirements.txt (line 24))
  Using cached celery-4.0.2-py2.py3-none-any.whl
Collecting redis==2.10.5 (from -r requirements.txt (line 25))
  Using cached redis-2.10.5-py2.py3-none-any.whl
Collecting Unidecode==0.4.20 (from -r requirements.txt (line 26))
  Using cached Unidecode-0.04.20-py2.py3-none-any.whl
Collecting raven==6.0.0 (from -r requirements.txt (line 27))
  Using cached raven-6.0.0-py2.py3-none-any.whl
Collecting bleach==1.5.0 (from -r requirements.txt (line 28))
  Using cached bleach-1.5.0-py2.py3-none-any.whl
Collecting django-ipware==1.1.6 (from -r requirements.txt (line 29))
Collecting premailer==3.0.1 (from -r requirements.txt (line 30))
  Using cached premailer-3.0.1-py2.py3-none-any.whl
Collecting cssutils==1.0.1 (from -r requirements.txt (line 31))
Collecting lxml==3.7.3 (from -r requirements.txt (line 32))
  Using cached lxml-3.7.3-cp35-cp35m-manylinux1_x86_64.whl
Collecting pyjwkest==1.3.2 (from -r requirements.txt (line 34))
Collecting python-dateutil==2.6.0 (from -r requirements.txt (line 35))
  Using cached python_dateutil-2.6.0-py2.py3-none-any.whl
Collecting netaddr==0.7.19 (from -r requirements.txt (line 36))
  Using cached netaddr-0.7.19-py2.py3-none-any.whl
Collecting serpy==0.1.1 (from -r requirements.txt (line 37))
  Using cached serpy-0.1.1-py2.py3-none-any.whl
Collecting psd-tools==1.4 (from -r requirements.txt (line 38))
Collecting CairoSVG==2.0.1 (from -r requirements.txt (line 39))
  Using cached CairoSVG-2.0.1-py3-none-any.whl
Collecting python-magic==0.4.13 (from -r requirements.txt (line 40))
  Using cached python_magic-0.4.13-py2.py3-none-any.whl
Collecting cryptography==1.7.1 (from -r requirements.txt (line 41))
  Using cached cryptography-1.7.1.tar.gz
Collecting PyJWT==1.4.2 (from -r requirements.txt (line 42))
  Using cached PyJWT-1.4.2-py2.py3-none-any.whl
Collecting asana==0.6.2 (from -r requirements.txt (line 43))
Collecting sampledata (from django-sampledatahelper==0.4.1->-r requirements.txt (line 4))
Collecting vine>=1.1.3 (from amqp==2.1.4->-r requirements.txt (line 10))
  Using cached vine-1.1.4-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2==2.9.5->-r requirements.txt (line 13))
Collecting oauthlib>=0.6.2 (from requests-oauthlib==0.8.0->-r requirements.txt (line 20))
Collecting billiard<3.6.0,>=3.5.0.2 (from celery==4.0.2->-r requirements.txt (line 24))
  Using cached billiard-3.5.0.3-py3-none-any.whl
Collecting kombu<5.0,>=4.0.2 (from celery==4.0.2->-r requirements.txt (line 24))
  Using cached kombu-4.1.0-py2.py3-none-any.whl
Collecting contextlib2 (from raven==6.0.0->-r requirements.txt (line 27))
  Using cached contextlib2-0.5.5-py2.py3-none-any.whl
Collecting html5lib!=0.9999,!=0.99999,<0.99999999,>=0.999 (from bleach==1.5.0->-r requirements.txt (line 28))
Collecting cssselect (from premailer==3.0.1->-r requirements.txt (line 30))
  Using cached cssselect-1.0.3-py2.py3-none-any.whl
Collecting pycryptodomex (from pyjwkest==1.3.2->-r requirements.txt (line 34))
  Using cached pycryptodomex-3.4.12-cp35-cp35m-manylinux1_x86_64.whl
Collecting future (from pyjwkest==1.3.2->-r requirements.txt (line 34))
Collecting docopt>=0.5 (from psd-tools==1.4->-r requirements.txt (line 38))
Collecting cairocffi (from CairoSVG==2.0.1->-r requirements.txt (line 39))
Collecting tinycss (from CairoSVG==2.0.1->-r requirements.txt (line 39))
Collecting idna>=2.0 (from cryptography==1.7.1->-r requirements.txt (line 41))
  Using cached idna-2.6-py2.py3-none-any.whl
Collecting pyasn1>=0.1.8 (from cryptography==1.7.1->-r requirements.txt (line 41))
  Using cached pyasn1-0.4.2-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=11.3 in /home/taiga/.virtualenvs/taiga/lib/python3.5/site-packages (from cryptography==1.7.1->-r requirements.txt (line 41))
Collecting cffi>=1.4.1 (from cryptography==1.7.1->-r requirements.txt (line 41))
  Using cached cffi-1.11.4-cp35-cp35m-manylinux1_x86_64.whl
Collecting pycparser (from cffi>=1.4.1->cryptography==1.7.1->-r requirements.txt (line 41))
Building wheels for collected packages: cryptography
  Running setup.py bdist_wheel for cryptography ... error
  Complete output from command /home/taiga/.virtualenvs/taiga/bin/python3.5 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9w2fqyjc/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpdcuts_bypip-wheel- --python-tag cp35:
  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-35: module references __file__
  pycparser.ply.__pycache__.lex.cpython-35: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-35: module references __file__
  pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.getsourcefile
  pycparser.ply.__pycache__.yacc.cpython-35: module MAY be using inspect.stack
  pycparser.ply.__pycache__.ygen.cpython-35: module references __file__
  
  Installed /tmp/pip-build-9w2fqyjc/cryptography/.eggs/pycparser-2.18-py3.5.egg
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.5
  creating build/lib.linux-x86_64-3.5/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.5/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.5/cryptography
  copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.5/cryptography
  copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.5/cryptography
  copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.5/cryptography
  creating build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/x509
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
  copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
  copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces
  copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric
  running egg_info
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing entry points to src/cryptography.egg-info/entry_points.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-x86_64-3.5/_padding.c'
  creating build/temp.linux-x86_64-3.5
  generating cffi module 'build/temp.linux-x86_64-3.5/_constant_time.c'
  generating cffi module 'build/temp.linux-x86_64-3.5/_openssl.c'
  building '_openssl' extension
  creating build/temp.linux-x86_64-3.5/build
  creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-MLq5fN/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -I/home/taiga/.virtualenvs/taiga/include/python3.5m -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o
  build/temp.linux-x86_64-3.5/_openssl.c:813:23: error: conflicting types for ‘ASN1_TIME_to_generalizedtime’
   ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from build/temp.linux-x86_64-3.5/_openssl.c:529:0:
  /usr/include/openssl/asn1.h:628:23: note: previous declaration of ‘ASN1_TIME_to_generalizedtime’ was here
   ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(const ASN1_TIME *t,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_ASN1_STRING_data’:
  build/temp.linux-x86_64-3.5/_openssl.c:14556:3: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
     return ASN1_STRING_data(x0);
     ^~~~~~
  In file included from /usr/include/openssl/bn.h:31:0,
                   from /usr/include/openssl/asn1.h:24,
                   from build/temp.linux-x86_64-3.5/_openssl.c:529:
  /usr/include/openssl/asn1.h:553:1: note: declared here
   DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_ASN1_STRING_data’:
  build/temp.linux-x86_64-3.5/_openssl.c:14579:3: warning: ‘ASN1_STRING_data’ is deprecated [-Wdeprecated-declarations]
     { result = ASN1_STRING_data(x0); }
     ^
  In file included from /usr/include/openssl/bn.h:31:0,
                   from /usr/include/openssl/asn1.h:24,
                   from build/temp.linux-x86_64-3.5/_openssl.c:529:
  /usr/include/openssl/asn1.h:553:1: note: declared here
   DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_f_buffer’:
  build/temp.linux-x86_64-3.5/_openssl.c:15955:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_f_buffer();
            ^~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_f_buffer’:
  build/temp.linux-x86_64-3.5/_openssl.c:15965:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_f_buffer(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_f_null’:
  build/temp.linux-x86_64-3.5/_openssl.c:15979:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_f_null();
            ^~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_f_null’:
  build/temp.linux-x86_64-3.5/_openssl.c:15989:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_f_null(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_fd’:
  build/temp.linux-x86_64-3.5/_openssl.c:17408:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_fd();
            ^~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_fd’:
  build/temp.linux-x86_64-3.5/_openssl.c:17418:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_fd(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_file’:
  build/temp.linux-x86_64-3.5/_openssl.c:17432:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_file();
            ^~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_file’:
  build/temp.linux-x86_64-3.5/_openssl.c:17442:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_file(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_mem’:
  build/temp.linux-x86_64-3.5/_openssl.c:17456:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_mem();
            ^~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_mem’:
  build/temp.linux-x86_64-3.5/_openssl.c:17466:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_mem(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_null’:
  build/temp.linux-x86_64-3.5/_openssl.c:17480:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_null();
            ^~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_null’:
  build/temp.linux-x86_64-3.5/_openssl.c:17490:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_null(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_BIO_s_socket’:
  build/temp.linux-x86_64-3.5/_openssl.c:17504:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     return BIO_s_socket();
            ^~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_BIO_s_socket’:
  build/temp.linux-x86_64-3.5/_openssl.c:17514:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     { result = BIO_s_socket(); }
              ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24154:3: warning: ‘DTLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_client_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1632:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24164:3: warning: ‘DTLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_client_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1632:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24178:3: warning: ‘DTLSv1_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1630:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24188:3: warning: ‘DTLSv1_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1630:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_DTLSv1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24202:3: warning: ‘DTLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     return DTLSv1_server_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1631:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_DTLSv1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:24212:3: warning: ‘DTLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = DTLSv1_server_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1631:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void)) /* DTLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_OPENSSL_config’:
  build/temp.linux-x86_64-3.5/_openssl.c:41139:3: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations]
     OPENSSL_config(x0);
     ^~~~~~~~~~~~~~
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/conf.h:92:1: note: declared here
   DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_OPENSSL_config’:
  build/temp.linux-x86_64-3.5/_openssl.c:41161:3: warning: ‘OPENSSL_config’ is deprecated [-Wdeprecated-declarations]
     { OPENSSL_config(x0); }
     ^
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/conf.h:92:1: note: declared here
   DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54409:3: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_client_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1620:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54419:3: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_client_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1620:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54433:3: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1618:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54443:3: warning: ‘TLSv1_1_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1618:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54457:3: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_1_server_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1619:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54467:3: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_1_server_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1619:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54481:3: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_client_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1626:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54491:3: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_client_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1626:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54505:3: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1624:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54515:3: warning: ‘TLSv1_2_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1624:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_2_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54529:3: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_2_server_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1625:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_2_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54539:3: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_2_server_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1625:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54553:3: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_client_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1614:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_client_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54563:3: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_client_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1614:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54577:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1612:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54587:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1612:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_TLSv1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54601:3: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     return TLSv1_server_method();
     ^~~~~~
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1613:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_TLSv1_server_method’:
  build/temp.linux-x86_64-3.5/_openssl.c:54611:3: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations]
     { result = TLSv1_server_method(); }
     ^
  In file included from /usr/include/openssl/ct.h:13:0,
                   from /usr/include/openssl/ssl.h:61,
                   from build/temp.linux-x86_64-3.5/_openssl.c:702:
  /usr/include/openssl/ssl.h:1613:1: note: declared here
   DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_X509_CRL_get_lastUpdate’:
  build/temp.linux-x86_64-3.5/_openssl.c:55646:3: warning: ‘X509_CRL_get_lastUpdate’ is deprecated [-Wdeprecated-declarations]
     return X509_CRL_get_lastUpdate(x0);
     ^~~~~~
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:708:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_X509_CRL_get_lastUpdate’:
  build/temp.linux-x86_64-3.5/_openssl.c:55669:3: warning: ‘X509_CRL_get_lastUpdate’ is deprecated [-Wdeprecated-declarations]
     { result = X509_CRL_get_lastUpdate(x0); }
     ^
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:708:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *crl))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_X509_CRL_get_nextUpdate’:
  build/temp.linux-x86_64-3.5/_openssl.c:55682:3: warning: ‘X509_CRL_get_nextUpdate’ is deprecated [-Wdeprecated-declarations]
     return X509_CRL_get_nextUpdate(x0);
     ^~~~~~
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:709:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_X509_CRL_get_nextUpdate’:
  build/temp.linux-x86_64-3.5/_openssl.c:55705:3: warning: ‘X509_CRL_get_nextUpdate’ is deprecated [-Wdeprecated-declarations]
     { result = X509_CRL_get_nextUpdate(x0); }
     ^
  In file included from /usr/include/openssl/x509_vfy.h:20:0,
                   from /usr/include/openssl/x509.h:309,
                   from /usr/include/openssl/cms.h:16,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:709:1: note: declared here
   DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
   ^
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_d_X509_get0_signature’:
  build/temp.linux-x86_64-3.5/_openssl.c:61358:23: warning: passing argument 1 of ‘X509_get0_signature’ from incompatible pointer type [-Wincompatible-pointer-types]
     X509_get0_signature(x0, x1, x2);
                         ^~
  In file included from /usr/include/openssl/cms.h:16:0,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:552:6: note: expected ‘const ASN1_BIT_STRING ** {aka const struct asn1_string_st **}’ but argument is of type ‘ASN1_OCTET_STRING ** {aka struct asn1_string_st **}’
   void X509_get0_signature(const ASN1_BIT_STRING **psig,
        ^~~~~~~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c:61358:27: warning: passing argument 2 of ‘X509_get0_signature’ from incompatible pointer type [-Wincompatible-pointer-types]
     X509_get0_signature(x0, x1, x2);
                             ^~
  In file included from /usr/include/openssl/cms.h:16:0,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:552:6: note: expected ‘const X509_ALGOR ** {aka const struct X509_algor_st **}’ but argument is of type ‘X509_ALGOR ** {aka struct X509_algor_st **}’
   void X509_get0_signature(const ASN1_BIT_STRING **psig,
        ^~~~~~~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c: In function ‘_cffi_f_X509_get0_signature’:
  build/temp.linux-x86_64-3.5/_openssl.c:61410:25: warning: passing argument 1 of ‘X509_get0_signature’ from incompatible pointer type [-Wincompatible-pointer-types]
     { X509_get0_signature(x0, x1, x2); }
                           ^~
  In file included from /usr/include/openssl/cms.h:16:0,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:552:6: note: expected ‘const ASN1_BIT_STRING ** {aka const struct asn1_string_st **}’ but argument is of type ‘ASN1_OCTET_STRING ** {aka struct asn1_string_st **}’
   void X509_get0_signature(const ASN1_BIT_STRING **psig,
        ^~~~~~~~~~~~~~~~~~~
  build/temp.linux-x86_64-3.5/_openssl.c:61410:29: warning: passing argument 2 of ‘X509_get0_signature’ from incompatible pointer type [-Wincompatible-pointer-types]
     { X509_get0_signature(x0, x1, x2); }
                               ^~
  In file included from /usr/include/openssl/cms.h:16:0,
                   from build/temp.linux-x86_64-3.5/_openssl.c:544:
  /usr/include/openssl/x509.h:552:6: note: expected ‘const X509_ALGOR ** {aka const struct X509_algor_st **}’ but argument is of type ‘X509_ALGOR ** {aka struct X509_algor_st **}’
   void X509_get0_signature(const ASN1_BIT_STRING **psig,
        ^~~~~~~~~~~~~~~~~~~
  At top level:
  build/temp.linux-x86_64-3.5/_openssl.c:3550:13: warning: ‘_ssl_thread_locking_function’ defined but not used [-Wunused-function]
   static void _ssl_thread_locking_function(int mode, int n, const char *file,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  
  ----------------------------------------
  Failed building wheel for cryptography
  Running setup.py clean for cryptography
Failed to build cryptography
Installing collected packages: Django, django-picklefield, six, pytz, sampledata, django-sampledatahelper, gunicorn, psycopg2, Pillow, vine, amqp, djmail, MarkupSafe, jinja2, django-jinja, pygments, django-sites, Markdown, fn, diff-match-patch, requests, oauthlib, requests-oauthlib, webcolors, django-sr, easy-thumbnails, billiard, kombu, celery, redis, Unidecode, contextlib2, raven, html5lib, bleach, django-ipware, cssselect, lxml, cssutils, premailer, pycryptodomex, future, pyjwkest, python-dateutil, netaddr, serpy, docopt, psd-tools, pycparser, cffi, cairocffi, tinycss, CairoSVG, python-magic, idna, pyasn1, cryptography, PyJWT, asana, django-pglocks
^COperation cancelled by user

soman...@gmail.com

unread,
Feb 15, 2018, 10:00:02 AM2/15/18
to taigaio
Found a solution, don't know whether it's the right one : 
changed the file requirements.txt 

-cryptography==1.7.1
+cryptography==2.1.4 # my actual cryptography version

Reply all
Reply to author
Forward
0 new messages