Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6627 - kdevelop fails to compile
Summary: kdevelop fails to compile
Status: RESOLVED DUPLICATE of bug 6199
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-17 01:39 UTC by Ilia Lobsanov
Modified: 2005-07-17 13:06 UTC (History)
2 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 Ilia Lobsanov 2002-08-17 01:39:57 UTC
I'm on Celeron Coppermine 550 i686. 
USE="-3dnow -gpm -opengl -xv oss sse" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=i686 -O3 -pipe" 
CXXFLAGS="-march=i686 -O3 -pipe" 
 
here's a transcript of the failed emerge: 
 
/usr/qt/3/bin/moc ./ctagsdialog_impl.h -o ctagsdialog_impl.moc.cpp 
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor 
-Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe 
-fno-exceptions -fno-check-new -ftemplate-depth-99  -c -o 
ctagsdialog_impl.moc.o `test -f ctagsdialog_impl.moc.cpp || echo 
'./'`ctagsdialog_impl.moc.cpp 
In file included from ctagsdialog_impl.moc.cpp:11: 
ctagsdialog_impl.h:20: ctagsdialog.h: No such file or directory 
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3/include -I/usr/qt/3/include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor 
-Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe 
-fno-exceptions -fno-check-new -ftemplate-depth-99  -c -o ctagsdialog_impl.o 
`test -f ctagsdialog_impl.cpp || echo './'`ctagsdialog_impl.cpp 
In file included from ctagsdialog_impl.moc.cpp:11: 
ctagsdialog_impl.h:23: parse error before `{' 
ctagsdialog_impl.h:33: parse error before `*' 
ctagsdialog_impl.h:34: destructors must be member functions 
ctagsdialog_impl.h:35: `tagType' was not declared in this scope 
ctagsdialog_impl.h:35: parse error before `)' 
ctagsdialog_impl.h:39: parse error before `public' 
ctagsdialog_impl.h:46: `tagType' was not declared in this scope 
ctagsdialog_impl.h:46: parse error before `,' 
ctagsdialog_impl.h:47: syntax error before `:' 
ctagsdialog_impl.moc.cpp:23: invalid use of undefined type `class 
searchTagsDialogImpl' 
ctagsdialog_impl.h:22: forward declaration of `class searchTagsDialogImpl' 
ctagsdialog_impl.moc.cpp:27: structure `searchTagsDialogImpl' not yet defined 
ctagsdialog_impl.moc.cpp:27: assignment (not initialization) in declaration 
ctagsdialog_impl.moc.cpp:32: invalid use of undefined type `class 
searchTagsDialogImpl' 
ctagsdialog_impl.h:22: forward declaration of `class searchTagsDialogImpl' 
ctagsdialog_impl.moc.cpp:40: invalid use of undefined type `class 
searchTagsDialogImpl' 
ctagsdialog_impl.h:22: forward declaration of `class searchTagsDialogImpl' 
ctagsdialog_impl.moc.cpp:51: invalid use of undefined type `class 
searchTagsDialogImpl' 
ctagsdialog_impl.h:22: forward declaration of `class searchTagsDialogImpl' 
ctagsdialog_impl.moc.cpp: In method `class QMetaObject * 
searchTagsDialogImpl::staticMetaObject()': 
ctagsdialog_impl.moc.cpp:52: `metaObj' undeclared (first use this function) 
ctagsdialog_impl.moc.cpp:52: (Each undeclared identifier is reported only once 
ctagsdialog_impl.moc.cpp:52: for each function it appears in.) 
ctagsdialog_impl.moc.cpp:54: `searchTagsDialog' undeclared (first use this 
function) 
ctagsdialog_impl.moc.cpp:54: parse error before `::' 
ctagsdialog_impl.moc.cpp:106: warning: control reaches end of non-void function 
`searchTagsDialogImpl::staticMetaObject()' 
ctagsdialog_impl.moc.cpp: At top level: 
ctagsdialog_impl.moc.cpp:109: invalid use of undefined type `class 
searchTagsDialogImpl' 
ctagsdialog_impl.h:22: forward declaration of `class searchTagsDialogImpl' 
ctagsdialog_impl.moc.cpp: In method `void * searchTagsDialogImpl::qt_cast(const 
char *)': 
ctagsdialog_impl.moc.cpp:110: parse error before `)' 
ctagsdialog_impl.moc.cpp:111: parse error before `::' 
ctagsdialog_impl.moc.cpp:112: confused by earlier errors, bailing out 
make[3]: *** [ctagsdialog_impl.moc.o] Error 1 
make[3]: *** Waiting for unfinished jobs.... 
make[3]: Leaving directory 
`/var/tmp/portage/kdevelop-2.1.2/work/kdevelop-2.1.2_for_KDE_3.0/kdevelop/ctags' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/kdevelop-2.1.2/work/kdevelop-2.1.2_for_KDE_3.0/kdevelop' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/kdevelop-2.1.2/work/kdevelop-2.1.2_for_KDE_3.0' 
make: *** [all] Error 2 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function kde_src_compile, Line 75, Exitcode 2 
!!! died running emake, kde_src_compile:make 
 
!!! emerge aborting on  /usr/portage/dev-util/kdevelop/kdevelop-2.1.2.ebuild .
Comment 1 Jani Talikka 2002-08-20 04:42:01 UTC
I get exactly the same error message, except with kdevelop-2.1.3
here's the extract of relevant part:

ctagsdialog_impl.moc.cpp:110: parse error before `)'
ctagsdialog_impl.moc.cpp:111: parse error before `::'
ctagsdialog_impl.moc.cpp:112: confused by earlier errors, bailing out
make[3]: *** [ctagsdialog_impl.moc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-2.1.3/work/kdevelop-2.1.3_for_KDE_3.0/kdevelop/ctags'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-2.1.3/work/kdevelop-2.1.3_for_KDE_3.0/kdevelop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/kdevelop-2.1.3/work/kdevelop-2.1.3_for_KDE_3.0'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line 75, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on  /usr/portage/dev-util/kdevelop/kdevelop-2.1.3.ebuild .
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-08-22 18:31:30 UTC
Please correct me if this is wrong. The new ebuild I committed a few minutes 
ago should fix this. 

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