Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338328 - kde-base/pykde4-4.5.1-r1 fails after upgrading to dev-python/PyQt4-4.7.7
Summary: kde-base/pykde4-4.5.1-r1 fails after upgrading to dev-python/PyQt4-4.7.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 338947 339438 339563 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-22 06:07 UTC by Keith Harrison
Modified: 2010-10-06 17:05 UTC (History)
19 users (show)

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


Attachments
build.log (build.log,107.89 KB, text/plain)
2010-09-22 06:19 UTC, Keith Harrison
Details
KDE team's patch for PyQt4 (sipfix.patch,531 bytes, patch)
2010-10-05 18:36 UTC, Adam Stylinski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2010-09-22 06:07:19 UTC
After upgrading PyQt4 to 4.7.7 I tried rebuilding pykde4 and it failed.  Happened on two 64 bit boxes so far...

Reproducible: Always

Steps to Reproduce:
1. emerge -u PyQt4
2. emerge --oneshot pykde4

Actual Results:  
sipkdeuipart7.cpp:46596: warning: ‘KArrowButton’ is deprecated (declared at /usr/include/karrowbutton.h:42)
sipkdeuipart7.cpp: In function ‘void release_KArrowButton(void*, int)’:
sipkdeuipart7.cpp:46612: warning: ‘KArrowButton’ is deprecated (declared at /usr/include/karrowbutton.h:42)
sipkdeuipart7.cpp: In function ‘PyObject* meth_KApplication_tempSaveName(PyObject*, PyObject*)’:
sipkdeuipart7.cpp:47755: warning: ‘static QString KApplication::tempSaveName(const QString&)’ is deprecated (declared at /usr/include/kapplication.h:258)
sipkdeuipart7.cpp: In function ‘PyObject* meth_KActionMenu_remove(PyObject*, PyObject*)’:
sipkdeuipart7.cpp:56111: warning: ‘void KActionMenu::remove(KAction*)’ is deprecated (declared at /usr/include/kactionmenu.h:62)
sipkdeuipart7.cpp: In function ‘PyObject* meth_KActionMenu_popupMenu(PyObject*, PyObject*)’:
sipkdeuipart7.cpp:56276: warning: ‘KMenu* KActionMenu::popupMenu()’ is deprecated (declared at /usr/include/kactionmenu.h:75)
sipkdeuipart7.cpp: In function ‘PyObject* meth_KAction_globalShortcutAllowed(PyObject*, PyObject*)’:
sipkdeuipart7.cpp:60816: warning: ‘bool KAction::globalShortcutAllowed() const’ is deprecated (declared at /usr/include/kaction.h:428)
sipkdeuipart7.cpp: In function ‘PyObject* meth_KAction_setGlobalShortcutAllowed(PyObject*, PyObject*)’:
sipkdeuipart7.cpp:60843: warning: ‘void KAction::setGlobalShortcutAllowed(bool, KAction::GlobalShortcutLoading)’ is deprecated (declared at /usr/include/kaction.h:438)
Linking CXX shared library ../../lib/pykde/kdeui.so
[ 35%] Built target python_module_PyKDE4_kdeui                                                                                                                                                                                                                                 
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.1-r1 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 6388:  Called kde4-meta_src_compile
 *   environment, line 3924:  Called kde4-base_src_compile
 *   environment, line 3580:  Called cmake-utils_src_compile
 *   environment, line 1759:  Called _execute_optionaly 'src_compile'
 *   environment, line  649:  Called enable_cmake-utils_src_compile
 *   environment, line 2128:  Called cmake-utils_src_make
 *   environment, line 1778:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.1-r1',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.1-r1'.
 * The complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.5.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.1-r1/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.1-r1/work/pykde4-4.5.1'

Expected Results:  
Success.

Portage 2.2_rc85 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo-r10 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r10-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-2.0.1
Timestamp of tree: Wed, 22 Sep 2010 01:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.5, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb bindist branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus device-mapper dri dvd dvdr dvi encode escreen fbcondecor ffmpeg firefox flac foomaticdb fortran fuse gd gdbm gdu gif gimp glib glibc-omitfp gmp gnome gnomecd gnutls google-gadgets gphoto2 gpm gstreamer gtk hal iconv id3tag ieee1394 ifp imagemagick imlib inotify ipv6 ithreads java java5 java6 jpeg jpeg2k json kde lame laptop latex lcd libnotify libwww lirc lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib musicbrainz mysql nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf perl php plotutils png policykit posix ppds pppd python qt3support qt4 quicktime rar readline reflection rtc ruby samba sdl session sift skins smbclient sndfile spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff transcode truetype twolame unicode usb vcd vdpau vhosts vim-with-x vnc vorbis webkit wmf wxwidgets wxwindows x264 xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid zip 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 auth_digest" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="imonlcd" LINGUAS="en" LIRC_DEVICES="imon_lcd" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-09-22 06:11:15 UTC
Please attach the full build.log, the information provided in comment #0 is not enough to determine the actual error.
Comment 2 Keith Harrison 2010-09-22 06:19:18 UTC
Created attachment 248333 [details]
build.log

