Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193235 - pygtk 2.12 doesn't work with pygobject 2.12 but does with pygobject 2.14
Summary: pygtk 2.12 doesn't work with pygobject 2.12 but does with pygobject 2.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 19:15 UTC by Damien Thébault
Modified: 2007-09-20 19:21 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 Damien Thébault 2007-09-20 19:15:18 UTC
Running "import gtk" with pygtk 2.12 built with pygobject 2.12 throws an error, but it's working with pygtk 2.12 built with pygobject 2.14.
Maybe pygtk 2.12 should depend on pygobject 2.14?

Reproducible: Always

Steps to Reproduce:
1. emerge "<pygobject-2.14"
2. emerge "=pygtk-2.12"

Actual Results:  
% python
Python 2.4.4 (#1, Sep 19 2007, 23:22:49) 
[GCC 4.1.2 20070214 (  (gdc 0.23, using dmd 1.007)) (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 48, in ?
    from gtk import _gtk
ImportError: /usr/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so: undefined symbol: pyg_gerror_exception_check
>>>


Expected Results:  
% python
Python 2.4.4 (#1, Sep 19 2007, 23:22:49) 
[GCC 4.1.2 20070214 (  (gdc 0.23, using dmd 1.007)) (Gentoo 4.1.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> 



It's working if I "emerge pygobject pygtk"


% emerge -pv pygobject

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-python/pygobject-2.14.0 [2.12.3] USE="-debug -doc -examples%" 353 kB [0=>1]

Total: 1 package (1 upgrade), Size of downloads: 353 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/overlays/gnome-experimental


% emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22 i686)
=================================================================
System uname: 2.6.22 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Wed, 19 Sep 2007 06:20: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-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.17
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
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -mno-tls-direct-seg-refs -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/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/xkb /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/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -mno-tls-direct-seg-refs -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer noinfo sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="fr_FR"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,-z,now"
LINGUAS="fr en en_GB en_US"
MAKEOPTS="-j 3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/zugaina /usr/local/overlays/enlightenment /usr/local/overlays/sunrise /usr/local/overlays/gnome-experimental /usr/local/overlays/kde /usr/local/overlays/xeffects /usr/local/overlays/crossdev /usr/local/overlays/portage /usr/local/overlays/hachoir-overlay /usr/local/overlays/gentooscience"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa avahi berkdb bitmap-fonts bogofilter bzip2 cairo cdr cli cracklib crypt cups d dbus djvu dri dts dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac gcj gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg keyring kqemu libnotify mad matroska midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls no-seamonkey nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session smp spell spl sse sse2 ssl svg synaptics tcpd theora threads threadsi threadsonly tiff tracker truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis widescreen win32codecs x264 x86 xinerama xml xorg xulrunner xv 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTAL
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-09-20 19:21:11 UTC
I checked and pyg_gerror_exception_check is used in pygtk 2.12, and defined in pygobject 2.14 but not in pygobject 2.12.  Dep fixed.