Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 256728 - kde-base/pykde4-4.2.0 fails to compile (sipsopranopart7)
Summary: kde-base/pykde4-4.2.0 fails to compile (sipsopranopart7)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277868
  Show dependency tree
 
Reported: 2009-01-29 00:55 UTC by Roman
Modified: 2009-08-06 00:44 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,22.62 KB, text/plain)
2009-01-29 00:56 UTC, Roman
Details
build.log correct! (build.log,145.06 KB, text/plain)
2009-01-29 01:21 UTC, Roman
Details
build.log (build.log,101.23 KB, text/plain)
2009-01-29 05:45 UTC, shimi
Details
build.log (build.log,6.25 KB, text/plain)
2009-01-29 15:12 UTC, Sergey L. Voronov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman 2009-01-29 00:55:16 UTC
Read build.log, please.
Comment 1 Roman 2009-01-29 00:56:11 UTC
Created attachment 180047 [details]
build.log

build.log
Comment 2 Maciej Mrozowski gentoo-dev 2009-01-29 01:17:24 UTC
Attached build log is from systemsettings, change bug summary please to 'systemsettings-4.2.0 fails to build'
and attach emerge --info as well please.
Comment 3 Roman 2009-01-29 01:21:41 UTC
Created attachment 180048 [details]
build.log correct!

for pykde4-4.2.0
Comment 4 xlnagla 2009-01-29 04:07:57 UTC
I can confirm failure with the same compilation error.  Here's my emerge --info, as it seems the op neglected to post it.

Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 28 Jan 2009 23:10:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -mno-tls-direct-seg-refs -mmmx -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=i686 -mno-tls-direct-seg-refs -mmmx -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en"
MAKEOPTS="-j2 -s "
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/local/portage/layman/kde-testing /usr/local/portage/layman/gnome /home/xlnagla/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx aim alsa amarok asf audiofile avahi beagle berkdb bidi branding bzip2 cairo cdda cdr chm cjk clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbox2 dbus dga djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi eds effects emboss encode esd evo exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw flac flash foomatic-db fortran freetype gdbm gif gimpprint glitz gnokii gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq imap inkjar ipod ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg kde kdeenablefinal kdehiddenvisibility kerberos kipi kqemu krb4 lame lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors logitech-mouse lzo mad mail matroska midi mikmod mjpeg mmx mng mono moznocompose moznoirc moznomail mp3 mp3rtp mpeg mudflap mysql ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg only_sources openal openexr opengl openmp pam pascal pcmcia pcre pdf perl plugin png povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline reflection reiser4 rss ruby samba scanner sdl session skins slp sms sndfile soundex speech speex spell spl spreadsheet sqlite srt ssl startup-notification stream streams subversion svg switch_all_desktops sysfs tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vcd visualization voice vorbis weather webkit webservices wifi win32codecs winbind wmf wxwindows x264 x86 xcb xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv xvid xvmc zeroconf 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 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="evdev keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio joystick magellan microtouch mutouch palmax penmount spaceorb summa synaptics tek4957 wacom ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="dummy radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 shimi 2009-01-29 05:45:39 UTC
Created attachment 180062 [details]
build.log

My compile fails too, but appears that the build log is different?

My emerge --info :

Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 x86_64)
=================================================================                               
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
Timestamp of tree: Thu, 29 Jan 2009 01:05:02 +0000                                                        
app-shells/bash:     3.2_p17-r1                                                                           
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                  
dev-lang/python:     2.4.4-r13                                                                            
dev-python/pycrypto: 2.0.1-r6                                                                             
dev-util/cmake:      2.6.2-r1                                                                             
sys-apps/baselayout: 1.12.11.1                                                                            
sys-apps/sandbox:    1.2.18.1-r2                                                                          
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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"
USE="X acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dri dvd dvdread fortran gdbm gpm gtk iconv ipv6 isdnlog jpeg kde midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,PORTDIR_OVERLAY
Comment 6 shimi 2009-01-29 06:41:59 UTC
For those of you who are stuck on compiling KDE 4.2.0 because of this, running:

echo "kde-base/plasma-workspace -python" >> /etc/portage/package.use

Will skip this package.
Comment 7 LiorD 2009-01-29 07:20:33 UTC
On my machine kde-base/marble-4.2.0 also tries to pull pykde4 so you might also need:
echo "kde-base/plasma-marble -python" >> /etc/portage/package.use
Comment 8 LiorD 2009-01-29 08:46:58 UTC
The correct command is:
echo "kde-base/marble -python" >> /etc/portage/package.use


Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2009-01-29 12:46:17 UTC
I guess it is due to dev-lang/python-2.4 :]
Try to update onto 2.5 :]
Comment 10 Roman 2009-01-29 13:38:35 UTC
Log analizing is a great thing - pykde4-4.2.0 has been compiled after emerging PyQt4-4.4.4-r2 (was PyQt4-4.4.4-r1 recently), thank for help.
Comment 11 Roman 2009-01-29 13:39:57 UTC
Logs are a great thing - pykde4-4.2.0 compiled after emerginkg PyQt4-4.4.4-r2 (recently was r1). Thank for help.
Comment 12 Roman 2009-01-29 13:50:24 UTC
(In reply to comment #9)
> I guess it is due to dev-lang/python-2.4 :]
> Try to update onto 2.5 :]
> 

