This install of Gentoo is running without the amd64 keyword on VPS for enhanced stability. However, certain packages are necessary to accept the amd64 keyword on, and sphinx is one of them. sphinx-1.3.1.ebuild correctly states that ">=dev-python/pygments-2.0" is required; however, pygments was not unkeyworded so 2.0.1 was installed. This was an insufficient version for sphinx: pkg_resources.ContextualVersionConflict: (Pygments 2.0rc0.dev20150411 (/usr/lib64/python3.3/site-packages), Requirement.parse('Pygments>=2.0'), {'Sphinx'}) Keywording it and upgrading to 2.0.2 fixed this error. Reproducible: Always Steps to Reproduce: 1. echo 'dev-python/sphinx ~amd64' >> /etc/portage/package.accept_keywords 2. emerge sphinx 3. sphinx-build Actual Results: pkg_resources.ContextualVersionConflict: (Pygments 2.0rc0.dev20150411 (/usr/lib64/python3.3/site-packages), Requirement.parse('Pygments>=2.0'), {'Sphinx'}) Expected Results: It should have generated the documentation I requested. This fixes it: --- sphinx-1.3.1.ebuild.old 2015-04-11 20:22:58.448351137 +0000 +++ sphinx-1.3.1.ebuild 2015-04-11 20:23:04.618351153 +0000 @@ -23,7 +23,7 @@ RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/docutils-0.11[${PYTHON_USEDEP}] >=dev-python/jinja-2.3[${PYTHON_USEDEP}] - >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0.2[${PYTHON_USEDEP}] >=dev-python/six-1.4[${PYTHON_USEDEP}] >=dev-python/Babel-1.3[${PYTHON_USEDEP}] =dev-python/alabaster-0.7*[${PYTHON_USEDEP}]
So the problem is that the bitbucket snapshot we are fetching has this version: Pygments 2.0rc0.dev20150411
+ 19 Apr 2015; Mike Gilbert <floppym@gentoo.org> sphinx-1.3.1.ebuild: + Update dependnecy on pygments, bug 546280.