From owner-freebsd-ports@freebsd.org Tue Apr 3 18:54:02 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10C81F76EDA for ; Tue, 3 Apr 2018 18:54:02 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 9E8C46CCAB for ; Tue, 3 Apr 2018 18:54:01 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 59F3B3FA9D; Tue, 3 Apr 2018 20:54:00 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_CF082E4F-9726-431C-998F-03EE3235B96D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: FreeBSD 11.1-STABLE #0 r331865: mariadb102-server-10.2.14 compilation fails Date: Tue, 3 Apr 2018 20:53:59 +0200 In-Reply-To: <9709968F-8BDF-4112-BBC4-ADDEE533B00A@ellael.org> Cc: Mailing List FreeBSD Ports To: Michael Grimm References: <9709968F-8BDF-4112-BBC4-ADDEE533B00A@ellael.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2018 18:54:02 -0000 --Apple-Mail=_CF082E4F-9726-431C-998F-03EE3235B96D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 3 Apr 2018, at 19:34, Michael Grimm wrote: >=20 > Dimitry Andric wrote: >> On 2 Apr 2018, at 21:40, Michael Grimm wrote: >=20 >>> since the recent upgrade of llvm et al in STABLE-11.1 = mariadb102-server-10.2.14 fails to compile (poudriere): >>>=20 >>> --- storage/connect/CMakeFiles/connect.dir/all --- >>> --- storage/connect/CMakeFiles/connect.dir/table.cpp.o --- >>> --- storage/connect/CMakeFiles/connect.dir/tabjson.cpp.o --- >>> = /wrkdirs/usr/ports/databases/mariadb102-server/work/mariadb-10.2.14/storag= e/connect/tabjson.cpp:198:10: error: cannot initialize return object of = type 'int' with an rvalue of type 'nullptr_t' >>> return NULL; >>> ^~~~ >>=20 >> The code is likely buggy, but you can try adding USE_CXXSTD=3Dgnu++98 = in >> the port Makefile as a workaround. >=20 > With "USE_CXXSTD=3Dgnu++98" added into that port's Makefile poudriere = has been able to compile that port. Thank you. Alternatively, please try the patch in = . -Dimitry --Apple-Mail=_CF082E4F-9726-431C-998F-03EE3235B96D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWsPNxwAKCRCwXqMKLiCW o2vYAKDPIvcAGOO8HT8qMXNPSyiI/ofClgCg756MRkWZm0L/cdsmIArbBxTiIa8= =dppl -----END PGP SIGNATURE----- --Apple-Mail=_CF082E4F-9726-431C-998F-03EE3235B96D--