Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142998 - dev-python/pycairo-1.0.2 - undefined symbol
Summary: dev-python/pycairo-1.0.2 - undefined symbol
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 10:59 UTC by Stefan Vitz
Modified: 2006-08-06 17:18 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 Stefan Vitz 2006-08-06 10:59:04 UTC
After an emerge --sync and an update of some packages cedega 5.2.3 exits with the following error:


stevit@stevit-acer ~ $ cedega
F1 2006-08-06 19:09:09,075 CRITICAL Unable to load GTK2 Python bindings: /usr/lib/python2.4/si
te-packages/cairo/_cairo.so: undefined symbol: cairo_ps_surface_set_dpi_REPLACED_BY_cairo_surf
ace_set_fallback_resolution


After searching around the web and reemerging nearly all python related packages as python,pygtk,cairo,pycairo i found out that updating pycairo from the current stable pycairo-1.0.2 to pycairo-1.2.0 (~x86) fixes the problem for me.
At the transgaming forum i red that other user hat the same problem and solved it the way i did.

Don't know it's really an dependency problem and if an up to date version of pycairo should be added to the RDEPEND section.


Thanks,
stevit


installed versions of related packages:
stevit-acer ~ # emerge -pv python gtk+ pygtk cairo pycairo pango

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

Calculating dependencies... done!
[ebuild   R   ] dev-lang/python-2.4.3-r1  USE="berkdb doc gdbm ipv6 ncurses readline ssl -bootstrap -build -nocxx -tk -ucs2" 7,827 kB 
[ebuild   R   ] x11-libs/gtk+-2.8.20-r1  USE="X doc jpeg -debug -tiff -xinerama" 11,960 kB 
[ebuild   R   ] dev-python/pygtk-2.8.6  USE="doc opengl" 0 kB 
[ebuild   R   ] x11-libs/cairo-1.2.0-r1  USE="X doc glitz png svg -directfb -pdf" 0 kB 
[ebuild   R   ] dev-python/pycairo-1.2.0  USE="svg -numeric" 0 kB 
[ebuild   R   ] x11-libs/pango-1.12.3  USE="doc -debug" 0 kB 



stevit-acer ~ # emerge --info
Portage 2.1.1_pre4-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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 -pipe -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde
/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/app-defaults /usr/shar
e/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /u
sr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
 http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/
 ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub
 ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/
 ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.t
 http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirr
 ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gent
oo-distfiles/"
LANG="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whol
e-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 /usr/local/portage/layman/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 S3TC X aac alsa apache2 apm avi bash-completion berkdb bigger-fonts bitmap-fonts bl b
ootsplash bzip2 calendar cdparanoia clamav clamd cli cpudetection crypt cups custom-cflags dil
lo dlloader doc dri dvd dvdr ecc eds elibc_glibc emboss encode escreen esd ethereal ffmpeg fla
c font-server foomaticdb fortran freetts gdbm gif glx gnome gnome-print gpgme gpm gstreamer gt
k gtk2 icc imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_
synaptics insecure-savers ipv6 isdnlog java jfs jikes jpeg kdeenablefinal kdexdeltas kernel_li
nux libg++ libwww linguas_de linguas_en mad mikmod motif mp3 mpeg multicall multiuser musepack
 mysql ncurses new-login nls nocd nowin nptl ntfs nvidia ogg oggvorbis opengl oss pcre pdflib 
perl png pppd python qt qt3 qt4 quicktime readline reflection reiserfs sdk sdl session sox spa
massassin spell spl ssl svg svga tcpd toolbar truetype truetype-fonts type1-fonts unicode user
land_GNU vcd video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wi
descreen wmf xchatdccserver xchattext xface xfs xml2 xmms xorg xosd xpm xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2006-08-06 11:29:14 UTC
doubt this is a bug in cedega ... it doesnt own that .so
Comment 2 Stefan Vitz 2006-08-06 11:37:58 UTC
(In reply to comment #1)
> doubt this is a bug in cedega ... it doesnt own that .so
> 

i would say it's a bug within the cedega ebuild, cause it hasn't an version of pycairo as dependency that works with cedega-5.2.3

Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-08-06 17:18:23 UTC
more likely, it is that pycairo-1.0.x only works with cairo-1.0.x and pycairo-1.2.x works with cairo-1.2.x. it seems that way from the changelogs.

i'm fixing that in the pycairo-* ebuilds. thanks for the report.