Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68249 - kde-base/kdelibs-3.3.1 fail to compile
Summary: kde-base/kdelibs-3.3.1 fail to compile
Status: RESOLVED DUPLICATE of bug 68247
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-20 02:09 UTC by Roman Dilken
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dilken 2004-10-20 02:09:17 UTC
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"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-10-20 02:40:50 UTC
> 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.
Comment 2 Roman Dilken 2004-10-20 02:43:38 UTC

*** This bug has been marked as a duplicate of 68247 ***