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

Bug 87973

Summary: wxpython-2.5.3.1: xrced crashes on start
Product: Gentoo Linux Reporter: Ivan Todoroski <grnch>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED WONTFIX    
Severity: major CC: wxwidgets
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 89937    
Bug Blocks:    

Description Ivan Todoroski 2005-04-04 16:14:34 UTC
Starting xrced produces following error:

$ xrced
Traceback (most recent call last):
  File "/usr/bin/xrced", line 3, in ?
    from wx.tools.XRCed.xrced import main
  File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/tools/XRCed/xrced.py", line 24, in ?
    from globals import *
  File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/tools/XRCed/globals.py", line 8, in ?
    from wxPython.xrc import *
  File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wxPython/xrc.py", line 15, in ?
    import wx.xrc
  File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/xrc.py", line 9, in ?
    import _xrc
ImportError: /usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_xrc.so: undefined symbol: _ZNK20wxXmlResourceHandler12GetClassInfoEv


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Relevant versions:
dev-python/wxpython-2.5.3.1
dev-lang/python-2.4-r3

Emerge info:
Gentoo Base System version 1.6.10
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11.3 i686)
=================================================================
System uname: 2.6.11.3 i686 AMD Athlon(tm) XP 2800+
Python:              dev-lang/python-2.4-r3 [2.4 (#1, Mar 25 2005, 08:22:49)]
dev-lang/python:     2.4-r3
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -O3 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3 -march=athlon-xp -fomit-frame-pointer
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://gentoo.ITDNet.net/gentoo
http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu
http://mirror.etf.bg.ac.yu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow acl alsa apm arts avi bash-completion berkdb bitmap-fonts cdr
crypt cups curl divx4linux dvd dvdr emboss encode fam font-server foomaticdb
fortran gif gnutls gpm imlib ipv6 jpeg jpeg2k kde kdeenablefinal libg++ libwww
mad mikmod mng mp3 mpeg ncurses nptl oggvorbis opengl oss pdflib perl pic png
python qt quicktime readline real samba sse ssl tiff truetype truetype-fonts
type1-fonts xanim xinerama xml2 xprint xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Ivan Todoroski 2005-04-04 16:18:03 UTC
Forgot to specify wxGTK version and USE flags, in case it's relevant:

x11-libs/wxGTK-2.5.3  -debug +gtk2 +no_wxgtk1 -odbc +opengl +unicode

dev-python/wxpython-2.5.3.1  +gtk2 +jpeg +opengl +png +tiff +unicode

dev-lang/python-2.4-r3  -X +berkdb -bootstrap -build -debug +doc -gdbm +ipv6 +ncurses +readline +ssl -tcltk -ucs2
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2005-04-21 10:06:49 UTC
Ivan I think the problem is because wxPython is slotted but only has the version of xrced of the last version you emerged (since it overwrites the last one).

2.6.0.0 is about to be released and I'll fix it then, probably by having an xrced-2.4 and xrced-2.6 with a symlink to /usr/bin/xrced. 

Comment 3 Rob Cakebread (RETIRED) gentoo-dev 2005-04-26 13:15:31 UTC
Ivan, this is fixed in the upcoming 2.6.0.0 by naming it wxrced-2.6. The legacy 2.4 will still be named wxrced. I'm markign this WONTFIX because I'm about to remove the 2.5* releases.