While emerging net-misc/knutclient-0.9.3: ... In file included from knutclient.h:29, from main.cpp:25: knutdock.h: At global scope: knutdock.h:325: error: multiple parameters named ‘x’ make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-misc/knutclient-0.9.3/work/knutclient-0.9.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/knutclient-0.9.3/work/knutclient-0.9.3' make: *** [all] Error 2 Looking at the relevant file (src/knutdock.h:325), the problem is evident: void paintNumbers (int numbers, int x, int x, QPainter* p ); //x,y levy horni roh cisla 1 There are two parameters called "x", which is now an error both in gcc and g++. The actual function definition is ok (from file src/knutdock.cpp:1018): void KNutDock::paintNumbers (int numbers, int x, int y, QPainter* p ) { I am including a patch to fix the problem.
Created attachment 207809 [details, diff] Patch to fix paintNumbers function prototype and make it compile 2009-10-21 Israel G. Lugo <israel.lugo@lugosys.com> * src/knutdock.h (paintNumbers): Fix prototype, was causing a compiler error.
*** Bug 289989 has been marked as a duplicate of this bug. ***
I think you just wasted your time, since 0.9.4 builds fine.
(In reply to comment #3) > I think you just wasted your time, since 0.9.4 builds fine. > Yes, however 0.9.4 is ~ on all arches. knutclient-0.9.3, however, is marked stable, as is gcc-4.3.4. We should not have two stable ebuilds that break each other.
Please don't reopen this again. Sync in a hour and watch it all fixed.
(In reply to comment #5) > Please don't reopen this again. Sync in a hour and watch it all fixed. > My apologies for reopening without discussing first. I see net-misc/knutclient-0.9.3 is gone from the tree, and knutclient-0.9.4 has been marked stable on all arches now. I can verify that it builds properly, so this bug is fixed. I am surprised to see 0.9.4 fast-tracked to stable without testing from the arches, though? Especially when there was a patch to trivially fix the existing 0.9.3...
(In reply to comment #6) > I am surprised to see 0.9.4 fast-tracked to stable without testing from the > arches, though? Especially when there was a patch to trivially fix the existing > 0.9.3... There's no point in bothering the arch's for a package that will be removed soon. There will be a news item about KDE3's removal from tree, and knutclient is unfortunately on that list. If you find a alternative for it, please open a new bug for it (and add me to CC list). Also being removed from other distributions, see ref. http://wiki.debian.org/kdelibs4c2aRemoval
(In reply to comment #7) > There's no point in bothering the arch's for a package that will be removed > soon. There will be a news item about KDE3's removal from tree, and knutclient > is unfortunately on that list. Oh, I see. I was not aware that KDE3 was being dropped. > If you find a alternative for it, please open a new bug for it (and add me to > CC list). Actually, upstream says knutclient-0.9.5 runs on KDE4 -- from http://www.knut.noveradsl.cz/knutclient : "Changed: KNC is running on KDE 4 /on distribution which uses KDE4 a has support for aplication from KDE3 / a little better." Unfortunately I don't yet have KDE4 myself to test this, but perhaps we could create the ebuild for 0.9.5 and see if it works for others?