After doing a recent (13 Jul) sync I performed an emerge -avDuN world. When the emerge got to pykde4 it failed. It fails as well when done alone. Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge pykde4 Actual Results: * Messages for package kde-base/pykde4-4.4.5: * ERROR: kde-base/pykde4-4.4.5 failed: * Make failed! * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 6269: Called kde4-meta_src_compile * environment, line 3820: Called kde4-base_src_compile * environment, line 3478: Called cmake-utils_src_compile * environment, line 1673: Called _execute_optionaly 'src_compile' * environment, line 655: Called enable_cmake-utils_src_compile * environment, line 2038: Called cmake-utils_src_make * environment, line 1692: 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.4.5', * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.4.5'. * The complete build log is located at '/var/tmp/portage/kde-base/pykde4-4.4.5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.4.5/temp/environment'. * S: '/var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5' Expected Results: To work, of course. Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Tue, 13 Jul 2010 11:45:01 +0000 ccache version 2.4 [enabled] 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/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" 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://rsync21.us.gentoo.org/gentoo-portage" USE="X acl alsa assistant berkdb bzip2 cdda cleartype cli clucene consolekit cracklib crypt cups curl cxx dbus dri embedded extensions extras flac fortran fts3 gdbm google-gadgets gpg gpm hal iconv ipv6 jabber java jingle jpeg kde ldap mng modules mp3 mp4 msn mtp mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oscar otr pam pcre pdf perl plasma plugins-symlink png pppd python qt3support qt4 readline reflection rss rtsp sctp sdk semantic-desktop session skype smartcard smp sms soundex spl sql sqlite3 ssl startup-notification svg sysfs syslog tcpd threads thunar tiff udev unicode unlock-notify upnp vboxwebsrv vcdx vorbis webinterface webkit win32codecs wireshark wxwidgets x264 x86 xfce xinerama xorg yahoo 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon radeonhd" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 238627 [details] Build log.
Created attachment 238629 [details] environment file
The actual error: In file included from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/akonadi/attribute.sip:67, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:8: /usr/include/akonadi/kmime/addressattribute.h: In member function 'Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)': /usr/include/akonadi/kmime/addressattribute.h:43: error: non-static const member 'Akonadi::AddressAttribute::Private* const Akonadi::AddressAttribute::d', can't use default assignment operator
I can confirm this bug after updating to dev-python/sip-4.10.3. after this kde-base/pykde4-4.4.5 fail to compile with same error as comment #3. I try recompiling akonadi after the sip update too then try again compiling pykde4 to no avail.
emerge --info =kde-base/pykde4-4.4.5 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32-gentoo-r6jms-3.9 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r6jms-3.9-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Tue, 13 Jul 2010 20:45:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r2, 3.1.2-r3 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" 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/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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/portage/distfiles" FEATURES="assume-digests autoaddcvs ccache collision-protect dislocks distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en es fr en" PKGDIR="/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="/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm autoipd avahi bash-completion berkdb branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus dga directfb dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp glitz gphoto2 gpm gstreamer gtk gzip hal hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kontact lame laptop lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska mdnsresponder-compat memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pango pcmcia pcre pdf perl phonon php plasma png ppds pppd projectm pulseaudio python qt3support qt4 quicktime raw readline reflection scanner sdl semantic-desktop session smp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd theora thumbnail tidy tiff truetype unicode usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi x x264 xattr xcb xcomposite xine xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en es fr en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= kde-base/pykde4-4.4.5 was built with the following: USE="(multilib) semantic-desktop (-aqua) -debug -doc -examples (-kdeenablefinal) (-kdeprefix)"
Created attachment 238641 [details] build log pykde4-4.4.5
Created attachment 238643 [details] ebuild environment for pykde4-4.4.5
I believe this bug is somewhat related to dev-python/sip-4.10.3 as it appeared after the update to dev-python/sip-4.10.3. If other can confirm -> I suggest to add dev-python/sip-4.10.3 to the bug "Summary" to read something similar to : pykde4-4.4.5 fails to build after update to dev-python/sip-4.10.3
note:remerging sip PyQt4 qscintilla-python plasma-workspace akonadi do not help no love bettwen sip, pykede4 and akonadi-> quick look to build error: Scanning dependencies of target python_module_PyKDE4_akonadi [ 2%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart0.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:32, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipakonadipart0.cpp:7: /usr/include/python2.6/pyconfig.h:1076:1: warning: "_XOPEN_SOURCE" redefined <command-line>: warning: this is the location of the previous definition /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip: In function ‘PyObject* convertFrom_QSet_0100QByteArray(void*, PyObject*)’: /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/kdecore/typedefs.sip:609: warning: suggest explicit braces to avoid ambiguous ‘else’ [ 2%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:32, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipakonadipart1.cpp:7: /usr/include/python2.6/pyconfig.h:1076:1: warning: "_XOPEN_SOURCE" redefined <command-line>: warning: this is the location of the previous definition [ 3%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:32, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipAPIakonadi.h:11, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:7: /usr/include/python2.6/pyconfig.h:1076:1: warning: "_XOPEN_SOURCE" redefined <command-line>: warning: this is the location of the previous definition In file included from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5/python/pykde4/sip/akonadi/attribute.sip:67, from /var/tmp/portage/kde-base/pykde4-4.4.5/work/pykde4-4.4.5_build/python/pykde4/sip/akonadi/sipakonadipart2.cpp:8: /usr/include/akonadi/kmime/addressattribute.h: In member function ‘Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)’: /usr/include/akonadi/kmime/addressattribute.h:43: error: non-static const member ‘Akonadi::AddressAttribute::Private* const Akonadi::AddressAttribute::d’, can't use default assignment operator sipakonadipart2.cpp: In function ‘void assign_Akonadi_AddressAttribute(void*, Py_ssize_t, const void*)’: sipakonadipart2.cpp:6922: note: synthesized method ‘Akonadi::AddressAttribute& Akonadi::AddressAttribute::operator=(const Akonadi::AddressAttribute&)’ first required here sipakonadipart2.cpp: In constructor ‘sipAkonadi_ItemView::sipAkonadi_ItemView(KXmlGuiWindow*, QWidget*)’: sipakonadipart2.cpp:7594: warning: ‘Akonadi::ItemView::ItemView(KXmlGuiWindow*, QWidget*)’ is deprecated (declared at /usr/include/akonadi/itemview.h:80) sipakonadipart2.cpp: In function ‘PyObject* meth_Akonadi_ItemView_setXmlGuiWindow(PyObject*, PyObject*)’: sipakonadipart2.cpp:12479: warning: ‘void Akonadi::ItemView::setXmlGuiWindow(KXmlGuiWindow*)’ is deprecated (declared at /usr/include/akonadi/itemview.h:104) make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart2.o] Error 1 make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/pykde4-4.4.5 failed: * Make failed!
I can confirm that this regression only appeared for me after upgrading to sip-4.10.3, and PyQt4-4.7.4
(In reply to comment #10) > I can confirm that this regression only appeared for me after upgrading to > sip-4.10.3, and PyQt4-4.7.4 > And, I can now confirm that downgrading to sip-4.10.2 and PyQt4-4.7.3 does allow pykde4-4.4.5 to build once again.
(In reply to comment #10) > I can confirm that this regression only appeared for me after upgrading to > sip-4.10.3, and PyQt4-4.7.4 I can confirm that it occurres after updating dev-python/sip-4.10.3 and and dev-python/PyQt4-4.7.4 After this emerge the package advised me to re-emerge dependant packages (which I queried by running "equery d sip;equery d PyQt4") So kde-base/pykde4-4.4.5 was already on my system (since 5. July 2010) but today fails to emerge again.
suggest to the reporter ->Chuck Wegrzyn (or any dev out there)to: -change the component part of this bug from application to kde. -assign this bug to :Gentoo KDE team <kde@gentoo.org> -add regression in Keywords note:running python-updater doesn't change anything
Got all the changes suggested except assignment to kde@gentoo.org.
sam problem here Reproducible: Always added >=dev-python/PyQt4-4.7.4 and >=dev-python/sip-4.10.3 to package.mask, downgraded and emerged pykde4-4.4.5 just fine
This seems to be fixed upstream very recently, see https://bugs.kde.org/244697
Created attachment 238975 [details, diff] patch from kde upstream thanks Albert here is the patch from kde
(In reply to comment #17) > Created an attachment (id=238975) [details] > patch from kde upstream > > thanks Albert here is the patch from kde > The patch works for 4.4.5, and applies to 4.4.92. I have added it to the applicable ebuilds in kde overlay, so marking this bug with keyword inOverlay.
*** Bug 328615 has been marked as a duplicate of this bug. ***
(In reply to comment #19) > *** Bug 328615 has been marked as a duplicate of this bug. *** > I wasn't sure this was my issue, so apparently it is. Unfortunately, I also have to downgrade dev-python/PyQt4 from 4.7.4 to 4.7.3 in order to downgrade sip and proceed forward.
Fails also with dev-python/sip-4.10.5 (and dev-python/PyQt4-4.7.4).
(In reply to comment #18) > The patch works for 4.4.5, and applies to 4.4.92. I have added it to the > applicable ebuilds in kde overlay, so marking this bug with keyword inOverlay. the fix for pykde4-4.4.5 was in the overlay but got removed with the comment "Remove, it's in tree". Unfortuntely the version in tree does not apply the patch :( Can you please readd it...
(In reply to comment #22) > the fix for pykde4-4.4.5 was in the overlay but got removed with the comment > "Remove, it's in tree". Unfortuntely the version in tree does not apply the > patch :( Can you please readd it... > This fix is once again in overlay
Fixed. Thx everyone.
After the downgrade to kde-4.4.5 from 4.5.1 I've got the same bug: pykde4-4.4.5 fails to compile with sip >= 4.10.3 and PyQt4 >= 4.7.3 even with this patch. Actual sip is 4.11 and PyQt4-4.7.5