This is a long error,its for upgrading kde4-runtime ,but I found it hard to pin point error so I posted most of it in the hope someone see what problem is.
kcmlocale.cpp:3419:
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/build/kcontrol/locale/../../../kcontrol/locale/kcmlocale.h:483:21: warning: no newline at end of file
[ 26%] Building CXX object kcontrol/kded/CMakeFiles/kcm_kded.dir/kcm_kded_automoc.o
[ 26%] Building CXX object kcontrol/kded/CMakeFiles/kcm_kded.dir/kcmkded.o
[ 26%] Building CXX object nepomuk/server/CMakeFiles/kdeinit_nepomukserver.dir/processcontrol.o
[ 26%] Building CXX object kcontrol/icons/CMakeFiles/kcm_icons.dir/main.o
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp: In member function 'void KCMLocale::initCalendarSystem()':
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp:2264: warning: 'calendarSystems' is deprecated (declared at /usr/local/include/KDE/../kcalendarsystem.h:140)
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp:2268: warning: 'calendarSystemForCalendarType' is deprecated (declared at /usr/local/include/KDE/../kcalendarsystem.h:190)
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp: In member function 'void KCMLocale::setCalendarSystem(const QString&)':
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp:2297: warning: 'setCalendar' is deprecated (declared at /usr/local/include/KDE/../klocale.h:1146)
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp: In member function 'void KCMLocale::setUseCommonEra(bool)':
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp:2350: warning: 'setCalendar' is deprecated (declared at /usr/local/include/KDE/../klocale.h:1146)
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kcontrol/locale/kcmlocale.cpp: In member function 'void KCMLocale::setShortYearWindow(int)':
[ 29%] Building CXX object nepomuk/services/storage/lib/CMakeFiles/nepomukdatamanagement.dir/kdbusconnectionpool.o
[ 29%] Building CXX object kcontrol/dnssd/CMakeFiles/kcm_kdnssd.dir/kcm_kdnssd_automoc.o
[ 29%] Built target kdeinit_nepomukserver
[ 29%] Building CXX object nepomuk/services/storage/lib/CMakeFiles/nepomukdatamanagement.dir/resourcewatcherconnectioninterface.o
[ 29%] Building CXX object kcontrol/dnssd/CMakeFiles/kcm_kdnssd.dir/kcmdnssd.o
[ 29%] Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/componentchooserbrowser.o
Linking CXX shared module ../../lib/kcm_knotify.so
[ 29%] Built target kcm_knotify
[ 29%] Building CXX object nepomuk/services/storage/lib/CMakeFiles/nepomukdatamanagement.dir/resourcewatchermanagerinterface.o
[ 29%] Generating ui_emoticonslist.h
Scanning dependencies of target kcm_emoticons
[ 29%] Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/componentchooserfilemanager.o
[ 29%] [ 29%] Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/componentchooseremail.o
Building CXX object kcontrol/emoticons/CMakeFiles/kcm_emoticons.dir/kcm_emoticons_automoc.o
Scanning dependencies of target kcmspellchecking
Linking CXX shared library ../../../../lib/libnepomukdatamanagement.so
Scanning dependencies of target kio_bookmarks
[ 29%] Linking CXX shared module ../../lib/kcmspellchecking.so
Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/componentchooserterminal.o
[ 29%] Building CXX object kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks_automoc.o
Linking CXX shared module ../../lib/kio_about.so
[ 29%] [ 29%] Building CXX object kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks.o
Built target kcmspellchecking
[ 29%] Building CXX object kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks_html.o
[ 29%] Built target kio_about
[ 29%] Building CXX object kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks_pixmap.o
Scanning dependencies of target kio_cgi
[ 29%] Building CXX object kioslave/cgi/CMakeFiles/kio_cgi.dir/kio_cgi_automoc.o
[ 29%] Building CXX object kioslave/cgi/CMakeFiles/kio_cgi.dir/cgi.o
Scanning dependencies of target kcm_cgi
In file included from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:31:
/usr/local/include/qbuffer.h:47: error: function definition does not declare parameters
/usr/local/include/qbuffer.h:90: error: 'QBuffer' has not been declared
/usr/local/include/qbuffer.h:90: error: non-member function 'QByteArray buffer()' cannot have cv-qualifier
/usr/local/include/qbuffer.h: In function 'QByteArray buffer()':
/usr/local/include/qbuffer.h:91: error: 'a' was not declared in this scope
/usr/local/include/qbuffer.h: At global scope:
/usr/local/include/qbuffer.h:93: error: 'Offset' in class 'QIODevice' does not name a type
/usr/local/include/qbuffer.h:96: error: 'Offset' in class 'QIODevice' does not name a type
In file included from /usr/local/include/qpainter.h:44,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qfontmetrics.h:53: error: function definition does not declare parameters
In file included from /usr/local/include/qpainter.h:45,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qfontinfo.h:46: error: function definition does not declare parameters
/usr/local/include/qfontinfo.h:84: error: invalid use of incomplete type 'struct QFontInfo'
/usr/local/include/qt4/QtGui/qwindowdefs.h:72: error: forward declaration of 'struct QFontInfo'
In file included from /usr/local/include/qpen.h:43,
from /usr/local/include/qpainter.h:47,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qshared.h:46: error: function definition does not declare parameters
In file included from /usr/local/include/qpainter.h:47,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qpen.h:47: error: function definition does not declare parameters
/usr/local/include/qpen.h:95: error: expected initializer before '&' token
/usr/local/include/qpen.h:96: error: expected initializer before '&' token
In file included from /usr/local/include/qpainter.h:48,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qbrush.h:47: error: function definition does not declare parameters
/usr/local/include/qbrush.h:87: error: expected initializer before '&' token
/usr/local/include/qbrush.h:88: error: expected initializer before '&' token
In file included from /usr/local/include/qmemarray.h:42,
from /usr/local/include/qpointarray.h:42,
from /usr/local/include/qpainter.h:49,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qgarray.h:46: error: function definition does not declare parameters
/usr/local/include/qgarray.h:119: error: 'QGArray' has not been declared
/usr/local/include/qgarray.h:119: error: non-member function 'char* at(uint)' cannot have cv-qualifier
/usr/local/include/qgarray.h: In function 'char* at(uint)':
/usr/local/include/qgarray.h:127: error: 'shd' was not declared in this scope
In file included from /usr/local/include/qpointarray.h:42,
from /usr/local/include/qpainter.h:49,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qmemarray.h: At global scope:
/usr/local/include/qmemarray.h:48: error: expected class-name before '{' token
/usr/local/include/qmemarray.h:71: error: 'Optimization' has not been declared
/usr/local/include/qmemarray.h: In constructor 'QMemArray<type>::QMemArray(int, int)':
/usr/local/include/qmemarray.h:55: error: class 'QMemArray<type>' does not have any field named 'QGArray'
/usr/local/include/qmemarray.h: In constructor 'QMemArray<type>::QMemArray(int)':
/usr/local/include/qmemarray.h:59: error: class 'QMemArray<type>' does not have any field named 'QGArray'
/usr/local/include/qmemarray.h: In copy constructor 'QMemArray<type>::QMemArray(const QMemArray<type>&)':
/usr/local/include/qmemarray.h:60: error: class 'QMemArray<type>' does not have any field named 'QGArray'
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>:

