* Package: dev-python/pypy3-7.3.5_p1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 bzip2 elibc_glibc gdbm jit kernel_linux ncurses userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pypy3.7-v7.3.5-src.tar.bz2 to /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work >>> Unpacking pypy3.7-gentoo-patches-7.3.5_p1.tar.xz to /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work >>> Source unpacked in /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work >>> Preparing source in /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src ... * Applying patches from /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-gentoo-patches-7.3.5_p1 ... * 0001-Support-Gentoo-install-scheme.patch ... [ ok ] * 0002-Apply-1.9-distutils.unixccompiler.UnixCCompiler.runt.patch ... [ ok ] * 0003-Redo-distutils-C-hacks-from-CPython-patchset.patch ... [ ok ] * 0004-distutils-make-OO-enable-both-opt-1-and-opt-2-optimi.patch ... [ ok ] * 0005-bpo-44022-Fix-http-client-infinite-line-reading-DoS-.patch ... [ ok ] * 0006-bpo-36384-Leading-zeros-in-IPv4-addresses-are-no-lon.patch ... [ ok ] * 0007-bpo-43650-Fix-MemoryError-on-zip.read-in-shutil._unp.patch ... [ ok ] * 0008-bpo-43124-Fix-smtplib-multiple-CRLF-injection-GH-259.patch ... [ ok ] * 0009-bpo-42278-Use-tempfile.TemporaryDirectory-rather-tha.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src ... * Generating caches and CFFI modules ... generating ./_pypy_openssl.c the current directory is '/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy' running build_ext building '_pypy_openssl' extension x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -fPIC -I/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/include -c _pypy_openssl.c -o ./_pypy_openssl.o _pypy_openssl.c:2312:7: error: ‘EVP_PKEY_CTX_set_rsa_oaep_md’ redeclared as different kind of symbol 2312 | int (*EVP_PKEY_CTX_set_rsa_oaep_md)(EVP_PKEY_CTX *, EVP_MD *) = NULL; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ct.h:29, from _pypy_openssl.c:645: /usr/include/openssl/rsa.h:158:5: note: previous declaration of ‘EVP_PKEY_CTX_set_rsa_oaep_md’ with type ‘int(EVP_PKEY_CTX *, const EVP_MD *)’ {aka ‘int(struct evp_pkey_ctx_st *, const struct evp_md_st *)’} 158 | int EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pypy_openssl.c:2319:7: error: ‘EVP_PKEY_CTX_set0_rsa_oaep_label’ redeclared as different kind of symbol 2319 | int (*EVP_PKEY_CTX_set0_rsa_oaep_label)(EVP_PKEY_CTX *, unsigned char *, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ct.h:29, from _pypy_openssl.c:645: /usr/include/openssl/rsa.h:164:5: note: previous declaration of ‘EVP_PKEY_CTX_set0_rsa_oaep_label’ with type ‘int(EVP_PKEY_CTX *, void *, int)’ {aka ‘int(struct evp_pkey_ctx_st *, void *, int)’} 164 | int EVP_PKEY_CTX_set0_rsa_oaep_label(EVP_PKEY_CTX *ctx, void *label, int llen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_DISABLE’: _pypy_openssl.c:7060:12: error: ‘CRYPTO_MEM_CHECK_DISABLE’ undeclared (first use in this function); did you mean ‘_cffi_const_CRYPTO_MEM_CHECK_DISABLE’? 7060 | int n = (CRYPTO_MEM_CHECK_DISABLE) <= 0; | ^~~~~~~~~~~~~~~~~~~~~~~~ | _cffi_const_CRYPTO_MEM_CHECK_DISABLE _pypy_openssl.c:7060:12: note: each undeclared identifier is reported only once for each function it appears in _pypy_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_ENABLE’: _pypy_openssl.c:7067:12: error: ‘CRYPTO_MEM_CHECK_ENABLE’ undeclared (first use in this function); did you mean ‘_cffi_const_CRYPTO_MEM_CHECK_ENABLE’? 7067 | int n = (CRYPTO_MEM_CHECK_ENABLE) <= 0; | ^~~~~~~~~~~~~~~~~~~~~~~ | _cffi_const_CRYPTO_MEM_CHECK_ENABLE _pypy_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_OFF’: _pypy_openssl.c:7074:12: error: ‘CRYPTO_MEM_CHECK_OFF’ undeclared (first use in this function) 7074 | int n = (CRYPTO_MEM_CHECK_OFF) <= 0; | ^~~~~~~~~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_const_CRYPTO_MEM_CHECK_ON’: _pypy_openssl.c:7081:12: error: ‘CRYPTO_MEM_CHECK_ON’ undeclared (first use in this function) 7081 | int n = (CRYPTO_MEM_CHECK_ON) <= 0; | ^~~~~~~~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_const_EVP_R_KEYGEN_FAILURE’: _pypy_openssl.c:7833:12: error: ‘EVP_R_KEYGEN_FAILURE’ undeclared (first use in this function) 7833 | int n = (EVP_R_KEYGEN_FAILURE) <= 0; | ^~~~~~~~~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_BIO_s_datagram’: _pypy_openssl.c:12473:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12473 | return BIO_s_datagram(); | ^~~~~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_BIO_s_file’: _pypy_openssl.c:12499:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12499 | return BIO_s_file(); | ^~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_BIO_s_mem’: _pypy_openssl.c:12525:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 12525 | return BIO_s_mem(); | ^~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_CRYPTO_mem_ctrl’: _pypy_openssl.c:15457:10: warning: implicit declaration of function ‘CRYPTO_mem_ctrl’; did you mean ‘CRYPTO_memcmp’? [-Wimplicit-function-declaration] 15457 | return CRYPTO_mem_ctrl(x0); | ^~~~~~~~~~~~~~~ | CRYPTO_memcmp _pypy_openssl.c: In function ‘_cffi_d_ERR_GET_FUNC’: _pypy_openssl.c:21094:10: warning: implicit declaration of function ‘ERR_GET_FUNC’; did you mean ‘ERR_GET_LIB’? [-Wimplicit-function-declaration] 21094 | return ERR_GET_FUNC(x0); | ^~~~~~~~~~~~ | ERR_GET_LIB _pypy_openssl.c: In function ‘_cffi_d_FIPS_mode’: _pypy_openssl.c:25768:10: warning: implicit declaration of function ‘FIPS_mode’ [-Wimplicit-function-declaration] 25768 | return FIPS_mode(); | ^~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_FIPS_mode_set’: _pypy_openssl.c:25794:10: warning: implicit declaration of function ‘FIPS_mode_set’ [-Wimplicit-function-declaration] 25794 | return FIPS_mode_set(x0); | ^~~~~~~~~~~~~ _pypy_openssl.c: In function ‘_cffi_d_OCSP_resp_get0_certs’: _pypy_openssl.c:28882:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 28882 | return OCSP_resp_get0_certs(x0); | ^~~~~~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/unixccompiler.py", line 143, in _compile extra_postargs) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/ccompiler.py", line 910, in spawn spawn(cmd, dry_run=self.dry_run) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy/cffi/ffiplatform.py", line 51, in _build dist.run_command('build_ext') File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/command/build_ext.py", line 343, in run self.build_extensions() File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/command/build_ext.py", line 452, in build_extensions self._build_extensions_serial() File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/command/build_ext.py", line 477, in _build_extensions_serial self.build_extension(ext) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/command/build_ext.py", line 537, in build_extension depends=ext.depends) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib-python/3/distutils/unixccompiler.py", line 145, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'x86_64-pc-linux-gnu-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 61, in ffi.compile(verbose=True) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy/cffi/api.py", line 727, in compile compiler_verbose=verbose, debug=debug, **kwds) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy/cffi/recompiler.py", line 1565, in recompile compiler_verbose, debug) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) cffi.VerificationError: CompileError: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: dev-python/pypy3-7.3.5_p1::gentoo failed (compile phase): * Failed to build CFFI bindings for ssl * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 2195: Called die * The specific snippet of code: * ../pypy3-c "_${t}_build.py" || die "Failed to build CFFI bindings for ${t}"; * * If you need support, post the output of `emerge --info '=dev-python/pypy3-7.3.5_p1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pypy3-7.3.5_p1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pypy3-7.3.5_p1:20210907-214018.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pypy3-7.3.5_p1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pypy3-7.3.5_p1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src/lib_pypy' * S: '/var/tmp/portage/dev-python/pypy3-7.3.5_p1/work/pypy3.7-v7.3.5-src'