Erro na instalação do wpa_supplicant.

1. Erro na instalação do wpa_supplicant.

tiago k pereira
koppix

(usa Funtoo)

Enviado em 30/08/2018 - 16:09h

Bom vamos lá.
Quando tudo está quieto resolvemos agitar um pouco com o Gentoo.
Estou tentando instalar o wpa_supplicant no meu notebook, mas não vai nem com oração forte.
Segue a "reclamação" do portage e o log:
______________________________________________________________________________
>>> Failed to emerge dev-python/m2crypto-0.24.0, Log file:

>>> '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/build.log'

* Messages for package dev-python/m2crypto-0.24.0:

* ERROR: dev-python/m2crypto-0.24.0::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 124: Called src_compile
* environment, line 3514: Called distutils-r1_src_compile
* environment, line 905: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 357: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3063: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2249: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2247: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 628: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 896: Called distutils-r1_python_compile
* environment, line 771: Called esetup.py 'build'
* environment, line 1377: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/m2crypto-0.24.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.24.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'
* S: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'
_____________________________________________________________________________________________

log:
* Package: dev-python/m2crypto-0.24.0
* Repository: gentoo
* Maintainer: python@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking M2Crypto-0.24.0.tar.gz to /var/tmp/portage/dev-python/m2crypto-0.24.0/work
>>> Source unpacked in /var/tmp/portage/dev-python/m2crypto-0.24.0/work
>>> Preparing source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
* python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/AuthCookie.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/DH.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/X509.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/m2.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/BN.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/ftpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/m2xmlrpclib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/EVP.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/httpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/RC4.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/Rand.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/ASN1.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/m2urllib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/EC.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/Err.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/BIO.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/SMIME.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/callback.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/m2urllib2.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/Engine.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/util.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/threading.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
copying M2Crypto/DSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/constants.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/packet.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/PublicKeyRing.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
copying M2Crypto/PGP/PublicKey.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/Cipher.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/cb.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/Checker.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/TwistedProtocolWrapper.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/Connection.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/ssl_dispatcher.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/timeout.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/Context.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/SSLServer.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
copying M2Crypto/SSL/Session.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-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.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i
/usr/include/sys/cdefs.h:153: 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:250: 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:21: Warning 454: Setting a pointer/reference variable may leak memory.
SWIG/_evp.i:169: 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:323: 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.24.0/work/M2Crypto-0.24.0-python2_7/temp.linux-x86_64-2.7
creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/temp.linux-x86_64-2.7/SWIG
x86_64-pc-linux-gnu-gcc -O2 -pipe -fPIC -I/usr/include/python2.7 -I/usr/include -I/usr/include/openssl -I/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0/SWIG -c SWIG/_m2crypto_wrap.c -o /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/temp.linux-x86_64-2.7/SWIG/_m2crypto_wrap.o -DTHREADING
SWIG/_m2crypto_wrap.c:4186:35: error: ‘CRYPTO_NUM_LOCKS’ undeclared here (not in a function); did you mean ‘CRYPTO_UNLOCK’?
static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
^~~~~~~~~~~~~~~~
CRYPTO_UNLOCK
SWIG/_m2crypto_wrap.c: In function ‘lib_init’:
SWIG/_m2crypto_wrap.c:4567:5: warning: implicit declaration of function ‘SSLeay_add_all_algorithms’; did you mean ‘SSLeay_add_ssl_algorithms’? [-Wimplicit-function-declaration]
SSLeay_add_all_algorithms();
^~~~~~~~~~~~~~~~~~~~~~~~~
SSLeay_add_ssl_algorithms
SWIG/_m2crypto_wrap.c: In function ‘bn_rand’:
SWIG/_m2crypto_wrap.c:4971:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c:4975:5: warning: implicit declaration of function ‘BN_init’; did you mean ‘bio_init’? [-Wimplicit-function-declaration]
BN_init(&rnd);
^~~~~~~
bio_init
SWIG/_m2crypto_wrap.c: In function ‘bn_rand_range’:
SWIG/_m2crypto_wrap.c:5000:12: error: storage size of ‘rnd’ isn’t known
BIGNUM rnd;
^~~
SWIG/_m2crypto_wrap.c: In function ‘rand_pseudo_bytes’:
SWIG/_m2crypto_wrap.c:5131:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
ret = RAND_pseudo_bytes(blob, n);
^~~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
^
SWIG/_m2crypto_wrap.c: In function ‘digest_final’:
SWIG/_m2crypto_wrap.c:5249: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:5266: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:5270:5: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
HMAC_CTX_init(ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_free’:
SWIG/_m2crypto_wrap.c:5275:5: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
SWIG/_m2crypto_wrap.c: In function ‘hmac_init’:
SWIG/_m2crypto_wrap.c:5286:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations]
if (!HMAC_Init(ctx, kbuf, klen, md)) {
^~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/hmac.h:28:1: note: declared here
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
^
SWIG/_m2crypto_wrap.c: In function ‘hmac_final’:
SWIG/_m2crypto_wrap.c:5314: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:5353: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: In function ‘cipher_final’:
SWIG/_m2crypto_wrap.c:5434: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:5582:17: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
switch (pkey->type) {
^~
SWIG/_m2crypto_wrap.c:5593:35: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
if (!BN_print(bio, rsa->n)) {
^~
SWIG/_m2crypto_wrap.c:5618: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:5815:5: warning: ‘DH_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc);
^~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/dh.h:135:1: note: declared here
DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
^
SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
SWIG/_m2crypto_wrap.c:5861: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:6319:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/rsa.h:193:1: note: declared here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:6348: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:6378:5: warning: ‘DSA_generate_parameters’ is deprecated [-Wdeprecated-declarations]
dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc);
^~~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/dsa.h:122:1: note: declared here
DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
^
SWIG/_m2crypto_wrap.c: In function ‘sk_ssl_cipher_value’:
SWIG/_m2crypto_wrap.c:7284: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_name_get_der’:
SWIG/_m2crypto_wrap.c:7463: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 ‘x509v3_lhash’:
SWIG/_m2crypto_wrap.c:7524:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */
^~~~~~
SWIG/_m2crypto_wrap.c: In function ‘make_stack_from_der_sequence’:
SWIG/_m2crypto_wrap.c:7640:13: warning: implicit declaration of function ‘ASN1_seq_unpack_X509’; did you mean ‘ASN1_item_unpack’? [-Wimplicit-function-declaration]
certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
^~~~~~~~~~~~~~~~~~~~
ASN1_item_unpack
SWIG/_m2crypto_wrap.c:7640: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:7656:16: warning: implicit declaration of function ‘ASN1_seq_pack_X509’; did you mean ‘ASN1_item_pack’? [-Wimplicit-function-declaration]
encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
^~~~~~~~~~~~~~~~~~
ASN1_item_pack
SWIG/_m2crypto_wrap.c:7656: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 ‘ecdsa_sig_get_r’:
SWIG/_m2crypto_wrap.c:8186: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_sslv2_method’:
SWIG/_m2crypto_wrap.c:18315:26: warning: implicit declaration of function ‘SSLv2_method’; did you mean ‘SSLv23_method’? [-Wimplicit-function-declaration]
result = (SSL_METHOD *)SSLv2_method();
^~~~~~~~~~~~
SSLv23_method
SWIG/_m2crypto_wrap.c:18315: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:18341:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
result = (SSL_METHOD *)TLSv1_method();
^~~~~~
In file included from /usr/include/openssl/opensslconf.h:10:0,
from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/err.h:13,
from SWIG/_m2crypto_wrap.c:3829:
/usr/include/openssl/ssl.h:1627:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
^
SWIG/_m2crypto_wrap.c: In function ‘_wrap_c2i_asn1_object’:
SWIG/_m2crypto_wrap.c:25775:27: warning: implicit declaration of function ‘c2i_ASN1_OBJECT’; did you mean ‘d2i_ASN1_OBJECT’? [-Wimplicit-function-declaration]
result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
^~~~~~~~~~~~~~~
d2i_ASN1_OBJECT
SWIG/_m2crypto_wrap.c:25775: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 ‘init__m2crypto’:
SWIG/_m2crypto_wrap.c:31639:79: warning: implicit declaration of function ‘SWIG_From_wchar_t’; did you mean ‘SWIG_FromCharPtr’? [-Wimplicit-function-declaration]
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^~~~~~~~~~~~~~~~~
SWIG_FromCharPtr
SWIG/_m2crypto_wrap.c:31639:120: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^
SWIG/_m2crypto_wrap.c:31639:121: warning: missing terminating ' character
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^
SWIG/_m2crypto_wrap.c:31639:121: error: missing terminating ' character
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31639:119: error: ‘L’ undeclared (first use in this function)
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^
SWIG/_m2crypto_wrap.c:31639:119: note: each undeclared identifier is reported only once for each function it appears in
SWIG/_m2crypto_wrap.c:31640:3: error: expected ‘)’ before ‘SWIG_Python_SetConstant’
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+L'\0') -1))));
^~~~~~~~~~~~~~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31691:118: error: stray ‘\’ in program
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^
SWIG/_m2crypto_wrap.c:31691:119: warning: missing terminating ' character
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^
SWIG/_m2crypto_wrap.c:31691:119: error: missing terminating ' character
SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
^~~~~~~~~~~
SWIG/_m2crypto_wrap.c:31996:1: error: expected declaration or statement at end of input
}
^
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
* ERROR: dev-python/m2crypto-0.24.0::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 124: Called src_compile
* environment, line 3514: Called distutils-r1_src_compile
* environment, line 905: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
* environment, line 357: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 3063: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2249: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 2247: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
* environment, line 628: Called distutils-r1_run_phase 'distutils-r1_python_compile'
* environment, line 896: Called distutils-r1_python_compile
* environment, line 771: Called esetup.py 'build'
* environment, line 1377: Called die
* The specific snippet of code:
* "${@}" || die "${die_args[@]}";
*
* If you need support, post the output of `emerge --info '=dev-python/m2crypto-0.24.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.24.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/environment'.
* Working directory: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'
* S: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'




  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts