There is a source code error in kdevelop 2.1.5 which will result in a failed build when using gcc 3.3.2. The following patch should fix the problem. --- kdevelop/doctreeview.cpp.orig 2003-12-26 16:24:23.251630944 +0100 +++ kdevelop/doctreeview.cpp 2003-12-26 16:25:13.587978656 +0100 @@ -826,7 +826,7 @@ void changePathes(); virtual void refresh(); #if KDE_QTVER >= 3 - void DocTreeKDELibsFolder::appendBooks(QDir dir); + void appendBooks(QDir dir); #endif }; I've personally applied the patch at the top of the exisiting kdevelop-2.1.5-gentoo.diff file and it works for me. --- Mikael R Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.49-r15 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-gentoo) ================================================================= System uname: 2.6.0-gentoo x86_64 4 Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 oss 3dnow apm avi crypt encode foomaticdb gif gpm gtk2 jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime sdl slang spell sse truetype xml2 xmms xv zlib alsa gdbm berkdb readline arts tetex X tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl acpi cdr cups dvd dvdr emacs freetype multilib ppds radeon samba usb --cups --java --qt"
Created attachment 22791 [details, diff] I've added the previous patch as a file. Just the previous patch in a more managable format.
Created attachment 22794 [details, diff] New patch. Slipped a return type in the previous patch. This is the correct one.
This bug has been reported to the kdevelop bug database as: http://bugs.kde.org/show_bug.cgi?id=72785
Seems like the developers of kdevelop have abandoned kdevelop 2.1.5. The bug has been declared 'invalid' in kdevelop bug database due to kdevelop 2.1.5 is not supported any more. See http://bugs.kde.org/show_bug.cgi?id=72785 Seems like this needs to be applied by the ebuild if we wish to have kdevelop 2.1.5 on amd64.
*** Bug 32912 has been marked as a duplicate of this bug. ***
this patch has been added to the ebuild in portage.
I have just emerged this under x86. It seems to work.