Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634068 - dev-python/six-1.11.0: pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' distribution was not found and is required by Sphinx
Summary: dev-python/six-1.11.0: pkg_resources.DistributionNotFound: The 'sphinxcontrib...
Status: RESOLVED DUPLICATE of bug 624672
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 04:48 UTC by Andrey Grozin
Modified: 2017-11-17 17:04 UTC (History)
1 user (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 Andrey Grozin gentoo-dev 2017-10-12 04:48:24 UTC
* python3_6: running distutils-r1_run_phase python_compile_all
make -j1 -C documentation html 
make: Entering directory '/var/tmp/portage/dev-python/six-1.11.0/work/six-1.11.0/documentation'
sphinx-build -b html -d _build/doctrees   . _build/html
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/sphinx-build", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3138, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3122, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 664, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 981, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'sphinxcontrib-websupport' distribution was not found and is required by Sphinx
make: *** [Makefile:40: html] Error 1
make: Leaving directory '/var/tmp/portage/dev-python/six-1.11.0/work/six-1.11.0/documentation'
 * ERROR: dev-python/six-1.11.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Andrey Grozin gentoo-dev 2017-10-12 04:59:24 UTC
Many dev-python packages fail with USE=doc in the same way. sphinxcontrib-websupport depends on whoosh, which (with USE=doc) also needs sphinxcontrib-websupport - circular dependence. With proper DEPENDs, portage should warn the user and suggest to emerge whoosh with USE=-doc first. This solves the immediate problem. But DEPENDs of many packages with USE=doc are wrong - they don't contain sphinxcontrib-websupport.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-11-17 17:04:54 UTC

*** This bug has been marked as a duplicate of bug 624672 ***