GCC 3.2 kluje doesn't build :( <<SNIP CONFIGURE, NORMAL>> make all-recursive make[1]: Entering directory `/var/tmp/portage/kluje-0.7/work/kluje-0.7' Making all in kluje make[2]: Entering directory `/var/tmp/portage/kluje-0.7/work/kluje-0.7/kluje' g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c klujeio.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c klujesystray.cpp In file included from /usr/include/g++-v32/backward/iostream.h:31, from editeventsdialog.h:35, from kluje.h:29, from klujeio.cpp:18: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c preferencesdialog.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c klujemoods.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c kluje.cpp In file included from /usr/include/g++-v32/backward/iostream.h:31, from editeventsdialog.h:35, from kluje.h:29, from kluje.cpp:18: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/cvs/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=athlon -O3 -pipe -fno-exceptions -fno-check-new -c main.cpp In file included from /usr/include/g++-v32/backward/iostream.h:31, from editeventsdialog.h:35, from kluje.h:29, from klujesystray.cpp:19: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. klujesystray.cpp: In member function `void KLuJeSysTray::selectedLink(int)': klujesystray.cpp:100: ambiguous overload for `kndbgstream& << QUrl&' operator /usr/kde/cvs/include/kdebug.h:393: candidates are: kndbgstream& kndbgstream::operator<<(const QString&) /usr/kde/cvs/include/kdebug.h:452: kndbgstream& kndbgstream::operator<<(const KURL&) make[2]: *** [klujesystray.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/g++-v32/backward/iostream.h:31, from editeventsdialog.h:35, from kluje.h:29, from main.cpp:21: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated. make[2]: Leaving directory `/var/tmp/portage/kluje-0.7/work/kluje-0.7/kluje' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kluje-0.7/work/kluje-0.7' make: *** [all-recursive-am] Error 2 !!! ERROR: net-misc/kluje-0.7 failed. !!! Function kde_src_compile, Line -8779, Exitcode 2 !!! died running emake, kde_src_compile:make
I'm not handling kde cvs bugreports at the moment. I'll get to it eventually, but right now I'm focusing on kde 3.1 stable. Try building with 3.1-final, if that does't work I'll look into it :-)
http://davidsmind.kicks-ass.net:81/davidsmind/kluje-0.7-r1.tar.gz I found the problem in the source code and fixed it on my own time. Please check to see if it compiles for you and possibly add it back into portage.
OK, let's go about fixing this in our 0.7 ebuild... Not having a luje subscription I can't do any testing with the program other than getting it built. However your patch just disables the debug output which cant break anything so I'll add it to the ebuild, and send an email to the kluje upstream asking which of the two possible operators (from QString or KURL) should be enforced.
Buddy Brewer, kluje dev, replied saying: > In Gentoo Linux, kluje 0.7 (and AFAICS current cvs as well) doesn't compile > against kde 3.1+, gcc 3.2: [snip] > For now I've commented out the debug statement in line 100 in the Gentoo > ebuild. Cool. > So, what would the correct fix here be - use QString or KURL? Just commenting it out is fine for the patch. I've changed cvs to convert the QUrl to a QString before inserting it in the debug stream. Thanks!
db fix