After fixing the python bug listed under bug reports 35447, 35440, and 35439 - (change the order of the inherit line in the ebuild from "kde distutils" to "distutils kde" - just as Carlo had indicated), the package fails compilation using gcc version 3.2.3-r3, and kde 3.1.4: g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib -I../lib/qextmdi -I../lib/structure -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -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 main.o `test -f 'main.cpp' || echo './'`main.cpp /usr/qt/3/bin/moc ./mainwindow.h -o mainwindow.moc g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib -I../lib/qextmdi -I../lib/structure -I/usr/kde/3.1/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -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 mainwindow.o `test -f 'mainwindow.cpp' || echo './'`mainwindow.cpp mainwindow.cpp:208:2: warning: #warning this crashes in ideal mode, looks like there are dangling pointers on opening another project mainwindow.cpp: In member function `virtual void MainWindow::embedSelectView(QWidget*, const QString&, const QString&)': mainwindow.cpp:488: warning: unused variable `KMdiToolViewAccessor*tmp' mainwindow.cpp: In member function `virtual void MainWindow::embedSelectViewRight(QWidget*, const QString&, const QString&)': mainwindow.cpp:520: warning: unused variable `KMdiToolViewAccessor*tmp' mainwindow.cpp: In member function `virtual void MainWindow::embedOutputView(QWidget*, const QString&, const QString&)': mainwindow.cpp:536: warning: unused variable `KMdiToolViewAccessor*tmp' mainwindow.cpp: In member function `virtual void MainWindow::removeView(QWidget*)': mainwindow.cpp:605: `deleteToolWindow' undeclared (first use this function) mainwindow.cpp:605: (Each undeclared identifier is reported only once for each function it appears in.) make[3]: *** [mainwindow.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_beta2/work/kdevelop-3.0.0b2/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_beta2/work/kdevelop-3.0.0b2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_beta2/work/kdevelop-3.0.0b2' make: *** [all] Error 2 !!! ERROR: dev-util/kdevelop-3.0.0_beta2 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make
The same happens on my machine using gcc-3.3.2-r2.
I have this error too with: Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test11-gentoo-r2) ================================================================= System uname: 2.6.0-test11-gentoo-r2 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.4.3.12 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /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/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://212.219.247.20/sites/www.ibiblio.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" 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 X aalib acpi acpi4linux afs alsa apache2 arts artswrappersuid avi berkdb cdr crypt cups dedicated dga directfb dvd encode ethereal evms2 ext-png ext-zlib fbcon firebird flash freetype gd gd-external gdbm gif gpm gtk hostap-nopci imlib innodb java jikes joystick jpeg kde libg++ libwww mad maildir md5sum mikmod mmx mng motif mpeg mysql ncurses nls nocardbus odbc oggvorbis opengl oss pam pdflib perl php pic png postgres ppds prelude python qt quicktime readline sasl sdl slang speedo spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype type1 usb vim-with-x wmf x86 xfs xml2 xmms xv xvid zlib"
I grepped the kdevelop source and through /usr/include, and found no reference to the deleteToolWindow function that is missing. A little googling found this: http://news.uslinuxtraining.com/article.php?group=kde.kde-cvs.kdevelop&post_nr=9 After reverting the second part of the patch it compiles fine.
That link doesn't give any useful information for me :-/
try http://216.239.59.104/search?q=cache:qPsYbGGnwIkJ:news.uslinuxtraining.com/article.php%3Fgroup%3Dkde.kde-cvs.kdevelop%26post_nr%3D9+deletetoolwindow&hl=en&ie=UTF-8
patch has been added - please test and see if it fixed the problem for you.
Latest patch - applied on 20031210 - fixes compile error.
*** Bug 35600 has been marked as a duplicate of this bug. ***