Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237304 - dev-util/kdevelop-3.5.3 fails to build with parallel make
Summary: dev-util/kdevelop-3.5.3 fails to build with parallel make
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-10 10:49 UTC by Peter Volkov (RETIRED)
Modified: 2009-05-03 00:49 UTC (History)
3 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 Peter Volkov (RETIRED) gentoo-dev 2008-09-10 10:49:58 UTC
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
Comment 1 Laszlo Papp 2008-10-10 12:14:54 UTC
me too! pls repair it!
Comment 2 Thomas Petersen 2008-10-25 17:19:19 UTC
I just got the same compile error with kdevelop-3.5.2-r1.
I'm compiling on a quad core processor with MAKEOPTS=-j6
Comment 3 Theofilos Intzoglou 2009-01-07 14:27:20 UTC
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.
Comment 4 Boian Berberov 2009-03-10 12:20:26 UTC
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.
Comment 5 Roman v. Gemmeren 2009-03-19 14:43:19 UTC
(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?
Comment 6 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-02 18:28:38 UTC
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 :)
Comment 7 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2009-05-03 00:49:57 UTC
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