building [html]: targets for 152 source files that are out of date updating environment: 650 added, 0 changed, 0 removed reading sources... [ 0%] api/afm_api <skipped> reading sources... [ 5%] api/patches_api Exception occurred: File "/usr/lib64/python2.7/re.py", line 251, in _compile raise error, v # invalid expression error: unbalanced parenthesis The full traceback has been saved in /var/tmp/portage/dev-python/matplotlib-1.5.1/temp/sphinx-err-befT_g.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! Building HTML failed. /var/tmp/portage/dev-python/matplotlib-1.5.1/temp/sphinx-err-befT_g.log attached sphinx-1.3.4
For some reason bugzilla does not want to attach sphinx-err-befT_g.log. I put it here: # Sphinx version: 1.3.4 # Python version: 2.7.11 (CPython) # Docutils version: 0.12 release # Jinja2 version: 2.8 # Last messages: # reading sources... [ 4%] api/index # reading sources... [ 4%] api/index_backend_api # reading sources... [ 4%] api/legend_api # reading sources... [ 4%] api/lines_api # reading sources... [ 4%] api/markers_api # reading sources... [ 4%] api/mathtext_api # reading sources... [ 4%] api/matplotlib_configuration_api # reading sources... [ 5%] api/mlab_api # reading sources... [ 5%] api/offsetbox_api # reading sources... [ 5%] api/patches_api # Loaded extensions: # sphinx.ext.graphviz (1.3.4) from /usr/lib64/python2.7/site-packages/sphinx/ext/graphviz.pyc # sphinxext.github (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/doc/sphinxext/github.py # sphinx.ext.autodoc (1.3.4) from /usr/lib64/python2.7/site-packages/sphinx/ext/autodoc.pyc # sphinx.ext.doctest (1.3.4) from /usr/lib64/python2.7/site-packages/sphinx/ext/doctest.pyc # matplotlib.sphinxext.mathmpl (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/build/build/lib/matplotlib/sphinxext/mathmpl.py # matplotlib.sphinxext.plot_directive (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/build/build/lib/matplotlib/sphinxext/plot_directive.py # alabaster (0.7.7) from /usr/lib64/python2.7/site-packages/alabaster/__init__.pyc # sphinx.ext.inheritance_diagram (1.3.4) from /usr/lib64/python2.7/site-packages/sphinx/ext/inheritance_diagram.pyc # matplotlib.sphinxext.only_directives (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/build/build/lib/matplotlib/sphinxext/only_directives.py # numpydoc (unknown version) from /usr/lib64/python2.7/site-packages/numpydoc/__init__.pyc # sphinxext.gen_rst (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/doc/sphinxext/gen_rst.py # IPython.sphinxext.ipython_console_highlighting (unknown version) from /usr/lib64/python2.7/site-packages/IPython/sphinxext/ipython_console_highlighting.pyc # sphinxext.gen_gallery (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/doc/sphinxext/gen_gallery.py # sphinx.ext.autosummary (1.3.4) from /usr/lib64/python2.7/site-packages/sphinx/ext/autosummary/__init__.pyc # IPython.sphinxext.ipython_directive (unknown version) from /usr/lib64/python2.7/site-packages/IPython/sphinxext/ipython_directive.pyc # sphinxext.math_symbol_table (unknown version) from /var/tmp/portage/dev-python/matplotlib-1.5.1/work/matplotlib-1.5.1-python2_7/doc/sphinxext/math_symbol_table.py Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/sphinx/cmdline.py", line 244, in main app.build(opts.force_all, filenames) File "/usr/lib64/python2.7/site-packages/sphinx/application.py", line 266, in build self.builder.build_update() File "/usr/lib64/python2.7/site-packages/sphinx/builders/__init__.py", line 251, in build_update 'out of date' % len(to_build)) File "/usr/lib64/python2.7/site-packages/sphinx/builders/__init__.py", line 265, in build self.doctreedir, self.app)) File "/usr/lib64/python2.7/site-packages/sphinx/environment.py", line 618, in update self._read_serial(docnames, app) File "/usr/lib64/python2.7/site-packages/sphinx/environment.py", line 638, in _read_serial self.read_doc(docname, app) File "/usr/lib64/python2.7/site-packages/sphinx/environment.py", line 791, in read_doc pub.publish() File "/usr/lib64/python2.7/site-packages/docutils/core.py", line 218, in publish self.apply_transforms() File "/usr/lib64/python2.7/site-packages/docutils/core.py", line 199, in apply_transforms self.document.transformer.apply_transforms() File "/usr/lib64/python2.7/site-packages/docutils/transforms/__init__.py", line 171, in apply_transforms transform.apply(**kwargs) File "/usr/lib64/python2.7/site-packages/sphinx/transforms.py", line 182, in apply apply_source_workaround(n) File "/usr/lib64/python2.7/site-packages/sphinx/util/nodes.py", line 53, in apply_source_workaround '\s*:\s*%s' % classifier.astext(), '', node.rawsource) File "/usr/lib64/python2.7/re.py", line 155, in sub return _compile(pattern, flags).sub(repl, string, count) File "/usr/lib64/python2.7/re.py", line 251, in _compile raise error, v # invalid expression error: unbalanced parenthesis
commit 68d56bed0e7907add6806c18067449d33cfff014 Author: Justin Lecher <jlec@gentoo.org> Date: Sun Jan 17 20:42:59 2016 +0100 dev-python/matplotlib: Don't use sphinx-1.3.4 for doc building Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=571996 Github: matplotlib/matplotlib#5869 Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d56bed0e7907add6806c18067449d33cfff014