spacepaste

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