dev-util/debian-devscripts-2.22.2-r1: No module name 'setuptools'
From the build log:
python3.11 setup.py install --root="/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/image" --no-compile
/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/work/devscripts-v2.22.2/scripts/setup.py:5: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.command.clean import clean as BaseCleanCommand
Traceback (most recent call last):
File "/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/work/devscripts-v2.22.2/scripts/setup.py", line 7, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
make[1]: *** [Makefile:154: install] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/work/devscripts-v2.22.2/scripts'
make: *** [Makefile:70: install_scripts] Error 2
* ERROR: dev-util/debian-devscripts-2.22.2-r1::fem-overlay failed (install phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dev-util/debian-devscripts-2.22.2-r1::fem-overlay'`,
* the complete build log and the output of `emerge -pqv '=dev-util/debian-devscripts-2.22.2-r1::fem-overlay'`.
* The complete build log is located at '/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/work/devscripts-v2.22.2'
* S: '/var/tmp/portage/dev-util/debian-devscripts-2.22.2-r1/work/devscripts-v2.22.2'
Most likely an issue with missing $PYTHON_USEDEP.