/bin/sh ../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkorganizer_calendar.la -rpath /usr/kde/3.5/lib64 -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0 stdcalendar.lo -lkparts ../libkdepim/libkdepim.la ../libkcal/libkcal.la /bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./interfaces -I../libemailfunctions -I../libkpimidentities -I../libkholidays -I../mimelib -I../certmanager/lib -I../korganizer/printing -I.. -I.. -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -D_LARGE_FILES=1 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o libkorganizer_la.all_cpp.lo libkorganizer_la.all_cpp.cpp /bin/sh ../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=nocona -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libkorganizer_eventviewer.la -rpath /usr/kde/3.5/lib64 -L/usr/kde/3.5/lib64 -L/usr/qt/3/lib64 -L/usr/lib64 -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0 libkorganizer_eventviewer_la.all_cpp.lo -lkparts ../libkcal/libkcal.la koagendaview.cpp: In member function ‘void KOAgendaView::updateEventDates(KOAgendaItem*)’: koagendaview.cpp:1028: warning: unused variable ‘recur’ calendarview.cpp: In member function ‘bool CalendarView::openCalendar(const QString&, bool)’: calendarview.cpp:393: warning: unused variable ‘cr’ kotodoviewitem.cpp: In member function ‘bool KOTodoViewItem::isAlternate()’: kotodoviewitem.cpp:212: warning: suggest parentheses around assignment used as truth value koprefs.cpp: In member function ‘QColor* KOPrefs::resourceColor(const QString&)’: koprefs.cpp:304: warning: converting to ‘int’ from ‘double’ actionmanager.cpp: In member function ‘void ActionManager::file_open(const KURL&)’: actionmanager.cpp:722: warning: ‘setActiveWindow’ is deprecated (declared at /usr/kde/3.5/include/kwin.h:113) ../kdgantt/KDGanttViewTaskItem.h: In member function ‘virtual void KOrg::TimelineSubItem::showItem(bool, int)’: ../kdgantt/KDGanttViewTaskItem.h:64: error: ‘virtual void KDGanttViewTaskItem::showItem(bool, int)’ is private timelineitem.cpp:116: error: within this context ../kdgantt/KDGanttView.h:456: error: ‘KDTimeHeaderWidget* KDGanttView::myTimeHeader’ is private timelineitem.cpp:122: error: within this context ../kdgantt/KDGanttView.h:456: error: ‘KDTimeHeaderWidget* KDGanttView::myTimeHeader’ is private timelineitem.cpp:123: error: within this context ../kdgantt/KDGanttView.h:457: error: ‘KDTimeTableWidget* KDGanttView::myTimeTable’ is private timelineitem.cpp:128: error: within this context ../kdgantt/KDGanttView.h:457: error: ‘KDTimeTableWidget* KDGanttView::myTimeTable’ is private timelineitem.cpp:140: error: within this context koattendeeeditor.cpp: In member function ‘virtual bool KOAttendeeEditor::eventFilter(QObject*, QEvent*)’: koattendeeeditor.cpp:438: error: expected unqualified-id before numeric constant koattendeeeditor.cpp:438: error: expected `)' before numeric constant make[3]: *** [libkorganizer_la.all_cpp.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/kde-base/korganizer-3.5.9/work/korganizer-3.5.9/korganizer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/korganizer-3.5.9/work/korganizer-3.5.9/korganizer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/korganizer-3.5.9/work/korganizer-3.5.9' make: *** [all] Error 2 * * ERROR: kde-base/korganizer-3.5.9 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4374: Called kde-meta_src_compile * environment, line 2927: Called kde_src_compile * environment, line 3092: Called kde_src_compile 'src_compile' * environment, line 3213: Called kde_src_compile 'src_compile' 'all' 'myconf' * environment, line 3209: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * 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/kde-base/korganizer-3.5.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/korganizer-3.5.9/temp/environment'. emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 x86_64) ================================================================= System uname: 2.6.24-gentoo-r2 x86_64 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz Timestamp of tree: Thu, 21 Feb 2008 19:00:01 +0000 app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -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/share/config" CONFIG_PROTECT_MASK="/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/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.physics.auth.gr/pub/mirrors/gentoo/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mirror.bih.net.ba/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ " MAKEOPTS="-j5" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 artswrappersuid asf bash-completion berkdb bitmap-fonts bluetooth branding bzip2 bzlib cairo caps charconv chm cli cracklib crypt css ctype cups curl dba dbus device-mapper dmi dri dts dvd dvdr dvdread effects encode exif expat fat fbcon ffmpeg flac flatfile foomaticdb ftp gcj gd gdbm gif gimp gimpprint glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hal hddtemp howl iconv icu imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lcms libsamplerate libwww lm_sensors maildir mailwrapper mhash midi mime mmx mmxext motif mozbranding mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mudflap multiuser mysql mysqli ncurses newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly nsplugin ntfs nvidia objc odbc offensive ogg opengl openmp pam pcmcia pcntl pcre pdf pear perl php pic pmu png posix pppd python qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs ruby sambai sasl scanner server session sharedext simplexml slang smp sndfile soap sockets speex spl spreadsheet sqlite sqlite3 srt sse sse2 ssl ssse3 subtitles subversion svg symlink syslog tcltk tcpd tetex threads tidy tiff tokenizer tordns truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vda vnc vncviewer wmf wv wxgtk1 x264 xfs xine xml xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xvid xvmc xvnc 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" INPUT_DEVICES="keyboard mouse evdev" 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, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
"kdeenablefinal - EXPERIMENTAL: KDE ebuilds will use the enable-final flag, yielding compilation speedups at the cost of heavy mem usage and potentially causing problems. We strongly discourage setting this" We'll fix this properly but please get rid of the "kdeenablefinal" USE flag. It's pretty much useless anyway.
(In reply to comment #1) > "kdeenablefinal - EXPERIMENTAL: KDE ebuilds will use the enable-final flag, > yielding compilation speedups at the cost of heavy mem usage and potentially > causing problems. We strongly discourage setting this" > > We'll fix this properly but please get rid of the "kdeenablefinal" USE flag. > It's pretty much useless anyway. Disabling it for korganizer and yes, it emerges. Byt why disable kdeenablefinal? It's supposed to speed up compilation times, right?
(In reply to comment #2) > Disabling it for korganizer and yes, it emerges. Yes, upstream broke it. > Byt why disable kdeenablefinal? It's supposed to speed up compilation times, > right? Yes, it's *supposed* to but I've yet to see it do much good with respect to compilation speed. It *eats* RAM and if you're unlucky, swapping that might occur will make compilation take even *longer*. Furthermore, the code must be suitable for that and, as you experienced, it isn't always.
(In reply to comment #3) > > Byt why disable kdeenablefinal? It's supposed to speed up compilation times, > > right? > > Yes, it's *supposed* to but I've yet to see it do much good with respect to > compilation speed. It *eats* RAM and if you're unlucky, swapping that might > occur will make compilation take even *longer*. Well, all my KDE 3.5.9 packages compiled fine with this USE flag enabled, except for korganizer. However, I cannot say I am low on RAM, it's been a week since my upgrade to a new system with 4GB of RAM, so I'll probably leave it enabled for now. Thanks for your input. > Furthermore, the code must be suitable for that and, as you experienced, it > isn't always. Right. What about kdehiddenvisibility? I also have this enabled, should I disable it?
Where USE="kdeenablefinal" helps over the compilation speed has got to do with some of the linking inefficiencies of GCC. Since larger blocks of code is handled by the compiler, it can do better inter-procedural optimizations since it knows more about how the functions are called, etc... The benefit is more of a size benefit (several KB smaller executables), the supposed execution speed benefit is practically unmeasurable.
Thanks for your input Nickolas. Since smaller compilation times is by itself a benefit, I will have this flag enabled. When (if) a KDE package build fails, I will disable it and see if it still fails.
It fails for me and I do *NOT* use kdeenablefinal flag.
(In reply to comment #7) > It fails for me and I do *NOT* use kdeenablefinal flag. > Ahhh, sorry - kdeenablefinal flag is enabled but I'm pretty sure I didn't enable it... I'm going to try it without this flag.
Yup, it's ok.
Upstream bug 158244.
*** Bug 211235 has been marked as a duplicate of this bug. ***
*** Bug 211346 has been marked as a duplicate of this bug. ***
Finally fixed in CVS. Thanks for the report.