spacepaste

  1.  
  2.  * Package: dev-python/m2crypto-0.24.0
  3.  * Repository: gentoo
  4.  * Maintainer: python@gentoo.org
  5.  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU
  6.  * FEATURES: preserve-libs sandbox userpriv usersandbox
  7. >>> Unpacking source...
  8. >>> Unpacking M2Crypto-0.24.0.tar.gz to /var/tmp/portage/dev-python/m2crypto-0.24.0/work
  9. >>> Source unpacked in /var/tmp/portage/dev-python/m2crypto-0.24.0/work
  10. >>> Preparing source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
  11. >>> Source prepared.
  12. >>> Configuring source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
  13. >>> Source configured.
  14. >>> Compiling source in /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0 ...
  15. * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
  16. /usr/bin/python2.7 setup.py build
  17. running build
  18. running build_py
  19. creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  20. copying M2Crypto/ASN1.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  21. copying M2Crypto/EVP.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  22. copying M2Crypto/BIO.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  23. copying M2Crypto/RC4.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  24. copying M2Crypto/httpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  25. copying M2Crypto/EC.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  26. copying M2Crypto/Engine.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  27. copying M2Crypto/util.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  28. copying M2Crypto/Rand.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  29. copying M2Crypto/DH.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  30. copying M2Crypto/m2urllib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  31. copying M2Crypto/m2xmlrpclib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  32. copying M2Crypto/DSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  33. copying M2Crypto/BN.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  34. copying M2Crypto/Err.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  35. copying M2Crypto/threading.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  36. copying M2Crypto/callback.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  37. copying M2Crypto/m2urllib2.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  38. copying M2Crypto/AuthCookie.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  39. copying M2Crypto/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  40. copying M2Crypto/m2.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  41. copying M2Crypto/ftpslib.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  42. copying M2Crypto/SMIME.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  43. copying M2Crypto/X509.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  44. copying M2Crypto/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto
  45. creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  46. copying M2Crypto/SSL/SSLServer.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  47. copying M2Crypto/SSL/Checker.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  48. copying M2Crypto/SSL/TwistedProtocolWrapper.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  49. copying M2Crypto/SSL/Session.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  50. copying M2Crypto/SSL/Cipher.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  51. copying M2Crypto/SSL/timeout.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  52. copying M2Crypto/SSL/cb.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  53. copying M2Crypto/SSL/Connection.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  54. 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
  55. copying M2Crypto/SSL/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  56. copying M2Crypto/SSL/Context.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/SSL
  57. creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  58. copying M2Crypto/PGP/PublicKeyRing.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  59. copying M2Crypto/PGP/RSA.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  60. copying M2Crypto/PGP/__init__.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  61. copying M2Crypto/PGP/constants.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  62. copying M2Crypto/PGP/packet.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  63. copying M2Crypto/PGP/PublicKey.py -> /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/lib/M2Crypto/PGP
  64. warning: build_py: byte-compiling is disabled, skipping.
  65. running build_ext
  66. building 'M2Crypto.__m2crypto' extension
  67. swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c
  68. 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
  69. /usr/include/sys/cdefs.h:175: Warning 305: Bad constant value (ignored).
  70. /usr/include/bits/wchar.h:38: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
  71. /usr/include/stdint.h:274: Warning 490: Fragment 'SWIG_From_wchar_t' not found.
  72. SWIG/_bio.i:64: Warning 454: Setting a pointer/reference variable may leak memory.
  73. SWIG/_rand.i:21: Warning 454: Setting a pointer/reference variable may leak memory.
  74. SWIG/_evp.i:169: Warning 454: Setting a pointer/reference variable may leak memory.
  75. SWIG/_dh.i:36: Warning 454: Setting a pointer/reference variable may leak memory.
  76. SWIG/_rsa.i:43: Warning 454: Setting a pointer/reference variable may leak memory.
  77. SWIG/_dsa.i:31: Warning 454: Setting a pointer/reference variable may leak memory.
  78. SWIG/_ssl.i:241: Warning 454: Setting a pointer/reference variable may leak memory.
  79. SWIG/_ssl.i:242: Warning 454: Setting a pointer/reference variable may leak memory.
  80. SWIG/_x509.i:323: Warning 454: Setting a pointer/reference variable may leak memory.
  81. SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
  82. SWIG/_pkcs7.i:44: Warning 454: Setting a pointer/reference variable may leak memory.
  83. SWIG/_util.i:11: Warning 454: Setting a pointer/reference variable may leak memory.
  84. SWIG/_ec.i:111: Warning 454: Setting a pointer/reference variable may leak memory.
  85. SWIG/_engine.i:168: Warning 454: Setting a pointer/reference variable may leak memory.
  86. creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/temp.linux-x86_64-2.7
  87. creating /var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0-python2_7/temp.linux-x86_64-2.7/SWIG
  88. 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
  89. SWIG/_m2crypto_wrap.c:4186:35: error: ‘CRYPTO_NUM_LOCKS’ undeclared here (not in a function)
  90. static PyThread_type_lock lock_cs[CRYPTO_NUM_LOCKS];
  91. ^~~~~~~~~~~~~~~~
  92. SWIG/_m2crypto_wrap.c: In function ‘lib_init’:
  93. SWIG/_m2crypto_wrap.c:4567:5: warning: implicit declaration of function ‘SSLeay_add_all_algorithms’ [-Wimplicit-function-declaration]
  94. SSLeay_add_all_algorithms();
  95. ^~~~~~~~~~~~~~~~~~~~~~~~~
  96. SWIG/_m2crypto_wrap.c: In function ‘bn_rand’:
  97. SWIG/_m2crypto_wrap.c:4971:12: error: storage size of ‘rnd’ isn’t known
  98. BIGNUM rnd;
  99. ^~~
  100. SWIG/_m2crypto_wrap.c:4975:5: warning: implicit declaration of function ‘BN_init’ [-Wimplicit-function-declaration]
  101. BN_init(&rnd);
  102. ^~~~~~~
  103. SWIG/_m2crypto_wrap.c: In function ‘bn_rand_range’:
  104. SWIG/_m2crypto_wrap.c:5000:12: error: storage size of ‘rnd’ isn’t known
  105. BIGNUM rnd;
  106. ^~~
  107. SWIG/_m2crypto_wrap.c: In function ‘rand_pseudo_bytes’:
  108. SWIG/_m2crypto_wrap.c:5131:5: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations]
  109. ret = RAND_pseudo_bytes(blob, n);
  110. ^~~
  111. In file included from /usr/include/openssl/opensslconf.h:10:0,
  112. from /usr/include/openssl/crypto.h:26,
  113. from /usr/include/openssl/bio.h:20,
  114. from /usr/include/openssl/err.h:21,
  115. from SWIG/_m2crypto_wrap.c:3829:
  116. /usr/include/openssl/rand.h:44:1: note: declared here
  117. DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
  118. ^
  119. SWIG/_m2crypto_wrap.c: In function ‘digest_final’:
  120. SWIG/_m2crypto_wrap.c:5249:34: error: dereferencing pointer to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’
  121. if (!(blob = PyMem_Malloc(ctx->digest->md_size))) {
  122. ^~
  123. SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_new’:
  124. SWIG/_m2crypto_wrap.c:5266:49: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
  125. if (!(ctx = (HMAC_CTX *)PyMem_Malloc(sizeof(HMAC_CTX)))) {
  126. ^~~~~~~~
  127. SWIG/_m2crypto_wrap.c:5270:5: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
  128. HMAC_CTX_init(ctx);
  129. ^~~~~~~~~~~~~
  130. SWIG/_m2crypto_wrap.c: In function ‘hmac_ctx_free’:
  131. SWIG/_m2crypto_wrap.c:5275:5: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
  132. HMAC_CTX_cleanup(ctx);
  133. ^~~~~~~~~~~~~~~~
  134. SWIG/_m2crypto_wrap.c: In function ‘hmac_init’:
  135. SWIG/_m2crypto_wrap.c:5286:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations]
  136. if (!HMAC_Init(ctx, kbuf, klen, md)) {
  137. ^~
  138. In file included from /usr/include/openssl/opensslconf.h:10:0,
  139. from /usr/include/openssl/hmac.h:13,
  140. from /usr/include/openssl/ssl.h:26,
  141. from SWIG/_m2crypto_wrap.c:4247:
  142. /usr/include/openssl/hmac.h:28:1: note: declared here
  143. DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len,
  144. ^
  145. SWIG/_m2crypto_wrap.c: In function ‘hmac_final’:
  146. SWIG/_m2crypto_wrap.c:5314:34: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
  147. if (!(blob = PyMem_Malloc(ctx->md->md_size))) {
  148. ^~
  149. SWIG/_m2crypto_wrap.c: In function ‘cipher_ctx_new’:
  150. SWIG/_m2crypto_wrap.c:5353:55: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
  151. if (!(ctx = (EVP_CIPHER_CTX *)PyMem_Malloc(sizeof(EVP_CIPHER_CTX)))) {
  152. ^~~~~~~~~~~~~~
  153. SWIG/_m2crypto_wrap.c: In function ‘cipher_final’:
  154. SWIG/_m2crypto_wrap.c:5434:34: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
  155. if (!(obuf = PyMem_Malloc(ctx->cipher->block_size))) {
  156. ^~
  157. SWIG/_m2crypto_wrap.c: In function ‘pkey_get_modulus’:
  158. SWIG/_m2crypto_wrap.c:5582:17: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’
  159. switch (pkey->type) {
  160. ^~
  161. SWIG/_m2crypto_wrap.c:5593:35: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
  162. if (!BN_print(bio, rsa->n)) {
  163. ^~
  164. SWIG/_m2crypto_wrap.c:5618:35: error: dereferencing pointer to incomplete type ‘DSA {aka struct dsa_st}’
  165. if (!BN_print(bio, dsa->pub_key)) {
  166. ^~
  167. SWIG/_m2crypto_wrap.c: In function ‘dh_generate_parameters’:
  168. SWIG/_m2crypto_wrap.c:5815:5: warning: ‘DH_generate_parameters’ is deprecated [-Wdeprecated-declarations]
  169. dh = DH_generate_parameters(plen, g, gendh_callback, (void *)pyfunc);
  170. ^~
  171. In file included from /usr/include/openssl/opensslconf.h:10:0,
  172. from /usr/include/openssl/dherr.h:14,
  173. from /usr/include/openssl/dh.h:23,
  174. from SWIG/_m2crypto_wrap.c:4243:
  175. /usr/include/openssl/dh.h:136:1: note: declared here
  176. DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
  177. ^
  178. SWIG/_m2crypto_wrap.c: In function ‘dh_get_p’:
  179. SWIG/_m2crypto_wrap.c:5861:12: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
  180. if (!dh->p) {
  181. ^~
  182. SWIG/_m2crypto_wrap.c: In function ‘rsa_generate_key’:
  183. SWIG/_m2crypto_wrap.c:6319:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
  184. rsa = RSA_generate_key(bits, e, genrsa_callback, (void *)pyfunc);
  185. ^~~
  186. In file included from /usr/include/openssl/opensslconf.h:10:0,
  187. from /usr/include/openssl/rsa.h:13,
  188. from SWIG/_m2crypto_wrap.c:4246:
  189. /usr/include/openssl/rsa.h:226:1: note: declared here
  190. DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
  191. ^
  192. SWIG/_m2crypto_wrap.c: In function ‘dsa_sig_get_r’:
  193. SWIG/_m2crypto_wrap.c:6348:29: error: dereferencing pointer to incomplete type ‘DSA_SIG {aka struct DSA_SIG_st}’
  194. return bn_to_mpi(dsa_sig->r);
  195. ^~
  196. SWIG/_m2crypto_wrap.c: In function ‘dsa_generate_parameters’:
  197. SWIG/_m2crypto_wrap.c:6378:5: warning: ‘DSA_generate_parameters’ is deprecated [-Wdeprecated-declarations]
  198. dsa = DSA_generate_parameters(bits, NULL, 0, NULL, NULL, genparam_callback, (void *)pyfunc);
  199. ^~~
  200. In file included from /usr/include/openssl/opensslconf.h:10:0,
  201. from /usr/include/openssl/dsaerr.h:14,
  202. from /usr/include/openssl/dsa.h:28,
  203. from /usr/include/openssl/x509.h:26,
  204. from /usr/include/openssl/ssl.h:20,
  205. from SWIG/_m2crypto_wrap.c:4247:
  206. /usr/include/openssl/dsa.h:118:1: note: declared here
  207. DEPRECATEDIN_0_9_8(DSA *DSA_generate_parameters(int bits,
  208. ^
  209. SWIG/_m2crypto_wrap.c: In function ‘sk_ssl_cipher_value’:
  210. SWIG/_m2crypto_wrap.c:7284:12: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  211. return sk_SSL_CIPHER_value(stack, idx);
  212. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  213. SWIG/_m2crypto_wrap.c: In function ‘x509_name_get_der’:
  214. SWIG/_m2crypto_wrap.c:7463:43: error: dereferencing pointer to incomplete type ‘X509_NAME {aka struct X509_name_st}’
  215. return PyString_FromStringAndSize(name->bytes->data, name->bytes->length);
  216. ^~
  217. SWIG/_m2crypto_wrap.c: In function ‘x509v3_lhash’:
  218. SWIG/_m2crypto_wrap.c:7524:12: warning: return from incompatible pointer type [-Wincompatible-pointer-types]
  219. return lh_new(NULL, NULL); /* Should probably be lh_CONF_VALUE_new but won't compile. */
  220. ^~~~~~
  221. SWIG/_m2crypto_wrap.c: In function ‘make_stack_from_der_sequence’:
  222. SWIG/_m2crypto_wrap.c:7640:13: warning: implicit declaration of function ‘ASN1_seq_unpack_X509’ [-Wimplicit-function-declaration]
  223. certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
  224. ^~~~~~~~~~~~~~~~~~~~
  225. SWIG/_m2crypto_wrap.c:7640:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  226. certs = ASN1_seq_unpack_X509((unsigned char *)encoded_string, encoded_string_len, d2i_X509, X509_free );
  227. ^
  228. SWIG/_m2crypto_wrap.c: In function ‘get_der_encoding_stack’:
  229. SWIG/_m2crypto_wrap.c:7656:16: warning: implicit declaration of function ‘ASN1_seq_pack_X509’ [-Wimplicit-function-declaration]
  230. encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
  231. ^~~~~~~~~~~~~~~~~~
  232. SWIG/_m2crypto_wrap.c:7656:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
  233. encoding = ASN1_seq_pack_X509(stack, i2d_X509, NULL, &len);
  234. ^
  235. SWIG/_m2crypto_wrap.c: In function ‘ecdsa_sig_get_r’:
  236. SWIG/_m2crypto_wrap.c:8186:31: error: dereferencing pointer to incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
  237. return bn_to_mpi(ecdsa_sig->r);
  238. ^~
  239. SWIG/_m2crypto_wrap.c: In function ‘_wrap_sslv2_method’:
  240. SWIG/_m2crypto_wrap.c:18559:26: warning: implicit declaration of function ‘SSLv2_method’ [-Wimplicit-function-declaration]
  241. result = (SSL_METHOD *)SSLv2_method();
  242. ^~~~~~~~~~~~
  243. SWIG/_m2crypto_wrap.c:18559:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  244. result = (SSL_METHOD *)SSLv2_method();
  245. ^
  246. SWIG/_m2crypto_wrap.c: In function ‘_wrap_tlsv1_method’:
  247. SWIG/_m2crypto_wrap.c:18585:3: warning: ‘TLSv1_method’ is deprecated [-Wdeprecated-declarations]
  248. result = (SSL_METHOD *)TLSv1_method();
  249. ^~~~~~
  250. In file included from /usr/include/openssl/opensslconf.h:10:0,
  251. from /usr/include/openssl/cterr.h:14,
  252. from /usr/include/openssl/ct.h:19,
  253. from /usr/include/openssl/ssl.h:31,
  254. from SWIG/_m2crypto_wrap.c:4247:
  255. /usr/include/openssl/ssl.h:1834:1: note: declared here
  256. DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */
  257. ^
  258. SWIG/_m2crypto_wrap.c: In function ‘_wrap_c2i_asn1_object’:
  259. SWIG/_m2crypto_wrap.c:26019:27: warning: implicit declaration of function ‘c2i_ASN1_OBJECT’ [-Wimplicit-function-declaration]
  260. result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
  261. ^~~~~~~~~~~~~~~
  262. SWIG/_m2crypto_wrap.c:26019:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  263. result = (ASN1_OBJECT *)c2i_ASN1_OBJECT(arg1,(unsigned char const **)arg2,arg3);
  264. ^
  265. SWIG/_m2crypto_wrap.c: In function ‘init__m2crypto’:
  266. SWIG/_m2crypto_wrap.c:31888:79: warning: implicit declaration of function ‘SWIG_From_wchar_t’ [-Wimplicit-function-declaration]
  267. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  268. ^~~~~~~~~~~~~~~~~
  269. SWIG/_m2crypto_wrap.c:31888:120: error: stray ‘\’ in program
  270. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  271. ^
  272. SWIG/_m2crypto_wrap.c:31888:121: warning: missing terminating ' character
  273. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  274. ^
  275. SWIG/_m2crypto_wrap.c:31888:121: error: missing terminating ' character
  276. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  277. ^~~~~~~~~~~
  278. SWIG/_m2crypto_wrap.c:31888:119: error: ‘L’ undeclared (first use in this function)
  279. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  280. ^
  281. SWIG/_m2crypto_wrap.c:31888:119: note: each undeclared identifier is reported only once for each function it appears in
  282. SWIG/_m2crypto_wrap.c:31889:3: error: expected ‘)’ before ‘SWIG_Python_SetConstant’
  283. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "__WCHAR_MIN",SWIG_From_int((int)((-(0x7fffffff+L'\0') -1))));
  284. ^~~~~~~~~~~~~~~~~~~~~~~
  285. SWIG/_m2crypto_wrap.c:31938:118: error: stray ‘\’ in program
  286. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  287. ^
  288. SWIG/_m2crypto_wrap.c:31938:119: warning: missing terminating ' character
  289. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  290. ^
  291. SWIG/_m2crypto_wrap.c:31938:119: error: missing terminating ' character
  292. SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "WCHAR_MAX",SWIG_From_wchar_t((wchar_t)((0x7fffffff+L\'\\0\'))));
  293. ^~~~~~~~~~~
  294. SWIG/_m2crypto_wrap.c:32243:1: error: expected declaration or statement at end of input
  295. }
  296. ^
  297. error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
  298. * ERROR: dev-python/m2crypto-0.24.0::gentoo failed (compile phase):
  299. * (no error message)
  300. *
  301. * Call stack:
  302. * ebuild.sh, line 124: Called src_compile
  303. * environment, line 3453: Called distutils-r1_src_compile
  304. * environment, line 847: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
  305. * environment, line 311: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
  306. * environment, line 3015: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
  307. * environment, line 2191: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
  308. * environment, line 2189: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
  309. * environment, line 581: Called distutils-r1_run_phase 'distutils-r1_python_compile'
  310. * environment, line 838: Called distutils-r1_python_compile
  311. * environment, line 713: Called esetup.py 'build'
  312. * environment, line 1324: Called die
  313. * The specific snippet of code:
  314. * "${@}" || die "${die_args[@]}";
  315. *
  316. * If you need support, post the output of `emerge --info '=dev-python/m2crypto-0.24.0::gentoo'`,
  317. * the complete build log and the output of `emerge -pqv '=dev-python/m2crypto-0.24.0::gentoo'`.
  318. * The complete build log is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/build.log'.
  319. * The ebuild environment file is located at '/var/tmp/portage/dev-python/m2crypto-0.24.0/temp/environment'.
  320. * Working directory: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'
  321. * S: '/var/tmp/portage/dev-python/m2crypto-0.24.0/work/M2Crypto-0.24.0'
  322.