Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

pyopenssl-23.1.1 compile error



>>> Jobs: 15 of 15 complete                         Load avg: 2.21, 3.20, 2.99
 * Package:    dev-python/pyopenssl-23.1.1
 * Repository: python-modules-kit
 * USE:        amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_7 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Build system packages:
 *   dev-python/setuptools         : 67.6.1
 * python3_7: running distutils-r1_run_phase distutils-r1_python_compile
python3.7 setup.py build -j 4
running build
running build_py
creating /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/__init__.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/crypto.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/SSL.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/debug.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/version.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/rand.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
copying src/OpenSSL/_util.py -> /var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1-python3_7/lib/OpenSSL
/usr/lib/python3.7/site-packages/setuptools/config/setupcfg.py:516: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
warning: build_py: byte-compiling is disabled, skipping.

 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
Traceback (most recent call last):
  File "setup.py", line 32, in <module>
    META_FILE = read_file(META_PATH)
  File "setup.py", line 27, in read_file
    os.path.join(HERE, *parts), "r", encoding="utf-8", newline=None
TypeError: file() takes at most 3 arguments (4 given)
 * ERROR: dev-python/pyopenssl-23.1.1::python-modules-kit failed (compile phase):
 *   (no error message)
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4052:  Called distutils-r1_src_compile
 *   environment, line 1764:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  727:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3553:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2973:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 2971:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1167:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1746:  Called distutils-r1_python_compile
 *   environment, line 1553:  Called esetup.py 'build'
 *   environment, line 2388:  Called die
 * The specific snippet of code:
 *       "${@}" || die "${die_args[@]}";
 * If you need support, post the output of `emerge --info '=dev-python/pyopenssl-23.1.1::python-modules-kit'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/pyopenssl-23.1.1::python-modules-kit'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/pyopenssl-23.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyopenssl-23.1.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1'
 * S: '/var/tmp/portage/dev-python/pyopenssl-23.1.1/work/pyOpenSSL-23.1.1'

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...