-
- $ /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
- * SKIPPING _decimal (not specified in --only)
- * SKIPPING _gdbm (not specified in --only)
- * SKIPPING audioop (not specified in --only)
- * SKIPPING curses (not specified in --only)
- * SKIPPING lzma (not specified in --only)
- * SKIPPING pwdgrp (not specified in --only)
- * SKIPPING resource (not specified in --only)
- * SKIPPING sqlite3 (not specified in --only)
- * _ssl_build.py
- stdout:
-
- stderr:
- _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]
- _ssl_locks = PyMem_New(PyThread_type_lock, _ssl_locks_count);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /private/tmp/pypy/pypy3-v5.7.1-src/include/pymem.h:38:10: note: expanded from macro 'PyMem_New'
- ( ((n) > PY_SSIZE_T_MAX / sizeof(type)) ? NULL : \
- ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- _pypy_openssl.c:72224:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- 2 warnings generated.
- clang: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
- Undefined symbols for architecture x86_64:
- "_BIO_new_CMS", referenced from:
- __cffi_d_BIO_new_CMS in _pypy_openssl.o
- "_CMAC_CTX_copy", referenced from:
- __cffi_d_CMAC_CTX_copy in _pypy_openssl.o
- "_CMAC_CTX_free", referenced from:
- __cffi_d_CMAC_CTX_free in _pypy_openssl.o
- "_CMAC_CTX_new", referenced from:
- __cffi_d_CMAC_CTX_new in _pypy_openssl.o
- "_CMAC_Final", referenced from:
- __cffi_d_CMAC_Final in _pypy_openssl.o
- "_CMAC_Init", referenced from:
- __cffi_d_CMAC_Init in _pypy_openssl.o
- "_CMAC_Update", referenced from:
- __cffi_d_CMAC_Update in _pypy_openssl.o
- "_CMS_add1_signer", referenced from:
- __cffi_d_CMS_add1_signer in _pypy_openssl.o
- "_CMS_decrypt", referenced from:
- __cffi_d_CMS_decrypt in _pypy_openssl.o
- "_CMS_encrypt", referenced from:
- __cffi_d_CMS_encrypt in _pypy_openssl.o
- "_CMS_final", referenced from:
- __cffi_d_CMS_final in _pypy_openssl.o
- "_CMS_sign", referenced from:
- __cffi_d_CMS_sign in _pypy_openssl.o
- "_CMS_verify", referenced from:
- __cffi_d_CMS_verify in _pypy_openssl.o
- "_DHparams_dup", referenced from:
- __cffi_d_DHparams_dup in _pypy_openssl.o
- "_DSAparams_dup", referenced from:
- __cffi_d_DSAparams_dup in _pypy_openssl.o
- "_EC_KEY_clear_flags", referenced from:
- __cffi_d_EC_KEY_clear_flags in _pypy_openssl.o
- "_EC_KEY_get_flags", referenced from:
- __cffi_d_EC_KEY_get_flags in _pypy_openssl.o
- "_EC_KEY_set_flags", referenced from:
- __cffi_d_EC_KEY_set_flags in _pypy_openssl.o
- "_EC_KEY_set_public_key_affine_coordinates", referenced from:
- __cffi_d_EC_KEY_set_public_key_affine_coordinates in _pypy_openssl.o
- "_EC_curve_nid2nist", referenced from:
- __cffi_d_EC_curve_nid2nist in _pypy_openssl.o
- "_EVP_PKEY_CTX_ctrl", referenced from:
- __cffi_d_EVP_PKEY_CTX_set_rsa_mgf1_md in _pypy_openssl.o
- __cffi_d_EVP_PKEY_CTX_set_rsa_oaep_md in _pypy_openssl.o
- __cffi_d_EVP_PKEY_CTX_set_rsa_padding in _pypy_openssl.o
- __cffi_d_EVP_PKEY_CTX_set_rsa_pss_saltlen in _pypy_openssl.o
- __cffi_d_EVP_PKEY_CTX_set_signature_md in _pypy_openssl.o
- "_EVP_PKEY_CTX_dup", referenced from:
- __cffi_d_EVP_PKEY_CTX_dup in _pypy_openssl.o
- "_EVP_PKEY_CTX_free", referenced from:
- __cffi_d_EVP_PKEY_CTX_free in _pypy_openssl.o
- "_EVP_PKEY_CTX_new", referenced from:
- __cffi_d_EVP_PKEY_CTX_new in _pypy_openssl.o
- "_EVP_PKEY_CTX_new_id", referenced from:
- __cffi_d_EVP_PKEY_CTX_new_id in _pypy_openssl.o
- "_EVP_PKEY_decrypt_init", referenced from:
- __cffi_d_EVP_PKEY_decrypt_init in _pypy_openssl.o
- "_EVP_PKEY_encrypt_init", referenced from:
- __cffi_d_EVP_PKEY_encrypt_init in _pypy_openssl.o
- "_EVP_PKEY_id", referenced from:
- _Cryptography_EVP_PKEY_id in _pypy_openssl.o
- __cffi_d_Cryptography_EVP_PKEY_id in _pypy_openssl.o
- __cffi_d_EVP_PKEY_id in _pypy_openssl.o
- (maybe you meant: _Cryptography_EVP_PKEY_id)
- "_EVP_PKEY_sign", referenced from:
- __cffi_d_EVP_PKEY_sign in _pypy_openssl.o
- "_EVP_PKEY_sign_init", referenced from:
- __cffi_d_EVP_PKEY_sign_init in _pypy_openssl.o
- "_EVP_PKEY_verify", referenced from:
- __cffi_d_EVP_PKEY_verify in _pypy_openssl.o
- "_EVP_PKEY_verify_init", referenced from:
- __cffi_d_EVP_PKEY_verify_init in _pypy_openssl.o
- "_HMAC_CTX_copy", referenced from:
- __cffi_d_HMAC_CTX_copy in _pypy_openssl.o
- "_PEM_write_bio_CMS_stream", referenced from:
- __cffi_d_PEM_write_bio_CMS_stream in _pypy_openssl.o
- "_PKCS5_PBKDF2_HMAC", referenced from:
- __cffi_d_PKCS5_PBKDF2_HMAC in _pypy_openssl.o
- "_PyPyErr_NoMemory", referenced from:
- __setup_ssl_threads in _pypy_openssl.o
- "_PyPyMem_Free", referenced from:
- __setup_ssl_threads in _pypy_openssl.o
- "_PyPyMem_Malloc", referenced from:
- __setup_ssl_threads in _pypy_openssl.o
- "_PyPyThread_acquire_lock", referenced from:
- __ssl_thread_locking_function in _pypy_openssl.o
- "_PyPyThread_allocate_lock", referenced from:
- __setup_ssl_threads in _pypy_openssl.o
- "_PyPyThread_free_lock", referenced from:
- __setup_ssl_threads in _pypy_openssl.o
- "_PyPyThread_release_lock", referenced from:
- __ssl_thread_locking_function in _pypy_openssl.o
- "_SSL_CTX_get_ssl_method", referenced from:
- __cffi_d_SSL_CTX_get_ssl_method in _pypy_openssl.o
- "_SSL_CTX_set_alpn_protos", referenced from:
- __cffi_d_SSL_CTX_set_alpn_protos in _pypy_openssl.o
- "_SSL_CTX_set_alpn_select_cb", referenced from:
- __cffi_d_SSL_CTX_set_alpn_select_cb in _pypy_openssl.o
- "_SSL_CTX_set_cert_cb", referenced from:
- __cffi_d_SSL_CTX_set_cert_cb in _pypy_openssl.o
- "_SSL_CTX_set_next_proto_select_cb", referenced from:
- __cffi_d_SSL_CTX_set_next_proto_select_cb in _pypy_openssl.o
- "_SSL_CTX_set_next_protos_advertised_cb", referenced from:
- __cffi_d_SSL_CTX_set_next_protos_advertised_cb in _pypy_openssl.o
- "_SSL_SESSION_set1_id_context", referenced from:
- __cffi_d_SSL_SESSION_set1_id_context in _pypy_openssl.o
- "_SSL_get0_alpn_selected", referenced from:
- __cffi_d_SSL_get0_alpn_selected in _pypy_openssl.o
- "_SSL_get0_next_proto_negotiated", referenced from:
- __cffi_d_SSL_get0_next_proto_negotiated in _pypy_openssl.o
- "_SSL_select_next_proto", referenced from:
- __cffi_d_SSL_select_next_proto in _pypy_openssl.o
- "_SSL_set_alpn_protos", referenced from:
- __cffi_d_SSL_set_alpn_protos in _pypy_openssl.o
- "_SSL_set_cert_cb", referenced from:
- __cffi_d_SSL_set_cert_cb in _pypy_openssl.o
- "_TLSv1_1_client_method", referenced from:
- __cffi_d_TLSv1_1_client_method in _pypy_openssl.o
- "_TLSv1_1_method", referenced from:
- __cffi_d_TLSv1_1_method in _pypy_openssl.o
- "_TLSv1_1_server_method", referenced from:
- __cffi_d_TLSv1_1_server_method in _pypy_openssl.o
- "_TLSv1_2_client_method", referenced from:
- __cffi_d_TLSv1_2_client_method in _pypy_openssl.o
- "_TLSv1_2_method", referenced from:
- __cffi_d_TLSv1_2_method in _pypy_openssl.o
- "_TLSv1_2_server_method", referenced from:
- __cffi_d_TLSv1_2_server_method in _pypy_openssl.o
- "_X509_VERIFY_PARAM_set1_email", referenced from:
- __cffi_d_X509_VERIFY_PARAM_set1_email in _pypy_openssl.o
- "_X509_VERIFY_PARAM_set1_host", referenced from:
- __cffi_d_X509_VERIFY_PARAM_set1_host in _pypy_openssl.o
- "_X509_VERIFY_PARAM_set1_ip", referenced from:
- __cffi_d_X509_VERIFY_PARAM_set1_ip in _pypy_openssl.o
- "_X509_VERIFY_PARAM_set1_ip_asc", referenced from:
- __cffi_d_X509_VERIFY_PARAM_set1_ip_asc in _pypy_openssl.o
- "_X509_VERIFY_PARAM_set_hostflags", referenced from:
- __cffi_d_X509_VERIFY_PARAM_set_hostflags in _pypy_openssl.o
- "_X509_get0_signature", referenced from:
- __cffi_d_X509_get0_signature in _pypy_openssl.o
- "_X509_get_signature_nid", referenced from:
- __cffi_d_X509_get_signature_nid in _pypy_openssl.o
- "_i2d_CMS_bio_stream", referenced from:
- __cffi_d_i2d_CMS_bio_stream in _pypy_openssl.o
- "_i2d_re_X509_tbs", referenced from:
- __cffi_d_i2d_re_X509_tbs in _pypy_openssl.o
- ld: symbol(s) not found for architecture x86_64
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- Traceback (most recent call last):
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/unixccompiler.py", line 211, in link
- self.spawn(linker + ld_args)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/ccompiler.py", line 909, in spawn
- spawn(cmd, dry_run=self.dry_run)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/spawn.py", line 36, in spawn
- _spawn_posix(cmd, search_path, dry_run=dry_run)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/spawn.py", line 159, in _spawn_posix
- % (cmd, exit_status))
- distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
-
- During handling of the above exception, another exception occurred:
-
- Traceback (most recent call last):
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 49, in _build
- dist.run_command('build_ext')
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/dist.py", line 974, in run_command
- cmd_obj.run()
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 347, in run
- self.build_extensions()
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 456, in build_extensions
- self._build_extensions_serial()
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 481, in _build_extensions_serial
- self.build_extension(ext)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/command/build_ext.py", line 566, in build_extension
- target_lang=language)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/ccompiler.py", line 717, in link_shared_object
- extra_preargs, extra_postargs, build_temp, target_lang)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib-python/3/distutils/unixccompiler.py", line 213, in link
- raise LinkError(msg)
- distutils.errors.LinkError: command 'gcc' failed with exit status 1
-
- During handling of the above exception, another exception occurred:
-
- Traceback (most recent call last):
- File "_ssl_build.py", line 53, in <module>
- ffi.compile()
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/api.py", line 684, in compile
- compiler_verbose=verbose, debug=debug, **kwds)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/recompiler.py", line 1484, in recompile
- compiler_verbose, debug)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 20, in compile
- outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
- File "/private/tmp/pypy/pypy3-v5.7.1-src/lib_pypy/cffi/ffiplatform.py", line 56, in _build
- raise VerificationError('%s: %s' % (e.__class__.__name__, e))
- cffi.error.VerificationError: LinkError: command 'gcc' failed with exit status 1
-
- * SKIPPING syslog (not specified in --only)
- * SKIPPING tk (not specified in --only)
- * SKIPPING xx (not specified in --only)
- *** failed to build the CFFI modules ['_ssl_build.py']
-
- PyPy can still be used as long as you don't need the corresponding
- modules. If you do need them, please install the missing headers and
- libraries (see error messages just above) and then re-run the command:
-
- /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
-