Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63908 - kdevelop 3.0.4 fails to build
Summary: kdevelop 3.0.4 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 65704 74974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-13 10:10 UTC by Antonio
Modified: 2004-12-21 09:52 UTC (History)
4 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 Antonio 2004-09-13 10:10:38 UTC
I have upgrade my kde from kde-3.2.3 to kde-3.3.0 and i have remove kde-3.2.3.
I have recompile some packages depend to kde-3.2.3 and ok
But kdevelop-3.0.4 does not compile:

n-xp -O3 -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 plugincontroller.o plugincontroller.cpp
mainwindow.cpp:209:2: warning: #warning this crashes in ideal mode, looks like there are dangling pointers on opening another project
mainwindow.cpp: In constructor `MainWindow::MainWindow(QWidget*, const char*)':
mainwindow.cpp:250: warning: `setIDEAlModeStyle' is deprecated (declared at 
   /usr/kde/3.3/include/kmdimainfrm.h:544)
mainwindow.cpp: In member function `void MainWindow::createStatusBar()':
mainwindow.cpp:349: error: parse error before `(' token
mainwindow.cpp: In member function `virtual void 
   MainWindow::embedSelectView(QWidget*, const QString&, const QString&)':
mainwindow.cpp:510: warning: unused variable `KMdiToolViewAccessor*tmp'
mainwindow.cpp: In member function `virtual void 
   MainWindow::embedSelectViewRight(QWidget*, const QString&, const QString&)':
mainwindow.cpp:542: warning: unused variable `KMdiToolViewAccessor*tmp'
mainwindow.cpp: In member function `virtual void 
   MainWindow::embedOutputView(QWidget*, const QString&, const QString&)':
mainwindow.cpp:558: warning: unused variable `KMdiToolViewAccessor*tmp'
mainwindow.cpp: In member function `virtual void 
   MainWindow::raiseView(QWidget*)':
mainwindow.cpp:647: warning: unused variable `QPtrList<QWidget>*pViews'
make[3]: *** [mainwindow.o] Error 1
make[3]: *** Waiting for unfinished jobs....
projectmanager.cpp: In member function `bool ProjectManager::loadProject(const 
   KURL&)':
projectmanager.cpp:258: warning: `isMalformed' is deprecated (declared at 
   /usr/kde/3.3/include/kurl.h:530)
projectmanager.cpp: In member function `bool ProjectManager::loadProjectFile()
   ':
projectmanager.cpp:382: warning: `download' is deprecated (declared at 
   /usr/kde/3.3/include/kio/netaccess.h:115)
projectmanager.cpp: In member function `bool ProjectManager::saveProjectFile()
   ':
projectmanager.cpp:448: warning: `upload' is deprecated (declared at 
   /usr/kde/3.3/include/kio/netaccess.h:153)
projectmanager.cpp: In member function `bool 
   ProjectManager::loadKDevelop2Project(const KURL&)':
projectmanager.cpp:721: warning: `isMalformed' is deprecated (declared at 
   /usr/kde/3.3/include/kurl.h:530)
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.4/work/kdevelop-3.0.4'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.0.4 failed.
!!! Function kde_src_compile, Line 135, Exitcode 2
!!! died running emake, kde_src_compile:make

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pierre-Henri Jondot 2004-09-14 03:55:46 UTC
Exactly the same error for me, on a freshly built gentoo box. Same arch (athlon-xp) and flags -O3 -fomit-frame-pointer -pipe btw.
Comment 2 Cristian 2004-09-14 11:33:33 UTC
The same problem here. I updated to kde 3.3, removed kde 3.2.2. Then updated kdevelop to 3.0.4 and i got exactly the same error.
Comment 3 Stefan Vunckx 2004-09-15 05:14:33 UTC
Same thing, freshly new gentoo build. 

emerge info
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-ck6)
=================================================================
System uname: 2.6.8-ck6 i686 Intel(R) Pentium(R) III Mobile CPU      1066MHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/wireless"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa arts avi berkdb bitmap-fonts crypt cups doc dvd encode esd ethereal fbcon foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java joystick jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sqlite ssl svga tcpd truetype usb x86 xinerama xml xml2 xmms xprint xv zlib"


/etc/portage/package.use:
dev-util/kdevelop -python
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-09-15 08:27:06 UTC
There's a namespace problem I can't quite understand, however this seems to 
fix the issue:

--- kdevelop-3.0.4-orig/src/mainwindow.cpp      2004-02-28 10:57:02.000000000 +0100
+++ kdevelop-3.0.4/src/mainwindow.cpp   2004-09-15 17:24:56.318037912 +0200
@@ -346,7 +346,7 @@

 void MainWindow::createStatusBar()
 {
-  (void) new StatusBar(this);
+  (void) new ::StatusBar(this);
 }
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2004-09-15 08:27:55 UTC
... or just push 3.1.0 to stable, which is meant to go with kde-3.3
Comment 6 Brian M. Workman 2004-09-21 20:28:03 UTC
i hope there's a patch or a new ebuild, soon. this is really slowing down a project i had planned.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-09-23 19:06:59 UTC
3.1.0 is now x86 stable.
Comment 8 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-21 09:44:31 UTC
*** Bug 65704 has been marked as a duplicate of this bug. ***
Comment 9 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-21 09:52:46 UTC
*** Bug 74974 has been marked as a duplicate of this bug. ***