spacepaste

  1.  
  2. $ /private/tmp/pypy/pypy3-v5.7.1-src/pypy3-c /private/tmp/pypy/pypy3-v5.7.1-src/pypy/tool/build_cffi_imports.py --only ssl
  3. * SKIPPING _decimal (not specified in --only)
  4. * SKIPPING _gdbm (not specified in --only)
  5. * SKIPPING audioop (not specified in --only)
  6. * SKIPPING curses (not specified in --only)
  7. * SKIPPING lzma (not specified in --only)
  8. * SKIPPING pwdgrp (not specified in --only)
  9. * SKIPPING resource (not specified in --only)
  10. * SKIPPING sqlite3 (not specified in --only)
  11. * _ssl_build.py
  12. stdout:
  13. stderr:
  14. _pypy_openssl.c:2855:22: warning: comparison of constant 1152921504606846975 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
  15. _ssl_locks = PyMem_New(PyThread_type_lock, _ssl_locks_count);
  16. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. /private/tmp/pypy/pypy3-v5.7.1-src/include/pymem.h:38:10: note: expanded from macro 'PyMem_New'
  18. ( ((n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \
  19. ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  20. _pypy_openssl.c:72224:1: warning: control reaches end of non-void function [-Wreturn-type]
  21. }
  22. ^
  23. 2 warnings generated.
  24. clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
  25. Undefined symbols for architecture x86_64:
  26. "_BIO_new_CMS", referenced from:
  27. __cffi_d_BIO_new_CMS in _pypy_openssl.o
  28. "_CMAC_CTX_copy", referenced from:
  29. __cffi_d_CMAC_CTX_copy in _pypy_openssl.o
  30. "_CMAC_CTX_free", referenced from:
  31. __cffi_d_CMAC_CTX_free in _pypy_openssl.o
  32. "_CMAC_CTX_new", referenced from:
  33. __cffi_d_CMAC_CTX_new in _pypy_openssl.o
  34. "_CMAC_Final", referenced from:
  35. __cffi_d_CMAC_Final in _pypy_openssl.o
  36. "_CMAC_Init", referenced from:
  37. __cffi_d_CMAC_Init in _pypy_openssl.o
  38. "_CMAC_Update", referenced from:
  39. __cffi_d_CMAC_Update in _pypy_openssl.o
  40. "_CMS_add1_signer", referenced from:
  41. __cffi_d_CMS_add1_signer in _pypy_openssl.o
  42. "_CMS_decrypt", referenced from:
  43. __cffi_d_CMS_decrypt in _pypy_openssl.o
  44. "_CMS_encrypt", referenced from:
  45. __cffi_d_CMS_encrypt in _pypy_openssl.o
  46. "_CMS_final", referenced from:
  47. __cffi_d_CMS_final in _pypy_openssl.o
  48. "_CMS_sign", referenced from:
  49. __cffi_d_CMS_sign in _pypy_openssl.o
  50. "_CMS_verify", referenced from:
  51. __cffi_d_CMS_verify in _pypy_openssl.o
  52. "_DHparams_dup", referenced from:
  53. __cffi_d_DHparams_dup in _pypy_openssl.o
  54. "_DSAparams_dup", referenced from:
  55. __cffi_d_DSAparams_dup in _pypy_openssl.o
  56. "_EC_KEY_clear_flags", referenced from:
  57. __cffi_d_EC_KEY_clear_flags in _pypy_openssl.o
  58. "_EC_KEY_get_flags", referenced from:
  59. __cffi_d_EC_KEY_get_flags in _pypy_openssl.o
  60. "_EC_KEY_set_flags", referenced from:
  61. __cffi_d_EC_KEY_set_flags in _pypy_openssl.o
  62. "_EC_KEY_set_public_key_affine_coordinates", referenced from:
  63. __cffi_d_EC_KEY_set_public_key_affine_coordinates in _pypy_openssl.o
  64. "_EC_curve_nid2nist", referenced from:
  65. __cffi_d_EC_curve_nid2nist in _pypy_openssl.o
  66. "_EVP_PKEY_CTX_ctrl", referenced from:
  67. __cffi_d_EVP_PKEY_CTX_set_rsa_mgf1_md in _pypy_openssl.o
  68. __cffi_d_EVP_PKEY_CTX_set_rsa_oaep_md in _pypy_openssl.o
  69. __cffi_d_EVP_PKEY_CTX_set_rsa_padding in _pypy_openssl.o
  70. __cffi_d_EVP_PKEY_CTX_set_rsa_pss_saltlen in _pypy_openssl.o
  71. __cffi_d_EVP_PKEY_CTX_set_signature_md in _pypy_openssl.o
  72. "_EVP_PKEY_CTX_dup", referenced from:
  73. __cffi_d_EVP_PKEY_CTX_dup in _pypy_openssl.o
  74. "_EVP_PKEY_CTX_free", referenced from:
  75. __cffi_d_EVP_PKEY_CTX_free in _pypy_openssl.o
  76. "_EVP_PKEY_CTX_new", referenced from:
  77. __cffi_d_EVP_PKEY_CTX_new in _pypy_openssl.o
  78. "_EVP_PKEY_CTX_new_id", referenced from:
  79. __cffi_d_EVP_PKEY_CTX_new_id in _pypy_openssl.o
  80. "_EVP_PKEY_decrypt_init", referenced from:
  81. __cffi_d_EVP_PKEY_decrypt_init in _pypy_openssl.o
  82. "_EVP_PKEY_encrypt_init", referenced from:
  83. __cffi_d_EVP_PKEY_encrypt_init in _pypy_openssl.o
  84. "_EVP_PKEY_id", referenced from:
  85. _Cryptography_EVP_PKEY_id in _pypy_openssl.o
  86. __cffi_d_Cryptography_EVP_PKEY_id in _pypy_openssl.o
  87. __cffi_d_EVP_PKEY_id in _pypy_openssl.o
  88. (maybe you meant: _Cryptography_EVP_PKEY_id)
  89. "_EVP_PKEY_sign", referenced from:
  90. __cffi_d_EVP_PKEY_sign in _pypy_openssl.o
  91. "_EVP_PKEY_sign_init", referenced from:
  92. __cffi_d_EVP_PKEY_sign_init in _pypy_openssl.o
  93. "_EVP_PKEY_verify", referenced from:
  94. __cffi_d_EVP_PKEY_verify in _pypy_openssl.o
  95. "_EVP_PKEY_verify_init", referenced from:
  96. __cffi_d_EVP_PKEY_verify_init in _pypy_openssl.o
  97. "_HMAC_CTX_copy", referenced from:
  98. __cffi_d_HMAC_CTX_copy in _pypy_openssl.o
  99. "_PEM_write_bio_CMS_stream", referenced from:
  100. __cffi_d_PEM_write_bio_CMS_stream in _pypy_openssl.o
  101. "_PKCS5_PBKDF2_HMAC", referenced from:
  102. __cffi_d_PKCS5_PBKDF2_HMAC in _pypy_openssl.o
  103. "_PyPyErr_NoMemory", referenced from:
  104. __setup_ssl_threads in _pypy_openssl.o
  105. "_PyPyMem_Free", referenced from:
  106. __setup_ssl_threads in _pypy_openssl.o
  107. "_PyPyMem_Malloc", referenced from:
  108. __setup_ssl_threads in _pypy_openssl.o
  109. "_PyPyThread_acquire_lock", referenced from:
  110. __ssl_thread_locking_function in _pypy_openssl.o
  111. "_PyPyThread_allocate_lock", referenced from:
  112. __setup_ssl_threads in _pypy_openssl.o
  113. "_PyPyThread_free_lock", referenced from:
  114. __setup_ssl_threads in _pypy_openssl.o
  115. "_PyPyThread_release_lock", referenced from:
  116. __ssl_thread_locking_function in _pypy_openssl.o
  117. "_SSL_CTX_get_ssl_method", referenced from:
  118. __cffi_d_SSL_CTX_get_ssl_method in _pypy_openssl.o
  119. "_SSL_CTX_set_alpn_protos", referenced from:
  120. __cffi_d_SSL_CTX_set_alpn_protos in _pypy_openssl.o
  121. "_SSL_CTX_set_alpn_select_cb", referenced from:
  122. __cffi_d_SSL_CTX_set_alpn_select_cb in _pypy_openssl.o
  123. "_SSL_CTX_set_cert_cb", referenced from:
  124. __cffi_d_SSL_CTX_set_cert_cb in _pypy_openssl.o
  125. "_SSL_CTX_set_next_proto_select_cb", referenced from:
  126. __cffi_d_SSL_CTX_set_next_proto_select_cb in _pypy_openssl.o
  127. "_SSL_CTX_set_next_protos_advertised_cb", referenced from:
  128. __cffi_d_SSL_CTX_set_next_protos_advertised_cb in _pypy_openssl.o
  129. "_SSL_SESSION_set1_id_context", referenced from:
  130. __cffi_d_SSL_SESSION_set1_id_context in _pypy_openssl.o
  131. "_SSL_get0_alpn_selected", referenced from:
  132. __cffi_d_SSL_get0_alpn_selected in _pypy_openssl.o
  133. "_SSL_get0_next_proto_negotiated", referenced from:
  134. __cffi_d_SSL_get0_next_proto_negotiated in _pypy_openssl.o
  135. "_SSL_select_next_proto", referenced from:
  136. __cffi_d_SSL_select_next_proto in _pypy_openssl.o
  137. "_SSL_set_alpn_protos", referenced from:
  138. __cffi_d_SSL_set_alpn_protos in _pypy_openssl.o
  139. "_SSL_set_cert_cb", referenced from:
  140. __cffi_d_SSL_set_cert_cb in _pypy_openssl.o
  141. "_TLSv1_1_client_method", referenced from:
  142. __cffi_d_TLSv1_1_client_method in _pypy_openssl.o
  143. "_TLSv1_1_method", referenced from:
  144. __cffi_d_TLSv1_1_method in _pypy_openssl.o
  145. "_TLSv1_1_server_method", referenced from:
  146. __cffi_d_TLSv1_1_server_method in _pypy_openssl.o
  147. "_TLSv1_2_client_method", referenced from:
  148. __cffi_d_TLSv1_2_client_method in _pypy_openssl.o
  149. "_TLSv1_2_method", referenced from:
  150. __cffi_d_TLSv1_2_method in _pypy_openssl.o
  151. "_TLSv1_2_server_method", referenced from:
  152. __cffi_d_TLSv1_2_server_method in _pypy_openssl.o
  153. "_X509_VERIFY_PARAM_set1_email", referenced from:
  154. __cffi_d_X509_VERIFY_PARAM_set1_email in _pypy_openssl.o
  155. "_X509_VERIFY_PARAM_set1_host", referenced from:
  156. __cffi_d_X509_VERIFY_PARAM_set1_host in _pypy_openssl.o
  157. "_X509_VERIFY_PARAM_set1_ip", referenced from:
  158. __cffi_d_X509_VERIFY_PARAM_set1_ip in _pypy_openssl.o
  159. "_X509_VERIFY_PARAM_set1_ip_asc", referenced from:
  160. __cffi_d_X509_VERIFY_PARAM_set1_ip_asc in _pypy_openssl.o
  161. "_X509_VERIFY_PARAM_set_hostflags", referenced from:
  162. __cffi_d_X509_VERIFY_PARAM_set_hostflags in _pypy_openssl.o
  163. "_X509_get0_signature", referenced from:
  164. __cffi_d_X509_get0_signature in _pypy_openssl.o
  165. "_X509_get_signature_nid", referenced from:
  166. __cffi_d_X509_get_signature_nid in _pypy_openssl.o
  167. "_i2d_CMS_bio_stream", referenced from:
  168. __cffi_d_i2d_CMS_bio_stream in _pypy_openssl.o
  169. "_i2d_re_X509_tbs", referenced from:
  170. __cffi_d_i2d_re_X509_tbs in _pypy_openssl.o
  171. ld: symbol(s) not found for architecture x86_64
  172. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  173. Traceback (most recent call last):
  174. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/unixccompiler.py", line 211, in link
  175. self.spawn(linker + ld_args)
  176. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/ccompiler.py", line 909, in spawn
  177. spawn(cmd, dry_run=self.dry_run)
  178. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/spawn.py", line 36, in spawn
  179. _spawn_posix(cmd, search_path, dry_run=dry_run)
  180. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/spawn.py", line 159, in _spawn_posix
  181. % (cmd, exit_status))
  182. distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
  183. During handling of the above exception, another exception occurred:
  184. Traceback (most recent call last):
  185. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 49, in _build
  186. dist.run_command('build_ext')
  187. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/dist.py", line 974, in run_command
  188. cmd_obj.run()
  189. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 347, in run
  190. self.build_extensions()
  191. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 456, in build_extensions
  192. self._build_extensions_serial()
  193. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 481, in _build_extensions_serial
  194. self.build_extension(ext)
  195. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 566, in build_extension
  196. target_lang=language)
  197. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/ccompiler.py", line 717, in link_shared_object
  198. extra_preargs, extra_postargs, build_temp, target_lang)
  199. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/unixccompiler.py", line 213, in link
  200. raise LinkError(msg)
  201. distutils.errors.LinkError: command 'gcc' failed with exit status 1
  202. During handling of the above exception, another exception occurred:
  203. Traceback (most recent call last):
  204. File "_ssl_build.py", line 53, in <module>
  205. ffi.compile()
  206. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/api.py", line 684, in compile
  207. compiler_verbose=verbose, debug=debug, **kwds)
  208. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/recompiler.py", line 1484, in recompile
  209. compiler_verbose, debug)
  210. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 20, in compile
  211. outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  212. File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 56, in _build
  213. raise VerificationError('%s: %s' % (e.__class__.__name__, e))
  214. cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1
  215. * SKIPPING syslog (not specified in --only)
  216. * SKIPPING tk (not specified in --only)
  217. * SKIPPING xx (not specified in --only)
  218. *** failed to build the CFFI modules ['_ssl_build.py']
  219. PyPy can still be used as long as you don't need the corresponding
  220. modules. If you do need them, please install the missing headers and
  221. libraries (see error messages just above) and then re-run the command:
  222. /private/tmp/pypy/pypy3-v5.7.1-src/pypy3-c /private/tmp/pypy/pypy3-v5.7.1-src/pypy/tool/build_cffi_imports.py --only ssl
  223.