Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339775

Summary: dev-python/matplotlib-1.0.0[doc] fails to build HTML documentation
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] LibraryAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Martin von Gagern 2010-10-05 02:29:06 UTC
Emerging matplotlib with documentation fails for me:

Running Sphinx v1.0.4
loading pickled environment... not yet created
animation, api, axes_grid, event_handling, misc, mplot3d, pngsuite, pylab_examples, tests, units, user_interfaces, 
widgets, 
building [html]: targets for 88 source files that are out of date
updating environment: 499 added, 0 changed, 0 removed
reading sources... [  0%] api/afm_api
reading sources... [  0%] api/api_changes
reading sources... [  0%] api/artist_api
/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0/doc/sphinxext/inheritance_diagram.py:312: Deprec
ationWarning: xfileref_role is deprecated, use XRefRole
  'class', ':class:`%s`' % name, name, 0, state)
/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0/build-2.6/lib.linux-x86_64-2.6/matplotlib/font_m
anager.py:1242: UserWarning: findfont: Font family ['cmb10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0/build-2.6/lib.linux-x86_64-2.6/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['cmtt10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
/var/tmp/portage/dev-python/matplotlib-1.0.0/work/matplotlib-1.0.0/build-2.6/lib.linux-x86_64-2.6/matplotlib/font_manager.py:1242: UserWarning: findfont: Font family ['cmss10'] not found. Falling back to Bitstream Vera Sans
  (prop.get_family(), self.defaultFamily[fontext]))
reading sources... [  0%] api/axes_api
/usr/lib64/python2.6/site-packages/numpy/core/numeric.py:677: DeprecationWarning: 
The current behavior of correlate is deprecated for 1.4.0, and will be removed
for NumPy 1.5.0.
    
The new behavior fits the conventional definition of correlation: inputs are
never swapped, and the second argument is conjugated for complex arrays.
  DeprecationWarning)
reading sources... [  1%] api/axis_api
reading sources... [  1%] api/backend_bases_api
reading sources... [  1%] api/backend_gtkagg_api
reading sources... [  1%] api/backend_pdf_api
reading sources... [  1%] api/backend_qt4agg_api
reading sources... [  2%] api/backend_wxagg_api
Building HTML failed.
 * ERROR: dev-python/matplotlib-1.0.0 failed:
 *   doc generation failed
Comment 1 Martin von Gagern 2010-10-05 02:29:23 UTC
Created attachment 249601 [details]
emerge --info
Comment 2 Martin von Gagern 2010-10-05 02:29:42 UTC
Created attachment 249602 [details]
build log
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2011-02-24 05:04:36 UTC
The problem should be gone in 1.0.1-r1. Re-open if not. Thanks.
Comment 4 Martin von Gagern 2011-03-04 06:49:45 UTC
Encountered again with 1.0.1-r1. Got a backtrace to accompany it this time.

reading sources... [  2%] api/backend_wxagg_api
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/sphinx/ext/autodoc.py", line 329, in 
import_object
    __import__(self.modname)
  File "/var/tmp/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1/bu
ild-2.7/lib.linux-x86_64-2.7/matplotlib/backends/backend_wxagg.py", line 23, in <module>
    import backend_wx    # already uses wxversion.ensureMinimal('2.8')
  File "/var/tmp/portage/dev-python/matplotlib-1.0.1-r1/work/matplotlib-1.0.1/build-2.7/lib.linux-x86_64-2.7/matplotlib/backends/backend_wx.py", line 55, in <module>
    wxversion.ensureMinimal('2.8')
  File "/usr/lib64/python2.7/site-packages/wxversion.py", line 208, in ensureMinimal
    app = wx.PySimpleApp()
  File "/usr/lib64/python2.7/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7846, in __init__
    wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
  File "/usr/lib64/python2.7/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7755, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7407, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
SystemError: wxEntryStart failed, unable to initialize wxWidgets!  (Is DISPLAY set properly?)
Building HTML failed.
 * ERROR: dev-python/matplotlib-1.0.1-r1 failed (compile phase):
 *   doc generation failed
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2012-01-17 06:37:01 UTC
hopefully fixed in 1.1.0
Comment 6 Martin von Gagern 2012-01-17 09:45:45 UTC
(In reply to comment #5)
> hopefully fixed in 1.1.0

Yes, 1.1.0 built without issues including documentation.