* Package: sci-libs/scikit-learn-1.1.2:0 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 python_targets_python3_8 python_targets_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking scikit-learn-1.1.2.gh.tar.gz to /var/tmp/portage/sci-libs/scikit-learn-1.1.2/work >>> Source unpacked in /var/tmp/portage/sci-libs/scikit-learn-1.1.2/work >>> Preparing source in /var/tmp/portage/sci-libs/scikit-learn-1.1.2/work/scikit-learn-1.1.2 ... * Build system packages: * dev-python/gpep517 : 11 * dev-python/installer : 0.5.1-r1 * dev-python/setuptools : 65.6.0 * dev-python/setuptools_scm : 7.0.5 * dev-python/wheel : 0.38.4 >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! * Clang 16 testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/sci-libs/scikit-learn-1.1.2/work/scikit-learn-1.1.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-libs/scikit-learn-1.1.2/work/scikit-learn-1.1.2 ... * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build_ext -j 32 Partial import of sklearn during the build process. Traceback (most recent call last): File "setup.py", line 329, in setup_package() File "setup.py", line 309, in setup_package from numpy.distutils.core import setup File "/usr/lib/python3.8/site-packages/numpy/distutils/__init__.py", line 26, in from . import ccompiler File "/usr/lib/python3.8/site-packages/numpy/distutils/ccompiler.py", line 20, in from numpy.distutils import log File "/usr/lib/python3.8/site-packages/numpy/distutils/log.py", line 4, in from distutils.log import Log as old_Log ImportError: cannot import name 'Log' from 'distutils.log' (/usr/lib/python3.8/site-packages/setuptools/_distutils/log.py) * ERROR: sci-libs/scikit-learn-1.1.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3613: Called distutils-r1_src_compile * environment, line 1564: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 717: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3262: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2603: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2601: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1040: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1546: Called distutils-r1_python_compile * environment, line 1352: Called esetup.py 'build_ext' '-j' '32' * environment, line 2129: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=sci-libs/scikit-learn-1.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-libs/scikit-learn-1.1.2::gentoo'`. * The complete build log is located at '/var/log/portage/build/sci-libs/scikit-learn-1.1.2:20221124-072334.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/scikit-learn-1.1.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-libs/scikit-learn-1.1.2/temp/environment'. * Working directory: '/var/tmp/portage/sci-libs/scikit-learn-1.1.2/work/scikit-learn-1.1.2' * S: '/var/tmp/portage/sci-libs/scikit-learn-1.1.2/work/scikit-learn-1.1.2'