when I try to emerge pykde, it begins generating code for the modules and when it reaches kdecore it fails: # emerge pykde Calculating dependencies ...done! >>> emerge (1 of 1) dev-python/pykde-3.11.3 to / >>> md5 src_uri ;-) PyKDE-3.11.3.tar.gz >>> Unpacking source... >>> Unpacking PyKDE-3.11.3.tar.gz to /var/tmp/portage/pykde-3.11.3/work >>> Source unpacked. PyKDE version 3.11.3 ------- Python include directory is /usr/include/python2.3 Python version is 2.3.4 sip version is 4.1.1 (4.1.1) Qt directory is /usr/qt/3 Qt version is 3.3.3 PyQt directory is /usr/share/sip PyQt version is 3.13 (3.13.0) KDE base directory is /usr/kde/3.3 KDE include directory is /usr/kde/3.3/include KDE lib directory is /usr/kde/3.3/lib KDE version is 3.3.1 (0x30301) PyKDE modules will be installed in /usr/lib/python2.3/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdesu kdefx kdeui kio kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... Creating the Makefile for the dcop module... Generating the C++ source for the kdecore module... sip: KLockFile::Ptr is undefined Error: Unable to create the C++ code. Reproducible: Always Steps to Reproduce: 1.emerge pykde 2. 3. Actual Results: emerge fails Expected Results: emerge succeeds # emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r9 i686) ================================================================= System uname: 2.6.8-gentoo-r9 i686 AMD Athlon(tm) Gentoo Base System version 1.6.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mtune=athlon-xp -O3 -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=athlon-xp -O3 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.mirrors.pair.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm avi berkdb bitmap-fonts cdr crypt cups encode esd f77 foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd tetex truetype x86 xml2 xmms xprint xv zlib"
*** Bug 69048 has been marked as a duplicate of this bug. ***
I also tried emerge "<pykde-3.11.3" which tries to get 3.11.1 with a diff set of kde-libs, which also fails at the same point.
Problem Solved. apparently pykde does not yet support kde-libs 3.3.1, so if you emerge "<kde-libs-3.3.1" (that should emerge kde-libs-3.3.0), then re-emerge pykde, it worked for me.