dev-python/pycairo/pycairo-1.17.0-r1.ebuild is missing a [${PYTHON_USEDEP}] for its DEPEND="doc? ( dev-python/sphinx ) …". A consequence of this is that portage will not ensure that sphinx has been built for all the python versions for which pycairo is being built. This leads to a build-time error: * python3_7: running distutils-r1_run_phase python_compile_all make -j5 -C docs make: Entering directory '/var/tmp/portage/dev-python/pycairo-1.17.0-r1/work/pycairo-1.17.0/docs' python -m sphinx -b html -n . _build /usr/bin/python3.7: No module named sphinx make: *** [Makefile:2: all] Error 1 make: Leaving directory '/var/tmp/portage/dev-python/pycairo-1.17.0-r1/work/pycairo-1.17.0/docs' * ERROR: dev-python/pycairo-1.17.0-r1::gentoo failed (compile phase): * emake failed
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df7b9660c3b9d5e63c75e497a9419fdeadb0eb5 commit 5df7b9660c3b9d5e63c75e497a9419fdeadb0eb5 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-06 19:57:49 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-06 20:21:28 +0000 dev-python/pycairo: Fix USE doc Closes: https://bugs.gentoo.org/670938 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-python/pycairo/pycairo-1.18.2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)