x11/kde4-workspace: can not be build or upgraded in FreeBSD 10.0/amd64

O. Hartmann ohartman at zedat.fu-berlin.de
Thu Jan 26 18:22:30 UTC 2012

I have trouble with one of our boxes running FBSD 10.0/amd64 while
updating ports with portmaster. The box in question refuses
compiling/upgrading x11/kde4-workspace. I tried compiling with both
legacy GCC and CLANG.

What's going wrong and how can this repaired?

Thanks in advance,


[ 72%] Built target ksysguardlsofwidgets
[ 72%] Building CXX object
[ 73%] Built target plasmagenericshell
[ 73%] Building CXX object
error: redefinition of 'i' with a different
        QMap<qlonglong, XID>::iterator i =
note: previous definition is here
    for (uint i=0; i < count; ++i) {
error: 'operator _Bool' is a private member of
      'QMap<long long, unsigned long>::iterator'
        if(i == mXResClientResources.end())
/usr/local/include/qt4/QtCore/qmap.h:294:16: note: declared private here
        inline operator bool() const { return false; }
error: member reference base type 'uint'
      (aka 'unsigned int') is not a structure or union
        if(-i.key() != (qlonglong)(wid & ~i.value()))
            ~ ^
error: member reference base type 'uint'
      (aka 'unsigned int') is not a structure or union
        if(-i.key() != (qlonglong)(wid & ~i.value()))
                                          ~ ^
error: no viable conversion from 'uint'
      (aka 'unsigned int') to 'QMap<long long, unsigned long>::iterator'
/usr/local/include/qt4/QtCore/qmap.h:230:11: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'uint'
      (aka 'unsigned int') to 'const QMap<long long, unsigned
long>::iterator &' for 1st argument;
    class iterator
/usr/local/include/qt4/QtCore/qmap.h:245:16: note: candidate constructor
not viable: no known conversion from 'uint' (aka 'unsigned int') to
      'QMapData::Node *' for 1st argument;
        inline iterator(QMapData::Node *node) : i(node) { }
/usr/local/include/qt4/QtCore/qmap.h:378:29: note: passing argument to
parameter 'it' here
    iterator erase(iterator it);
5 errors generated.
gmake[2]: ***
[libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessModel.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 73%] Generating ksignalplotterwidgets.cpp
[ 73%] Generating ksignalplotterwidgets.moc
Scanning dependencies of target ksignalplotterwidgets
gmake[1]: *** [libs/ksysguard/processui/CMakeFiles/processui.dir/all]
Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 73%] Building CXX object
Linking CXX shared module ../../../lib/ksignalplotterwidgets.so
[ 73%] Built target ksignalplotterwidgets
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120126/5430d389/signature.pgp

More information about the freebsd-ports mailing list