Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719436 - dev-util/systemtap-4.0-r1 missing compile-time dependency on dev-python/setuptools
Summary: dev-util/systemtap-4.0-r1 missing compile-time dependency on dev-python/setup...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 721654 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-25 18:08 UTC by Matt Whitlock
Modified: 2021-01-09 21:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2020-04-25 18:08:10 UTC
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.
Comment 1 Till Schäfer 2020-06-25 07:20:06 UTC
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)
Comment 2 Guillaume Lespinasse 2020-12-03 03:51:11 UTC
Same issue and fix during the python 3.8 upgrade
Comment 3 m.manico 2020-12-06 06:55:06 UTC
Duplicated by https://bugs.gentoo.org/721654
Comment 4 Toralf Förster gentoo-dev 2020-12-06 10:07:29 UTC
*** Bug 721654 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2021-01-09 21:38:42 UTC
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(-)