Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68247 - kde-base/kdelibs-3.3.1 fail to compile
Summary: kde-base/kdelibs-3.3.1 fail to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
: 68249 (view as bug list)
Depends on:
Reported: 2004-10-20 02:06 UTC by Roman Dilken
Modified: 2004-10-20 08:47 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Roman Dilken 2004-10-20 02:06:42 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                                 / on 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

Actual Results:  

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.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-
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
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"
FEATURES="autoaddcvs ccache distcc distlocks maketest noclean sandbox"
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 Roman Dilken 2004-10-20 02:43:38 UTC
*** Bug 68249 has been marked as a duplicate of this bug. ***
Comment 2 Roman Dilken 2004-10-20 03:40:23 UTC
------- 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/ on 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 3 Roman Dilken 2004-10-20 05:00:09 UTC
I've disabled both ccache and distccd but this doesn't solve the problem.
Comment 4 Simone Gotti (RETIRED) gentoo-dev 2004-10-20 07:00:27 UTC
glibc- 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?
Comment 5 Roman Dilken 2004-10-20 08:05:32 UTC
Yes I did. This didn't change the behaviour.
Comment 6 Simone Gotti (RETIRED) gentoo-dev 2004-10-20 08:14:55 UTC
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.
Comment 7 Roman Dilken 2004-10-20 08:25:21 UTC
This solved my problem. The only thing which failed was the test.
Comment 8 Roman Dilken 2004-10-20 08:46:34 UTC
Reopend to add a comment for upstream reporting.
Comment 9 Roman Dilken 2004-10-20 08:47:09 UTC
bug will be reported to kde