From owner-freebsd-current@FreeBSD.ORG Thu Feb 2 20:39:08 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7630F1065670 for ; Thu, 2 Feb 2012 20:39:08 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4E58FC15 for ; Thu, 2 Feb 2012 20:39:07 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1Rt3Qw-0002qJ-Up>; Thu, 02 Feb 2012 21:39:07 +0100 Received: from e178015217.adsl.alicedsl.de ([85.178.15.217] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1Rt3Qw-00061k-OY>; Thu, 02 Feb 2012 21:39:06 +0100 Message-ID: <4F2AF46A.8030105@zedat.fu-berlin.de> Date: Thu, 02 Feb 2012 21:39:06 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120119 Thunderbird/9.0 MIME-Version: 1.0 To: Current FreeBSD X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig76971744B705E9567BFB5044" X-Originating-IP: 85.178.15.217 Subject: x11/kde4-workspace 4.7.4: fails to be built on FreeBSD 10 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 20:39:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig76971744B705E9567BFB5044 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Since a couple of days I try to update/compile x11/kd4-workspace (from 4.7.3 -> 4.7.4), but it fails. Compilation fails with gcc 4.2.1 and CLANG as well. On FreeBSD 9.0-STABLE/amd64 boxes I tried the port can be build with CLANG without any problem. Waht's going wrong on my box? Any hints? Thanks in advance, Oliver Linking CXX shared library ../../../lib/libprocesscore.so [ 13%] Built target processcore Scanning dependencies of target processui_automoc Generating ProcessModel.moc Generating ProcessModel_p.moc Generating ksysguardprocesslist.moc Generating ProcessFilter.moc Generating KTextEditVT.moc Generating ReniceDlg.moc Generating moc_scripting.cpp [ 13%] Built target processui_automoc [ 13%] Generating ui_ProcessWidgetUI.h [ 13%] Generating ui_ReniceDlgUi.h Scanning dependencies of target processui [ 13%] Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/processui_automoc.o [ 13%] Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ksysguardprocesslist.o [ 13%] Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessFilter.o [ 13%] Building CXX object libs/ksysguard/processui/CMakeFiles/processui.dir/ProcessModel.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::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::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::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 'uint' (aka 'unsigned int') to 'const QMap::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[1]: *** [libs/ksysguard/processui/CMakeFiles/processui.dir/all] Error 2 gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/x11/kde4-workspace. *** Error code 1 Stop in /usr/ports/x11/kde4-workspace. =3D=3D=3D>>> make failed for x11/kde4-workspace =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for x11/kde4-workspace failed =3D=3D=3D>>> Aborting update Terminated --------------enig76971744B705E9567BFB5044 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) iQEcBAEBAgAGBQJPKvRqAAoJEOgBcD7A/5N8niwH/0kXmek0SoGJraxdIFhwDlB3 i1cidfufXlyeBLpRHFoooldYjBAm9e/zntpB2WEW+vLryku9LbGwX5cZvurCHKmT hITM5yK5XRLdBNY9hku89E84FQ8Lp1o4gUb/avBnA+3Q4sR6dFtQeRHTExTmq44q aujbgQaiZgPMKsLgQ7umf8Jp8um/T5/d6RJlfHfkh6akLvGUEnv0WYSBJDLMReng wgcrXqsa95LiEy6utqz8jhCBAn9AGyQ/pMggsME8zO5A2br9674KhrBDhHdHlDBn 5EFiMmK1Mu3nCxWUtuqZ2xCx9lT2QS8AwvX1RszLqbRCin+usKPlcmzg1u9IxJw= =eu/Y -----END PGP SIGNATURE----- --------------enig76971744B705E9567BFB5044--