I don't know enough about this to make any guesses. Output of the emerge attempt is below, followed by emerge --info. In case it matters, I have PyQt-3.17.4, PyQt4-4.3.3, and portage-2.1.6_rc2 installed. >>> Emerging (1 of 1) dev-python/pykde-3.16.2 * PyKDE-3.16.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... >>> Unpacking source... >>> Unpacking PyKDE-3.16.2.tar.bz2 to /var/tmp/portage/dev-python/pykde-3.16.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/pykde-3.16.2/work/PyKDE-3.16.2 ... /usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/home/q/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/qt/3/bin:/usr/games/bin Error: Can't find pyqtconfig.py in sys.path - exiting make -j3 make: *** No targets specified and no makefile found. Stop. * * ERROR: dev-python/pykde-3.16.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4423: Called die * The specific snippet of code: * emake || die "emake install failed" * The die message: * emake install failed ----------------- # emerge --info Portage 2.1.6_rc2 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9-mlc i686) ================================================================= System uname: Linux-2.6.24-tuxonice-r9-mlc-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0 Timestamp of tree: Thu, 04 Dec 2008 22:05:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" 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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://mirrors.evolva.ro/gentoo/ http://distfiles.gentoo.bg/ http://ftp.klid.dk/ftp/gentoo/ ftp://ftp.kaist.ac.kr/gentoo/ http://mirrors.64hosting.com/pub/mirrors/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://130.208.16.26/pub/gentoo/ http://mirrors.evolva.ro/gentoo/ http://130.208.16.31/pub/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en_US en" MAKEOPTS="-j3" 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.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi aiglx alsa amazon arts bash-completion battery berkdb bluetooth bzip2 cairo cdda cddb cdparanoia cpudetection cpufreq cracklib crypt css cups curl cxx dbus deprecated depth32 device-mapper dga dialup dillo directfb divx dri dts dvd dvdr dvdread encode equalizer esd expat extra-cardsets fam fat fbcon ffmpeg file-icons firefox flac fontconfig foomaticdb fortran ftp fuse gd gdbm gif gimp gimpprint gmedia gnokii gnutls gpm gstreamer hal hddtemp iconv icu id3 id3tag idn imagemagick imap ipod ipw4965 irc jabber jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas kerberos lame ldap libnotify libsexy lm_sensors logitech-mouse logrotate mad matroska mbox menu-plugin midi mikmod mime mmx mmxext mng modplug mozdevelop mozdom moznocompose moznoirc moznomail moznoroaming mp3 mpd mpeg mplayer mudflap musepack musicbrainz nano-syntax ncurses nls nntp nptl nsplugin ntfs nvidia offensive office ofx ogg opengl openmp pam pcmcia pcre pdf perl plotutils plugins pmu png ppds profile pulseaudio python qt3support qt4 quicktime readline reiserfs resolvconf rss sdl sdl-image sensord session skins slang smp spell sse sse2 ssl ssse3 startup-notification statistics svg svga swat symlink syslog tcpd theora threads threadsafe tidy tiff tordns trash-plugin truetype unicode usb uudeview uuencode vcd visualization vorbis webdav webdav-neon wifi win32codecs winbind wma wmp x86 xcomposite xface xfce xforms xml xorg xosd xscreensaver xv xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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" 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" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I have similar output 2008-12-05 00:13:30 (244 KB/s) - `/usr/portage/distfiles/PyKDE-3.16.2.tar.bz2' saved [960870/960870] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking PyKDE-3.16.2.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking PyKDE-3.16.2.tar.bz2 to /var/tmp/portage/dev-python/pykde-3.16.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-python/pykde-3.16.2/work/PyKDE-3.16.2 ... /usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.0:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin PyKDE version 3.16.2 ------- Python include directory is /usr/include/python2.5 Python version is 2.5.2 sip version is 4.7.9 (4.7.9) Qt directory is /usr/qt/3 Qt version is 3.3.8 PyQt directory is /usr/share/sip PyQt version is 3.17.4 (3.17.4) gcc version 4.2.0 no concatenation KDE base directory is /usr/kde/3.5 KDE include directory is /usr/kde/3.5/include KDE lib directory is /usr/kde/3.5/lib lib directory is lib *** True KDE version is 0x30509 -- building for KDE 0x30503 *** KDE version is 3.5.3 (0x30503) PyKDE modules will be installed in /usr/lib/python2.5/site-packages PyKDE .sip files will be installed in /usr/share/sip PyKDE modules to be built: dcop kdecore kdefx kdeui kio kresources kabc kutils kfile kparts khtml kspell kdeprint kmdi Generating the C++ source for the dcop module... sip: QApplication has ctors with the same Python signature Error: Unable to create the C++ code. If reporting errors, paste all of the output above into your message and post to the PyKDE mailing list at: mailto: PyKDE@mats.imk.fraunhofer.de subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde You can redirect the output into a file (> output.txt) if needed make: *** No targets specified and no makefile found. Stop. * * ERROR: dev-python/pykde-3.16.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4401: Called die * The specific snippet of code: * emake || die "emake install failed" * The die message: * emake install failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-python/pykde-3.16.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pykde-3.16.2/temp/environment'. emerge --info Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.25-gentoo-r8 i686) ================================================================= System uname: 2.6.25-gentoo-r8 i686 AMD Sempron(tm) 2600+ Timestamp of tree: Thu, 04 Dec 2008 20:46:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.4.6-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" 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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unemerge-orphans unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" LANG="en_GB" LC_ALL="en_GB" LDFLAGS="-Wl,-O1" LINGUAS="en_GB" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/nx /usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="3dnow X aac accessibility acl acpi alsa amr apache2 arts asf avahi bash-completion berkdb bonobo bzip2 cairo calendar cgi cli cracklib crypt cups curl dba dbase dbus dbx djvu dri dvb dvd dvdread encode esd evo examples fbcon ffmpeg flac flash fontconfig foomaticdb fortran ftp gb gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 hal howl iconv icq imagemagick imap inkjar innodb ipv6 isdnlog jabber java javascript jikes jingle jpeg kde kdeenablefinal kdexdeltas kqemu lcms libg++ libgda mad mbrola midi mikmod mime ming mmx mng mp3 mp4 mpeg mplayer msn mudflap mysql ncurses nls npp nptl nptlonly nsplugin odbc ogg opengl openmp pam pcre pdf pear perl php plotutils png postgres postscript ppds pppd python qt3 qt4 readline reflection ruby samba sdl session slp snmp soap softmmu spell spl sqlite sse ssl svg symlink sysfs tcpd theora tk tokenizer truetype unicode usb vnc vorbis webdav win32codecs wmf x86 xbase xforms xine xml xorg xpm xulrunner zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="sis vesa fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I notice exactly the same problem. Does anybody has an idea on the way to solve this problem.
Ok, those are two independent errors. First one is "Error: Can't find pyqtconfig.py in sys.path" Provided by: PyQt-3.17.4 /usr/lib/python2.5/site-packages/pyqtconfig.py Please try re-building PyQt. Second: sip: QApplication has ctors with the same Python signature Try rebuilding sip, and if that doesn't work - what version of sip are you using?
According to a post ([1]) in the pykde mailing list it needs sip-4.7.9, and according to the fact that this doesn't compiles without PyQt-3.17.6, this needs PyQt-3.17.6. Only after installing these guys pykde can be installed, rebuilding older versions of packages doesn't help. And a question: there was any reason to remove the older pykde ebuilds? [1] http://article.gmane.org/gmane.comp.python.pyqt-pykde/13690/match=pykde
Juan was correct, I had the wrong version of PyQt(due to my keywording). I added PyQt to package.keywords, updated from PyQt-3.17.4 to PyQt-3.17.6 and then pykde compiled ok
(In reply to comment #3) > Ok, those are two independent errors. > First one is "Error: Can't find pyqtconfig.py in sys.path" > Provided by: PyQt-3.17.4 > /usr/lib/python2.5/site-packages/pyqtconfig.py > > Please try re-building PyQt. Thanks - the file was indeed missing, and after rebuilding PyQt, I had the file and I was past that error. The build of pykde still failed, with an error different from barrie's. I'll post the log if it would help. After unmasking and building PyQt-3.17.6 and sip-4.7.9 per Juan's comment #4, building pykde worked fine.
As mentioned, pykde-3.16.2 needs pyqt-3.17.6 and sip-4.7.9 to build. But, I have masked >=sip-4.7.7 because it needs >=Qt-4.4, and I have my own reasons not to upgrade qt4 from 4.3 (at least for now). So, as Juan asked in comment #4, was there any sensible reason to remove older versions of pykde from portage??? We need the pykde 3.16.0-r1 (the version I'm using now) back to portage ASAP!
(In reply to comment #7) > As mentioned, pykde-3.16.2 needs pyqt-3.17.6 and sip-4.7.9 to build. But, I > have masked >=sip-4.7.7 because it needs >=Qt-4.4, and I have my own reasons > not to upgrade qt4 from 4.3 (at least for now). So you're on your own now. Have fun. > So, as Juan asked in comment > #4, was there any sensible reason to remove older versions of pykde from > portage??? > We need the pykde 3.16.0-r1 (the version I'm using now) back to portage ASAP! No, we don't. You do. Slightly different issue ;) Fetch the old version from viewcvs.gentoo.org and put it in a local overlay if you want, and/or upgrade to a Qt version from this decade.