Upgraded!
Comment 13 Sergey L. Voronov 2009-01-29 15:12:20 UTC
Created attachment 180114 [details]
build.log

i have another  compilation error with dev-lang/python-2.5.4-r2 and PyQt4-4.4.4-r2 (and PyQt-3.17.6) installed


Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Phenom-tm-_9650_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Thu, 29 Jan 2009 14:30:17 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.3.3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://linuxarchive.nnov.ru/Unix/Gentoo/ ftp://gentoo.zxc.nnov.ru/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j4"
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/rusxmms /usr/portage/local/layman/freshgen /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 7zip X aac acl acpi addbookmarks additions alias alsa amarok amd64 ape archive autoreplace avahi bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cdr chm cleartype cli connectionstatus contactnotes cracklib crypt curl daemon dbus directfb disk-partition djvu dri dvd dvdr dvdread emboss emerald encode esd evo exif fam fbcon ffmpeg firefox flac fortran fuse gd gdbm gif glitz gpm gstreamer hal hddtemp highlight history htmlhandbook iconv id3tag idn infowidget iproute2 irc isdnlog jingle jpeg jpeg2k kde kde4 kdeprefix kipi ladspa laptop libass libnotify libsamplerate libssh2 lm_sensors logviewer mac mad mdnsresponder-compat midi mikmod mjpeg mmx mp3 mp4 mpeg mplayer mudflap multilib musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin ntfs ogg opengl openmp oscar pam pcre pdf perl png portaudio ppds pppd pulseaudio python qt3 qt3support qt4 quicktime rcc readline reflection reiserfs remote samba sasl sdl session slang soundtouch spell spl sqlite srt sse sse2 ssl startup-notification statistics stats svg sysfs tcpd texteffect theora threads tiff truetype twolame unicode unsupported usb vamp visualization vnc vorbis webkit xattr xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nv vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Thomas Bettler 2009-01-30 00:16:52 UTC
@sergey

First unmerge pykde, then merge pykde4 and finally merge pykde again.

This procedure helps to avoid some INCLUDE conflicts not yet solved in pykde4...
Comment 15 Shawn Rutledge 2009-01-30 03:43:40 UTC
What about this error:

[ 81%] Built target kpythonpluginfactory_automoc
Scanning dependencies of target kpythonpluginfactory
[ 89%] [ 98%] Built target python_module_PyKDE4_plasma
Built target python_module_PyKDE4_solid
[ 99%] [100%] Building CXX object python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory_automoc.o
Building CXX object python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o
/usr/include/python2.4/object.h:343: error: expected unqualified-id before ';' token
/usr/include/python2.4/object.h:343: error: abstract declarator 'PyObject*' used as declaration
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:111: warning: unused parameter 'args'
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp: In function 'int kdemain(int, char**)':
/var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:320: warning: unused variable 'pyLib'
make[2]: *** [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o] Error 1
make[1]: *** [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/all] Error 2
make: *** [all] Error 2
Comment 16 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-01-31 21:04:18 UTC
(In reply to comment #10)
> Log analizing is a great thing - pykde4-4.2.0 has been compiled after emerging
> PyQt4-4.4.4-r2 (was PyQt4-4.4.4-r1 recently), thank for help.
> 

Sat Jan 31 04:10:22 2009 >>> dev-python/PyQt4-4.4.4-r1
Sat Jan 31 13:55:02 2009 >>> kde-base/pykde4-4.2.0

Unfortunately it doesn't seem to be that simple.
Comment 17 Billy DeVincentis 2009-02-01 00:26:09 UTC
The way to get around this for now is to build a package of pykde-3.16.2, then unmerge pykde-3.16.2, emerge kde-base/pykde4-4.2.0 and then emerge -k dev-python/pykde
Comment 18 Fabiano 2009-02-03 06:31:51 UTC
I confirm this. Also, bug#256935 appears to be a dup of this.

Looking at kde's bug, it appears to be an upstream bug [1] that was already corrected [2], and correction seems to be adding just one keyword to one line [2].

[1] http://bugs.kde.org/show_bug.cgi?id=178354#c13
[2] http://websvn.kde.org/trunk/KDE/kdelibs/plasma/containment.h?r1=906246&r2=906245&pathrev=906246


Isn't it possible to back port this correction with a little patch?

Lot's of my plasmoids are nonfunctional right now and I guess that's because of the workaround of -python use flag.

Following are my installed programs versions, system's specs, and compiling error:




=========[ my system ]=========

# eix -e python -o PyQt -o pykde -c | cut -f1 -d:
[I] dev-lang/python (2.5.2-r7(2.5)@25-01-2009)
[I] dev-python/PyQt (3.17.6@25-01-2009)
[I] dev-python/PyQt4 (4.4.4-r2[kde]@26-01-2009)
[I] dev-python/pykde (3.16.2@28-01-2009)
[N] kde-base/pykde (--)
[N] kde-base/pykde4 ((~)4.2.0(4.2))
Found 6 matches.


# emerge --info
Portage 2.2_rc23 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-tuxonice-r1-k8-f1 i686)
=================================================================
System uname: Linux-2.6.28-tuxonice-r1-k8-f1-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-glibc2.0
Timestamp of tree: Tue, 03 Feb 2009 05:30:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/dados/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://gentoo.mirrors.hoobly.com/"
LANG="pt_BR.UTF-8"
LC_ALL="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR pt_BR.UTF-8 pt_BR.utf8 pt_BR.UTF8 pt_BR.iso8859-1 pt-BR"
MAKEOPTS="-j3"
PKGDIR="/dados/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="/dados/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amr amrnb amrwb apache2 berkdb branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fontconfig fortran gdbm gif gnome gpm gstreamer gtk hal iconv imlib isdnlog java jpeg kde kdeprefix libnotify mad midi mikmod mmx mmxext mozilla mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype type1 unicode usb vcd vim vim-syntax vorbis win32codecs x264 x86 xcb xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel hdsp hdspm pcsp" 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR pt_BR.UTF-8 pt_BR.utf8 pt_BR.UTF8 pt_BR.iso8859-1 pt-BR" USERLAND="GNU" VIDEO_CARDS="vga vesa fbdev nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



