I cant compile pykde > 4.2.2, have this error all the time when i try to update Reproducible: Always Steps to Reproduce: 1.emerge --update --deep --newuse world 2. 3. Actual Results: [ 74%] [ 75%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart1.o Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_solid.dir/sip/solid/sipsolidpart1.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:28, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipAPIsolid.h:11, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipsolidpart1.cpp:7: /usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:28, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/phonon/sipAPIphonon.h:11, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/phonon/sipphononpart1.cpp:7: /usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition In file included from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/plasma/sipplasmapart0.cpp:7: /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:42:29: error: plasma/glapplet.h: No such file or directory [ 76%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_kutils.dir/sip/kutils/sipkutilspart2.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:28, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/kutils/sipAPIkutils.h:11, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/kutils/sipkutilspart2.cpp:7: /usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition [ 77%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_solid.dir/sip/solid/sipsolidpart2.o Linking CXX shared library ../../lib/pykde/kdeui.so In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:28, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipAPIsolid.h:11, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipsolidpart2.cpp:7: /usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip: In function ‘sipWrapperType* sipSubClass_Plasma_AbstractRunner(void**)’: /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:161: error: expected type-specifier /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:161: error: expected `>' /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:161: error: expected `(' /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:161: error: ‘GLApplet’ is not a member of ‘Plasma’ /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:161: error: expected primary-expression before ‘>’ token /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4/python/pykde4/sip/plasma/abstractrunner.sip:162: error: expected `)' before ‘sipClass’ [ 78%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_solid.dir/sip/solid/sipsolidpart3.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:28, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipAPIsolid.h:11, from /var/tmp/portage/kde-base/pykde4-4.2.4/work/pykde4-4.2.4_build/python/pykde4/sip/solid/sipsolidpart3.cpp:7: /usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined <command line>:1:1: warning: this is the location of the previous definition make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/sip/plasma/sipplasmapart0.o] Error 1 make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/all] Error 2 [ 79%] make[1]: *** Waiting for unfinished jobs.... Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.10.1-r0, 2.6.27-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.27-gentoo-r1-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 05 Jun 2009 01:45:03 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 1.3.7-r1, 2.1.8 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://lug.mtu.edu/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ " LANG="en_US" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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.samerica.gentoo.org/gentoo-portage" USE="3dnow X accessibility acl aiglx alsa apm arts berkdb bindist bzip2 cddb cdparanoia cdr cgi cli cracklib crypt cups dbus dri dvd embedded firefox fortran gdbm glut gnome gpm gtk hal iconv ipv6 isdnlog java jpeg kde kerberos ldap midi mozilla mp3 mplayer msn mudflap mysql ncurses nls nptl nptlonly openexr opengl openmp oss pam pascal pcre pdf perforce perl php plasma png pppd python qt qt4 readline reflection ruby samba session spl sql sqlite ssl subversion svg sysfs tcpd unicode videos webkit win32codecs x86 xorg xvid" ALSA_CARDS="hda-intel" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 193637 [details] Build error
Same problem here. Tried to unemerge pykde and emerge it again, but no luck there... I also tried python-updater, but pykde4-4.2.2 can't install. I have the same errors.
Reemerge plasma-workspace with python USE flag This needs to be fixed however
Errata - missing file it's installed by kdelibs with opengl USE flag enabled - so please verify this. You should have glapplet.h file in that case. equery belongs glapplet.h (or use qfile) Dependencies are adjusted appropriately in pykde4 (to pull kdelibs[opengl] so I suspect something broken on your side.
(In reply to comment #3) > Reemerge plasma-workspace with python USE flag > > This needs to be fixed however > Tried it, but no luck... I also tried the equery command, but glapplet.h is nowhere to be found... I still don't get it...
re-emerging kdelibs with opengl flag solved the problem here.
(In reply to comment #4) > Errata - missing file it's installed by kdelibs with opengl USE flag enabled - > so please verify this. > > You should have glapplet.h file in that case. > > equery belongs glapplet.h (or use qfile) > > Dependencies are adjusted appropriately in pykde4 (to pull kdelibs[opengl] so I > suspect something broken on your side. > Re-emerging kdelibs with opengl flag doesnt work for me :(. Still missing this file
I resolved this (with opengl flag enabled) 1. re-emerge qt-opengl 2. re-emerge kdelibs Now i can compile pykde4 =)
Sorry to beat a dead horse, but isn't there any way this can be solved without USE=opengl? I really don't want USE=opengl on a system that doesn't have a local monitor...
(In reply to comment #9) > Sorry to beat a dead horse, but isn't there any way this can be solved without > USE=opengl? I really don't want USE=opengl on a system that doesn't have a > local monitor... > Same here - although KDE4 runs fine on my laptop, its hardware accel is a joke. Would be good if the dep can be removed altogether?