Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12656

Summary: kluje doesn't build and it makes me sad.
Product: Gentoo Linux Reporter: david mattatall <davidsmind>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: 1.4_rc1   
Hardware: All   
OS: Linux   
URL: http://kluje.sourceforge.net/
Whiteboard:
Package list:
Runtime testing required: ---

Description david mattatall 2002-12-24 00:16:37 UTC
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
Comment 1 Dan Armak (RETIRED) gentoo-dev 2003-01-31 13:14:50 UTC
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 :-) 
Comment 2 david mattatall 2003-02-24 03:13:46 UTC
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. 
Comment 3 Dan Armak (RETIRED) gentoo-dev 2003-03-01 09:07:55 UTC
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. 
Comment 4 Dan Armak (RETIRED) gentoo-dev 2003-03-03 08:40:28 UTC
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! 
 
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:29 UTC
db fix
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:21 UTC
db fix