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

Bug 283459

Summary: dev-python/matplotlib-0.99.0 build error with sys-devel/gcc-4.4.1
Product: Gentoo Linux Reporter: Steffen Schaumburg <steffen>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Steffen Schaumburg 2009-09-01 22:57:10 UTC
After updating gcc from 4.3.4 to 4.4.1 I finished my world -e and am now going
through the problems. matplotlib remerges fine with gcc-4.3.4 but it fails
when using gcc-4.4.1.
Everything else is on the status of ~amd64 from about two days ago.

Reproducible: Always

Steps to Reproduce:
1. Set gcc to 4.3.4 and emerge matplotlib - it works
2. Set gcc to 4.4.1 and emerge matplotlib - it fails

Strangely it goes to pdb rather than failing so I quit with Ctrl+C.
What can I do to help fix this?

Here's the error:
updating environment: 459 added, 0 changed, 0 removed
***************************************************************..............................***************************************************************************...reading sources... [  1%] api/axis_api                    
Exception occurred while building, starting debugger:                                                                                                                                                
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/sphinx/", line 172, in main, filenames)
  File "/usr/lib64/python2.6/site-packages/sphinx/", line 130, in build
  File "/usr/lib64/python2.6/site-packages/sphinx/builders/", line 265, in build_update
    'out of date' % len(to_build))
  File "/usr/lib64/python2.6/site-packages/sphinx/builders/", line 285, in build
    purple, length):
  File "/usr/lib64/python2.6/site-packages/sphinx/builders/", line 131, in status_iterator
    for item in iterable:
  File "/usr/lib64/python2.6/site-packages/sphinx/", line 519, in update_generator
    self.read_doc(docname, app=app)
  File "/usr/lib64/python2.6/site-packages/sphinx/", line 610, in read_doc
  File "/usr/lib64/python2.6/site-packages/docutils/", line 204, in publish
  File "/usr/lib64/python2.6/site-packages/docutils/readers/", line 69, in read
  File "/usr/lib64/python2.6/site-packages/docutils/readers/", line 75, in parse
    self.parser.parse(self.input, document)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 157, in parse, document, inliner=self.inliner)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 170, in run
  File "/usr/lib64/python2.6/site-packages/docutils/", line 232, in run
    context, state, transitions)
  File "/usr/lib64/python2.6/site-packages/docutils/", line 420, in check_line
    return method(match, context, next_state)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 2658, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 308, in section
    self.new_subsection(title, lineno, messages)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 376, in new_subsection
    node=section_node, match_titles=1)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 266, in nested_parse
    node=node, match_titles=match_titles)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 195, in run
    results =, input_lines, input_offset)
  File "/usr/lib64/python2.6/site-packages/docutils/", line 232, in run
    context, state, transitions)
  File "/usr/lib64/python2.6/site-packages/docutils/", line 420, in check_line
    return method(match, context, next_state)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 2239, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 2251, in explicit_construct
    return method(self, expmatch)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 1994, in directive
    directive_class, match, type_name, option_presets)
  File "/usr/lib64/python2.6/site-packages/docutils/parsers/rst/", line 2043, in run_directive
    result =
  File "/usr/lib64/python2.6/site-packages/sphinx/ext/", line 1072, in run
  File "/usr/lib64/python2.6/site-packages/sphinx/ext/", line 617, in generate
    if not self.import_object():
  File "/usr/lib64/python2.6/site-packages/sphinx/ext/", line 327, in import_object
  File "/var/tmp/portage/dev-python/matplotlib-0.99.0/work/matplotlib-0.99.0/build/lib.linux-x86_64-2.6/matplotlib/backends/", line 23, in <module>
    import backend_wx    # already uses wxversion.ensureMinimal('2.8')
  File "/var/tmp/portage/dev-python/matplotlib-0.99.0/work/matplotlib-0.99.0/build/lib.linux-x86_64-2.6/matplotlib/backends/", line 126, in <module>
  File "/usr/lib64/python2.6/site-packages/", line 208, in ensureMinimal
    app = wx.PySimpleApp()
  File "/usr/lib64/python2.6/site-packages/wx-2.6-gtk2-unicode/wx/", line 7846, in __init__
    wx.App.__init__(self, redirect, filename, useBestVisual, clearSigInt)
  File "/usr/lib64/python2.6/site-packages/wx-2.6-gtk2-unicode/wx/", line 7755, in __init__
  File "/usr/lib64/python2.6/site-packages/wx-2.6-gtk2-unicode/wx/", line 7407, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
SystemError: wxEntryStart failed, unable to initialize wxWidgets!  (Is DISPLAY set properly?)
> /usr/lib64/python2.6/site-packages/wx-2.6-gtk2-unicode/wx/
-> return _core_.PyApp__BootstrapApp(*args, **kwargs)

emerge --info
Portage (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0,
2.6.30-gentoo-r5 x86_64)
System uname:
Timestamp of tree: Sun, 30 Aug 2009 16:45:03 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=k8 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned
sandbox sfperms strict test unmerge-orphans userfetch"
LINGUAS="en_GB en en_US de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
USE="3dnow 3dnowext 7zip X aac acl acpi alsa amd64 apache apache2 applet ares
artswrappersuid artworkextra avahi bash-completion bluetooth branding bzip2
cairo cdda cddb cdr cjk cli cracklib crypt cups dbus device-mapper divx doc dri
dvd dvdr dvdread examples fam fftw fontforge fortran ftp fuse gdbm gif gmp
gnome gnome-keyring gpm gtk hal iconv imap isdnlog jabber java java6 jpeg
laptop loop-aes maps mmx mmxext mng mono mp3 mpeg msn mudflap multilib mysql
mysqli ncurses nls nowin nptl nptlonly ntfs offensive ogg opengl openmp oscar
pam pcre pda pdf perl png pppd python qt3support qt4 quicktime quotas rar
readline realmedia reflection reiserfs ruby rubytests samba sasl session smp
spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg swig symlink
sysfs threads tiff truetype unicode usb utempter vhosts vorbis wma wmp xattr
xinerama xorg xscreensaver xulrunner xv xvid zeroconf zlib"
ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir
disk_cache env expires ext_filter file_cache filter headers include info
log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling
status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en_GB en en_US de"
USERLAND="GNU" VIDEO_CARDS="ati radeon radeonhd vesa vga"
Comment 1 Patrick Lauer gentoo-dev 2009-09-04 09:56:04 UTC
Hrm, might that be an issue in your local setup?
It looks a bit like the python-wxwidgets bits are seriously confused, so maybe re-emerging those packages or running python-updater fixes it.
Comment 2 Patrick Lauer gentoo-dev 2009-09-06 15:37:14 UTC
Reopen if you can reproduce this error after checking wx and python setup.