Making all in python make[2]: Entering directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0/python' (cd .; CFLAGS="-I./../includes -I/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0/python/../includes/sys" /usr/bin/python3.8 setup.py build \ --build-base /var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0/python/py3build \ --verbose) Traceback (most recent call last): File "setup.py", line 9, in <module> from setuptools import setup, Extension ModuleNotFoundError: No module named 'setuptools' make[2]: *** [Makefile:621: all-local] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-util/systemtap-4.0-r1/work/systemtap-4.0/python' Please add "$(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')" to BDEPEND.
I can confirm the issue. This happens during python 3.7 upgrade. updating setuptools before systemtap (manually) solves the issue. # emerge -av1 setuptools These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-python/setuptools-44.1.0::gentoo [44.0.0::gentoo] USE="-test" PYTHON_TARGETS="python2_7 python3_6 python3_7* (-pypy3) (-python3_8)" 0 Ki B [ebuild U ] dev-python/certifi-2020.4.5.1::gentoo [2019.11.28::gentoo] PYTHON_TARGETS="python2_7 python3_6 python3_7* (-pypy3) (-python3_8) (-python3_9) " 0 KiB (python 3.7 was selected here the first time)
Same issue and fix during the python 3.8 upgrade
Duplicated by https://bugs.gentoo.org/721654
*** Bug 721654 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=682cee99f3cd8d92ce6fbeb0d4cf16428733da42 commit 682cee99f3cd8d92ce6fbeb0d4cf16428733da42 Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2021-01-09 21:28:52 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2021-01-09 21:38:16 +0000 dev-util/systemtap: Add missing setuptools dependency, bug #719436 Closes: https://bugs.gentoo.org/719436 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sven Wegener <swegener@gentoo.org> dev-util/systemtap/systemtap-4.0-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)