python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.47k stars 2.27k forks source link

Can't install cryptography on arm #1115

Closed Serkan-devel closed 5 years ago

Serkan-devel commented 5 years ago

Issue

I'm currently running arch on a raspberry pi 2 model b and can't install the cryptography package. I've updated all packages on arch to the latest version beforehand

$ poetry install -vvv 
Virtualenv nebel-sdk-py-py3.7 already exists.
Using virtualenv: /home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7
Installing dependencies from lock file

Package operations: 7 installs, 0 updates, 0 removals, 17 skipped

  - Skipping pycparser (2.19) Already installed
  - Skipping argh (0.26.2) Already installed
  - Skipping asn1crypto (0.24.0) Already installed
  - Skipping cffi (1.12.3) Already installed
  - Skipping colorama (0.4.1) Not needed for the current environment
  - Skipping idna (2.8) Already installed
  - Skipping mccabe (0.5.3) Already installed
  - Skipping pathtools (0.1.2) Already installed
  - Skipping pluggy (0.11.0) Already installed
  - Skipping py (1.8.0) Already installed
  - Skipping pycodestyle (2.0.0) Already installed
  - Skipping pyflakes (1.2.3) Already installed
  - Skipping pyyaml (5.1) Already installed
  - Skipping six (1.12.0) Already installed
  - Skipping virtualenv (16.6.0) Already installed
  - Skipping bumpversion (0.5.3) Already installed
  - Skipping coverage (4.5.3) Already installed
  - Installing cryptography (1.9)

[EnvCommandError]                                                                                                                                                         
Command ['/home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7/bin/python', '-m', 'pip', 'install', '--no-deps', 'cryptography==1.9'] errored with the following output:                                                                                                                                                                                                   
Collecting cryptography==1.9                                                                                                                                                           
  Using cached https://files.pythonhosted.org/packages/2a/0c/31bd69469e90035381f0197b48bf71032991d9f07a7e444c311b4a23a3df/cryptography-1.9.tar.gz                                      
Installing collected packages: cryptography                                                                                                                                            
  Running setup.py install for cryptography: started                                                                                                                                   
    Running setup.py install for cryptography: finished with status 'error'                                                                                                            
    ERROR: Complete output from command /home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-hpfu  
k_p8/cryptography/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'e  
xec'"'"'))' install --record /tmp/pip-record-ot57shgo/install-record.txt --single-version-externally-managed --compile --install-headers /home/serkan/.cache/pypoetry/virtualenvs/neb  
el-sdk-py-py3.7/include/site/python3.7/cryptography:                                                                                                                                   
    ERROR: running install                                                                                                                                                             
    running build                                                                                                                                                                      
    running build_py                                                                                                                                                                   
    creating build                                                                                                                                                                     
    creating build/lib.linux-armv7l-3.7                                                                                                                                                
    creating build/lib.linux-armv7l-3.7/cryptography                                                                                                                                   
    copying src/cryptography/utils.py -> build/lib.linux-armv7l-3.7/cryptography                                                                                                       
    copying src/cryptography/fernet.py -> build/lib.linux-armv7l-3.7/cryptography                                                                                                      
    copying src/cryptography/exceptions.py -> build/lib.linux-armv7l-3.7/cryptography                                                                                                  
    copying src/cryptography/__init__.py -> build/lib.linux-armv7l-3.7/cryptography                                                                                                    
    copying src/cryptography/__about__.py -> build/lib.linux-armv7l-3.7/cryptography                                                                                                   
    creating build/lib.linux-armv7l-3.7/cryptography/x509                                                                                                                              
    copying src/cryptography/x509/oid.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                               
    copying src/cryptography/x509/name.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                              
    copying src/cryptography/x509/general_name.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                      
    copying src/cryptography/x509/extensions.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                        
    copying src/cryptography/x509/certificate_transparency.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                          
    copying src/cryptography/x509/base.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                              
    copying src/cryptography/x509/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/x509                                                                                          
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat                                                                                                                            
    copying src/cryptography/hazmat/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat                                                                                      
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                                                                 
    copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                           
    copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                 
    copying src/cryptography/hazmat/primitives/mac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                     
    copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                 
    copying src/cryptography/hazmat/primitives/interfaces.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                              
    copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                    
    copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                  
    copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                           
    copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                    
    copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives                                                                
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings                                                                                                                   
    copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings                                                                    
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends                                                                                                                   
    copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends                                                                  
    copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends                                                                    
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor                                                                                                       
    copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor                                               
    copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor                                                
    copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor                                                
    copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/twofactor                                            
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                                                                             
    copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                         
    copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                          
    copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                          
    copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                           
    copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                            
    copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                       
    copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/kdf                                                        
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers                                                                                                         
    copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers                                                   
    copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers                                                    
    copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers                                              
    copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/ciphers                                                
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                                                                                      
    copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                             
    copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                               
    copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                           
    copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                                
    copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                               
    copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                                
    copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/primitives/asymmetric                                          
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl                                                                                                           
    copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl                                                     
    copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl                                                
    copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/bindings/openssl                                                    
    creating build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                                                                           
    copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                        
    copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                       
    copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                         
    copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                        
    copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                      
    copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                 
    copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                          
    copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                         
    copying src/cryptography/hazmat/backends/openssl/dh.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                          
    copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                 
    copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                        
    copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                     
    copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                     
    copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-armv7l-3.7/cryptography/hazmat/backends/openssl                                                    
    running egg_info                                                                                                                                                                   
    writing src/cryptography.egg-info/PKG-INFO                                                                                                                                         
    writing dependency_links to src/cryptography.egg-info/dependency_links.txt                                                                                                         
    writing entry points to src/cryptography.egg-info/entry_points.txt                                                                                                                 
    writing requirements to src/cryptography.egg-info/requires.txt                                                                                                                     
    writing top-level names to src/cryptography.egg-info/top_level.txt                                                                                                                 
    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.7/_padding.c'                                                                                                                    
    creating build/temp.linux-armv7l-3.7                                                                                                                                               
    generating cffi module 'build/temp.linux-armv7l-3.7/_constant_time.c'                                                                                                              
    generating cffi module 'build/temp.linux-armv7l-3.7/_openssl.c'                                                                                                                    
    building '_openssl' extension                                                                                                                                                      
    creating build/temp.linux-armv7l-3.7/build                                                                                                                                         
    creating build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7                                                                                                                   
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7/include -I/home/serkan/.pyenv/ve  
rsions/3.7.3/include/python3.7m -c build/temp.linux-armv7l-3.7/_openssl.c -o build/temp.linux-armv7l-3.7/build/temp.linux-armv7l-3.7/_openssl.o                                        
    build/temp.linux-armv7l-3.7/_openssl.c:911:6: error: conflicting types for 'BIO_callback_ctrl'                                                                                     
     long BIO_callback_ctrl(                                                                                                                                                           
          ^~~~~~~~~~~~~~~~~                                                                                                                                                            
    In file included from /usr/include/openssl/asn1.h:16,                                                                                                                              
                     from build/temp.linux-armv7l-3.7/_openssl.c:530:                                                                                                                  
    /usr/include/openssl/bio.h:570:6: note: previous declaration of 'BIO_callback_ctrl' was here                                                                                       
     long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *fp);                                                                                                                         
          ^~~~~~~~~~~~~~~~~                                                                                                                                                            
    build/temp.linux-armv7l-3.7/_openssl.c:1133:5: error: conflicting types for 'EVP_PKEY_size'                                                                                        
     int EVP_PKEY_size(EVP_PKEY *);                                                                                                                                                    
         ^~~~~~~~~~~~~                                                                                                                                                                 
    In file included from /usr/include/openssl/cmac.h:19,                                                                                                                              
                     from build/temp.linux-armv7l-3.7/_openssl.c:540:                                                                                                                  
    /usr/include/openssl/evp.h:992:5: note: previous declaration of 'EVP_PKEY_size' was here                                                                                           
     int EVP_PKEY_size(const EVP_PKEY *pkey);                                                                                                                                          
         ^~~~~~~~~~~~~                                                                                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:1434:5: error: conflicting types for 'SSL_renegotiate_pending'                                                                              
     int SSL_renegotiate_pending(SSL *);                                                                                                                                               
         ^~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                       
    In file included from build/temp.linux-armv7l-3.7/_openssl.c:707:                                                                                                                  
    /usr/include/openssl/ssl.h:1923:12: note: previous declaration of 'SSL_renegotiate_pending' was here                                                                               
     __owur int SSL_renegotiate_pending(const SSL *s);                                                                                                                                 
                ^~~~~~~~~~~~~~~~~~~~~~~                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_ASN1_STRING_data':                                                                                                    
    build/temp.linux-armv7l-3.7/_openssl.c:14529:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]                                                              
       return ASN1_STRING_data(x0);                                                                                                                                                    
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_f_ASN1_STRING_data':                                                                                                    
    build/temp.linux-armv7l-3.7/_openssl.c:14552:3: warning: 'ASN1_STRING_data' is deprecated [-Wdeprecated-declarations]                                                              
       { result = ASN1_STRING_data(x0); }                                                                                                                                              
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_d_BIO_f_buffer':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:16017:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_f_buffer();                                                                                                                                                          
              ^~~~~~~~~~~~~~                                                                                                                                                           
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_f_buffer':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:16027:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_f_buffer(); }                                                                                                                                                    
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_f_null':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:16041:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_f_null();                                                                                                                                                            
              ^~~~~~~~~~~~                                                                                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_f_null':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:16051:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_f_null(); }                                                                                                                                                      
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_s_fd':                                                                                                            
    build/temp.linux-armv7l-3.7/_openssl.c:17470:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_s_fd();                                                                                                                                                              
              ^~~~~~~~~~                                                                                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_s_fd':                                                                                                            
    build/temp.linux-armv7l-3.7/_openssl.c:17480:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_s_fd(); }                                                                                                                                                        
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_s_file':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:17494:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_s_file();                                                                                                                                                            
              ^~~~~~~~~~~~                                                                                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_s_file':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:17504:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_s_file(); }                                                                                                                                                      
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_s_mem':                                                                                                           
    build/temp.linux-armv7l-3.7/_openssl.c:17518:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_s_mem();                                                                                                                                                             
              ^~~~~~~~~~~                                                                                                                                                              
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_s_mem':                                                                                                           
    build/temp.linux-armv7l-3.7/_openssl.c:17528:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_s_mem(); }                                                                                                                                                       
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_s_null':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:17542:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_s_null();                                                                                                                                                            
              ^~~~~~~~~~~~                                                                                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_s_null':                                                                                                          
    build/temp.linux-armv7l-3.7/_openssl.c:17552:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_s_null(); }                                                                                                                                                      
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_BIO_s_socket':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:17566:10: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                      
       return BIO_s_socket();                                                                                                                                                          
              ^~~~~~~~~~~~~~                                                                                                                                                           
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_BIO_s_socket':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:17576:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]                                  
       { result = BIO_s_socket(); }                                                                                                                                                    
                ^                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_DTLSv1_client_method':                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c:24745:3: warning: 'DTLSv1_client_method' is deprecated [-Wdeprecated-declarations]                                                          
       return DTLSv1_client_method();                                                                                                                                                  
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1897:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void))                                                                                                           
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_DTLSv1_client_method':                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c:24755:3: warning: 'DTLSv1_client_method' is deprecated [-Wdeprecated-declarations]                                                          
       { result = DTLSv1_client_method(); }                                                                                                                                            
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1897:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_client_method(void))                                                                                                           
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_DTLSv1_method':                                                                                                       
    build/temp.linux-armv7l-3.7/_openssl.c:24805:3: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations]                                                                 
       return DTLSv1_method();                                                                                                                                                         
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1895:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_DTLSv1_method':                                                                                                       
    build/temp.linux-armv7l-3.7/_openssl.c:24815:3: warning: 'DTLSv1_method' is deprecated [-Wdeprecated-declarations]                                                                 
       { result = DTLSv1_method(); }                                                                                                                                                   
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1895:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_DTLSv1_server_method':                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c:24829:3: warning: 'DTLSv1_server_method' is deprecated [-Wdeprecated-declarations]                                                          
       return DTLSv1_server_method();                                                                                                                                                  
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1896:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void))                                                                                                           
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_DTLSv1_server_method':                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c:24839:3: warning: 'DTLSv1_server_method' is deprecated [-Wdeprecated-declarations]                                                          
       { result = DTLSv1_server_method(); }                                                                                                                                            
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1896:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_server_method(void))                                                                                                           
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_OPENSSL_config':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:41766:3: warning: 'OPENSSL_config' is deprecated [-Wdeprecated-declarations]                                                                
       OPENSSL_config(x0);                                                                                                                                                             
       ^~~~~~~~~~~~~~                                                                                                                                                                  
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_f_OPENSSL_config':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:41788:3: warning: 'OPENSSL_config' is deprecated [-Wdeprecated-declarations]                                                                
       { OPENSSL_config(x0); }                                                                                                                                                         
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_d_TLSv1_1_client_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55331:3: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations]                                                         
       return TLSv1_1_client_method();                                                                                                                                                 
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1885:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_1_client_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55341:3: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations]                                                         
       { result = TLSv1_1_client_method(); }                                                                                                                                           
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1885:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_1_method':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:55355:3: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations]                                                                
       return TLSv1_1_method();                                                                                                                                                        
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1883:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_1_method':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:55365:3: warning: 'TLSv1_1_method' is deprecated [-Wdeprecated-declarations]                                                                
       { result = TLSv1_1_method(); }                                                                                                                                                  
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1883:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_method(void)) /* TLSv1.1 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_1_server_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55379:3: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations]                                                         
       return TLSv1_1_server_method();                                                                                                                                                 
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1884:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_1_server_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55389:3: warning: 'TLSv1_1_server_method' is deprecated [-Wdeprecated-declarations]                                                         
       { result = TLSv1_1_server_method(); }                                                                                                                                           
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1884:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_2_client_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55403:3: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations]                                                         
       return TLSv1_2_client_method();                                                                                                                                                 
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1891:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_2_client_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55413:3: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations]                                                         
       { result = TLSv1_2_client_method(); }                                                                                                                                           
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1891:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_2_method':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:55427:3: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]                                                                
       return TLSv1_2_method();                                                                                                                                                        
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1889:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_2_method':                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:55437:3: warning: 'TLSv1_2_method' is deprecated [-Wdeprecated-declarations]                                                                
       { result = TLSv1_2_method(); }                                                                                                                                                  
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1889:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_method(void)) /* TLSv1.2 */                                                                                                   
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_2_server_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55451:3: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]                                                         
       return TLSv1_2_server_method();                                                                                                                                                 
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1890:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_2_server_method':                                                                                               
    build/temp.linux-armv7l-3.7/_openssl.c:55461:3: warning: 'TLSv1_2_server_method' is deprecated [-Wdeprecated-declarations]                                                         
       { result = TLSv1_2_server_method(); }                                                                                                                                           
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1890:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void))                                                                                                          
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_client_method':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:55475:3: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]                                                           
       return TLSv1_client_method();                                                                                                                                                   
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1879:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))                                                                                                            
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_client_method':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:55485:3: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations]                                                           
       { result = TLSv1_client_method(); }                                                                                                                                             
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1879:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void))                                                                                                            
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_method':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:55499:3: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]                                                                  
       return TLSv1_method();                                                                                                                                                          
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1877:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */                                                                                                     
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_method':                                                                                                        
    build/temp.linux-armv7l-3.7/_openssl.c:55509:3: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations]                                                                  
       { result = TLSv1_method(); }                                                                                                                                                    
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1877:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */                                                                                                     
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_TLSv1_server_method':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:55523:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]                                                           
       return TLSv1_server_method();                                                                                                                                                   
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1878:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))                                                                                                            
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_TLSv1_server_method':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:55533:3: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations]                                                           
       { result = TLSv1_server_method(); }                                                                                                                                             
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/include/openssl/ssl.h:1878:1: note: declared here                                                                                                                             
     DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void))                                                                                                            
     ^~~~~~~~~~~~~~~~~~                                                                                                                                                                
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_d_X509_CRL_get_lastUpdate':                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c:56568:3: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations]                                                       
       return X509_CRL_get_lastUpdate(x0);                                                                                                                                             
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_f_X509_CRL_get_lastUpdate':                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c:56591:3: warning: 'X509_CRL_get_lastUpdate' is deprecated [-Wdeprecated-declarations]                                                       
       { result = X509_CRL_get_lastUpdate(x0); }                                                                                                                                       
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_d_X509_CRL_get_nextUpdate':                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c:56604:3: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations]                                                       
       return X509_CRL_get_nextUpdate(x0);                                                                                                                                             
       ^~~~~~                                                                                                                                                                          
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_f_X509_CRL_get_nextUpdate':                                                                                             
    build/temp.linux-armv7l-3.7/_openssl.c:56627:3: warning: 'X509_CRL_get_nextUpdate' is deprecated [-Wdeprecated-declarations]                                                       
       { result = X509_CRL_get_nextUpdate(x0); }                                                                                                                                       
       ^                                                                                                                                                                               
    In file included from /usr/include/openssl/e_os2.h:13,                                                                                                                             
                     from build/temp.linux-armv7l-3.7/_openssl.c:507:                                                                                                                  
    /usr/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.7/_openssl.c: In function '_cffi_d_X509_get0_signature':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:62464: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,                                                                                                                               
                     from build/temp.linux-armv7l-3.7/_openssl.c:545:                                                                                                                  
    /usr/include/openssl/x509.h:571:50: 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-armv7l-3.7/_openssl.c:62464: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,                                                                                                                               
                     from build/temp.linux-armv7l-3.7/_openssl.c:545:                                                                                                                  
    /usr/include/openssl/x509.h:572:45: note: expected 'const X509_ALGOR **' {aka 'const struct X509_algor_st **'} but argument is of type 'X509_ALGOR **' {aka 'struct X509_algor_st  
 **'}                                                                                                                                                                                  
                              const X509_ALGOR **palg, const X509 *x);                                                                                                                 
                              ~~~~~~~~~~~~~~~~~~~^~~~                                                                                                                                  
    build/temp.linux-armv7l-3.7/_openssl.c: In function '_cffi_f_X509_get0_signature':                                                                                                 
    build/temp.linux-armv7l-3.7/_openssl.c:62516: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,                                                                                                                               
                     from build/temp.linux-armv7l-3.7/_openssl.c:545:                                                                                                                  
    /usr/include/openssl/x509.h:571:50: 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-armv7l-3.7/_openssl.c:62516: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,                                                                                                                               
                     from build/temp.linux-armv7l-3.7/_openssl.c:545:                                                                                                                  
    /usr/include/openssl/x509.h:572:45: note: expected 'const X509_ALGOR **' {aka 'const struct X509_algor_st **'} but argument is of type 'X509_ALGOR **' {aka 'struct X509_algor_st  
 **'}                                                                                                                                                                                  
                              const X509_ALGOR **palg, const X509 *x);                                                                                                                 
                              ~~~~~~~~~~~~~~~~~~~^~~~                                                                                                                                  
    At top level:                                                                                                                                                                      
    build/temp.linux-armv7l-3.7/_openssl.c:3426: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 'gcc' failed with exit status 1                                                                                                                                     
    ----------------------------------------                                                                                                                                           
ERROR: Command "/home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-hpfuk_p8/cryptography/setup.  
py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --re  
cord /tmp/pip-record-ot57shgo/install-record.txt --single-version-externally-managed --compile --install-headers /home/serkan/.cache/pypoetry/virtualenvs/nebel-sdk-py-py3.7/include/  
site/python3.7/cryptography" failed with error code 1 in /tmp/pip-install-hpfuk_p8/cryptography/                                                                                       

Exception trace:
 /home/serkan/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/serkan/.poetry/lib/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/serkan/.poetry/lib/poetry/_vendor/py3.7/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/serkan/.poetry/lib/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/serkan/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /home/serkan/.poetry/lib/poetry/_vendor/py3.7/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /home/serkan/.poetry/lib/poetry/console/commands/install.py in handle() at line 55
   return_code = installer.run()
 /home/serkan/.poetry/lib/poetry/installation/installer.py in run() at line 73
   self._do_install(local_repo)
 /home/serkan/.poetry/lib/poetry/installation/installer.py in _do_install() at line 290
   self._execute(op)
 /home/serkan/.poetry/lib/poetry/installation/installer.py in _execute() at line 306
   getattr(self, "_execute_{}".format(method))(operation)
 /home/serkan/.poetry/lib/poetry/installation/installer.py in _execute_install() at line 331
   self._installer.install(operation.package)
 /home/serkan/.poetry/lib/poetry/installation/pip_installer.py in install() at line 91
   self.run(*args)
 /home/serkan/.poetry/lib/poetry/installation/pip_installer.py in run() at line 112
   return self._env.run("python", "-m", "pip", *args, **kwargs)
 /home/serkan/.poetry/lib/poetry/utils/env.py in run() at line 536
   return super(VirtualEnv, self).run(bin, *args, **kwargs)
 /home/serkan/.poetry/lib/poetry/utils/env.py in run() at line 385
   raise EnvCommandError(e)

install [--no-dev] [--dry-run] [-E|--extras EXTRAS] [--develop DEVELOP]
chrahunt commented 5 years ago

This isn't caused by poetry - the problem is likely that openssl 1.1 headers are present but the version of cryptography is too old to support it. Try using a more recent version of cryptography or downgrading openssl to 1.0.x.

Serkan-devel commented 5 years ago

Latest package doesn't break. Thank you for the answer

github-actions[bot] commented 7 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.