Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468762 - dev-python/sphinx-1.1.3-r3 Generation of Grammar pickle with CPython 3.3 failed ImportError: No module named 'docutils'
Summary: dev-python/sphinx-1.1.3-r3 Generation of Grammar pickle with CPython 3.3 fail...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
Depends on:
Reported: 2013-05-06 14:31 UTC by Jan Matějka (RETIRED)
Modified: 2013-05-06 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Matějka (RETIRED) gentoo-dev 2013-05-06 14:31:35 UTC
* Generation of Grammar pickle with CPython 3.3...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.3/site-packages/sphinx/pycode/", line 18, in <module>
    from sphinx.util import get_module_source, detect_encoding
  File "/usr/lib/python3.3/site-packages/sphinx/util/", line 24, in <module>
    import docutils
ImportError: No module named 'docutils'
 * ERROR: dev-python/sphinx-1.1.3-r3 failed (postinst phase):
 *   Generation of Grammar pickle with CPython 3.3 failed
 * Call stack:
 *, line   93:  Called pkg_postinst
 *   environment, line 2884:  Called python_execute_function '--action-message' 'Generation of Grammar pickle with $(python_get_implementation_and_version)...' '--failure
-message' 'Generation of Grammar pickle with $(python_get_implementation_and_version) failed' 'generation_of_grammar_pickle'
 *   environment, line 3439:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * If you need support, post the output of `emerge --info '=dev-python/sphinx-1.1.3-r3'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/sphinx-1.1.3-r3'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/sphinx-1.1.3-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/sphinx-1.1.3-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/sphinx-1.1.3-r3'
 * S: '/var/tmp/portage/dev-python/sphinx-1.1.3-r3/work/Sphinx-1.1.3'
!!! FAILED postinst: 1

Reproducible: Always

Steps to Reproduce:
1. enable python 3.3
2. emerge -av =dev-python/sphinx-1.1.3-r3
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-05-06 16:01:25 UTC
That is an ancient version using python.eclass which doesn't support enforcing proper dependencies. You need to rebuild docutils, or even run python-updater. Or just the newer version, considering you're using py3.3.