Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 65704

Summary: Kdevelop-3.0.4 Emerge fails
Product: Gentoo Linux Reporter: yogesh <yogesh_4u>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: major CC: amd64, cbarcley, centic, mathfox
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description yogesh 2004-09-28 10:39:58 UTC
When i was trying to emerge kdevelop under gentoo AMD64 it failed.

Following is the Err Message if that helps.

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib  -I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -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 main.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib  -I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -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 mainwindow.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib  -I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -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 core.o core.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib  -I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -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 partcontroller.o partcontroller.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....
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 142, Exitcode 2
!!! died running emake, kde_src_compile:make


Reproducible: Always
Steps to Reproduce:
1. emerge kdevelop
2. 
3.

Actual Results:  
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib 
-I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -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 main.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib 
-I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -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 mainwindow.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib 
-I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -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 core.o core.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/interfaces -I../lib/util -I../lib 
-I../lib/structure -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG
-DNO_DEBUG -O2 -O2 -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 partcontroller.o partcontroller.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....
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 142, Exitcode 2
!!! died running emake, kde_src_compile:make


Expected Results:  
it was an unmasked ebuild it should have installed without any problems
Comment 1 Calvin Barcley 2004-09-28 14:24:26 UTC
I have exactly the same error message under x86 (pentium3)
tried it twice with distcc enabled and twice with disabled.
my "emerge info" 

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -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="-O3 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.math.bme.hu http://gentoo.tiscali.nl/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts audiofile avi berkdb cross crypt cups dga dio divx4linux doc dvd fbcon foomaticdb gif icq imlib jpeg kde libwww mad mmx motif mpeg ncurses nls pam pcmcia pdflib perl png pnp python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd truetype trusted unicode usb x86 xml xml2 xmms xprint xv xvid zlib"
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-11-28 01:56:03 UTC
Can you try the latest version 3.1.1 and report if that works? You may need to use:
 KEYWORDS="~amd64" emerge kdevelop
to emerge it from unstable.
Comment 3 Peter `MathFox' Roozemaal 2004-12-13 04:25:11 UTC
The fix for kdevelop 3.0.4 is in bug #63908.

kdevelop 3.1.2 compiles and runs for me (there are some minor layout issues).
The bummer is that artsd causes totally unrelated processes to segfault.
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-21 09:44:31 UTC

*** This bug has been marked as a duplicate of 63908 ***