Bug 273985 - smokekde fails to build
Summary: smokekde fails to build
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 20:48 UTC by Andrea Scarpino
Modified: 2011-05-24 17:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Scarpino 2011-05-23 20:48:24 UTC
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"
Comment 1 Andrea Scarpino 2011-05-23 21:41:10 UTC
The build fails because of this commit: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=b9201497f65bc7097c7c2a6b83eaa68891463b32
Comment 2 Richard Dale 2011-05-24 09:36:17 UTC
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.
Comment 3 Andrea Scarpino 2011-05-24 09:48:14 UTC
(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.
Comment 4 Andrea Scarpino 2011-05-24 17:52:17 UTC
I filed bug 274045 under the kdelibs project