perator=(const QMemArray<type>&)':
/usr/local/include/qmemarray.h:63: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:63: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:63: error: '::assign' has not been declared
/usr/local/include/qmemarray.h: In member function 'type* QMemArray<type>::data() const':
/usr/local/include/qmemarray.h:64: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:64: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:64: error: '::data' has not been declared
/usr/local/include/qmemarray.h: In member function 'uint QMemArray<type>::nrefs() const':
/usr/local/include/qmemarray.h:65: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'uint QMemArray<type>::size() const':
/usr/local/include/qmemarray.h:66: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::isEmpty() const':
/usr/local/include/qmemarray.h:68: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::isNull() const':
/usr/local/include/qmemarray.h:69: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::resize(uint)':
/usr/local/include/qmemarray.h:70: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::resize(uint, int)':
/usr/local/include/qmemarray.h:71: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::truncate(uint)':
/usr/local/include/qmemarray.h:72: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'bool QMemArray<type>::fill(const type&, int)':
/usr/local/include/qmemarray.h:74: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'void QMemArray<type>::detach()':
/usr/local/include/qmemarray.h:75: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::assign(const QMemArray<type>&)':
/usr/local/include/qmemarray.h:79: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:79: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:79: error: '::assign' has not been declared
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::assign(const type*, uint)':
/usr/local/include/qmemarray.h:81: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:81: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:81: error: '::assign' has not been declared
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::duplicate(const QMemArray<type>&)':
/usr/local/include/qmemarray.h:83: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:83: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:83: error: '::duplicate' has not been declared
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::duplicate(const type*, uint)':
/usr/local/include/qmemarray.h:85: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:85: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:85: error: '::duplicate' has not been declared
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>& QMemArray<type>::setRawData(const type*, uint)':
/usr/local/include/qmemarray.h:87: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:87: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:87: error: '::setRawData' has not been declared
/usr/local/include/qmemarray.h: In member function 'void QMemArray<type>::resetRawData(const type*, uint)':
/usr/local/include/qmemarray.h:90: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'int QMemArray<type>::find(const type&, uint) const':
/usr/local/include/qmemarray.h:92: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'int QMemArray<type>::contains(const type&) const':
/usr/local/include/qmemarray.h:94: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'void QMemArray<type>::sort()':
/usr/local/include/qmemarray.h:95: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'int QMemArray<type>::bsearch(const type&) const':
/usr/local/include/qmemarray.h:97: error: 'QGArray' has not been declared
/usr/local/include/qmemarray.h: In member function 'type& QMemArray<type>:

perator[](int) const':
/usr/local/include/qmemarray.h:100: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:100: error: expected primary-expression before '&' token
/usr/local/include/qmemarray.h:100: error: expected primary-expression before ')' token
/usr/local/include/qmemarray.h: In member function 'type& QMemArray<type>::at(uint) const':
/usr/local/include/qmemarray.h:102: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:102: error: expected primary-expression before '&' token
/usr/local/include/qmemarray.h:102: error: expected primary-expression before ')' token
/usr/local/include/qmemarray.h: In member function 'QMemArray<type>:

perator const type*() const':
/usr/local/include/qmemarray.h:103: error: 'QGArray' was not declared in this scope
/usr/local/include/qmemarray.h:103: error: expected ';' before '::' token
/usr/local/include/qmemarray.h:103: error: '::data' has not been declared
In file included from /usr/local/include/qpainter.h:49,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qpointarray.h: At global scope:
/usr/local/include/qpointarray.h:51: error: function definition does not declare parameters
/usr/local/include/qpointarray.h:101: error: expected initializer before '&' token
/usr/local/include/qpointarray.h:102: error: expected initializer before '&' token
/usr/local/include/qpointarray.h:109: error: 'QPointArray' has not been declared
/usr/local/include/qpointarray.h: In function 'void setPoint(uint, const QPoint&)':
/usr/local/include/qpointarray.h:111: error: invalid initialization of reference of type 'const QPoint&' from expression of type 'int'
/usr/local/include/qpointarray.h:109: error: in passing argument 2 of 'void setPoint(uint, const QPoint&)'
In file included from /usr/local/include/qpainter.h:50,
from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qwmatrix.h: At global scope:
/usr/local/include/qwmatrix.h:51: error: function definition does not declare parameters
/usr/local/include/qwmatrix.h:113: error: expected initializer before 'operator'
/usr/local/include/qwmatrix.h:120: error: expected initializer before '&' token
/usr/local/include/qwmatrix.h:121: error: expected initializer before '&' token
In file included from /usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:32:
/usr/local/include/qpainter.h:67: error: function definition does not declare parameters
/usr/local/include/qpainter.h:445: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:450: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:455: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:460: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:465: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:477: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:482: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:487: error: 'RasterOp' in namespace 'Qt' does not name a type
/usr/local/include/qpainter.h:492: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:497: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:506: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:515: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:524: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:534: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:539: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:544: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:555: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:561: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:567: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:572: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:578: error: 'CoordinateMode' has not been declared
/usr/local/include/qpainter.h:578: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:583: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:588: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:593: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:598: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:603: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:608: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:613: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:618: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:623: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:628: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:633: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:638: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:644: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:650: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:657: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:662: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:667: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:672: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:677: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:682: error: 'TextDirection' has not been declared
/usr/local/include/qpainter.h:682: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:687: error: 'TextDirection' has not been declared
/usr/local/include/qpainter.h:687: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:693: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:699: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/local/include/qpainter.h:705: error: invalid use of incomplete type 'struct QPainter'
/usr/local/include/qt4/QtGui/qwindowdefs.h:68: error: forward declaration of 'struct QPainter'
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp: In member function 'void BookmarksProtocol::echoImage(const QString&, const QString&, const QString&)':
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:62: error: variable 'QPainter painter' has initializer but incomplete type
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:72: error: 'QBuffer' was not declared in this scope
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:72: error: expected `;' before 'buffer'
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:73: error: request for member 'open' in 'buffer', which is of non-class type 'QByteArray ()()'
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:74: error: no matching function for call to 'QImage::save(QByteArray (*)(), const char [4])'
/usr/local/include/qt4/QtGui/qimage.h:245: note: candidates are: bool QImage::save(const QString&, const char*, int) const
/usr/local/include/qt4/QtGui/qimage.h:246: note: bool QImage::save(QIODevice*, const char*, int) const
/usr/ports/x11/kde4-runtime/work/kde-runtime-4.7.4/kioslave/bookmarks/kio_bookmarks_pixmap.cpp:77: error: request for member 'buffer' in 'buffer', which is of non-class type 'QByteArray ()()'
[ 29%] Building CXX object kioslave/cgi/kcmcgi/CMakeFiles/kcm_cgi.dir/kcm_cgi_automoc.o
gmake[2]: *** [kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/kio_bookmarks_pixmap.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/ktimerdialog.o
[ 29%] Building CXX object kioslave/cgi/kcmcgi/CMakeFiles/kcm_cgi.dir/kcmcgi.o
Scanning dependencies of target kio_filter
[ 30%] Building CXX object kioslave/filter/CMakeFiles/kio_filter.dir/kio_filter_automoc.o
[ 30%] Building CXX object kioslave/filter/CMakeFiles/kio_filter.dir/filter.o
Scanning dependencies of target kio_info
[ 30%] Building CXX object kioslave/info/CMakeFiles/kio_info.dir/kio_info_automoc.o
[ 31%] Building CXX object kcontrol/componentchooser/CMakeFiles/kcm_componentchooser.dir/componentchooserwm.o
[ 32%] Building CXX object kioslave/info/CMakeFiles/kio_info.dir/info.o
gmake[1]: *** [kioslave/bookmarks/CMakeFiles/kio_bookmarks.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
Linking CXX shared module ../../../lib/kcm_cgi.so
[ 32%] Built target kcm_cgi
Linking CXX shared module ../../lib/kio_cgi.so
Linking CXX shared module ../../lib/kcm_emoticons.so
[ 32%] Built target kio_cgi
[ 32%] Built target kcm_emoticons
Linking CXX shared module ../../lib/kio_filter.so
[ 32%] Built target kio_filter
Linking CXX shared module ../../lib/kio_info.so
[ 32%] Built target kio_info
Linking CXX shared module ../../lib/kcm_componentchooser.so
[ 32%] Built target kcm_componentchooser
Linking CXX shared module ../../lib/kcm_locale.so
[ 32%] Built target kcm_locale
gmake: *** [all] Error 2
*** Error code 1
Stop in /usr/ports/x11/kde4-runtime.
*** Error code 1
Stop in /usr/ports/x11/kde4-runtime.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120202-35229-ojtp89-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=kde-runtime-4.7.3 UPGRADE_PORT_VER=4.7.3 make
** Fix the problem and try again.
---> Build of x11/kde4-runtime ended at: Thu, 02 Feb 2012 03:03:37 +1100 (consumed 00:01:02)
---> Upgrade of x11/kde4-runtime ended at: Thu, 02 Feb 2012 03:03:37 +1100 (consumed 00:01:45)
---> ** Upgrade tasks 68: 24 done, 0 ignored, 6 skipped and 6 failed
---> Upgrade of deskutils/xfce4-tumbler started at: Thu, 02 Feb 2012 03:03:37 +1100
---> Upgrading 'xfce4-tumbler-0.1.22_1' to 'xfce4-tumbler-0.1.23' (deskutils/xfce4-tumbler)
OK? [yes]