Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149429 - Boa Constructor v0.4.0 problem with wxGTK
Summary: Boa Constructor v0.4.0 problem with wxGTK
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 09:30 UTC by Cyrius
Modified: 2006-11-02 12:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrius 2006-09-28 09:30:26 UTC
After an upgrade of my system, boa constructor doesn't work anymore.

=======================================================================
Starting Boa Constructor v0.4.0
importing wxPython
reading user preferences
Traceback (most recent call last):
  File "Boa.py", line 256, in ?
    import Preferences, Utils
  File "/usr/lib/python2.4/site-packages/boa/Preferences.py", line 136, in ?
    execfile(file)
  File "/root/.boa-constructor/prefs.rc.py", line 357, in ?
    from wxPython.stc import wxSTC_CP_UTF8, wxSTC_CP_DBCS
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wxPython/stc.py", line 15, in ?
    import wx.stc
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/stc.py", line 10, in ?
    import _stc
ImportError: /usr/lib/libwx_gtk2_stc-2.6.so.0: symbol _ZTV7wxEvent, version WX_2.6 not defined in file libwx_gtk2_core-2.6.so.0 with link time reference

==============================================================================

Portage ~x86 active
Seems to have a problem with the last version wxGTK-2.3.3.3 and Python 2.4.3.

emerge --info =>
Portage 2.1.2_pre1-r3 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 27 Sep 2006 14:30:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc1-r6
dev-java/java-config: 1.3.3-r1, 2.0.29
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m  -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m  -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ htp://adelie.polymtl.ca/ http://gentoo.mirrors.pair.com/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="fr_FR@euro"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 bzlib cdparanoia cli crypt cups curl dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fame ffmpeg foomaticdb fortran freetype ftp gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_kbd input_devices_keyboard input_devices_mouse isdnlog java jikes jpeg kde kernel_linux libg++ libwww linguas_fr mad matroska mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly objc ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd print python qt qt3 qt4 quicktime radeon readline real reflection samba scanner sdl session spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev userland_GNU v4l video_cards_fbdev video_cards_fglrx video_cards_glint video_cards_vesa video_cards_vga video_cards_vmware vorbis wifi win32codecs wireshark wmf wmv x86 xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mart Raudsepp gentoo-dev 2006-09-28 09:56:26 UTC
What wxpython version did you use when the problem appeared?

Can you please try rebuilding wxpython and run boa-constructor again?
Shouldn't need to rebuild boa, and probably better so for the usefulness of report :)

I'm pretty sure this is some kind of a ABI incompatibility somewhere in the contrib classes (wxSTC) that aren't following ABI too strictly yet. It might also be a problem of upgrading wxGTK without upgrading wxpython to a matching micro version number.
Comment 2 Cyrius 2006-09-28 10:56:39 UTC
The wxpython version was 2.6.3.2
I've tried to re compile wxpython : Doesn't work.
I tried with the wxGTK version 2.6.2 : Doesn't work. An other error
============================================================================
Starting Boa Constructor v0.4.0
importing wxPython
Traceback (most recent call last):
  File "Boa.py", line 225, in ?
    from wxPython.wx import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wxPython/__init__.py", line 10, in ?
    import _wx
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wxPython/_wx.py", line 3, in ?
    from _core import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wxPython/_core.py", line 15, in ?
    import wx._core
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/__init__.py", line 42, in ?
    from wx._core import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_core.py", line 13676, in ?
    from _windows import *
  File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_windows.py", line 4, in ?
    import _windows_
ImportError: /usr/lib/python2.4/site-packages/wx-2.6-gtk2-ansi/wx/_windows_.so: symbol _ZNK14wxPrintPreview7GetZoomEv, version WX_2.6 not defined in file libwx_gtk2_core-2.6.so.0 with link time reference

============================================================================

as your recommendations, i've changed my portage.mask file and 
i've tried with the same micro version by compiling first wxGTK-2.3.2, second wxpython-2.6.3.2 and it works fine :-) (Appart an other problem, link to ISO-8859-1 and my kernel, from boa-constructor. if i won't find, i'll post an other bugg for. I think it's cause of the default kernel selection which is ISO-8859-15 and not ISO-8859-1). 

I thank you well to have driving me on the solution.

Kind regards,
        Cyrius




Comment 3 Cyrius 2006-09-28 10:59:07 UTC
Oups, 
  It works for wxGTK-2.6.3.2 and not wxGTK-2.3.2. But i think you have understood it.

Kind regards, 
       Cyrius
Comment 4 Mart Raudsepp gentoo-dev 2006-10-03 08:47:03 UTC
I'm a bit confused about this now, so to make this clear did the following fix it for you:
Rebuild wxGTK, followed by a rebuild of wxpython with a matching version?
Comment 5 Cyrius 2006-10-28 16:59:11 UTC
OOps,

   Sorry for the delay of my answer.
   Yes it's works like you said.
   
Thanks,
      Cyrius
Comment 6 Cyrius 2006-11-02 12:57:27 UTC
thanks