Version: unspecified (using Devel) OS: Linux I'm building KDE from GIT, smokegen and smokeqt both built fine, but smokekde fails with: [ 10%] Building CXX object kdecore/CMakeFiles/smokekdecore.dir/x_20.o /build/src/build/kdecore/x_20.cpp: In static member function 'static void __smokekdecore::x_QGlobalSpace::x_288(Smoke::Stack)': /build/src/build/kdecore/x_20.cpp:1875:24: warning: 'QString kdBacktrace(int)' is deprecated (declared at /usr/include/kdebug.h:231) [-Wdeprecated-declarations] /build/src/build/kdecore/x_20.cpp:1875:51: warning: 'QString kdBacktrace(int)' is deprecated (declared at /usr/include/kdebug.h:231) [-Wdeprecated-declarations] /build/src/build/kdecore/x_20.cpp: In static member function 'static void __smokekdecore::x_QGlobalSpace::x_289(Smoke::Stack)': /build/src/build/kdecore/x_20.cpp:1880:24: warning: 'QString kdBacktrace(int)' is deprecated (declared at /usr/include/kdebug.h:231) [-Wdeprecated-declarations] /build/src/build/kdecore/x_20.cpp:1880:43: warning: 'QString kdBacktrace(int)' is deprecated (declared at /usr/include/kdebug.h:231) [-Wdeprecated-declarations] Linking CXX shared library ../lib/libsmokekdecore.so CMakeFiles/smokekdecore.dir/x_2.o: In function `__smokekdecore::xcall_KCalendarSystem(short, void*, Smoke::StackItem*)': x_2.cpp:(.text+0x251f): undefined reference to `KCalendarSystem::weeksInYear(QDate const&, KLocale::WeekNumberSystem) const' collect2: ld returned 1 exit status make[2]: *** [lib/libsmokekdecore.so.3.0.0] Error 1 make[1]: *** [kdecore/CMakeFiles/smokekdecore.dir/all] Error 2 make: *** [all] Error 2 Reproducible: Always gcc 4.6.0 CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe" LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
The build fails because of this commit: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=b9201497f65bc7097c7c2a6b83eaa68891463b32
This isn't a kdebindings bug. As I explained on the #kdebindings IRC channel, the bug is that the KCalendarSystem::weeksInYear(QDate const&, KLocale::WeekNumberSystem) const is declared in kdecore/date/kcalendarsystem.h, but there is no implementation in kdecore/date/kcalendarsystem.cpp. So it isn't a kdebindings bug, and please don't file it as such.
(In reply to comment #2) > This isn't a kdebindings bug. As I explained on the #kdebindings IRC channel, > the bug is that the KCalendarSystem::weeksInYear(QDate const&, > KLocale::WeekNumberSystem) const is declared in kdecore/date/kcalendarsystem.h, > but there is no implementation in kdecore/date/kcalendarsystem.cpp. So it isn't > a kdebindings bug, and please don't file it as such. I kept it open because you, or the bug tracker maintainer, can move this under the kdelibs project and rename it in the proper way. Isn't a bug in kdebindings, is in kdelibs, but it's a bug.
I filed bug 274045 under the kdelibs project