After an update to KDE 3.2 knoda 0.6.2a could not be recompiled anymore. Now after the update to KDE 3.2.1 my previously installed Knoda crashed, but compilation was still not possible, because of a "long long" declaration and -pedantic flag: gcc -fno-strict-aliasing -DNDEBUG -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays -falign-functions=32 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=0 -I../hk_kdeclasses -I/usr/include/hk_classes -I/usr/qt/3/include -I/usr/include/python2.3 -c hk_kdeclasses_wrap.cxx -o build/temp.linux-i686-2.3/hk_kdeclasses_wrap.o In file included from /usr/include/python2.3/Python.h:8, from hk_kdeclasses_wrap.cxx:26: /usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined <command line>:6:1: warning: this is the location of the previous definition In file included from /usr/include/python2.3/Python.h:75, from hk_kdeclasses_wrap.cxx:26: /usr/include/python2.3/intobject.h:41: error: ISO C++ does not support `long long' In file included from /usr/include/python2.3/Python.h:77, from hk_kdeclasses_wrap.cxx:26: /usr/include/python2.3/longobject.h:37: error: ISO C++ does not support `long long' /usr/include/python2.3/longobject.h:38: error: ISO C++ does not support `long long' /usr/include/python2.3/longobject.h:39: error: ISO C++ does not support `long long' /usr/include/python2.3/longobject.h:40: error: ISO C++ does not support `long long' /usr/include/python2.3/longobject.h:41: error: ISO C++ does not support `long long' Reproducible: Always Steps to Reproduce: 1. emerge kde 3.2.x 2. emerge knoda 0.6.2a 3. Actual Results: compilation error Expected Results: build and install Knoda $ gcc --version gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) After modifying the ebuild to remove -pedantic, Knoda compiles again and runs without problems.
Created attachment 27362 [details, diff] knoda-0.6.2a.ebuild.diff patch for ebuild
Bug seems to affect newer and masked version 0.6.3_alpha1 also: http://bugs.gentoo.org/show_bug.cgi?id=43041
should be fixed in alpha3, now in portage.