From: david on
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.

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Max Brazhnikov on
On Thu, 1 Jul 2010 01:42:42 -0700, david(a)vizion2000.net wrote:
> 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

Apparently something was messed up during your update. Rebuild redland\*,
raptor\*, soprano\*, and then kdelibs. If you still experience troubles with
kde ports, restart build by "make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE" to
reveal actual errors.

Max
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: david on


> -----Original Message-----
> From: owner-freebsd-ports(a)freebsd.org
> [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Max Brazhnikov
> Sent: 01 July 2010 02:47
> To: freebsd-ports(a)freebsd.org
> Cc: david(a)vizion2000.net
> Subject: Re: kdelibs4 [4.4.5] compile failure for 4.4.4 repeated
>
> On Thu, 1 Jul 2010 01:42:42 -0700, david(a)vizion2000.net wrote:
> > 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
>
> Apparently something was messed up during your update.
> Rebuild redland\*, raptor\*, soprano\*, and then kdelibs. If
> you still experience troubles with kde ports, restart build
> by "make -DDISABLE_MAKE_JOBS -DCMAKE_VERBOSE" to reveal actual errors.
>
> Max
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe(a)freebsd.org"
>
Thanks very much - will do -- I have also installed virtuoso. I got the
impression I needed it as well as redland. Is that correct

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Max Brazhnikov on
> Thanks very much - will do -- I have also installed virtuoso. I got the
> impression I needed it as well as redland. Is that correct

Virtuoso is a run dependency for nepomuk (kdebase-runtime), you don't need it
to build kde.
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: david on


> -----Original Message-----
> From: owner-freebsd-ports(a)freebsd.org
> [mailto:owner-freebsd-ports(a)freebsd.org] On Behalf Of Max Brazhnikov
> Sent: 01 July 2010 03:42
> To: david(a)vizion2000.net
> Cc: freebsd-ports(a)freebsd.org
> Subject: Re: kdelibs4 [4.4.5] compile failure for 4.4.4 repeated
>
> > Thanks very much - will do -- I have also installed virtuoso. I got
> > the impression I needed it as well as redland. Is that correct
>
> Virtuoso is a run dependency for nepomuk (kdebase-runtime),
> you don't need it to build kde.
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscribe(a)freebsd.org"
>
Just attempting to rebuild kdelibs4 now. In the early part of the compile
there is a report (Summarised) saying

"The following optional packages could NIOT be located on your system"

Soprano (2.3.70 or higher) [pkg_info actually shows soprano-2.4.3
installed)
Soprano Redland Backend [How is this and the following two installed?}
LibACL
FAM

It seems strange that these items are not installed as a dependency in any
case.
Any reason why kdelibs4 should not be picking up presence of soprano?

David

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"