kdelibs4 [4.4.5] compile failure for 4.4.4 repeated

david at vizion2000.net david at vizion2000.net
Thu Jul 1 08:42:48 UTC 2010


Can anyone please tell me what is going on here -- and how to fix it? Ever
since following the instructions in UPDATING 20100511 I have 
1. Been unable to compile kdepim4 
2. Had numerous problems with kdelibs4

This is the failure from the latest portupgrade which seeks to upgrade to
4.4.5. The error is virtually the same one experienced with 4.4.4

Thanks in advance

David

/usr/local/include/qt4/QtCore/qstring.h:900: error: invalid use of
incomplete type 'const struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'const struct QString'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool
qStringComparisonHelper(const QString&, const char*)':
/usr/local/include/qt4/QtCore/qstring.h:906: error: incomplete type
'QString' used in nested name specifier
/usr/local/include/qt4/QtCore/qstring.h:906: error: incomplete type
'QString' used in nested name specifier
/usr/local/include/qt4/QtCore/qstring.h:908: error: invalid use of
incomplete type 'struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: At global scope:
/usr/local/include/qt4/QtCore/qstring.h:910: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:912: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:914: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:916: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:918: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:920: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:923: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:925: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:927: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:929: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:931: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:933: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:936: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:938: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:940: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:942: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:944: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h:946: error: expected initializer
before 'bool'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator==(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:950: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:950: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator!=(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:952: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:952: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator<(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:954: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:954: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator<=(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:956: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:956: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator>(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:958: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:958: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: In function 'bool operator>=(const
QLatin1String&, const QLatin1String&)':
/usr/local/include/qt4/QtCore/qstring.h:960: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:960: error: invalid use of
incomplete type 'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h:86: error: forward declaration of
'const struct QLatin1String'
/usr/local/include/qt4/QtCore/qstring.h: At global scope:
/usr/local/include/qt4/QtCore/qstring.h:963: error: expected ',' or '...'
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:963: error: ISO C++ forbids
declaration of 'QByteArray' with no type
/usr/local/include/qt4/QtCore/qstring.h:963: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:965: error: expected ',' or '...'
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:965: error: ISO C++ forbids
declaration of 'QByteArray' with no type
/usr/local/include/qt4/QtCore/qstring.h:965: error: invalid use of
incomplete type 'struct QString'
/usr/ports/x11/kdelibs4/work/kdelibs-4.4.5/kio/kio/kpasswdserver_p.h:27:
error: forward declaration of 'struct QString'
/usr/local/include/qt4/QtCore/qstring.h:968: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:968: error: non-member function
'bool operator==(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:968: error: 'bool operator==(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h:970: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:970: error: non-member function
'bool operator!=(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:970: error: 'bool operator!=(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h:972: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:972: error: non-member function
'bool operator<(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:972: error: 'bool operator<(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h:974: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:974: error: non-member function
'bool operator>(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:974: error: 'bool operator>(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h:976: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:976: error: non-member function
'bool operator<=(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:976: error: 'bool operator<=(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h:978: error: 'QByteArray' is not a
class or namespace
/usr/local/include/qt4/QtCore/qstring.h:978: error: non-member function
'bool operator>=(const QString&)' cannot have cv-qualifier
/usr/local/include/qt4/QtCore/qstring.h:978: error: 'bool operator>=(const
QString&)' must take exactly two arguments
/usr/local/include/qt4/QtCore/qstring.h: In function 'const QString
operator+(const QString&, const QString&)':
/usr/local/include/qt4/QtCore/qstring.h:1009: error: return type 'const
struct QString' is incomplete
/usr/local/include/qt4/QtCore/qstring.h:1010: error: variable 'QString t'
has initializer but incomplete type
/usr/local/include/qt4/QtCore/qstring.h: At global scope:
/usr/local/include/qt4/QtCore/qstring.h:1011: error: 'QChar' is not a type
/usr/local/include/qt4/QtCore/qstring.h: In function 'const QString
operator+(const QString&, int)':
/usr/local/include/qt4/QtCore/qstring.h:1011: error: return type 'const
struct QString' is incomplete
/usr/local/include/qt4/QtCore/qstring.h:1012: error: variable 'QString t'
has initializer but incomplete type
/usr/local/include/qt4/QtCore/qstring.h: At global scope:
/usr/local/include/qt4/QtCore/qstring.h:1013: error: declaration of
'operator+' as non-function
/usr/local/include/qt4/QtCore/qstring.h:1013: error: expected `)' before
's1'
/usr/local/include/qt4/QtCore/qstring.h:1013: error: expected
primary-expression before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1016: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1018: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1020: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1022: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1024: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1026: error: expected initializer
before 'const'
/usr/local/include/qt4/QtCore/qstring.h:1069: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:1070: error: expected initializer
before '&' token
/usr/local/include/qt4/QtCore/qstring.h:1083: error: 'Q_MOVABLE_TYPE' has
not been declared
/usr/local/include/qt4/QtCore/qstring.h:1083: error: expected constructor,
destructor, or type conversion before ';' token
/usr/local/include/qt4/QtCore/qstring.h:1085: error: expected constructor,
destructor, or type conversion before 'Q_DECLARE_OPERATORS_FOR_FLAGS'
gmake[2]: *** [kio/CMakeFiles/kio.dir/kio/kpasswdserver.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [kio/CMakeFiles/kio.dir/all] Error 2
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20100701-46611-15pgmj7-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=kdelibs-4.4.4 UPGRADE_PORT_VER=4.4.4 make
** Fix the problem and try again.



More information about the freebsd-ports mailing list