[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] Re:
From: Erik <esigra () gmail ! com>
Date: 2011-01-01 18:45:42
Message-ID: 4D1F7656.4080808 () home ! se
[Download RAW message or body]
2010-12-24 21:52, Erik skrev:
> Steps to reproduce:
> 1. tar jxvf kdepim-runtime-4.4.9.tar.bz2
> 2. cd kdepim-runtime-4.4.9
> 3. mkdir build
> 4. cd build
> 5. cmake -DKDE4_ENABLE_FINAL=ON ..
> 6. make
>
> Actual results:
> In file included from
> kdepim-runtime-4.4.9/build/libkdepim-copy/kdepim-copy_final_cpp.cpp:2:
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp: In member
> function "void
> KPIM::CalendarDiffAlgo::diffIncidenceBase(KCal::IncidenceBase*,
> KCal::IncidenceBase*)":
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:117: fel:
> "compareString" deklarerades inte i detta definitionsområde
> kdepim-runtime-4.4.9/libkdepim-copy/calendardiffalgo.cpp:120: fel:
> "compareString" deklarerades inte i detta definitionsområde
>
The attached patches fixes this and one more build failure. But then the
build fails in kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp:
In file included from /usr/include/qt4/QtCore/qvariant.h:50,
from /usr/include/qt4/QtCore/QVariant:1,
from /usr/include/kconfig.h:32,
from /usr/include/ksharedconfig.h:25,
from /usr/include/kcomponentdata.h:23,
from /usr/include/KDE/../kapplication.h:45,
from /usr/include/KDE/KApplication:1,
from
/usr/include/KDE/Akonadi/../../akonadi/agentbase.h:29,
from /usr/include/KDE/Akonadi/AgentBase:1,
from
kdepim-runtime-4.4.9/agents/maildispatcher/maildispatcheragent.h:24,
from
kdepim-runtime-4.4.9/agents/maildispatcher/maildispatcheragent.cpp:21,
from
kdepim-runtime-4.4.9/build/agents/maildispatcher/akonadi_maildispatcher_agent_final_cpp.cpp:2:
/usr/include/qt4/QtCore/qhash.h: In member function "QHashNode<Key, T>**
QHash<K, V>::findNode(const Key&, uint*) const [with Key =
Akonadi::Item, T = QHashDummyValue]":
/usr/include/qt4/QtCore/qhash.h:757: instantiated from "QHash<K,
V>::iterator QHash<K, V>::insert(const Key&, const T&) [with Key =
Akonadi::Item, T = QHashDummyValue]"
/usr/include/qt4/QtCore/qset.h:176: instantiated from
"QSet<T>::const_iterator QSet<T>::insert(const T&) [with T = Akonadi::Item]"
kdepim-runtime-4.4.9/agents/maildispatcher/outboxqueue.cpp:186:
instantiated from here
/usr/include/qt4/QtCore/qhash.h:880: fel: ingen funktion som stämmer för
anrop av "qHash(const Akonadi::Item&)"
/usr/include/qt4/QtCore/qhash.h:62: anm: kandidater är: uint qHash(char)
/usr/include/qt4/QtCore/qhash.h:63: anm: uint qHash(uchar)
/usr/include/qt4/QtCore/qhash.h:64: anm: uint
qHash(signed char)
/usr/include/qt4/QtCore/qhash.h:65: anm: uint qHash(ushort)
/usr/include/qt4/QtCore/qhash.h:66: anm: uint qHash(short
int)
/usr/include/qt4/QtCore/qhash.h:67: anm: uint qHash(uint)
/usr/include/qt4/QtCore/qhash.h:68: anm: uint qHash(int)
/usr/include/qt4/QtCore/qhash.h:69: anm: uint qHash(ulong)
/usr/include/qt4/QtCore/qhash.h:77: anm: uint qHash(long int)
/usr/include/qt4/QtCore/qhash.h:78: anm: uint qHash(quint64)
/usr/include/qt4/QtCore/qhash.h:86: anm: uint qHash(qint64)
/usr/include/qt4/QtCore/qhash.h:87: anm: uint qHash(QChar)
/usr/include/qt4/QtCore/qhash.h:88: anm: uint qHash(const
QByteArray&)
/usr/include/qt4/QtDBus/qdbusextratypes.h:60: anm: uint
qHash(const QString&)
/usr/include/qt4/QtCore/qhash.h:90: anm: uint qHash(const
QStringRef&)
/usr/include/qt4/QtCore/qbitarray.h:58: anm: uint
qHash(const QBitArray&)
This problem can be seen in a non-final build by including <QHash>
_first_ in outboxqueue.cpp
["kdepim-runtime-4.4.9-libkdepim-copy-calendardiffalgo.cpp-fix_build-1.diff" (text/plain)]
--- libkdepim-copy/calendardiffalgo.cpp.orig 2011-01-01 19:19:25.798000269 +0100
+++ libkdepim-copy/calendardiffalgo.cpp 2011-01-01 19:14:15.918000268 +0100
@@ -26,7 +26,6 @@
using namespace KPIM;
-#ifndef KDE_USE_FINAL
static bool compareString( const QString &left, const QString &right )
{
if ( left.isEmpty() && right.isEmpty() )
@@ -34,7 +33,6 @@
else
return left == right;
}
-#endif
static QString toString( KCal::Attendee *attendee )
{
["kdepim-runtime-4.4.9-resources-kolabproxy-distributionlist.cpp-fix_build-1.diff" (text/plain)]
--- resources/kolabproxy/distributionlist.cpp.orig 2011-01-01 19:18:41.274000269 +0100
+++ resources/kolabproxy/distributionlist.cpp 2011-01-01 19:16:44.378000268 +0100
@@ -39,8 +39,6 @@
using namespace Kolab;
-static const char* s_unhandledTagAppName = "KOLABUNHANDLED"; // no hyphens in appnames!
-
// saving (contactgroup->xml)
DistributionList::DistributionList( const KABC::ContactGroup* contactGroup )
{
@@ -149,7 +147,7 @@
// Unhandled tag - save for later storage
//kDebug() <<"Saving unhandled tag" << e.tagName();
Custom c;
- c.app = s_unhandledTagAppName;
+ c.app = "KOLABUNHANDLED";
c.name = e.tagName();
c.value = e.text();
mCustomList.append( c );
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic