pip install build fails on Debian 9
See original GitHub issueStock Debian 9.2 install fails to build roca-detect via pip.
$ pip install roca-detect
Collecting roca-detect
Collecting six (from roca-detect)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting cryptography (from roca-detect)
Using cached cryptography-2.1.1-cp27-cp27mu-manylinux1_x86_64.whl
Collecting python-dateutil (from roca-detect)
Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting pycrypto>=2.6 (from roca-detect)
Collecting coloredlogs (from roca-detect)
Using cached coloredlogs-7.3-py2.py3-none-any.whl
Collecting future (from roca-detect)
Collecting apk-parse-ph4>=0.1.7 (from roca-detect)
Collecting M2Crypto (from roca-detect)
Using cached M2Crypto-0.27.0.tar.gz
Collecting setuptools>=1.0 (from roca-detect)
Using cached setuptools-36.6.0-py2.py3-none-any.whl
Collecting pgpdump (from roca-detect)
Collecting pyjks (from roca-detect)
Using cached pyjks-17.1.0-py2.py3-none-any.whl
Collecting pyx509-ph4 (from roca-detect)
Collecting cffi>=1.7; platform_python_implementation != "PyPy" (from cryptography->roca-detect)
Using cached cffi-1.11.2-cp27-cp27mu-manylinux1_x86_64.whl
Collecting enum34; python_version < "3" (from cryptography->roca-detect)
Using cached enum34-1.1.6-py2-none-any.whl
Collecting idna>=2.1 (from cryptography->roca-detect)
Using cached idna-2.6-py2.py3-none-any.whl
Collecting asn1crypto>=0.21.0 (from cryptography->roca-detect)
Using cached asn1crypto-0.23.0-py2.py3-none-any.whl
Collecting ipaddress; python_version < "3" (from cryptography->roca-detect)
Using cached ipaddress-1.0.18-py2-none-any.whl
Collecting humanfriendly>=3.2 (from coloredlogs->roca-detect)
Using cached humanfriendly-4.4.1-py2.py3-none-any.whl
Collecting mock (from apk-parse-ph4>=0.1.7->roca-detect)
Using cached mock-2.0.0-py2.py3-none-any.whl
Collecting typing (from M2Crypto->roca-detect)
Using cached typing-3.6.2-py2-none-any.whl
Collecting pyasn1 (from pyjks->roca-detect)
Using cached pyasn1-0.3.7-py2.py3-none-any.whl
Collecting javaobj-py3 (from pyjks->roca-detect)
Using cached javaobj_py3-0.2.3-py2.py3-none-any.whl
Collecting pyasn1-modules (from pyjks->roca-detect)
Using cached pyasn1_modules-0.1.5-py2.py3-none-any.whl
Collecting twofish (from pyjks->roca-detect)
Collecting pycryptodome (from pyjks->roca-detect)
Collecting pycparser (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography->roca-detect)
Collecting monotonic; python_version == "2.6" or python_version == "2.7" or python_version == "3.0" or python_version == "3.1" or python_version == "3.2" (from humanfriendly>=3.2->coloredlogs->roca-detect)
Using cached monotonic-1.3-py2.py3-none-any.whl
Collecting funcsigs>=1; python_version < "3.3" (from mock->apk-parse-ph4>=0.1.7->roca-detect)
Using cached funcsigs-1.0.2-py2.py3-none-any.whl
Collecting pbr>=0.11 (from mock->apk-parse-ph4>=0.1.7->roca-detect)
Using cached pbr-3.1.1-py2.py3-none-any.whl
Building wheels for collected packages: M2Crypto
Running setup.py bdist_wheel for M2Crypto: started
Running setup.py bdist_wheel for M2Crypto: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lRkmvk/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp9MqFDhpip-wheel- --python-tag cp27:
running bdist_wheel
running build
running build_py
copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto._m2crypto' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include -I/usr/include/openssl -I/tmp/pip-build-lRkmvk/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING
SWIG/_m2crypto_wrap.c: In function ‘_wrap__STACK_num_set’:
SWIG/_m2crypto_wrap.c:9548:19: error: dereferencing pointer to incomplete type ‘struct stack_st’
if (arg1) (arg1)->num = arg2;
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new__STACK’:
SWIG/_m2crypto_wrap.c:9775:48: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st’
result = (struct stack_st *)calloc(1, sizeof(struct stack_st));
^~~~~~
SWIG/_m2crypto_wrap.c:9778:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_new_null’:
SWIG/_m2crypto_wrap.c:9921:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_deep_copy’:
SWIG/_m2crypto_wrap.c:10006:40: warning: passing argument 2 of ‘OPENSSL_sk_deep_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
result = (_STACK *)sk_deep_copy(arg1,arg2,arg3);
^~~~
In file included from /usr/include/openssl/crypto.h:28:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/err.h:21,
from SWIG/_m2crypto_wrap.c:3554:
/usr/include/openssl/stack.h:32:16: note: expected ‘OPENSSL_sk_copyfunc {aka void * (*)(const void *)}’ but argument is of type ‘void * (*)(void *)’
OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *, OPENSSL_sk_copyfunc c, OPENSSL_sk_freefunc f);
^~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_stack_st_OPENSSL_STRING_stack_set’:
SWIG/_m2crypto_wrap.c:10409:19: error: dereferencing pointer to incomplete type ‘struct stack_st_OPENSSL_STRING’
if (arg1) (arg1)->stack = *arg2;
^~
SWIG/_m2crypto_wrap.c:10409:29: error: dereferencing pointer to incomplete type ‘OPENSSL_STACK {aka struct stack_st}’
if (arg1) (arg1)->stack = *arg2;
^~~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new_stack_st_OPENSSL_STRING’:
SWIG/_m2crypto_wrap.c:10441:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st_OPENSSL_STRING’
result = (struct stack_st_OPENSSL_STRING *)calloc(1, sizeof(struct stack_st_OPENSSL_STRING));
^~~~~~
SWIG/_m2crypto_wrap.c:10444:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_stack_st_OPENSSL_BLOCK_stack_set’:
SWIG/_m2crypto_wrap.c:10489:19: error: dereferencing pointer to incomplete type ‘struct stack_st_OPENSSL_BLOCK’
if (arg1) (arg1)->stack = *arg2;
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new_stack_st_OPENSSL_BLOCK’:
SWIG/_m2crypto_wrap.c:10521:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st_OPENSSL_BLOCK’
result = (struct stack_st_OPENSSL_BLOCK *)calloc(1, sizeof(struct stack_st_OPENSSL_BLOCK));
^~~~~~
SWIG/_m2crypto_wrap.c:10524:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_threading_init’:
SWIG/_m2crypto_wrap.c:10554:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_threading_cleanup’:
SWIG/_m2crypto_wrap.c:10565:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_lib_init’:
SWIG/_m2crypto_wrap.c:10576:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_err_get_error’:
SWIG/_m2crypto_wrap.c:10743:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_err_peek_error’:
SWIG/_m2crypto_wrap.c:10755:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_bio’:
SWIG/_m2crypto_wrap.c:10833:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_mem’:
SWIG/_m2crypto_wrap.c:10845:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_socket’:
SWIG/_m2crypto_wrap.c:10857:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_ssl’:
SWIG/_m2crypto_wrap.c:10869:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_buffer’:
SWIG/_m2crypto_wrap.c:10881:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_cipher’:
SWIG/_m2crypto_wrap.c:10893:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_cleanup’:
SWIG/_m2crypto_wrap.c:12150:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_file_name__SWIG_1’:
SWIG/_m2crypto_wrap.c:12303:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_screen’:
SWIG/_m2crypto_wrap.c:12351:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_md5’:
SWIG/_m2crypto_wrap.c:12406:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha1’:
SWIG/_m2crypto_wrap.c:12418:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ripemd160’:
SWIG/_m2crypto_wrap.c:12430:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha224’:
SWIG/_m2crypto_wrap.c:12442:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha256’:
SWIG/_m2crypto_wrap.c:12454:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha384’:
SWIG/_m2crypto_wrap.c:12466:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha512’:
SWIG/_m2crypto_wrap.c:12478:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ecb’:
SWIG/_m2crypto_wrap.c:12559:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_ecb’:
SWIG/_m2crypto_wrap.c:12571:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_ecb’:
SWIG/_m2crypto_wrap.c:12583:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_cbc’:
SWIG/_m2crypto_wrap.c:12595:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_cbc’:
SWIG/_m2crypto_wrap.c:12607:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_cbc’:
SWIG/_m2crypto_wrap.c:12619:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_cfb’:
SWIG/_m2crypto_wrap.c:12631:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_cfb’:
SWIG/_m2crypto_wrap.c:12643:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_cfb’:
SWIG/_m2crypto_wrap.c:12655:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ofb’:
SWIG/_m2crypto_wrap.c:12667:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_ofb’:
SWIG/_m2crypto_wrap.c:12679:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_ofb’:
SWIG/_m2crypto_wrap.c:12691:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_ecb’:
SWIG/_m2crypto_wrap.c:12703:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_cbc’:
SWIG/_m2crypto_wrap.c:12715:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_cfb’:
SWIG/_m2crypto_wrap.c:12727:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_ofb’:
SWIG/_m2crypto_wrap.c:12739:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_ecb’:
SWIG/_m2crypto_wrap.c:12751:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_cbc’:
SWIG/_m2crypto_wrap.c:12763:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_cfb’:
SWIG/_m2crypto_wrap.c:12775:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_ofb’:
SWIG/_m2crypto_wrap.c:12787:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc4’:
SWIG/_m2crypto_wrap.c:12799:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc2_40_cbc’:
SWIG/_m2crypto_wrap.c:12811:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ecb’:
SWIG/_m2crypto_wrap.c:12823:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_cbc’:
SWIG/_m2crypto_wrap.c:12835:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_cfb’:
SWIG/_m2crypto_wrap.c:12847:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ofb’:
SWIG/_m2crypto_wrap.c:12859:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ctr’:
SWIG/_m2crypto_wrap.c:12871:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ecb’:
SWIG/_m2crypto_wrap.c:12883:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_cbc’:
SWIG/_m2crypto_wrap.c:12895:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_cfb’:
SWIG/_m2crypto_wrap.c:12907:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ofb’:
SWIG/_m2crypto_wrap.c:12919:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ctr’:
SWIG/_m2crypto_wrap.c:12931:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ecb’:
SWIG/_m2crypto_wrap.c:12943:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_cbc’:
SWIG/_m2crypto_wrap.c:12955:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_cfb’:
SWIG/_m2crypto_wrap.c:12967:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ofb’:
SWIG/_m2crypto_wrap.c:12979:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ctr’:
SWIG/_m2crypto_wrap.c:12991:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_pkey_new’:
SWIG/_m2crypto_wrap.c:13042:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_md_ctx_new’:
SWIG/_m2crypto_wrap.c:13444:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_hmac_ctx_new’:
SWIG/_m2crypto_wrap.c:13546:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cipher_ctx_new’:
SWIG/_m2crypto_wrap.c:13734:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_new’:
SWIG/_m2crypto_wrap.c:14419:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc4_new’:
SWIG/_m2crypto_wrap.c:14591:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_dh_new’:
SWIG/_m2crypto_wrap.c:14727:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rsa_new’:
SWIG/_m2crypto_wrap.c:15265:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_dsa_new’:
SWIG/_m2crypto_wrap.c:16386:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv23_method’:
SWIG/_m2crypto_wrap.c:17642:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv3_method’:
SWIG/_m2crypto_wrap.c:19295:26: warning: implicit declaration of function ‘sslv3_method’ [-Wimplicit-function-declaration]
result = (SSL_METHOD *)sslv3_method();
^~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:19295:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (SSL_METHOD *)sslv3_method();
^
SWIG/_m2crypto_wrap.c:19298:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_tlsv1_method’:
SWIG/_m2crypto_wrap.c:19310:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_new’:
SWIG/_m2crypto_wrap.c:20979:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_crl_new’:
SWIG/_m2crypto_wrap.c:21070:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_name_new’:
SWIG/_m2crypto_wrap.c:21906:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_name_entry_new’:
SWIG/_m2crypto_wrap.c:22474:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_req_new’:
SWIG/_m2crypto_wrap.c:22723:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_store_new’:
SWIG/_m2crypto_wrap.c:23122:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_x509_new_null’:
SWIG/_m2crypto_wrap.c:24159:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509v3_set_nconf’:
SWIG/_m2crypto_wrap.c:24561:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_x509_extension_new_null’:
SWIG/_m2crypto_wrap.c:24671:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_object_new’:
SWIG/_m2crypto_wrap.c:25028:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_bit_string_new’:
SWIG/_m2crypto_wrap.c:25209:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_string_new’:
SWIG/_m2crypto_wrap.c:25221:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_time_new’:
SWIG/_m2crypto_wrap.c:25417:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_integer_new’:
SWIG/_m2crypto_wrap.c:25611:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_pkcs7_new’:
SWIG/_m2crypto_wrap.c:25787:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ec_key_new’:
SWIG/_m2crypto_wrap.c:26949:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ec_get_builtin_curves’:
SWIG/_m2crypto_wrap.c:27121:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_builtin_engines’:
SWIG/_m2crypto_wrap.c:27811:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_dynamic’:
SWIG/_m2crypto_wrap.c:27822:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_openssl’:
SWIG/_m2crypto_wrap.c:27833:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_cleanup’:
SWIG/_m2crypto_wrap.c:27844:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_new’:
SWIG/_m2crypto_wrap.c:27856:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ui_openssl’:
SWIG/_m2crypto_wrap.c:28105:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new__cbd_t’:
SWIG/_m2crypto_wrap.c:28233:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for M2Crypto
Running setup.py clean for M2Crypto
Failed to build M2Crypto
Installing collected packages: six, pycparser, cffi, enum34, idna, asn1crypto, ipaddress, cryptography, python-dateutil, pycrypto, monotonic, humanfriendly, coloredlogs, future, typing, M2Crypto, funcsigs, pbr, mock, apk-parse-ph4, setuptools, pgpdump, pyasn1, javaobj-py3, pyasn1-modules, twofish, pycryptodome, pyjks, pyx509-ph4, roca-detect
Running setup.py install for M2Crypto: started
Running setup.py install for M2Crypto: finished with status 'error'
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lRkmvk/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vw7Xh8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ASN1.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/AuthCookie.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BIO.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/BN.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DH.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/DSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EC.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/EVP.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Engine.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Err.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RC4.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/Rand.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/SMIME.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/X509.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/callback.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/ftpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/httpslib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2crypto.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2urllib2.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/six.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/threading.py -> build/lib.linux-x86_64-2.7/M2Crypto
copying M2Crypto/util.py -> build/lib.linux-x86_64-2.7/M2Crypto
creating build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> build/lib.linux-x86_64-2.7/M2Crypto/PGP
creating build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/__init__.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> build/lib.linux-x86_64-2.7/M2Crypto/SSL
running build_ext
building 'M2Crypto._m2crypto' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/SWIG
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-HVkOs2/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -I/usr/lib/gcc/x86_64-linux-gnu/6/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include -I/usr/include/openssl -I/tmp/pip-build-lRkmvk/M2Crypto/SWIG -c SWIG/_m2crypto_wrap.c -o build/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -Wno-deprecated-declarations -DTHREADING
SWIG/_m2crypto_wrap.c: In function ‘_wrap__STACK_num_set’:
SWIG/_m2crypto_wrap.c:9548:19: error: dereferencing pointer to incomplete type ‘struct stack_st’
if (arg1) (arg1)->num = arg2;
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new__STACK’:
SWIG/_m2crypto_wrap.c:9775:48: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st’
result = (struct stack_st *)calloc(1, sizeof(struct stack_st));
^~~~~~
SWIG/_m2crypto_wrap.c:9778:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_new_null’:
SWIG/_m2crypto_wrap.c:9921:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_deep_copy’:
SWIG/_m2crypto_wrap.c:10006:40: warning: passing argument 2 of ‘OPENSSL_sk_deep_copy’ from incompatible pointer type [-Wincompatible-pointer-types]
result = (_STACK *)sk_deep_copy(arg1,arg2,arg3);
^~~~
In file included from /usr/include/openssl/crypto.h:28:0,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/err.h:21,
from SWIG/_m2crypto_wrap.c:3554:
/usr/include/openssl/stack.h:32:16: note: expected ‘OPENSSL_sk_copyfunc {aka void * (*)(const void *)}’ but argument is of type ‘void * (*)(void *)’
OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *, OPENSSL_sk_copyfunc c, OPENSSL_sk_freefunc f);
^~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_stack_st_OPENSSL_STRING_stack_set’:
SWIG/_m2crypto_wrap.c:10409:19: error: dereferencing pointer to incomplete type ‘struct stack_st_OPENSSL_STRING’
if (arg1) (arg1)->stack = *arg2;
^~
SWIG/_m2crypto_wrap.c:10409:29: error: dereferencing pointer to incomplete type ‘OPENSSL_STACK {aka struct stack_st}’
if (arg1) (arg1)->stack = *arg2;
^~~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new_stack_st_OPENSSL_STRING’:
SWIG/_m2crypto_wrap.c:10441:63: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st_OPENSSL_STRING’
result = (struct stack_st_OPENSSL_STRING *)calloc(1, sizeof(struct stack_st_OPENSSL_STRING));
^~~~~~
SWIG/_m2crypto_wrap.c:10444:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_stack_st_OPENSSL_BLOCK_stack_set’:
SWIG/_m2crypto_wrap.c:10489:19: error: dereferencing pointer to incomplete type ‘struct stack_st_OPENSSL_BLOCK’
if (arg1) (arg1)->stack = *arg2;
^~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new_stack_st_OPENSSL_BLOCK’:
SWIG/_m2crypto_wrap.c:10521:62: error: invalid application of ‘sizeof’ to incomplete type ‘struct stack_st_OPENSSL_BLOCK’
result = (struct stack_st_OPENSSL_BLOCK *)calloc(1, sizeof(struct stack_st_OPENSSL_BLOCK));
^~~~~~
SWIG/_m2crypto_wrap.c:10524:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_threading_init’:
SWIG/_m2crypto_wrap.c:10554:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_threading_cleanup’:
SWIG/_m2crypto_wrap.c:10565:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_lib_init’:
SWIG/_m2crypto_wrap.c:10576:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_err_get_error’:
SWIG/_m2crypto_wrap.c:10743:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_err_peek_error’:
SWIG/_m2crypto_wrap.c:10755:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_bio’:
SWIG/_m2crypto_wrap.c:10833:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_mem’:
SWIG/_m2crypto_wrap.c:10845:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_s_socket’:
SWIG/_m2crypto_wrap.c:10857:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_ssl’:
SWIG/_m2crypto_wrap.c:10869:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_buffer’:
SWIG/_m2crypto_wrap.c:10881:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bio_f_cipher’:
SWIG/_m2crypto_wrap.c:10893:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_cleanup’:
SWIG/_m2crypto_wrap.c:12150:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_file_name__SWIG_1’:
SWIG/_m2crypto_wrap.c:12303:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rand_screen’:
SWIG/_m2crypto_wrap.c:12351:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_md5’:
SWIG/_m2crypto_wrap.c:12406:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha1’:
SWIG/_m2crypto_wrap.c:12418:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ripemd160’:
SWIG/_m2crypto_wrap.c:12430:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha224’:
SWIG/_m2crypto_wrap.c:12442:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha256’:
SWIG/_m2crypto_wrap.c:12454:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha384’:
SWIG/_m2crypto_wrap.c:12466:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sha512’:
SWIG/_m2crypto_wrap.c:12478:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ecb’:
SWIG/_m2crypto_wrap.c:12559:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_ecb’:
SWIG/_m2crypto_wrap.c:12571:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_ecb’:
SWIG/_m2crypto_wrap.c:12583:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_cbc’:
SWIG/_m2crypto_wrap.c:12595:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_cbc’:
SWIG/_m2crypto_wrap.c:12607:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_cbc’:
SWIG/_m2crypto_wrap.c:12619:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_cfb’:
SWIG/_m2crypto_wrap.c:12631:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_cfb’:
SWIG/_m2crypto_wrap.c:12643:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_cfb’:
SWIG/_m2crypto_wrap.c:12655:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ofb’:
SWIG/_m2crypto_wrap.c:12667:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede_ofb’:
SWIG/_m2crypto_wrap.c:12679:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_des_ede3_ofb’:
SWIG/_m2crypto_wrap.c:12691:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_ecb’:
SWIG/_m2crypto_wrap.c:12703:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_cbc’:
SWIG/_m2crypto_wrap.c:12715:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_cfb’:
SWIG/_m2crypto_wrap.c:12727:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_bf_ofb’:
SWIG/_m2crypto_wrap.c:12739:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_ecb’:
SWIG/_m2crypto_wrap.c:12751:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_cbc’:
SWIG/_m2crypto_wrap.c:12763:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_cfb’:
SWIG/_m2crypto_wrap.c:12775:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cast5_ofb’:
SWIG/_m2crypto_wrap.c:12787:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc4’:
SWIG/_m2crypto_wrap.c:12799:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc2_40_cbc’:
SWIG/_m2crypto_wrap.c:12811:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ecb’:
SWIG/_m2crypto_wrap.c:12823:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_cbc’:
SWIG/_m2crypto_wrap.c:12835:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_cfb’:
SWIG/_m2crypto_wrap.c:12847:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ofb’:
SWIG/_m2crypto_wrap.c:12859:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_128_ctr’:
SWIG/_m2crypto_wrap.c:12871:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ecb’:
SWIG/_m2crypto_wrap.c:12883:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_cbc’:
SWIG/_m2crypto_wrap.c:12895:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_cfb’:
SWIG/_m2crypto_wrap.c:12907:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ofb’:
SWIG/_m2crypto_wrap.c:12919:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_192_ctr’:
SWIG/_m2crypto_wrap.c:12931:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ecb’:
SWIG/_m2crypto_wrap.c:12943:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_cbc’:
SWIG/_m2crypto_wrap.c:12955:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_cfb’:
SWIG/_m2crypto_wrap.c:12967:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ofb’:
SWIG/_m2crypto_wrap.c:12979:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_256_ctr’:
SWIG/_m2crypto_wrap.c:12991:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_pkey_new’:
SWIG/_m2crypto_wrap.c:13042:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_md_ctx_new’:
SWIG/_m2crypto_wrap.c:13444:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_hmac_ctx_new’:
SWIG/_m2crypto_wrap.c:13546:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_cipher_ctx_new’:
SWIG/_m2crypto_wrap.c:13734:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_aes_new’:
SWIG/_m2crypto_wrap.c:14419:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rc4_new’:
SWIG/_m2crypto_wrap.c:14591:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_dh_new’:
SWIG/_m2crypto_wrap.c:14727:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_rsa_new’:
SWIG/_m2crypto_wrap.c:15265:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_dsa_new’:
SWIG/_m2crypto_wrap.c:16386:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv23_method’:
SWIG/_m2crypto_wrap.c:17642:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv3_method’:
SWIG/_m2crypto_wrap.c:19295:26: warning: implicit declaration of function ‘sslv3_method’ [-Wimplicit-function-declaration]
result = (SSL_METHOD *)sslv3_method();
^~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:19295:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
result = (SSL_METHOD *)sslv3_method();
^
SWIG/_m2crypto_wrap.c:19298:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_tlsv1_method’:
SWIG/_m2crypto_wrap.c:19310:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_new’:
SWIG/_m2crypto_wrap.c:20979:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_crl_new’:
SWIG/_m2crypto_wrap.c:21070:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_name_new’:
SWIG/_m2crypto_wrap.c:21906:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_name_entry_new’:
SWIG/_m2crypto_wrap.c:22474:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_req_new’:
SWIG/_m2crypto_wrap.c:22723:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509_store_new’:
SWIG/_m2crypto_wrap.c:23122:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_x509_new_null’:
SWIG/_m2crypto_wrap.c:24159:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_x509v3_set_nconf’:
SWIG/_m2crypto_wrap.c:24561:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_sk_x509_extension_new_null’:
SWIG/_m2crypto_wrap.c:24671:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_object_new’:
SWIG/_m2crypto_wrap.c:25028:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_bit_string_new’:
SWIG/_m2crypto_wrap.c:25209:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_string_new’:
SWIG/_m2crypto_wrap.c:25221:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_time_new’:
SWIG/_m2crypto_wrap.c:25417:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_asn1_integer_new’:
SWIG/_m2crypto_wrap.c:25611:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_pkcs7_new’:
SWIG/_m2crypto_wrap.c:25787:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ec_key_new’:
SWIG/_m2crypto_wrap.c:26949:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ec_get_builtin_curves’:
SWIG/_m2crypto_wrap.c:27121:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_builtin_engines’:
SWIG/_m2crypto_wrap.c:27811:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_dynamic’:
SWIG/_m2crypto_wrap.c:27822:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_load_openssl’:
SWIG/_m2crypto_wrap.c:27833:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_cleanup’:
SWIG/_m2crypto_wrap.c:27844:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_engine_new’:
SWIG/_m2crypto_wrap.c:27856:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_ui_openssl’:
SWIG/_m2crypto_wrap.c:28105:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
SWIG/_m2crypto_wrap.c: In function ‘_wrap_new__cbd_t’:
SWIG/_m2crypto_wrap.c:28233:1: warning: label ‘fail’ defined but not used [-Wunused-label]
fail:
^~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lRkmvk/M2Crypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-vw7Xh8-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-lRkmvk/M2Crypto/```
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
pip install fails on debian 9 · Issue #270 · moderngl ... - GitHub
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lNBWi1/ModernGL/. Expected behavior. pip to install moderngl.
Read more >UWSGI fails to install on Debian 9 (pip) - python - Stack Overflow
Looks like it's a bug for older versions, I've tried to install latest uWSGI 2.0.15 and everything seems to work fine.
Read more >978674 - python3-build: Fails to work unless pip is installed
Package: python3-build Version: 0.1.0-2 Severity: normal As I was trying out the new PEP-517 build system, I installed python3-build and ...
Read more >Prepare to move to Python 3.9 venv, build fails ciso8601
I'm running Ubuntu Focal, 20.04. This has never been an issue before but now I'm failing on creating wheel for ciso8601, complete error...
Read more >Installing scikit-learn
There are different ways to install scikit-learn: Install the latest official release. This is the best approach for most users. It will provide...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured it out. For Debian 9, add the
swig
package to the list of deps. It’s needed to build M2Crypto on that platform.Thanks!