Summary: | kdelibs-3.4.3 fails to compile - missing 'GroupBoxPlugin' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Schoenebeck <cuse> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | cuse |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | kshortcutdialog_simple.cpp |
Description
Christian Schoenebeck
2005-10-22 02:39:09 UTC
1. Could be due to bad CFLAGS? Please try with just -O2 -march=i686. 2. Is what you pasted the first line of the error message? Please post the last normal compilation output and everything after that. 3. kshortcutdialog_simple.cpp (the file where the error is) is autogenerated from kshortcutdialog_simple.ui. Please attach the file generated for you (/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui/kshortcutdialog_simple.cpp). When I said CFLAGS, of course I meant CXXFLAGS too. I tried now to compile with -O2 -march=i686, still the same result. Would have strongly surprised me if that was related to this problem. And yes, what I pasted was the first error message. But here it comes again a bit more longer: /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe -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 kmainwindowiface_skel.lo `test -f 'kmainwindowiface_skel.cpp' || echo './'`kmainwindowiface_skel.cpp /usr/qt/3/bin/moc kshortcutdialog_simple.h -o kshortcutdialog_simple.moc rm -f kshortcutdialog_simple.cpp echo '#include <kdialog.h>' > kshortcutdialog_simple.cpp echo '#include <klocale.h>' >> kshortcutdialog_simple.cpp /usr/qt/3/bin/uic -nounload -tr tr2i18n -i kshortcutdialog_simple.h ./kshortcutdialog_simple.ui > kshortcutdialog_simple.cpp.temp ; ret=$?; \ /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" kshortcutdialog_simple.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9] [0-9]*)_data,img\$1_kshortcutdialog_simple,g" | /usr/bin/perl -pe "s,: QWizard\(,: KWizard(,g" >> kshortcutdialog_simple.cpp ;\ rm -f kshortcutdialog_simple.cpp.temp ;\ if test "$ret" = 0; then echo '#include "kshortcutdialog_simple.moc"' >> kshortcutdialog_simple.cpp; else rm -f kshortcutdialog_simple.cpp ; exit $ret ; fi /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kdecore -I../kio/kssl -I../kdefx -I../interfaces -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I. -I/usr/kde/3.4/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe -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 kshortcutdialog_simple.lo `test -f 'kshortcutdialog_simple.cpp' || echo './'`kshortcutdialog_simple.cpp kshortcutdialog_simple.cpp:14: error: `GroupBoxPlugin' has not been declared kshortcutdialog_simple.cpp:14: error: expected constructor, destructor, or type conversion before '!' token kshortcutdialog_simple.cpp:14: error: expected `,' or `;' before '!' token In file included from /usr/qt/3/include/qpushbutton.h:42, from ./kpushbutton.h:24, from kshortcutdialog_simple.cpp:16: /usr/qt/3/include/qbutton.h:105: error: ISO C++ forbids declaration of `QButtonGroup' with no type /usr/qt/3/include/qbutton.h:105: error: expected `;' before '*' token make[3]: *** [kshortcutdialog_simple.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3/kdeui' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.4.3/work/kdelibs-3.4.3' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.4.3 failed. !!! Function kde_src_compile, Line 168, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Created attachment 71480 [details]
kshortcutdialog_simple.cpp
buggy, autogenerated kshortcutdialog_simple.cpp
I uploaded the requested file. You are right, you'll immediately see that there was something written to this auto generated file which certainly does not belong there ("GroupBoxPlugin::isContainer !!"). Is it probably because I compiled Qt with 'postgres' use flag? Ok, I figured out what the root problem was. It was caused by a bad (unofficial) Qt plugin which had a printf() in its plugin interface source file. I resolved this report as 'invalid' due to this and it can be closed now of course. |