File "/usr/lib/python3.9/site-packages/setuptools/command/install.py", line 6, in <module> import distutils.command.install as orig ImportError: cannot import name 'install' from 'setuptools._distutils.command' (/usr/lib/python3.9/site-packages/setuptools/_distutils/command/__init__.py) * ERROR: dev-python/snakeoil-0.9.7::gentoo failed (compile phase): * (no error message) * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20211108-155141 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit b7d9ade0b35c10d18807c6cf7537b7d2a3beadf4 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Nov 8 22:51:43 2021 +0000 2021-11-08 22:51:40 UTC emerge -qpvO dev-python/snakeoil [ebuild N ] dev-python/snakeoil-0.9.7 USE="-test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Created attachment 749700 [details] emerge-info.txt
Created attachment 749703 [details] dev-python:snakeoil-0.9.7:20211109-052906.log
Created attachment 749706 [details] emerge-history.txt
Created attachment 749709 [details] environment
Created attachment 749712 [details] etc.portage.tar.bz2
Created attachment 749715 [details] temp.tar.bz2
I can reproduce this with dev-python/setuptools-60.0.3. Downgrading to setuptools-59.x makes it work again.
Fixed in pkgcore 0.10.9 / snakeoil 0.9.10.