=========[ compiling error ]=========

>>> Compiling source in /dados/portage/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0 ...
make -j3
[  1%] Generating sip/dnssd/sipdnssdpart0.cpp, sip/dnssd/sipdnssdpart1.cpp, sip/dnssd/sipdnssdpart2.cpp, sip/dnssd/sipdnssdpart3.cpp, sip/dnssd/sipdnssdpart4.cpp, sip/dnssd/sipdnssdpart5.cpp, sip/dnssd/sipdnssdpart6.cpp, sip/dnssd/sipdnssdpart7.cpp
[  2%] Generating sip/kdecore/sipkdecorepart0.cpp, sip/kdecore/sipkdecorepart1.cpp, sip/kdecore/sipkdecorepart2.cpp, sip/kdecore/sipkdecorepart3.cpp, sip/kdecore/sipkdecorepart4.cpp, sip/kdecore/sipkdecorepart5.cpp, sip/kdecore/sipkdecorepart6.cpp, sip/kdecore/sipkdecorepart7.cpp
Scanning dependencies of target compile_python_files




[  2%] Built target compile_python_files
[  3%] Generating sip/kdeui/sipkdeuipart0.cpp, sip/kdeui/sipkdeuipart1.cpp, sip/kdeui/sipkdeuipart2.cpp, sip/kdeui/sipkdeuipart3.cpp, sip/kdeui/sipkdeuipart4.cpp, sip/kdeui/sipkdeuipart5.cpp, sip/kdeui/sipkdeuipart6.cpp, sip/kdeui/sipkdeuipart7.cpp

sip: /usr/share/sip/qt/versions.sip:34: Version is already defined
make[2]: ** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Erro 1
make[1]: ** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Erro 2
make[1]: ** Esperando que outros processos terminem.
sip: /usr/share/sip/qt/versions.sip:34: Version is already defined
make[2]: ** [python/pykde4/sip/kdeui/sipkdeuipart0.cpp] Erro 1
make[1]: ** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Erro 2
Comment 19 Chris Larson 2009-02-05 09:25:15 UTC
Shawn,

Let me know if you have information regarding this error. I'm having the same one as you, but hours of googling haven't turned up any info yet. I'll post a bug here, if you haven't already.

Chris

(In reply to comment #15)
> What about this error:
> 
> [ 81%] Built target kpythonpluginfactory_automoc
> Scanning dependencies of target kpythonpluginfactory
> [ 89%] [ 98%] Built target python_module_PyKDE4_plasma
> Built target python_module_PyKDE4_solid
> [ 99%] [100%] Building CXX object
> python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory_automoc.o
> Building CXX object
> python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o
> /usr/include/python2.4/object.h:343: error: expected unqualified-id before ';'
> token
> /usr/include/python2.4/object.h:343: error: abstract declarator 'PyObject*'
> used as declaration
> /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:111:
> warning: unused parameter 'args'
> /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:
> In function 'int kdemain(int, char**)':
> /var/tmp/portage/kde-base/pykde4-4.2.0/work/pykde4-4.2.0/python/pykde4/kpythonpluginfactory/kpythonpluginfactory.cpp:320:
> warning: unused variable 'pyLib'
> make[2]: ***
> [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o]
> Error 1
> make[1]: ***
> [python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/all]
> Error 2
> make: *** [all] Error 2
> 

Comment 20 Chad A. Simmons 2009-02-10 11:30:06 UTC
I didn't check too closely but changing the dep string on pyqt4-4.2.0 to add
!dev-python/pyqt

seems to have portage resolve this automatically.
Comment 21 Vladimir Berezhnoy 2009-02-18 00:02:45 UTC
I can confirm that solution described in comment #14 allows me to successfully install pykde4
Comment 22 Maciej Mrozowski gentoo-dev 2009-08-06 00:06:08 UTC
This one is most certainly fixed already. Please reopen if it's not the case.