[kde-freebsd] x11/kde4-baseapps fails to build under clang (a QT issue?)
Chuck Burns
break19 at gmail.com
Sun Dec 18 04:16:20 UTC 2011
In file included from
/usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/konq-plugins/domtreeviewer/domtreecommands.cpp:21:
In file included from
/usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/konq-plugins/domtreeviewer/domtreecommands.h:24:
In file included from /usr/local/kde4/include/dom/dom_element.h:34:
In file included from /usr/local/kde4/include/dom/css_value.h:30:
In file included from /usr/local/kde4/include/dom/dom_string.h:26:
In file included from /usr/local/kde4/include/kdebug.h:27:
In file included from /usr/local/include/qt4/QtCore/QDebug:1:
In file included from /usr/local/include/qt4/QtCore/qdebug.h:48:
/usr/local/include/qt4/QtCore/qmap.h:107:17: error: invalid operands to
binary expression ('const DOM::Node' and 'const DOM::Node')
return key1 < key2;
~~~~ ^ ~~~~
/usr/local/include/qt4/QtCore/qmap.h:782:49: note: in instantiation of
function template specialization 'qMapLessThanKey<DOM::Node>' requested
here
while ((next = cur->forward[i]) != e &&
qMapLessThanKey<Key>(concrete(next)->key, akey))
^
/usr/local/include/qt4/QtCore/qmap.h:562:28: note: in instantiation of
member function 'QMap<DOM::Node, bool>::mutableFindNode' requested here
QMapData::Node *node = mutableFindNode(update, akey);
^
/usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/konq-plugins/domtreeviewer/domtreecommands.cpp:137:17:
note: in instantiation of member function 'QMap<DOM::Node,
bool>::insert'
requested here
changedNodes->insert(node, true);
^
/usr/local/include/qt4/QtCore/qchar.h:390:13: note: candidate function
not viable: no known conversion from 'const DOM::Node' to 'QChar' for
1st argument;
inline bool operator<(QChar c1, QChar c2) { return c1.unicode() <
c2.unicode(); }
^
/usr/local/include/qt4/QtCore/qbytearray.h:529:13: note: candidate
function not viable: no known conversion from 'const DOM::Node' to
'const QByteArray' for 1st argument;
inline bool operator<(const QByteArray &a1, const QByteArray &a2)
^
/usr/local/include/qt4/QtCore/qbytearray.h:531:14: note: candidate
function not viable: no known conversion from 'const DOM::Node' to
'const QByteArray' for 1st argument;
inline bool operator<(const QByteArray &a1, const char *a2)
^
/usr/local/include/qt4/QtCore/qbytearray.h:533:13: note: candidate
function not viable: no known conversion from 'const DOM::Node' to
'const char *' for 1st argument;
inline bool operator<(const char *a1, const QByteArray &a2)
^
/usr/local/include/qt4/QtCore/qstring.h:941:32: note: candidate function
not viable: no known conversion from 'const DOM::Node' to 'const char *'
for 1st argument;
inline QT_ASCII_CAST_WARN bool operator<(const char *s1, const QString &s2)
^
/usr/local/include/qt4/QtCore/qstring.h:954:32: note: candidate function
not viable: no known conversion from 'const DOM::Node' to 'const char *'
for 1st argument;
inline QT_ASCII_CAST_WARN bool operator<(const char *s1, const
QLatin1String &s2)
^
/usr/local/include/qt4/QtCore/qstring.h:967:13: note: candidate function
not viable: no known conversion from 'const DOM::Node' to 'const
QLatin1String' for 1st argument;
inline bool operator<(const QLatin1String &s1, const QLatin1String &s2)
^
/usr/local/include/qt4/QtCore/qstring.h:1189:20: note: candidate
function not viable: no known conversion from 'const DOM::Node' to
'const QStringRef' for 1st argument;
Q_CORE_EXPORT bool operator<(const QStringRef &s1,const QStringRef &s2);
^
/usr/local/include/qt4/QtCore/qpair.h:78:24: note: candidate template
ignored: failed template argument deduction
Q_INLINE_TEMPLATE bool operator<(const QPair<T1, T2> &p1, const
QPair<T1, T2> &p2)
^
1 error generated.
*** Error code 1
Stop in /usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/build.
*** Error code 1
Stop in /usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/build.
*** Error code 1
Stop in /usr/ports/x11/kde4-baseapps/work/kde-baseapps-4.7.4/build.
*** Error code 1
Stop in /usr/ports/x11/kde4-baseapps.
*** Error code 1
Stop in /usr/ports/x11/kde4-baseapps.
===>>> make failed for x11/kde4-baseapps
===>>> Aborting update
Terminated
--
Chuck Burns
The Southern Libertarian
http://www.thesouthernlibertarian.com/
More information about the kde-freebsd
mailing list