Thanks for the quick response, upon closer inspection this seems to be the relevant part:

/usr/include/kio/connection.h:176: warning: ‘Connection’ is deprecated (declared at /usr/include/kio/connection.h:49)
/usr/include/kio/connection.h:177: warning: ‘Connection’ is deprecated (declared at /usr/include/kio/connection.h:49)
/var/tmp/portage/kde-base/pykde4-4.5.1-r1/work/pykde4-4.5.1/python/pykde4/sip/kio/kabstractfilemodule.sip: In function ‘const sipTypeDef* sipSubClass_KAbstractFileModule(void**)’:
/var/tmp/portage/kde-base/pykde4-4.5.1-r1/work/pykde4-4.5.1/python/pykde4/sip/kio/kabstractfilemodule.sip:169: warning: ‘KCrashBookmarkImporter’ is deprecated (declared at /usr/include/kbookmarkimporter_crash.h:36)
/var/tmp/portage/kde-base/pykde4-4.5.1-r1/work/pykde4-4.5.1/python/pykde4/sip/kio/kabstractfilemodule.sip:185: warning: ‘Connection’ is deprecated (declared at /usr/include/kio/connection.h:49)
/var/tmp/portage/kde-base/pykde4-4.5.1-r1/work/pykde4-4.5.1/python/pykde4/sip/kio/kabstractfilemodule.sip:335: warning: ‘PasswordDialog’ is deprecated (declared at /usr/include/kio/passworddialog.h:38)
/usr/include/kio/tcpslavebase.h: In function ‘PyObject* slot_KIO_TCPSlaveBase_SslResult___xor__(PyObject*, PyObject*)’:
/usr/include/kio/tcpslavebase.h:63: error: ‘enum KIO::TCPSlaveBase::SslResultDetail’ is protected
/usr/share/sip/QtCore/qglobal.sip:320: error: within this context
/usr/include/kio/tcpslavebase.h: In function ‘PyObject* slot_KIO_TCPSlaveBase_SslResult___or__(PyObject*, PyObject*)’:
/usr/include/kio/tcpslavebase.h:63: error: ‘enum KIO::TCPSlaveBase::SslResultDetail’ is protected
/usr/share/sip/QtCore/qglobal.sip:315: error: within this context
sipkiopart0.cpp: In function ‘PyObject* meth_KIO_SlaveInterface_connection(PyObject*, PyObject*)’:
sipkiopart0.cpp:11970: warning: ‘Connection’ is deprecated (declared at /usr/include/kio/connection.h:49)
sipkiopart0.cpp: In function ‘PyObject* meth_KIO_SlaveInterface_setConnection(PyObject*, PyObject*)’:
sipkiopart0.cpp:12074: warning: ‘Connection’ is deprecated (declared at /usr/include/kio/connection.h:49)
sipkiopart0.cpp: In function ‘PyObject* meth_KIO_Scheduler_scheduleJob(PyObject*, PyObject*)’:
sipkiopart0.cpp:16243: warning: ‘static void KIO::Scheduler::scheduleJob(KIO::SimpleJob*)’ is deprecated (declared at /usr/include/kio/scheduler.h:128)
make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kio.dir/sip/kio/sipkiopart0.o] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kio.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 3 Keith Harrison 2010-09-22 06:22:08 UTC
Am I supposed to reopen this now?
Comment 4 Martin von Gagern 2010-09-22 14:49:16 UTC
http://permalink.gmane.org/gmane.comp.python.pyqt-pykde/20484 describes this as well, without solution so far. As this migt be related to other packages as well, here is what I have installed on my system, where I hit this issue:
dev-python/sip-4.11.1
dev-python/PyQt-3.18.1 (KDE sunset, hopefully unrelated)
dev-python/PyQt4-4.7.7
Comment 5 Martin von Gagern 2010-09-22 16:04:06 UTC
Downgrading sip to 4.11 and remerging PyQt afterwards didn't solve the issue. Upgrading sip back to 4.11.1 but downgrading PyQt4 to 4.7.5 allowed me to emerge pykde4. So the bug report summary is very appropriate, and perhaps those two packages should block one another until this issue here has been resolved.
Comment 6 Thomas McShane 2010-09-22 18:30:56 UTC
(In reply to comment #5)
I would like to confirm a that masking >dev-python/PyQt4-4.7.5 , forcing PyQt4-4.7.5 to be the installed version, allows kde-base/pykde4-4.5.1-r1 to emerge successfully.

Comment 7 Martijn Schmidt 2010-09-23 10:41:38 UTC
I'd like to confirm this another time, on ~amd64.

Compiling pykde4 against PyQt4-4.7.7 breaks, compiling pykde4 against PyQt-4.7.5 works.

I am using sip-4.11.1.
Comment 8 josef.95 2010-09-24 00:35:02 UTC
(In reply to comment #7)
> I'd like to confirm this another time, on ~amd64.
> 
> Compiling pykde4 against PyQt4-4.7.7 breaks, compiling pykde4 against
> PyQt-4.7.5 works.
> 
> I am using sip-4.11.1.
> 
Its same here.
Comment 9 Paramonov Valeriy 2010-09-24 19:09:50 UTC
I have this trouble too..
Comment 10 biohazrd 2010-09-26 13:04:35 UTC
(In reply to comment #9)
> I have this trouble too..
> 

Confirmed here as well.
Comment 11 Rajat Vig 2010-09-27 10:45:45 UTC
Masking 4.7.7 and merging pydek4-4.5.1-r1 works for me as well
Comment 12 David Carlos Manuelda 2010-09-27 20:08:31 UTC
*** Bug 338947 has been marked as a duplicate of this bug. ***
Comment 13 Andrey Grozin gentoo-dev 2010-10-02 17:11:20 UTC
Same here. Downgrading PyQt4 to 4.7.5 solves the problem.
Comment 14 José María Fernández González 2010-10-02 19:11:20 UTC
(In reply to comment #11)
> Masking 4.7.7 and merging pydek4-4.5.1-r1 works for me as well
> 

Confirmed here as well for x86
Comment 15 Kanstantsin Shautsou 2010-10-02 23:08:32 UTC
reproduced on #gentoo-ru for user NeutronMAMA
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-Intel-R-_Core-TM-_i5_CPU_M_430_@_2.27GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 02 Oct 2010 16:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
emerge -pv dev-python/PyQt4
[ebuild   R   ] dev-python/PyQt4-4.7.7  USE="X dbus kde opengl sql svg webkit -assistant -debug -doc -examples -multimedia -phonon -xmlpatterns" 0 kB
echo '=dev-python/PyQt4-4.7.7' >> /etc/portage/package.mask
fixed problem
Comment 16 renato gallo 2010-10-03 09:02:57 UTC
it fails here too. Can please anyone make a patch to avoid downgrading anything ?

emerge --info
Portage 2.1.9.13 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 02 Oct 2010 09:00:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     9999
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.51.0.11
sys-devel/gcc:       4.3.3-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /usr/share/config /var/bind /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.utf@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en no nb"
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.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib abyss accessibility acl ads alsa amd64 amr apache2 applet archive artworkextra async asyncns authdaemond authfile authlib autoipd automount autotrace avahi ban bash-completion beagle berkdb bluetooth bookmarks branding bugzilla build bzip2 cairo capi caps case cdda cdr celt cgi cifsupcall cisco cjk clamav clamdtop cleartype cli connection-sharing consolekit contrast courier cpusets cracklib crypt ctype cups curl cvs cxx dbus deflate deskbar device-mapper dga dhclient dhcpcd dirac directfb diskio djvu dlz dmx dns dri dtmf dvb dvd dvdr dvi dynamicplugin elf elisp emacs emacs22icons emf encode esd eurephia examples exchange exif expat extensible extensions extra-tools extras faac faad fam fax fbcon fbcondecor ffmpeg fftw filter flac fontconfig fontforge fortran fpx ftp fuse fusion galago gcdmaster gd gdbm gdu geoip ggi gif gimp glitz gnome gnome-keyring gnomecd gnutls gpg gphoto2 gpm graphviz gs gsf gsm gstreamer gtk guile gzip-el h224 h281 h323 hal hdri hesiod heterogeneous howl-compat http http-forms http-server iax iconv icu idn ieee1394 ifsession imagemagick imap imlib iproute2 ipv6 ivr ixj java jbig jpeg jpeg2k json kdrive kerberos krb5 lame lasi lcms ldap ldirectord lensfun libcaca libnotify libsamplerate lid lilo lirc lm_sensors lqr lzo mad maildir management mdnsresponder-compat mfd-rewrites mhash milter ming mmap mmx mng modules mono moonlight motif mozsha1 mp3 mpeg mpi mudflap multilib mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas nat nat-transport nautilus ncurses net network networking networkmanager nls nntp nptl nptlonly nsplugin nss odbc ogg old-daemons openexr opengl openmp openntpd openssl opensslcrypt oss overlays pam parse-clocks passwordsave pbs pccts pcre pdf perl php pic pipechan pkcs11 plotutils png policykit poll pop posix ppds pppd pst pulseaudio python python3 q32 q8 qt3support qt4 quotas radius rar raw razor readline reflection resolvconf rewrite rle romio rpm rrdcgi ruby samba sample sasl sbc schroedinger sdb-ldap sdl secure-delete semantic-desktop sendmail sensord server session shaper sidebar sip sipim sitemisc slang slp smp smux snmp sockets socks5 softquota sound spamassassin speex spell spl sql sqlite srtp sse sse2 ssl startup-notification stats subversion svg swat swig sysfs syslog t1lib taglib tcl tcpd test-programs theora threads tiff timezone tk toolbar toolkit-scroll-bars tools tracker truetype tslib unicode unrar ups urandom usb utils v4l v4l2 vcd vda vdpau vhook vhosts vim-syntax vorbis vpb vroot vt vxml wav wavpack webdav webkit wicd winbind wmf wxwidgets x264 xcb xemacs xen xft xine xinerama xinetd xml xmlreader xmlrpc xmlwriter xmp xorg xpm xscreensaver xsl xv xvid xvmc zeroconf zlib zsh-completion" 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="cgi cgid actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="event" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse acecad aiptek elographics fpit hyperpen joystick mutouch penmount synaptics tslib virtualbox vmmouse void " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en no nb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 17 renato gallo 2010-10-03 09:08:19 UTC
http://bugsfiles.kde.org/attachment.cgi?id=52154
here can be a solution for example
Comment 18 renato gallo 2010-10-03 09:58:03 UTC
(In reply to comment #17)
> http://bugsfiles.kde.org/attachment.cgi?id=52154
> here can be a solution for example
> 
applying the patch solves the issue without downgrading anything please add to tree and we will have a bug less :D
Comment 19 renato gallo 2010-10-03 09:58:23 UTC
--- sip/QtCore/qglobal.sip~	2010-09-20 15:10:28.000000000 +0200
+++ sip/QtCore/qglobal.sip	2010-09-30 15:00:13.804577344 +0200
@@ -312,12 +312,12 @@ public:
     // Qt.Alignment class.
     QFlags operator|(int f);
 %MethodCode
-        sipRes = new QFlags(*a0 | (ENUM(a1)));
+        sipRes = new QFlags(*a0 | a1);
 %End
 
     QFlags operator^(int f);
 %MethodCode
-        sipRes = new QFlags(*a0 ^ (ENUM(a1)));
+        sipRes = new QFlags(*a0 ^ a1);
 %End
 
     // These are necessary to prevent Python comparing object IDs.
Comment 20 renato gallo 2010-10-03 09:59:47 UTC
the patch has to be applyied to PyQT4
Comment 21 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2010-10-04 00:26:10 UTC
*** Bug 339563 has been marked as a duplicate of this bug. ***
Comment 22 Adam Stylinski 2010-10-05 18:36:04 UTC
Created attachment 249662 [details, diff]
KDE team's patch for PyQt4

This has to be applied to PyQt4, please include this in the files directory and rebuild the manifest for the ebuild.
Comment 23 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2010-10-05 23:29:30 UTC
(In reply to comment #22)
> Created an attachment (id=249662) [details]
> KDE team's patch for PyQt4
> 
> This has to be applied to PyQt4, please include this in the files directory and
> rebuild the manifest for the ebuild.

That is not the complete patch. The complete patch is already in the KDE overlay but needs to be reviewed by the python / QT teams.
Comment 24 Graham Allott 2010-10-06 09:02:31 UTC
*** Bug 339438 has been marked as a duplicate of this bug. ***
Comment 25 Alexander Wright 2010-10-06 15:05:50 UTC
I'm getting the same issue with PyQt4-4.5.2
Comment 26 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2010-10-06 16:09:21 UTC
(In reply to comment #25)
> I'm getting the same issue with PyQt4-4.5.2

You need to use PyQt4-4.7.7-r1.
Comment 27 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2010-10-06 16:25:55 UTC
As PyQt4-4.7.7-r1 was added to the tree, I'm closing this bug.