error starts here: <snip> /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kopete/libkopete -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 -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=pentium4 -O3 -pipe -fno-exceptions -fno-check-new -c -o kopetecontactviewitem.lo `test -f kopetecontactviewitem.cpp || echo './'`kopetecontactviewitem.cpp kopetechatwindow.cpp:45:23: ktextedit.h: No such file or directory kopetechatwindow.cpp: In member function `virtual void KopeteEditor::setEditingMode(KopeteChatWindow::EditingMode)': kopetechatwindow.cpp:328: parse error before `(' token make[4]: *** [kopetechatwindow.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete/ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete/libkopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kopete-0.5/work/kopete-0.5-1' make: *** [all] Error 2 !!! ERROR: net-im/kopete-0.5 failed. !!! Function kde_src_compile, Line -8779, Exitcode 2 !!! died running emake, kde_src_compile:make <snip> system info: ------------- http://www.linux.org.tw/~pahud/gentoo/pahud/info
looks like a dependency problem, ktextedit.h is missing. How do I know which ebuild contains ktextedit.h?
I have the same problem. I've run qtconfig and added "/usr/kde/3/lib/kde3/plugins" to my library paths as recommended in the forums. Unless the ebuild deletes it after the failed emerge, ktextedit.h does not exist on this system. This occurs as of the latest rsync on 26 DEC 2002, and earlier.
Same problem here on a fresh new 1.4rc1 installation (kde-3.0.5a ans qt-3.1.0-r1).
Same thing happens with fresh Gentoo installation and the older kopete-0.4.1: /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kopete/libkopete -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=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -c -o kopetecontactviewitem.lo `test -f kopetecontactviewitem.cpp || echo './'`kopetecontactviewitem.cpp kopetechatwindow.cpp:42:23: ktextedit.h: No such file or directory kopetechatwindow.cpp: In member function `virtual void KopeteEditor::setEditingMode(KopeteEditor::EditingMode)': kopetechatwindow.cpp:223: parse error before `(' token make[4]: *** [kopetechatwindow.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... kopetecontactviewitem.cpp: In member function `virtual QString KopeteContactViewItem::key(int, bool) const': kopetecontactviewitem.cpp:98: warning: unused parameter `int column' kopetecontactviewitem.cpp:98: warning: unused parameter `bool ascending' make[4]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/libkopete/ui' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete/libkopete' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1/kopete' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kopete-0.4.1/work/kopete-0.4.1' make: *** [all] Error 2 !!! ERROR: net-im/kopete-0.4.1 failed. !!! Function kde_src_compile, Line -8823, Exitcode 2 !!! died running emake, kde_src_compile:make
I use this workaround (http://forums.gentoo.org/viewtopic.php?p=160576#160576): ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild unpack cd /var/tmp/portage/kopete-0.5/ for x in `find . \( -exec grep -q 'KDE_VERSION.*305' {} \; \) -print`; do cat $x | sed -e 's/KDE_VERSION >= 305/KDE_VERSION > 305/g' -e 's/KDE_VERSION < 305/KDE_VERSION <= 305/g' > $x.new; mv -f $x.new $x; done cd ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild compile ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild install ebuild /usr/portage/net-im/kopete/kopete-0.5.ebuild qmerge
committed kopete-0.5-kde-3.0.5a.patch which is used by kopete-0.5.ebuild and solves this bug. thanks.