Building dev-python/paho-mqtt-1.2.3 fails with * python3_5: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.5 setup.py build Traceback (most recent call last): File "setup.py", line 4, in <module> from setuptools import setup, find_packages ImportError: No module named 'setuptools' when doing emerge -uDN @world after a change of PYTHON_TARGETS to include python3.5 and setting python3.5 as the default python interpreter using eselect python set --python3. I guess that dev-python/paho-mqtt depends on dev-python/setuptools being installed with the same python_targets flags, and that is not in the ebuild?
Created attachment 508188 [details] emerge --info '=dev-python/paho-mqtt-1.2.3::gentoo'
Created attachment 508190 [details] emerge -pqv '=dev-python/paho-mqtt-1.2.3::gentoo'
Created attachment 508192 [details] build log
This also occurred with these packages when I did an emerge today (last --sync was on December 10th): * app-misc/icdiff-1.9.1 * dev-libs/capstone-3.0.5_rc2-r1 Obviously can be worked around on a world emerge by using --resume --skip-first until setuptools is rebuilt and then going back to redo the missed packages, but ideally setuptools should be considered a build-time dependency for these packages.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a112a339597bee0d998ac29f9a255b5cd335d3 commit 30a112a339597bee0d998ac29f9a255b5cd335d3 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-02-07 09:41:47 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-02-07 09:44:45 +0000 dev-python/paho-mqtt: Add missing dep on setuptools Closes: https://bugs.gentoo.org/639848 dev-python/paho-mqtt/paho-mqtt-1.2.3.ebuild | 3 +++ 1 file changed, 3 insertions(+)