Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35450 - kdevelop-3.0.0_beta2/kdevelop-3.0.0b2 fails compilation.
Summary: kdevelop-3.0.0_beta2/kdevelop-3.0.0b2 fails compilation.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 35600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-09 07:48 UTC by Stonie R. Cooper
Modified: 2003-12-11 07:26 UTC (History)
5 users (show)

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 Stonie R. Cooper 2003-12-09 07:48:51 UTC
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
Comment 1 Felix Riemann 2003-12-09 10:26:28 UTC
The same happens on my machine using gcc-3.3.2-r2.
Comment 2 Sergi 2003-12-09 15:05:33 UTC
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"

Comment 3 Jon Wagoner 2003-12-09 19:44:34 UTC
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.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-12-10 02:53:28 UTC
That link doesn't give any useful information for me :-/
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-12-10 05:01:37 UTC
patch has been added - please test and see if it fixed the problem for you.
Comment 7 Stonie R. Cooper 2003-12-10 07:20:06 UTC
Latest patch - applied on 20031210 - fixes compile error.
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-12-11 06:30:05 UTC
*** Bug 35600 has been marked as a duplicate of this bug. ***