Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 458952 Details for
Bug 604842
dev-python/m2crypto-0.25.1-r2 with dev-libs/openssl-1.1.0c - SWIG/_m2crypto_wrap.c:3991:35: error: 'CRYPTO_NUM_LOCKS' undeclared here (not in a function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python/m2crypto-0.25.1-r2:20170106-143924.log
m2crypto-0.25.1-r2:20170106-143924.log (text/plain), 33.94 KB, created by
eroen
on 2017-01-06 14:49:29 UTC
(
hide
)
Description:
dev-python/m2crypto-0.25.1-r2:20170106-143924.log
Filename:
MIME Type:
Creator:
eroen
Created:
2017-01-06 14:49:29 UTC
Size:
33.94 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/m2crypto-0.25.1-r2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU >[32;01m * [39;49;00mFEATURES: compressdebug preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking M2Crypto-0.25.1.tar.gz to /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work >>>> Source unpacked in /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work >>>> Preparing source in /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1 ... > [32;01m*[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/BN.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/m2.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/m2xmlrpclib.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/Rand.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/ASN1.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/BIO.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/util.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/SMIME.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/m2urllib.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/m2urllib2.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/Engine.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/threading.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/DH.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/X509.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/AuthCookie.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/RC4.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/httpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/ftpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/_m2crypto.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/Err.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/six.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/EVP.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/callback.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/DSA.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >copying M2Crypto/EC.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto >creating /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/constants.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/PublicKeyRing.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/packet.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >copying M2Crypto/PGP/PublicKey.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/PGP >creating /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/timeout.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/Session.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/Checker.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/SSLServer.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/cb.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/TwistedProtocolWrapper.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/ssl_dispatcher.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/Cipher.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/Context.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >copying M2Crypto/SSL/Connection.py -> /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto/SSL >warning: build_py: byte-compiling is disabled, skipping. > >running build_ext >building 'M2Crypto.__m2crypto' extension >swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c >swig -python -D__x86_64__ -I/usr/include/python2.7 -I/usr/include -I/usr/include/openssl -includeall -modern -builtin -outdir /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/lib/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i >/usr/include/sys/cdefs.h:159: Warning 305: Bad constant value (ignored). >/usr/include/bits/wchar.h:38: Warning 490: Fragment 'SWIG_From_wchar_t' not found. >/usr/include/stdint.h:274: Warning 490: Fragment 'SWIG_From_wchar_t' not found. >SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_rand.i:23: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_evp.i:180: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_ssl.i:241: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_ssl.i:242: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_x509.i:332: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_util.i:11: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory. >SWIG/_engine.i:168: Warning 454: Setting a pointer/reference variable may leak memory. >creating /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/temp.linux-x86_64-2.7 >creating /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/temp.linux-x86_64-2.7/SWIG >x86_64-pc-linux-gnu-gcc -O0 -g -fPIC -I/usr/include/python2.7 -I/usr/include -I/usr/include/openssl -I/var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1/SWIG -c SWIG/_m2crypto_wrap.c -o /var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1-python2_7/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -DTHREADING >SWIG/_m2crypto_wrap.c:3991:35: error: 'CRYPTO_NUM_LOCKS' undeclared here (not in a function) > static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS]; > ^~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'threading_locking_callback': >SWIG/_m2crypto_wrap.c:3998:20: error: 'CRYPTO_LOCK' undeclared (first use in this function) > if (mode & CRYPTO_LOCK) { > ^~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:3998:20: note: each undeclared identifier is reported only once for each function it appears in >SWIG/_m2crypto_wrap.c: In function 'threading_init': >SWIG/_m2crypto_wrap.c:4025:9: warning: implicit declaration of function 'CRYPTO_set_id_callback' [-Wimplicit-function-declaration] > CRYPTO_set_id_callback(threading_id_callback); > ^~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:4026:9: warning: implicit declaration of function 'CRYPTO_set_locking_callback' [-Wimplicit-function-declaration] > CRYPTO_set_locking_callback(threading_locking_callback); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'lib_init': >SWIG/_m2crypto_wrap.c:4396:5: warning: implicit declaration of function 'SSLeay_add_all_algorithms' [-Wimplicit-function-declaration] > SSLeay_add_all_algorithms(); > ^~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bn_to_mpi': >SWIG/_m2crypto_wrap.c:4408:11: warning: implicit declaration of function 'BN_bn2mpi' [-Wimplicit-function-declaration] > len = BN_bn2mpi(bn, NULL); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'mpi_to_bn': >SWIG/_m2crypto_wrap.c:4433:12: warning: implicit declaration of function 'BN_mpi2bn' [-Wimplicit-function-declaration] > return BN_mpi2bn(vbuf, vlen, NULL); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4433:12: warning: return makes pointer from integer without a cast [-Wint-conversion] > return BN_mpi2bn(vbuf, vlen, NULL); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bn_to_bin': >SWIG/_m2crypto_wrap.c:4441:11: warning: implicit declaration of function 'BN_num_bytes' [-Wimplicit-function-declaration] > len = BN_num_bytes(bn); > ^~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:4446:5: warning: implicit declaration of function 'BN_bn2bin' [-Wimplicit-function-declaration] > BN_bn2bin(bn, bin); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bin_to_bn': >SWIG/_m2crypto_wrap.c:4465:12: warning: implicit declaration of function 'BN_bin2bn' [-Wimplicit-function-declaration] > return BN_bin2bn(vbuf, vlen, NULL); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4465:12: warning: return makes pointer from integer without a cast [-Wint-conversion] > return BN_bin2bn(vbuf, vlen, NULL); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bn_to_hex': >SWIG/_m2crypto_wrap.c:4473:11: warning: implicit declaration of function 'BN_bn2hex' [-Wimplicit-function-declaration] > hex = BN_bn2hex(bn); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4473:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > hex = BN_bn2hex(bn); > ^ >SWIG/_m2crypto_wrap.c: In function 'hex_to_bn': >SWIG/_m2crypto_wrap.c:4500:13: warning: implicit declaration of function 'BN_new' [-Wimplicit-function-declaration] > if ((bn=BN_new())==NULL) { > ^~~~~~ >SWIG/_m2crypto_wrap.c:4500:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > if ((bn=BN_new())==NULL) { > ^ >SWIG/_m2crypto_wrap.c:4504:9: warning: implicit declaration of function 'BN_hex2bn' [-Wimplicit-function-declaration] > if (BN_hex2bn(&bn, (const char *)vbuf) <= 0) { > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4507:9: warning: implicit declaration of function 'BN_free' [-Wimplicit-function-declaration] > BN_free(bn); > ^~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'dec_to_bn': >SWIG/_m2crypto_wrap.c:4521:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > if ((bn=BN_new())==NULL) { > ^ >SWIG/_m2crypto_wrap.c:4525:10: warning: implicit declaration of function 'BN_dec2bn' [-Wimplicit-function-declaration] > if ((BN_dec2bn(&bn, (const char *)vbuf) <= 0)) { > ^~~~~~~~~ >In file included from SWIG/_m2crypto_wrap.c:4828:0: >/usr/include/openssl/bn.h: At top level: >/usr/include/openssl/bn.h:175:9: error: conflicting types for 'BN_new' > BIGNUM *BN_new(void); > ^~~~~~ >SWIG/_m2crypto_wrap.c:4500:13: note: previous implicit declaration of 'BN_new' was here > if ((bn=BN_new())==NULL) { > ^~~~~~ >In file included from SWIG/_m2crypto_wrap.c:4828:0: >/usr/include/openssl/bn.h:180:9: error: conflicting types for 'BN_bin2bn' > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4465:12: note: previous implicit declaration of 'BN_bin2bn' was here > return BN_bin2bn(vbuf, vlen, NULL); > ^~~~~~~~~ >In file included from SWIG/_m2crypto_wrap.c:4828:0: >/usr/include/openssl/bn.h:185:9: error: conflicting types for 'BN_mpi2bn' > BIGNUM *BN_mpi2bn(const unsigned char *s, int len, BIGNUM *ret); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4433:12: note: previous implicit declaration of 'BN_mpi2bn' was here > return BN_mpi2bn(vbuf, vlen, NULL); > ^~~~~~~~~ >In file included from SWIG/_m2crypto_wrap.c:4828:0: >/usr/include/openssl/bn.h:268:7: error: conflicting types for 'BN_bn2hex' > char *BN_bn2hex(const BIGNUM *a); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c:4473:11: note: previous implicit declaration of 'BN_bn2hex' was here > hex = BN_bn2hex(bn); > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bn_rand': >SWIG/_m2crypto_wrap.c:4833:12: error: storage size of 'rnd' isn't known > BIGNUM rnd; > ^~~ >SWIG/_m2crypto_wrap.c:4837:5: warning: implicit declaration of function 'BN_init' [-Wimplicit-function-declaration] > BN_init(&rnd); > ^~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'bn_rand_range': >SWIG/_m2crypto_wrap.c:4862:12: error: storage size of 'rnd' isn't known > BIGNUM rnd; > ^~~ >SWIG/_m2crypto_wrap.c: In function 'rand_pseudo_bytes': >SWIG/_m2crypto_wrap.c:5013:11: warning: implicit declaration of function 'RAND_pseudo_bytes' [-Wimplicit-function-declaration] > ret = RAND_pseudo_bytes(blob, n); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'digest_final': >SWIG/_m2crypto_wrap.c:5157:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX {aka struct evp_md_ctx_st}' > if (!(blob = PyMem_Malloc(ctx->digest->md_size))) { > ^~ >SWIG/_m2crypto_wrap.c: In function 'hmac_ctx_new': >SWIG/_m2crypto_wrap.c:5180:49: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX {aka struct hmac_ctx_st}' > if (!(ctx = (HMAC_CTX *)PyMem_Malloc(sizeof(HMAC_CTX)))) { > ^~~~~~~~ >SWIG/_m2crypto_wrap.c:5184:5: warning: implicit declaration of function 'HMAC_CTX_init' [-Wimplicit-function-declaration] > HMAC_CTX_init(ctx); > ^~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'hmac_ctx_free': >SWIG/_m2crypto_wrap.c:5189:5: warning: implicit declaration of function 'HMAC_CTX_cleanup' [-Wimplicit-function-declaration] > HMAC_CTX_cleanup(ctx); > ^~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'hmac_init': >SWIG/_m2crypto_wrap.c:5200:10: warning: implicit declaration of function 'HMAC_Init' [-Wimplicit-function-declaration] > if (!HMAC_Init(ctx, kbuf, klen, md)) { > ^~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'hmac_final': >SWIG/_m2crypto_wrap.c:5228:34: error: dereferencing pointer to incomplete type 'HMAC_CTX {aka struct hmac_ctx_st}' > if (!(blob = PyMem_Malloc(ctx->md->md_size))) { > ^~ >SWIG/_m2crypto_wrap.c: In function 'cipher_ctx_new': >SWIG/_m2crypto_wrap.c:5280:55: error: invalid application of 'sizeof' to incomplete type 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}' > if (!(ctx = (EVP_CIPHER_CTX *)PyMem_Malloc(sizeof(EVP_CIPHER_CTX)))) { > ^~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:5284:5: warning: implicit declaration of function 'EVP_CIPHER_CTX_init' [-Wimplicit-function-declaration] > EVP_CIPHER_CTX_init(ctx); > ^~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'cipher_ctx_free': >SWIG/_m2crypto_wrap.c:5289:5: warning: implicit declaration of function 'EVP_CIPHER_CTX_cleanup' [-Wimplicit-function-declaration] > EVP_CIPHER_CTX_cleanup(ctx); > ^~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'cipher_final': >SWIG/_m2crypto_wrap.c:5373:34: error: dereferencing pointer to incomplete type 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}' > if (!(obuf = PyMem_Malloc(ctx->cipher->block_size))) { > ^~ >SWIG/_m2crypto_wrap.c: In function 'pkey_get_modulus': >SWIG/_m2crypto_wrap.c:5539:17: error: dereferencing pointer to incomplete type 'EVP_PKEY {aka struct evp_pkey_st}' > switch (pkey->type) { > ^~ >SWIG/_m2crypto_wrap.c:5550:35: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' > if (!BN_print(bio, rsa->n)) { > ^~ >SWIG/_m2crypto_wrap.c:5577:17: warning: implicit declaration of function 'DSA_free' [-Wimplicit-function-declaration] > DSA_free(dsa); > ^~~~~~~~ >SWIG/_m2crypto_wrap.c:5582:35: error: dereferencing pointer to incomplete type 'DSA {aka struct dsa_st}' > if (!BN_print(bio, dsa->pub_key)) { > ^~ >SWIG/_m2crypto_wrap.c: In function 'dh_generate_parameters': >SWIG/_m2crypto_wrap.c:5795:10: warning: implicit declaration of function 'DH_generate_parameters' [-Wimplicit-function-declaration] > dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc); > ^~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:5795:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc); > ^ >SWIG/_m2crypto_wrap.c: In function 'dh_get_p': >SWIG/_m2crypto_wrap.c:5847:12: error: dereferencing pointer to incomplete type 'DH {aka struct dh_st}' > if (!dh->p) { > ^~ >SWIG/_m2crypto_wrap.c: In function 'rsa_generate_key': >SWIG/_m2crypto_wrap.c:6338:11: warning: implicit declaration of function 'RSA_generate_key' [-Wimplicit-function-declaration] > rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc); > ^~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:6338:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc); > ^ >SWIG/_m2crypto_wrap.c: In function 'dsa_sig_get_r': >SWIG/_m2crypto_wrap.c:6367:29: error: dereferencing pointer to incomplete type 'DSA_SIG {aka struct DSA_SIG_st}' > return bn_to_mpi(dsa_sig->r); > ^~ >SWIG/_m2crypto_wrap.c: In function 'dsa_generate_parameters': >SWIG/_m2crypto_wrap.c:6397:11: warning: implicit declaration of function 'DSA_generate_parameters' [-Wimplicit-function-declaration] > dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc); > ^~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:6397:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc); > ^ >SWIG/_m2crypto_wrap.c: In function 'ssl_init': >SWIG/_m2crypto_wrap.c:6725:5: warning: implicit declaration of function 'SSL_library_init' [-Wimplicit-function-declaration] > SSL_library_init(); > ^~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:6726:5: warning: implicit declaration of function 'SSL_load_error_strings' [-Wimplicit-function-declaration] > SSL_load_error_strings(); > ^~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'ssl_ctx_set_tmp_rsa': >SWIG/_m2crypto_wrap.c:6856:12: warning: implicit declaration of function 'SSL_CTX_set_tmp_rsa' [-Wimplicit-function-declaration] > return SSL_CTX_set_tmp_rsa(ctx, rsa); > ^~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'ssl_ctx_set_tmp_rsa_callback': >SWIG/_m2crypto_wrap.c:6863:5: warning: implicit declaration of function 'SSL_CTX_set_tmp_rsa_callback' [-Wimplicit-function-declaration] > SSL_CTX_set_tmp_rsa_callback(ctx, ssl_set_tmp_rsa_callback); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'sk_ssl_cipher_value': >SWIG/_m2crypto_wrap.c:7318:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > return sk_SSL_CIPHER_value(stack, idx); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'x509_set_not_before': >SWIG/_m2crypto_wrap.c:7444:12: warning: implicit declaration of function 'X509_set_notBefore' [-Wimplicit-function-declaration] > return X509_set_notBefore(x, tm); > ^~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'x509_get_not_before': >SWIG/_m2crypto_wrap.c:7449:12: warning: implicit declaration of function 'X509_get_notBefore' [-Wimplicit-function-declaration] > return X509_get_notBefore(x); > ^~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:7449:12: warning: return makes pointer from integer without a cast [-Wint-conversion] > return X509_get_notBefore(x); > ^~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'x509_set_not_after': >SWIG/_m2crypto_wrap.c:7454:12: warning: implicit declaration of function 'X509_set_notAfter' [-Wimplicit-function-declaration] > return X509_set_notAfter(x, tm); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'x509_get_not_after': >SWIG/_m2crypto_wrap.c:7459:12: warning: implicit declaration of function 'X509_get_notAfter' [-Wimplicit-function-declaration] > return X509_get_notAfter(x); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:7459:12: warning: return makes pointer from integer without a cast [-Wint-conversion] > return X509_get_notAfter(x); > ^~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'x509_name_get_der': >SWIG/_m2crypto_wrap.c:7517:43: error: dereferencing pointer to incomplete type 'X509_NAME {aka struct X509_name_st}' > return PyString_FromStringAndSize(name->bytes->data, name->bytes->length); > ^~ >SWIG/_m2crypto_wrap.c: In function 'make_stack_from_der_sequence': >SWIG/_m2crypto_wrap.c:7690:13: warning: implicit declaration of function 'ASN1_seq_unpack_X509' [-Wimplicit-function-declaration] > certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free ); > ^~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:7690:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free ); > ^ >SWIG/_m2crypto_wrap.c: In function 'get_der_encoding_stack': >SWIG/_m2crypto_wrap.c:7706:16: warning: implicit declaration of function 'ASN1_seq_pack_X509' [-Wimplicit-function-declaration] > encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len); > ^~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:7706:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len); > ^ >SWIG/_m2crypto_wrap.c: In function 'util_hex_to_string': >SWIG/_m2crypto_wrap.c:8050:11: warning: implicit declaration of function 'hex_to_string' [-Wimplicit-function-declaration] > ret = hex_to_string((unsigned char *)buf, len); > ^~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:8050:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > ret = hex_to_string((unsigned char *)buf, len); > ^ >SWIG/_m2crypto_wrap.c: In function 'util_string_to_hex': >SWIG/_m2crypto_wrap.c:8077:11: warning: implicit declaration of function 'string_to_hex' [-Wimplicit-function-declaration] > ret = string_to_hex((char *)buf, &len); > ^~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:8077:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] > ret = string_to_hex((char *)buf, &len); > ^ >SWIG/_m2crypto_wrap.c: In function 'ecdsa_sig_get_r': >SWIG/_m2crypto_wrap.c:8332:31: error: dereferencing pointer to incomplete type 'ECDSA_SIG {aka struct ECDSA_SIG_st}' > return bn_to_mpi(ecdsa_sig->r); > ^~ >SWIG/_m2crypto_wrap.c: In function '_wrap_rand_cleanup': >SWIG/_m2crypto_wrap.c:12753:3: warning: implicit declaration of function 'RAND_cleanup' [-Wimplicit-function-declaration] > RAND_cleanup(); > ^~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function '_wrap_sslv2_method': >SWIG/_m2crypto_wrap.c:18473:26: warning: implicit declaration of function 'SSLv2_method' [-Wimplicit-function-declaration] > result = (SSL_METHOD *)SSLv2_method(); > ^~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:18473:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > result = (SSL_METHOD *)SSLv2_method(); > ^ >SWIG/_m2crypto_wrap.c: In function '_wrap_tlsv1_method': >SWIG/_m2crypto_wrap.c:18499:26: warning: implicit declaration of function 'TLSv1_method' [-Wimplicit-function-declaration] > result = (SSL_METHOD *)TLSv1_method(); > ^~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:18499:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > result = (SSL_METHOD *)TLSv1_method(); > ^ >SWIG/_m2crypto_wrap.c: In function '_wrap_c2i_asn1_object': >SWIG/_m2crypto_wrap.c:25911:27: warning: implicit declaration of function 'c2i_ASN1_OBJECT' [-Wimplicit-function-declaration] > result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3); > ^~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:25911:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3); > ^ >SWIG/_m2crypto_wrap.c: In function '_wrap_engine_load_dynamic': >SWIG/_m2crypto_wrap.c:28557:3: warning: implicit declaration of function 'ENGINE_load_dynamic' [-Wimplicit-function-declaration] > ENGINE_load_dynamic(); > ^~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function '_wrap_engine_load_openssl': >SWIG/_m2crypto_wrap.c:28569:3: warning: implicit declaration of function 'ENGINE_load_openssl' [-Wimplicit-function-declaration] > ENGINE_load_openssl(); > ^~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function '_wrap_engine_cleanup': >SWIG/_m2crypto_wrap.c:28581:3: warning: implicit declaration of function 'ENGINE_cleanup' [-Wimplicit-function-declaration] > ENGINE_cleanup(); > ^~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c: In function 'init__m2crypto': >SWIG/_m2crypto_wrap.c:31531:79: warning: implicit declaration of function 'SWIG_From_wchar_t' [-Wimplicit-function-declaration] > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:31531:119: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^ >SWIG/_m2crypto_wrap.c:31531:120: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^ >SWIG/_m2crypto_wrap.c:31531:79: warning: passing argument 4 of 'SWIG_Python_SetConstant' makes pointer from integer without a cast [-Wint-conversion] > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:1236:1: note: expected 'PyObject * {aka struct _object *}' but argument is of type 'int' > SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) { > ^~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:31532:113: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\\0) -1)))); > ^ >SWIG/_m2crypto_wrap.c:31532:114: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\\0) -1)))); > ^ >SWIG/_m2crypto_wrap.c:31580:111: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\\0) -1)))); > ^ >SWIG/_m2crypto_wrap.c:31580:112: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+\\0) -1)))); > ^ >SWIG/_m2crypto_wrap.c:31581:117: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^ >SWIG/_m2crypto_wrap.c:31581:118: error: stray '\' in program > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^ >SWIG/_m2crypto_wrap.c:31581:77: warning: passing argument 4 of 'SWIG_Python_SetConstant' makes pointer from integer without a cast [-Wint-conversion] > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+\\0)))); > ^~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:1236:1: note: expected 'PyObject * {aka struct _object *}' but argument is of type 'int' > SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) { > ^~~~~~~~~~~~~~~~~~~~~~~ >SWIG/_m2crypto_wrap.c:31639:112: error: 'SSL_ST_INIT' undeclared (first use in this function) > SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SSL_ST_RENEGOTIATE",SWIG_From_int((int)((0x04|SSL_ST_INIT)))); > ^~~~~~~~~~~ >error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 > [31;01m*[0m ERROR: dev-python/m2crypto-0.25.1-r2::gentoo failed (compile phase): > [31;01m*[0m (no error message) > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 115: Called src_compile > [31;01m*[0m environment, line 2654: Called distutils-r1_src_compile > [31;01m*[0m environment, line 780: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' > [31;01m*[0m environment, line 339: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' > [31;01m*[0m environment, line 2189: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > [31;01m*[0m environment, line 1480: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' > [31;01m*[0m environment, line 1478: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' > [31;01m*[0m environment, line 530: Called distutils-r1_run_phase 'distutils-r1_python_compile' > [31;01m*[0m environment, line 771: Called distutils-r1_python_compile > [31;01m*[0m environment, line 646: Called esetup.py 'build' > [31;01m*[0m environment, line 1025: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m "${@}" || die "${die_args[@]}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/m2crypto-0.25.1-r2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.25.1-r2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/m2crypto-0.25.1-r2:20170106-143924.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/m2crypto-0.25.1-r2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.25.1-r2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1' > [31;01m*[0m S: '/var/tmp/portage/dev-python/m2crypto-0.25.1-r2/work/M2Crypto-0.25.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 604842
: 458952 |
507800