* Package: dev-python/pyrsistent-0.19.3:0 * Repository: gentoo * Maintainer: python@gentoo.org * Upstream: tobias.l.gustafsson@gmail.com * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pyrsistent-0.19.3.tar.gz to /var/tmp/portage/dev-python/pyrsistent-0.19.3/work >>> Source unpacked in /var/tmp/portage/dev-python/pyrsistent-0.19.3/work >>> Preparing source in /var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3 ... * Build system packages: * dev-python/gpep517 : 13 * dev-python/installer : 0.6.0 * dev-python/setuptools : 65.7.0 * dev-python/setuptools_scm : 7.1.0 * dev-python/wheel : 0.38.4 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for pyrsistent-0.19.3 via setuptools.build_meta gpep517 build-wheel --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3-python3_10/wheel Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/gpep517", line 4, in sys.exit(main()) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 406, in main return func(args) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 202, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 185, in build_wheel_impl backend = importlib.import_module(package) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 992, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 247, in monkey.patch_all() File "/usr/lib/python3.10/site-packages/setuptools/monkey.py", line 97, in patch_all patch_for_msvc_specialized_compiler() File "/usr/lib/python3.10/site-packages/setuptools/monkey.py", line 134, in patch_for_msvc_specialized_compiler msvc = import_module('setuptools.msvc') File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3.10/site-packages/setuptools/msvc.py", line 24, in from packaging.version import LegacyVersion ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/lib/python3.10/site-packages/packaging/version.py) * ERROR: dev-python/pyrsistent-0.19.3::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3341: Called distutils-r1_src_compile * environment, line 1542: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 714: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3035: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2599: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2597: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1022: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1524: Called distutils-r1_python_compile * environment, line 1349: Called distutils_pep517_install '/var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3-python3_10/install' * environment, line 1859: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/pyrsistent-0.19.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyrsistent-0.19.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pyrsistent-0.19.3:20230208-152929.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pyrsistent-0.19.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyrsistent-0.19.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3' * S: '/var/tmp/portage/dev-python/pyrsistent-0.19.3/work/pyrsistent-0.19.3'