kdevelop fails to build with parallel make while completed successfully with -j1. /usr/qt/3/bin/moc addprofilewidget.h -o addprofilewidget.moc rm -f addprofilewidget.cpp echo '#include <kdialog.h>' > addprofilewidget.cpp echo '#include <klocale.h>' >> addprofilewidget.cpp /usr/qt/3/bin/uic -L /usr/kde/3.5/lib64/kde3/plugins/designer -nounload -tr tr2i18n -i addprofilewidget.h ./addprofilewidget.ui > addprofilewidget.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" addprofilewidget.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_addprofilewidget,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> addprofilewidget.cpp ;\ rm -f addprofilewidget.cpp.temp ;\ if test "$ret" = 0; then echo '#include "addprofilewidget.moc"' >> addprofilewidget.cpp; else rm -f addprofilewidget.cpp ; exit $ret ; fi /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib -I../../../lib/external_interfaces -I../../../lib/interfaces -I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib -I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=athlon64 -mtune=athlon64 -msse3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 profileeditor.lo profileeditor.cpp /usr/qt/3/bin/moc profileeditorbase.h -o profileeditorbase.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib -I../../../lib/external_interfaces -I../../../lib/interfaces -I../../../lib/util -I../../../lib/widgets -I../../../src/profileengine/lib -I../../../lib/structure -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=athlon64 -mtune=athlon64 -msse3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 addprofilewidget.lo addprofilewidget.cpp In file included from /usr/kde/3.5/include/kaboutdata.h:24, from main.cpp:21: /usr/qt/3/include/qimage.h: In member function ‘bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const’: /usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within || In file included from main.cpp:24: profileeditor.h: At global scope: profileeditor.h:30: error: expected class-name before ‘{’ token main.cpp: In function ‘int main(int, char**)’: main.cpp:41: error: ‘class ProfileEditor’ has no member named ‘show’ main.cpp:42: error: no matching function for call to ‘KApplication::setMainWidget(ProfileEditor*)’ /usr/qt/3/include/qapplication.h:119: note: candidates are: virtual void QApplication::setMainWidget(QWidget*) make[4]: *** [main.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.5.3/work/kdevelop-3.5.3/src/profileengine/editor' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.5.3/work/kdevelop-3.5.3/src/profileengine' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.5.3/work/kdevelop-3.5.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-3.5.3/work/kdevelop-3.5.3' make: *** [all] Error 2
me too! pls repair it!
I just got the same compile error with kdevelop-3.5.2-r1. I'm compiling on a quad core processor with MAKEOPTS=-j6
I just got the same error with kdevelop 3.5.4 using a quad core cpu. I use MAKEOPTS="-j5" normally but changing it to -j1 just for this ebuild worked.
Adding addprofilewidget.h to libprofileeditor_COMPILE_FIRST in src/profileengine/editor/Makefile.am appears to fix this for me. This may need to be applied upstream.
(In reply to comment #4) I can confirm this. On amd64 the above is a solution for the problem. Does upstream still fix kde3.5 packages?
i have the same problem in one of my chroots but the proposed solution in comment 4 didn't work for me. Try to open an upstream bug and paste the link here so we can track it, but development of 3.5.4 is somehow dead, i doubt it will be fixed :)
I didn't want to force -j1 in the ebuild, as parallel make works for many other users. I've added a warning message to the ebuild informing the users about the specific failure and also i have added the patch (although it didn't work for me). The ebuild is in kde3 overlay, it will hit tree in a few days