From owner-freebsd-ports@FreeBSD.ORG Sun Sep 8 06:14:53 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 53A9EFCC; Sun, 8 Sep 2013 06:14:53 +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]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B25CB2B84; Sun, 8 Sep 2013 06:14:52 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1VIYGp-003Ao2-60>; Sun, 08 Sep 2013 08:14:51 +0200 Received: from g225186224.adsl.alicedsl.de ([92.225.186.224] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1VIYGp-00284I-1D>; Sun, 08 Sep 2013 08:14:51 +0200 Date: Sun, 8 Sep 2013 08:14:45 +0200 From: "O. Hartmann" To: rakuco@FreeBSD.org Subject: Re: ports/181913: devel/qt4-script: /usr/include/c++/v1/type_traits:3175:22: error: call to 'swap' is ambiguous Message-ID: <20130908081445.242f77c7@thor.walstatt.dyndns.org> In-Reply-To: <201309072249.r87MnsLP052803@freefall.freebsd.org> References: <201309072249.r87MnsLP052803@freefall.freebsd.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/5kI5W1PsqicJ9pw3Dt5w5KU"; protocol="application/pgp-signature" X-Originating-IP: 92.225.186.224 Cc: freebsd-current@freebsd.org, kde@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Sep 2013 06:14:53 -0000 --Sig_/5kI5W1PsqicJ9pw3Dt5w5KU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 7 Sep 2013 22:49:54 GMT rakuco@FreeBSD.org wrote: > Synopsis: devel/qt4-script: /usr/include/c++/v1/type_traits:3175:22: > error: call to 'swap' is ambiguous >=20 > State-Changed-From-To: open->patched > State-Changed-By: rakuco > State-Changed-When: Sat Sep 7 22:47:43 UTC 2013 > State-Changed-Why:=20 > I don't think the previous version worked. >=20 > From your description, it looks like you've switched to building with > libc++ whereas libstdc++ was being used before. >=20 > The upcoming Qt 4.8.5 plus a few patches which only made it to 4.8.6 > (but we've backported) will finally make Qt build with libc++. >=20 > We've just sent an exp-run request for Qt 4.8.5, and will hopefully > fix all these errors once it is committed. >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D181913 I build the world/kernel since early this year with=20 CXXFLAGS+=3D -stdlib=3Dlibc++ CXXFLAGS+=3D -std=3Dc++11 in /etc/src.conf. I do not use those flags in /etc/make.conf! /etc/src.conf is supposed to target ONLY the /usr/src world, not the ports - this is as I interpret the man page for /etc/src.conf and it would be logical. But this rule/thinking seems to be broken by some includes from /usr/ports/Mk ingredients. I can assure that I didn't switch anything to build the ports but rebuilding world and then restarting building. Something must have changed since then in the logic of how libc++ slipped in instead of of libstdc++. What I did was a "make delete-old-files", which deleted several GNU gcc stuff on all CURRENT boxes. I did not see that any lib got killed after I tried "make delete-old-libs". And I did not check whether libstdc++ is still being built. There are many other occasions where now c++ errors occur and I guess those ports need to be reported in one by one via PR? --Sig_/5kI5W1PsqicJ9pw3Dt5w5KU Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (FreeBSD) iQEcBAEBAgAGBQJSLBXaAAoJEOgBcD7A/5N8BnAH/1BGvJpkbCIYfUV8T5Dsfw7y bHEmkEpO/DwokYVQ2DU8/q/xGPcFwAeJDozkX26Fbmi0+GJDMWrrlx/hcUInSBnL VlasAMGtH7u6UhGnLEhAW+e7pBMUEmTuDMhhYcoXcvKmdZSvmrHiReCbMyiWWZPD x8q6I1Thy2fqUZf6rmTw6dEoa8eTr0qQyVgnM4cAozw6JMlpzW9L0aj2tU0qbGpc Rc1l1DXTTGFyvoT/m//NGtClz+F1srAxr+9nR+VmrVLOLb2mEGh4eIRTgveXnbfZ AuO014D5qyY4DtNEqHn64mC/GCWLY7DIgH/Mdz8UB1A/KaP0y9Ik8b3wNA5i6ak= =Ti0P -----END PGP SIGNATURE----- --Sig_/5kI5W1PsqicJ9pw3Dt5w5KU--