Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kdevelop fails to merge, error with ctags?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
MedicineKeeper
n00b
n00b


Joined: 11 Jul 2002
Posts: 3
Location: Portland, OR

PostPosted: Wed Aug 07, 2002 11:54 pm    Post subject: Kdevelop fails to merge, error with ctags? Reply with quote

Seems like Kdevelop is harder than it looks to merge. "merge kdevelop" dies with this error:
Quote:

In file included from ctagsdialog_impl.moc.cpp:11:
ctagsdialog_impl.h:20: ctagsdialog.h: No such file or directory
QSettings: error creating /root/.qt
QSettings: error creating /root/.qt
i686-pc-linux-gnu-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 -5181, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on /usr/portage/dev-util/kdevelop/kdevelop-2.1.2.ebuild .

Is ctags breaking somehow in this? I've tried both unmerging and remerging ctags - no joy. Doesn't seem to respond to unmerging libvorbis, either, as was suggested elsewhere.

Help, please? Thanks, all.
Back to top
View user's profile Send private message
mrtaz65
n00b
n00b


Joined: 18 Jul 2002
Posts: 5

PostPosted: Thu Aug 08, 2002 6:49 pm    Post subject: Same here Reply with quote

I am having the same exact problem. If I figure it out, I'll post here.

I am trying to find out where that file is supposed to come from.

Wish me luck :)
Back to top
View user's profile Send private message
mrtaz65
n00b
n00b


Joined: 18 Jul 2002
Posts: 5

PostPosted: Thu Aug 08, 2002 7:36 pm    Post subject: Here's what I did Reply with quote

OK, this is probably evil and wrong, but the problem was it couldn't find ctagsdialog.h

The file is in the tarball and I don't know why it didn't find it, so I copied it to /usr/lib and it emerged fine.

I'm sure there is a better way, but I just wanted it to work.

MrTaz
Back to top
View user's profile Send private message
Mechanic
n00b
n00b


Joined: 07 Aug 2002
Posts: 5

PostPosted: Thu Aug 08, 2002 8:17 pm    Post subject: Reply with quote

in case anyone is going to fill bug report, did this already
here is link - https://bugs.gentoo.org/show_bug.cgi?id=6199

by the way - tar file, located at /usr/portage/distfiles/ compiles very well manually.

On unrelated story - here is is what Google finds for ctagsdialog.h: No such file or directory
http://barney.cs.uni-potsdam.de/pipermail/kdevelop-devel/2002-March/007353.html[/b]
Back to top
View user's profile Send private message
raluke
n00b
n00b


Joined: 11 Aug 2002
Posts: 56
Location: Maryland, USA

PostPosted: Mon Aug 12, 2002 12:31 am    Post subject: Reply with quote

FWIW, I saw the same error messages that MedicineKeeper reports. But it looks like the fix that Dan Armak talks about in the bug report submitted by Mechanic has fixed the problem (on my box, at least). Namely, add MAKEOPTS="-j1" at the end of file /etc/make.conf and then do the emerge kdevelop again.

I switched from Debian to Gentoo just this weekend and am really liking what I see! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum