Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114860 - kmail-3.5.2-r1 doesn't compile while using kdeenablefinal
Summary: kmail-3.5.2-r1 doesn't compile while using kdeenablefinal
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 146537 149032 158717 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-08 04:41 UTC by Piotr Jaroszyński (RETIRED)
Modified: 2010-12-19 09:21 UTC (History)
7 users (show)

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


Attachments
emerge info (abc,2.62 KB, application/octet-stream)
2005-12-08 04:43 UTC, Piotr Jaroszyński (RETIRED)
Details
emerge info (emerge_info.txt,2.62 KB, text/plain)
2005-12-08 04:45 UTC, Piotr Jaroszyński (RETIRED)
Details
emerge info (file,2.63 KB, text/plain)
2005-12-08 05:03 UTC, Stefan Schweizer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Jaroszyński (RETIRED) gentoo-dev 2005-12-08 04:41:32 UTC
Compilation freezes[there is high cpu and mem use, but it doesn't go any
further] at this step:

/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork 
-I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve 
-I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I.. 
-I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include 
-I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe 
-fomit-frame-pointer -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 libkmailprivate_la.all_cpp.lo `test -f 
'libkmailprivate_la.all_cpp.cpp' || echo './'`libkmailprivate_la.all_cpp.cpp

Reproducible: Always
Steps to Reproduce:
1.USE=kdeenablefinal emerge kmail

Actual Results:  
Freeze.

Expected Results:  
kmail should be compiled.
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2005-12-08 04:43:56 UTC
Created attachment 74293 [details]
emerge info
Comment 2 Piotr Jaroszyński (RETIRED) gentoo-dev 2005-12-08 04:45:51 UTC
Created attachment 74294 [details]
emerge info
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2005-12-08 05:03:03 UTC
Created attachment 74295 [details]
emerge info

I can reproduce this: emerge info
Comment 4 Piotr Jaroszyński (RETIRED) gentoo-dev 2005-12-11 03:38:25 UTC
kmail-3.5.0-r3 solved that for me. Changing status to fixed.
Comment 5 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-04-23 08:05:23 UTC
3.5.2-r1 has the same bug.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2006-05-14 10:58:02 UTC
Actually I have experienced the same problem. It happens when I get to:

kmedit.cpp: At global scope:
kmedit.cpp:511: warning: unused parameter 'proc'

Compilation does go further, but it takes incredibly long and system performance is extremely poor due to thrashing. I have 1GB of RAM and when I get to this point it is all filled up and 1GB of swap is used. Compilation does eventually finish.

My emerge info (while emerging kmail):
Portage 2.1_rc1-r1 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16.14 x86_64)
=================================================================
System uname: 2.6.16.14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre19
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2 -ggdb1"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ "
LC_ALL="nl_NL@euro.UTF-8"
LINGUAS="nl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acpi aim alsa apache2 apm artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdr cjk cli crypt cups dga directfb divx4linux dri dvd dvdr eds emboss encode fbcon firefox foomaticdb fortran freewnn ftp gif ginac gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardened icq ieee1394 imlib ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal libcaca libwww lzw lzw-tiff mad mozilla mp3 mpeg mplayer msn mule ncurses nls nptl nptlonly offensive ogg opengl oscar pam pcre pdflib perl php png pppd python qt quicktime readline reflection sasl sdl session speex spell spl ssl svg tcpd theora tidy tiff truetype-fonts type1-fonts unicode usb v4l vcd videos vorbis wmf xine xmms xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_nl linguas_en userland_GNU video_cards_ati video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 7 Harm Geerts 2006-08-02 17:06:18 UTC
I just experienced the same with kmail-3.5.4
The following command consumes all available memory (from a total of 1GB ram + 512MB swap) and cpu over a period of 5 min.
At that point I grow impatient and the compile is killed by me as it is dragging the system down to an unbearable slow state.

/bin/sh ../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libkmime -I../libkpgp -I../libkdenetwork -I../libkdepim -I../libkpimidentities -I../libemailfunctions -I../libksieve -I../mimelib -I../certmanager/lib -I../certmanager/lib/ui -I../indexlib -I.. -I/usr/include/gpgme -I../libkdepim -I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athlon64 -mtune=athlon64 -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 libkmailpart_la.all_cpp.lo libkmailpart_la.all_cpp.cpp

$ emerge --info
Portage 2.1.1_pre4-r1 (default-linux/amd64/2005.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi bash-completion berkdb bitmap-fonts bzip2 cjk cli crypt dlloader dvdr dvdread eds emboss flac foomaticdb fortran gif gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg kde kdeenablefinal kdehiddenvisibility lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png pppd python qt qt3 qt4 quicktime readline reflection sdl session spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vorbis xcomposite xml xml2 xorg xpm xv zlib elibc_glibc input_devices_evdev input_devices_keyboard kernel_linux linguas_en linguas_nl userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Michael Weyershäuser 2006-08-24 01:10:59 UTC
*bump* 
I ran into this when I first tested kmail months ago, forgot about it, then again ran into this as I had to reinstall Gentoo... Can we please drop kdeenablefinal from kmail as it uses an unreasonable ammount of memory during compilation when enabled?
Comment 9 Robert Voinea 2006-09-06 05:09:20 UTC
*** Bug 146537 has been marked as a duplicate of this bug. ***
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-09-06 05:17:11 UTC
kdeenablefinal - Makes kde ebuilds use the enable-final flag, yielding big compilation speedups at the cost of very heavy mem usage

Re-read: "at the cost of very heavy mem usage"
Re-read: "very heavy mem usage"

If KMail requires about 3GiB of RAM it's not our fault, tell that to GCC or KDE upstreams, and don't use kdeenablefinal if you don't want to use such a great quantity of RAM.
Comment 11 Jan Kundrát (RETIRED) gentoo-dev 2006-09-27 06:55:58 UTC
*** Bug 149032 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-12-21 06:32:38 UTC
*** Bug 158717 has been marked as a duplicate of this bug. ***