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

Bug 258967

Summary: dev-python/dbus-python-0.83.0 + <sys-apps/dbus-1.1.1 - ImportError: /usr/lib/python2.4/site-packages/_dbus_bindings.so: undefined symbol: dbus_server_get_id
Product: Gentoo Linux Reporter: gentoo
Component: [OLD] LibraryAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: normal CC: freedesktop-bugs, steev
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: changes ebuild dependencies

Description gentoo 2009-02-14 13:39:10 UTC
dev-python/dbus-python-0.83.0 creates bindings for dbus_server_get_id function which was introduced in sys-apps/dbus-1.1.1 (see http://dbus.freedesktop.org/doc/NEWS ). I was using dbus 1.0.2 and every time a python application imported dbus module it ended up with an exception. Updating dbus to 1.2.3 fixed the problem.

Reproducible: Always

Steps to Reproduce:
1. python -c 'import dbus'

Actual Results:  
Traceback (most recent call last):
  File "<string>", line 1, in ?
    import dbus
  File "//usr/lib/python2.4/site-packages/dbus/__init__.py", line 79, in ?
    import dbus.types as types
  File "//usr/lib/python2.4/site-packages/dbus/types.py", line 6, in ?
    from _dbus_bindings import ObjectPath, ByteArray, Signature, Byte,\
ImportError: /usr/lib/python2.4/site-packages/_dbus_bindings.so: undefined symbol: dbus_server_get_id


Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686)
=================================================================
System uname: Linux-2.6.22-gentoo-r9-i686-AMD_Athlon-tm-_XP_1700+-with-glibc2.0
Timestamp of tree: Sat, 14 Feb 2009 09:45:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r14
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.9-r2
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.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.icis.pcz.pl/gentoo/ ftp://gentoo.po.opole.pl/ ftp://ftp.vectranet.pl/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa berkdb bzip2 cgi cli cracklib crypt cups dri encode esd examples fat fortran gdbm gif gmp gnome gpm gtk hal iconv isdnlog jack jpeg lame libsamplerate midi mmx mp3 mudflap mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre perl png posix pppd pulseaudio python readline reflection ruby session sockets spl sqlite sse ssl sysfs tcpd theora tiff tk truetype unicode vorbis x86 xmlrpc xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 gentoo 2009-02-14 13:51:30 UTC
Created attachment 182002 [details, diff]
changes ebuild dependencies

This patch changes ebuild dependencies to require >=sys-apps/dbus-1.1.1 and updates the manifest
Comment 2 Patrick Lauer gentoo-dev 2009-02-15 12:12:11 UTC
+  15 Feb 2009; Patrick Lauer <patrick@gentoo.org>
+  +dbus-python-0.83.0-r1.ebuild:
+  Fixing dbus dep of 0.83 to fix #258967