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

Bug 134982

Summary: /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so : undefined symbol: libxml_xmlDocPtrWrap
Product: Gentoo Linux Reporter: A. Person <tesoro302>
Component: New packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED CANTFIX    
Severity: normal CC: tcort
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description A. Person 2006-05-30 20:18:44 UTC
Trying to run quodlibet in a terminal fails with this:

grant@system4 ~ $ quodlibet
Traceback (most recent call last):
  File "/usr/bin/quodlibet", line 323, in ?
    load_library()
  File "/usr/bin/quodlibet", line 268, in load_library
    import library
  File "/usr/share/quodlibet/library.py", line 15, in ?
    import formats
  File "/usr/share/quodlibet/formats/__init__.py", line 22, in ?
    format = __import__(name, globals(), locals(), self)
  File "/usr/share/quodlibet/formats/flac.py", line 9, in ?
    import gst
  File "/usr/lib/python2.4/site-packages/gst-0.10/gst/__init__.py", line 90, in ?
    from _gst import *
ImportError: /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so: undefined symbol: libxml_xmlDocPtrWrap
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 00:43:46 UTC
Version? emerge --info?
Comment 2 A. Person 2006-05-31 06:57:14 UTC
system4 ~ # emerge --info
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.14-hardened-r8 i686)
=================================================================
System uname: 2.6.14-hardened-r8 i686 Mobile Intel(R) Celeron(R) CPU 2.20GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acl acpi alsa bash-completion bzip2 caps cdr crypt cscope cups dbus dvd flac gcj gd gif gnutls gpm gtk gtk2 gtkhtml hal hardened howl imap imlib java jpeg lcms mad mmx mng mono motif mp3 mpeg mpi ncurses nptl offensive opengl pam pcmcia pcre pdf perl pic png python qt quicktime readline sdl spell sse sse2 ssl svg svga tcpd tiff truetype unicode win32codecs wmf xface xine xml xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-31 07:11:35 UTC
You still didn't tell us which quodlibet version is this about...
Comment 4 Thomas Cort (RETIRED) gentoo-dev 2006-05-31 09:06:53 UTC
(In reply to comment #0)
> ImportError: /usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so: undefined
> symbol: libxml_xmlDocPtrWrap

This doesn't look like a quodlibet problem. It looks like an upgrade/change in a package gstreamer uses might have caused the problem. Please run "revdep-rebuild" (provided by the gentoolkit package) and then "emerge gstreamer flac gst-plugins-flac gst-python". If that doesn't fix the problem, please re-open this bug and include a list of which version of quodlibet, gst-plugins-flac, gst-python, flac, and gst-python you have installed.
Comment 5 A. Person 2006-05-31 09:51:49 UTC
I ran revdep-rebuild which re-emerged 4 gst related packages and re-emerged gstreamer, flac, gst-plugins-flac, and gst-python but I have the same results.

[ebuild   R   ] media-sound/quodlibet-0.20.1-r1  -aac +alsa -esd +flac -gnome +mad -musepack -oss -vorbis 0 kB
[ebuild   R   ] media-plugins/gst-plugins-flac-0.10.3  0 kB
[ebuild   R   ] dev-python/gst-python-0.10.4  -doc 0 kB
[ebuild   R   ] media-libs/flac-1.1.2-r3  -3dnow -debug -doc -ogg +sse -xmms 0 kB
Comment 6 Thomas Cort (RETIRED) gentoo-dev 2006-05-31 10:23:59 UTC
I'm reassigning this to gstreamer@g.o as the problem appears to be in
/usr/lib/python2.4/site-packages/gst-0.10/gst/__init__.py and
/usr/lib/python2.4/site-packages/gst-0.10/gst/_gst.so

gstreamer team, please take a look at this. If it isn't a gstreamer related problem, please assign the bug back to me, thanks.
Comment 7 A. Person 2006-06-19 17:49:43 UTC
Any ideas here guys?
Comment 8 foser (RETIRED) gentoo-dev 2006-06-20 06:20:21 UTC
I think it's libxslt libxml-2 python bindings being out of sync or something. Rebuilding those (libxml and then libxslt) might solve this.
Comment 9 A. Person 2006-06-20 16:47:35 UTC
I re-emerged those packages and quodlibet acts the same way.  I would really appreciate any other ideas you have.  I'll try anything.
Comment 10 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-06-21 20:20:22 UTC
Please try this:

USE=python emerge libxml

Then see if it works, if not:

re-emerge gst-python
Comment 11 A. Person 2006-06-22 15:24:40 UTC
Same situation.  libxml doesn't have a python USE flag by the way.  Any other possibilities?
Comment 12 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-06-23 04:01:30 UTC
Sorry, i meant libxml2 where i said libxml!
Comment 13 A. Person 2006-06-23 12:18:37 UTC
I already had python in make.conf but I went ahead and did it anyway with the same results.  Anything else?
Comment 14 A. Person 2006-10-20 12:37:46 UTC
I'm using Banshee now.