Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 19:22:22 +0100
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   x11/kde4-workspace: can not be build or upgraded in FreeBSD 10.0/amd64
Message-ID:  <4F2199DE.1050504@zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4F4BB0F761063A30EC6BB95A
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

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,

Oliver


[ 72%] Built target ksysguardlsofwidgets
[ 72%] Building CXX object
libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessModel.o
[ 73%] Built target plasmagenericshell
[ 73%] Building CXX object
libs/ksysguard/processui/CMakeFiles/processui.dir/ReniceDlg.o
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:424:40:
error: redefinition of 'i' with a different
      type
        QMap<qlonglong, XID>::iterator i =3D
mXResClientResources.lowerBound(-(qlonglong)(wid));
                                       ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:422:15:
note: previous definition is here
    for (uint i=3D0; i < count; ++i) {
              ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:425:17:
error: 'operator _Bool' is a private member of
      'QMap<long long, unsigned long>::iterator'
        if(i =3D=3D mXResClientResources.end())
                ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/qt4/QtCore/qmap.h:294:16: note: declared private here
        inline operator bool() const { return false; }
               ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:428:15:
error: member reference base type 'uint'
      (aka 'unsigned int') is not a structure or union
        if(-i.key() !=3D (qlonglong)(wid & ~i.value()))
            ~ ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:428:45:
error: member reference base type 'uint'
      (aka 'unsigned int') is not a structure or union
        if(-i.key() !=3D (qlonglong)(wid & ~i.value()))
                                          ~ ^
/usr/ports/x11/kde4-workspace/work/kde-workspace-4.7.4/libs/ksysguard/pro=
cessui/ProcessModel.cpp:441:36:
error: no viable conversion from 'uint'
      (aka 'unsigned int') to 'QMap<long long, unsigned long>::iterator'
        mXResClientResources.erase(i);
                                   ^
/usr/local/include/qt4/QtCore/qmap.h:230:11: note: candidate constructor
(the implicit copy constructor) not viable: no known conversion from 'uin=
t'
      (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
libs/ksysguard/signalplotter/CMakeFiles/ksignalplotterwidgets.dir/ksignal=
plotterwidgets.o
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.


--------------enig4F4BB0F761063A30EC6BB95A
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBAgAGBQJPIZnkAAoJEOgBcD7A/5N81DkH/0UYj4wN3+QAmPwLFLvUKpht
Revv95dEVqLgtc/1PwMhJ6l4bOkac3m+9QswrL+Ic9cp9Ed9SGi0dG1r7csanwdw
6ZExUCf/zU2aKwl3OcT1fLQeaTa/SF/Bzi0xK5Olcm2gRr0ur6DwKk6trFlYOYm+
Iu6bQCkp5Pd0G9SYjgvM5qroOwUH9AUVvNs34S4lZcvn1XuiVCn1T4zFcgSZdMez
DYQXT8bw5uOXpUeWCo6oaAgi7IUSeo9ZHTMpjvoW4i0lVuvCvjDhHq/iODWNLMmg
Yl4vSH4aAYZR3sx2Aq9EQFKPvgJVHIH5m9fIYS1A5XPBaPTjD6/uQ33nRrmYYaQ=
=u34a
-----END PGP SIGNATURE-----

--------------enig4F4BB0F761063A30EC6BB95A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2199DE.1050504>