Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110120 - kdelibs-3.4.3 fails to compile - missing 'GroupBoxPlugin'
Summary: kdelibs-3.4.3 fails to compile - missing 'GroupBoxPlugin'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 02:39 UTC by Christian Schoenebeck
Modified: 2005-10-28 02:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kshortcutdialog_simple.cpp (kshortcutdialog_simple.cpp,2.75 KB, text/x-c++src)
2005-10-26 03:35 UTC, Christian Schoenebeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schoenebeck 2005-10-22 02:39:09 UTC
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 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-rc5-mm1 i686) 
================================================================= 
System uname: 2.6.13-rc5-mm1 i686 VIA Nehemiah 
Gentoo Base System version 1.12.0_pre9 
dev-lang/python:     2.3.4-r1, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer 
-funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -march=i686 -msse -mmmx -mfpmath=sse -fomit-frame-pointer 
-funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LANG="de_DE@euro" 
LINGUAS="de" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvb eds 
emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 
imagemagick imlib insecure-drivers ipv6 jack jpeg kde lcms libg++ libwww mad 
mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl 
plugin png postgres python qt quicktime readline samba sdl soundtouch spell sse 
ssl tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev 
vorbis xine xml2 xmms xv zlib linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Dan Armak (RETIRED) gentoo-dev 2005-10-23 10:34: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). 
Comment 2 Dan Armak (RETIRED) gentoo-dev 2005-10-23 10:34:56 UTC
When I said CFLAGS, of course I meant CXXFLAGS too. 
Comment 3 Christian Schoenebeck 2005-10-26 03:30:41 UTC
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.  
Comment 4 Christian Schoenebeck 2005-10-26 03:35:32 UTC
Created attachment 71480 [details]
kshortcutdialog_simple.cpp

buggy, autogenerated kshortcutdialog_simple.cpp
Comment 5 Christian Schoenebeck 2005-10-26 03:37:37 UTC
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 !!"). 
Comment 6 Christian Schoenebeck 2005-10-27 13:49:25 UTC
Is it probably because I compiled Qt with 'postgres' use flag? 
Comment 7 Christian Schoenebeck 2005-10-28 02:01:53 UTC
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.