Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670938 - dev-python/pycairo-1.17.0-r1[doc] missing $PYTHON_USEDEP for dev-python/sphinx
Summary: dev-python/pycairo-1.17.0-r1[doc] missing $PYTHON_USEDEP for dev-python/sphinx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-11 17:54 UTC by Martin von Gagern
Modified: 2019-12-06 20:21 UTC (History)
0 users

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 Martin von Gagern 2018-11-11 17:54:45 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2019-12-06 20:21:40 UTC
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(-)