From owner-freebsd-ports@FreeBSD.ORG Thu Jul 1 08:42:48 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4D5E106564A for ; Thu, 1 Jul 2010 08:42:48 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (dns1.vizion2000.net [62.49.197.50]) by mx1.freebsd.org (Postfix) with ESMTP id 1BAA28FC0C for ; Thu, 1 Jul 2010 08:42:47 +0000 (UTC) Received: from graphics (graphics [62.49.197.51]) by dns1.vizion2000.net (Postfix) with ESMTP id 739CE34D404 for ; Thu, 1 Jul 2010 09:42:40 +0100 (BST) From: To: Date: Thu, 1 Jul 2010 01:42:42 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcsY+V7C1qcDUS/6Q5+a1q2EwfSPEQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4657 Subject: kdelibs4 [4.4.5] compile failure for 4.4.4 repeated X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2010 08:42:48 -0000 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.