compiled fine with gcc 3.4.6 compile failure when compiling with gcc 4.1.0 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -I/usr/include/db4 -DQT_THREAD_SUPPORT -D_REENTRANT -I/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -pipe -I/usr/include/db4.2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -c -o main.o main.cpp nntpthreadsocket.h:237: error: extra qualification 'NntpThreadSocket::' on member 'm_findEndLine' yydecoder.h:90: error: extra qualification 'yyDecoder::' on member 'charCRC' make[2]: *** [main.o] Error 1 m
- Don't touch the restrict checkboxes if you have no clue what they are used for. - Don't mark bugs as P1 blocker unless your whole system is completely unusable.
I am also receiving this error with GCC 4.1.1 looking at Klibido's site there is a patch for this issue. http://sourceforge.net/tracker/index.php?func=detail&aid=1429939&group_id=114928&atid=669901 I have attempted to use this patch with Klibido 0.2.4.1 but was unsuccessful, but it was probably an error on my end, since I've never done this before. This patch also might work with 0.2.5 as well.
Created attachment 88021 [details] patch from debian sid against 0.2.5 klibido to fix gcc 4.1.x compiles This patch works for me
From looking at the patch supplied on sourceforge I don't think it can be applied to 0.2.4.1, unless it is modifed. I will try it out on 0.2.5 as well.
Using the 0.2.5 ebuild from http://bugs.gentoo.org/show_bug.cgi?id=124987 and applying this patch I was able to sucesfully build klibido 0.2.5 with no extra steps.
This works for me. Could this patch be added to portage soon?
The patch is very important and needs to be added to portage ASAP, since you cannot compile this at all with a 2006.1 profile. Please mark this bug as critial.
Created attachment 96315 [details] ebuild for gcc 4.1 (no use flag, no detection, beware...) Only for impatients, and lazy people like me...
Ooops, sorry I didnt know all was send when adding an attachment. Juste copy and rename the already joined patch to "0.2.5-ftbfs_with_gcc_4_1.patch". And maybe adding a "--digest" option when emerging.
This patch works for me too. I suggest putting it in portage, since it won't compile at all without this patch.
This was the second time that I hit this bug. Klibido does NOT compile for systems using GCC 4.1, which is now considered stable. It has been in this state for >4 months. At the same time a working patch is present for almost 4 months as confirmed by the posts here. If tried it both on ~x86 and ~amd64 and it compiles and works with that patch. So could somebody please fix this package in the tree??
Sven, could you please look into this ?
Is this bug already fixed? If not, how do I apply the patch manually? Thanks in advance!
This should block bug 117482
*** Bug 155555 has been marked as a duplicate of this bug. ***
fixed in ~arch by bug #124987. stable bug is #155555.