Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214662 - dev-python/wxpython-2.8.7.1 - libwx_gtk2u_core-2.8.so.0: undefined symbol g_assertion_message_expr
Summary: dev-python/wxpython-2.8.7.1 - libwx_gtk2u_core-2.8.so.0: undefined symbol g_a...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-25 10:05 UTC by Allar Õunapuu
Modified: 2008-04-03 07:06 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 Allar Õunapuu 2008-03-25 10:05:25 UTC
After i installed wx-python-2.8.7.1 nad tried to ryn python code with line 'import wx' in it, I got following message:
'''
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib64/python2.4/site-packages/PIL/__init__.py", line 45, in ?

  File "usr/lib64/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in ?
ImportError: /usr/lib/libwx_gtk2u_core-2.8.so.0: undefined symbol: g_assertion_message_expr
'''

Reproducible: Always

Steps to Reproduce:
1.#emerge wxpython
2.
3.




I'm running multilib Gentoo on AMD64-system. My locale setting is:
LANG=et_EE.UTF-8
LC_CTYPE="et_EE.UTF-8"
LC_NUMERIC="et_EE.UTF-8"
LC_TIME="et_EE.UTF-8"
LC_COLLATE="et_EE.UTF-8"
LC_MONETARY="et_EE.UTF-8"
LC_MESSAGES="et_EE.UTF-8"
LC_PAPER="et_EE.UTF-8"
LC_NAME="et_EE.UTF-8"
LC_ADDRESS="et_EE.UTF-8"
LC_TELEPHONE="et_EE.UTF-8"
LC_MEASUREMENT="et_EE.UTF-8"
LC_IDENTIFICATION="et_EE.UTF-8"
LC_ALL=et_EE.UTF-8

and emerge -i:
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3-5 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3-5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Mon, 24 Mar 2008 19:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=x86-64 -pipe"
DISTDIR="/portage/distdir"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ "
LANG="et_EE.UTF-8"
LC_ALL="et_EE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="et en"
MAKEOPTS="-j2"
PKGDIR="/portage/multilib"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/portage/tmp"
PORTDIR="/portage/portage"
PORTDIR_OVERLAY="/portage/portage/local/layman/wschlich-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb caps cli cracklib crypt cups dbus djvu dri dvd dvdr encode fortran gdbm gpm gtk2 hal iconv ipv6 isdnlog jack jack-tmpfs kde ldap midi mmx mp3 mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection samba session spl sse sse2 ssl symlink tcpd unicode v4l vorbis xorg zlib" ALSA_CARDS="emu10k1 usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="mouse keyboard" KERNEL="linux" LINGUAS="et en" USERLAND="GNU" VIDEO_CARDS="nvidia nv mesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-04-03 00:18:24 UTC
that should come from glib.  does running revdep-rebuild (from gentoolkit) do anything?
Comment 2 Mart Raudsepp gentoo-dev 2008-04-03 00:36:24 UTC
Tere,

Did you upgrade to glib-2.16 and then downgrade back to 2.14? Because that's the only case that things linking against glib can break like this. That's also not exactly supported, so you better get back to glib-2.16 or make a big revdep-rebuild run that will suggest rebuilding everything that you emerged that uses glib while system glib version was at 2.16.
Comment 3 Allar Õunapuu 2008-04-03 04:46:15 UTC
(In reply to comment #1)
> that should come from glib.  does running revdep-rebuild (from gentoolkit) do
> anything?
> 
Nope
Comment 4 Allar Õunapuu 2008-04-03 07:06:11 UTC
(In reply to comment #2)
> Tere,
> 
> Did you upgrade to glib-2.16 and then downgrade back to 2.14? Because that's
> the only case that things linking against glib can break like this. That's also
> not exactly supported, so you better get back to glib-2.16 or make a big
> revdep-rebuild run that will suggest rebuilding everything that you emerged
> that uses glib while system glib version was at 2.16.
> 

Tere
I have done big downgrade recently from unstable into stable (renaming /portage/package.keywords). And somehow the problem has vanished. "import wx" in python code works w/o problems. Not proffessional bug-killing though.

I updated my glib into unstable 2.16 and emerged pango afterwards. Because of the problem with pycrust-2.8 (I Can't browse Namespace after importing wx, program crashes and message contains word 'pango' - 'Pango-CRITICAL **: pango_context_get_metrics: assertion `desc != NULL' failed
Segmentation fault'). I run "#echo 'x11-libs/pango' >> /etc/portage/package.keywords" and emerged pango once more. But this didn't help. So I must stick to my pycrust-2.6 for awhile.

There is a mess, but It's not crucial for me.