When I try to emerge kdelibs-3.3.1, I get errors about ISOC++-Erros in kledtest.cpp. i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kio/k ssl -I../../kdefx -I../../kdecore -I../../kdeui -I../../dcop -I../../libltdl -I. ./../kdefx -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio /kfile -I../.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -a nsi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscript s -Wall -W -Wpointer-arith -Wwrite-strings -g3 -fno-inline -O2 -march=athlon-xp -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exception s -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_ST L -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o kledtest.o kledtest.cpp distcc[5845] ERROR: compile /var/tmp/portage/kdelibs-3.3.1/temp/fakehome/.ccache /kledtest.tmp.rdilken.llweb.de.5841.ii on 127.0.0.1/2 failed kledtest.cpp: In constructor `KLedTest::KLedTest(QWidget*)': kledtest.cpp:53: error: ISO C++ forbids cast to non-reference type used as lvalu e kledtest.cpp:55: error: ISO C++ forbids cast to non-reference type used as lvalu e kledtest.cpp: In function `int main(int, char**)': kledtest.cpp:137: warning: `__comp_ctor' is deprecated (declared at ../../kdecor e/kapplication.h:198) make[3]: *** [kledtest.o] Fehler 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kd eui/tests' make[2]: *** [check-am] Fehler 2 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kd eui/tests' make[1]: *** [check-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/kd eui' make: *** [check-recursive] Fehler 1 Reproducible: Always Steps to Reproduce: 1. emerge -u kdelibs 2. 3. Actual Results: fail Expected Results: emerge correctly Gentoo Base System version 1.5.3 Portage 2.0.51_rc10 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2400+ distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc distlocks maketest noclean sandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ http://gentoo.inode.at/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X X509 aalib acpi apm berkdb bindist bitmap-fonts bootsplash cdr cdrom chroot crypt cups dba debug dio directfb dmx f77 fbcon foomaticdb ftp gd gdbm ggi gif gimpprint gpm gtk2 icc icc-pgo idl imap imlib jabber java javascript jce jikes jpeg libcaca libwww live lzw-tiff mbox mmx mmx2 mng mozilla moznocompose moznoirc moznomail moznoxft mozplaintext mozsvg mp3 mpeg mysql ncurses nls nojoystick oav ooo-kde opengl oss pam perl php pie png posix ppds procmail pthreads python qt quicktime readline rtc samba sdl sftplogging skey slang sockets spell spl sqlite sse ssl svg svga sysvipc tcpd tetex tiff truetype unicode usb wmf x86 xml2 xmms xpm xprint xsl xv zlib"
*** Bug 68249 has been marked as a duplicate of this bug. ***
------- Additional Comment #1 From Simone Gotti 2004-10-20 02:40 PST ------- > distcc[5845] ERROR: compile /var/tmp/portage/kdelibs-3.3.1/temp/fakehome/.ccache/kledtest.tmp.rdilken.llweb.de.5841.ii on 127.0.0.1/2 failed Looks like a combined distcc/ccache problems. Do you have to same compiler on all the computers? you can try disabling distcc and ccache.
I've disabled both ccache and distccd but this doesn't solve the problem.
glibc-2.3.4.20041006 give some problem, like in bug #67166 But this look more a compilation error and not a linking one, so I don't think this is related. I've got gcc 3.4.2-r2 (maybe like you) and no problems. Are you sure you have deleted your /var/tmp/portage, before trying again?
Yes I did. This didn't change the behaviour.
Sorry, I haven't noticed that the error was coming from /kdeui/tests'. The probles is created only with the FEATURES=maketest enabled. You should disable it, you'll not lose anything. Please report also this upstream if it's not already reported.
This solved my problem. The only thing which failed was the test.
Reopend to add a comment for upstream reporting.
bug will be reported to kde