kcalc fails with both the stable (4.7.3) and the masked (4.7.4) versions and this breaks the whole KDE upgrade process. I'm going to set this as Major. Reproducible: Always Steps to Reproduce: 1. emerge kde-base/kcalc Actual Results: [ 65%] Built target doc-handbook [ 70%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/kcalc_const_button.o [ 75%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/kcalc_const_menu.o [ 80%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/kcalc_core.o [ 85%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/kcalcdisplay.o [ 90%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/stats.o [ 95%] Building CXX object kcalc/CMakeFiles/kdeinit_kcalc.dir/kcalc_settings.o Linking CXX shared library ../lib/libkdeinit4_kcalc.so /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. collect2: ld returned 1 exit status make[2]: *** [lib/libkdeinit4_kcalc.so] Error 1 make[1]: *** [kcalc/CMakeFiles/kdeinit_kcalc.dir/all] Error 2 make: *** [all] Error 2 * ERROR: kde-base/kcalc-4.7.3 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =kde-base/kcalc-4.7.3', * the complete build log and the output of 'emerge -pqv =kde-base/kcalc-4.7.3'. * The complete build log is located at '/var/log/portage/kde-base:kcalc-4.7.3:20120110-081852.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kcalc-4.7.3/temp/environment'. * S: '/var/tmp/portage/kde-base/kcalc-4.7.3/work/kcalc-4.7.3' Expected Results: Successful compile emerge --info Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.39-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.3 Timestamp of tree: Mon, 09 Jan 2012 06:30:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.5-r2, 2.7.2-r3, 3.1.4-r3, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.2.4-r1, 4.3.4, 4.4.5, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 sys-libs/glibc: 2.13-r4 virtual/os-headers: 0 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FFLAGS="" GENTOO_MIRRORS="http://gentoo.gg3.net/ ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.channelx.biz/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://ftp.iij.ad.jp/pub/linux/gentoo/ ftp://ftp.iij.ad.jp/pub/linux/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/mozilla /var/lib/layman/zugaina /var/lib/layman/alice /var/lib/layman/poly-c /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acl alsa avahi avi berkdb bitmap-fonts bzip2 cdrom cjk cli cracklib crypt cups cxx dbus directfb divx divx4linux dri dvd dvdr dvdread fbcon ffmpeg fortran freetype gdbm gif gimpprint gphoto2 gpm gtk hal iconv imlib immqt-bc ipod ipv6 jabber java jpeg kakasi kde mmx mmx2 mmxext mng modules mp3 mpeg mpeg4 msn mudflap mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf png pppd qt qt3 qt3support qt4 quicktime readline samba sdl semantic-desktop session sse sse2 ssl svg sysfs tcpd thumbnail tiff truetype unicode win32codecs x86 xanim xcomposite xorg xulrunner xvid zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m usb-audio" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 298469 [details] emerge log
Re-run without ccache please.
Created attachment 298471 [details] The same. Here is the log without ccache. The same. Here is the log without ccache.
Probably its the gcc4.4, try to upgrade to 4.5 and give feedback.
Created attachment 298473 [details] Not sure if this works unless I recompile the whole system but changing gcc to 4.5 still won't work.
> Found GMP: /usr/local/include Remove your replacement, use the portage version and try again.
Created attachment 298481 [details] Still the same Updated dev-libs/gmp to 5.0.2_p1. Previous gmp.h was the one comes with the KDETelepathy but now is removed.
Solved. It was because not only the gmp.h in /usr/local/include but also the libgmp.* files /usr/local/lib . I removed them all completely. Since it didn't say anything about them in the logs, they affected the emerge. Not it compiled like a charm. Thanks for the help. This was the fastest response I got here.
Changing resolution. By installing software manually on your system you risk to break it.