Bug 265494

Summary: kdepim-runtime 4.4.10 fails to build (final)
Product: [Applications] kdepim Reporter: esigra
Component: libkdepimAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: dilfridge, esigra, montel
Priority: NOR    
Version: 4.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: patch that fixes a build error
patch that fixes another build error

Description esigra 2011-02-05 10:37:59 UTC
Created attachment 56880 [details]
patch that fixes a build error

Version:           4.4 (using KDE 4.5.5) 
OS:                Linux

kdepim-runtime 4.4.10 fails to build (final). The bug already existed in version 4.4.9.


Reproducible: Always

Steps to Reproduce:
1. tar jxvf kdepim-runtime-4.4.10.tar.bz2
2. cd kdepim-runtime-4.4.10
3. mkdir build
4. cd build
5. cmake -DKDE4_ENABLE_FINAL=ON ..
6. make

Actual Results:  
In file included from /tmp/kdepim-runtime-4.4.10/build/libkdepim-copy/kdepim-copy_final_cpp.cpp:2:                                                                                                         
/tmp/kdepim-runtime-4.4.10/libkdepim-copy/calendardiffalgo.cpp: In member function "void KPIM::CalendarDiffAlgo::diffIncidenceBase(KCal::IncidenceBase*, KCal::IncidenceBase*)":
/tmp/kdepim-runtime-4.4.10/libkdepim-copy/calendardiffalgo.cpp:117: fel: "compareString" deklarerades inte i detta definitionsområde
/tmp/kdepim-runtime-4.4.10/libkdepim-copy/calendardiffalgo.cpp:120: fel: "compareString" deklarerades inte i detta definitionsområde
Comment 1 esigra 2011-02-05 10:44:00 UTC
Created attachment 56881 [details]
patch that fixes another build error

The next build error, that this patch fixes, is this:
In file included from /tmp/kdepim-runtime-4.4.10/build/resources/kolabproxy/akonadi_kolabproxy_resource_final_cpp.cpp:5:
/tmp/kdepim-runtime-4.4.10/resources/kolabproxy/distributionlist.cpp: At global scope:
/tmp/kdepim-runtime-4.4.10/resources/kolabproxy/distributionlist.cpp:42: fel: redefinition of "const char* s_unhandledTagAppName"
/tmp/kdepim-runtime-4.4.10/resources/kolabproxy/contact.cpp:47: fel: "const char* s_unhandledTagAppName" definierades tidigare här
Comment 2 esigra 2011-02-05 10:46:20 UTC
Unfortunately there is a build error left after these 2 patches. The source
file kdepim-runtime-4.4.10/agents/maildispatcher/outboxqueue.cpp fails to build
if <QHash> is included first in the file. And that might obviously cause a
build failure in final mode.
Comment 3 Laurent Montel 2012-08-21 17:45:53 UTC
kdepim*4.4 is unmaintain