From owner-freebsd-ports@freebsd.org Sun Jun 19 11:34:34 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55EA6A7AFFB for ; Sun, 19 Jun 2016 11:34:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7642666 for ; Sun, 19 Jun 2016 11:34:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3B545A7AFFA; Sun, 19 Jun 2016 11:34:34 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AF95A7AFF9 for ; Sun, 19 Jun 2016 11:34:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0353B2665 for ; Sun, 19 Jun 2016 11:34:34 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [192.168.43.45] (unknown [31.161.137.87]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 01FE37F4D; Sun, 19 Jun 2016 13:34:28 +0200 (CEST) Subject: Re: Why central builds are performed on 10.1 with broken/different compared to 10, 3 compiler? Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <64e51a34-fced-4f7f-2a3f-9508c6c24b39@rawbw.com> Date: Sun, 19 Jun 2016 13:34:14 +0200 Cc: "ports@freebsd.org" Message-Id: References: <64e51a34-fced-4f7f-2a3f-9508c6c24b39@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 11:34:34 -0000 --Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Jun 2016, at 19:13, Yuri wrote: >=20 > I regularly get the fallout messages for my net-im/ring-daemon port. = It breaks on 10.1 with the c++11 -related message: >=20 > In file included from = /wrkdirs/usr/ports/net-im/ring-daemon/work/ring-daemon-56ec56f/src/manager= .h:45: > = /wrkdirs/usr/ports/net-im/ring-daemon/work/ring-daemon-56ec56f/src/account= _factory.h:121:107: error: chosen constructor is explicit in = copy-initialization > std::map(const std::string&)> > = generators_ =3D {}; > = ^~ > /usr/include/c++/v1/map:838:14: note: constructor declared here > explicit map(const key_compare& __comp =3D key_compare()) >=20 >=20 > net-im/ring-daemon doesn't break on 10.3 system though. It has = USES=3Dcompiler:c++14-lang. >=20 > There are two questions: > 1. Why clang36 works differently on 10.1 and 10.3? In this particular case, because 10.1 doesn't have r278724 [1], which updated libc++ in stable/10 to the latest version in head. This was an upstream libc++ bug [2], fixed in upstream r202994 [3]. I think this can be worked around by removing the '=3D' sign, but I = can't verify it at the moment. -Dimitry [1] https://svnweb.freebsd.org/changeset/base/278724 [2] https://llvm.org/bugs/show_bug.cgi?id=3D15724 [3] http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D202994 --Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAldmg0AACgkQsF6jCi4glqPsfwCeNYbQg4JkJo+rTBsWWC0p+GH1 HeIAoLbQMNdZxW7a1KeH6Oy7tBQJGhgr =gKn6 -----END PGP SIGNATURE----- --Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954--