From owner-freebsd-ports@freebsd.org Sat Jun 27 17:59:24 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FBA7358C8E for ; Sat, 27 Jun 2020 17:59:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49vM2h05d5z4GbS for ; Sat, 27 Jun 2020 17:59:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 018FB358E01; Sat, 27 Jun 2020 17:59:24 +0000 (UTC) Delivered-To: ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01587358C8D for ; Sat, 27 Jun 2020 17:59:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49vM2g6CzVz4GW5; Sat, 27 Jun 2020 17:59:23 +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 "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id B67CF233A0; Sat, 27 Jun 2020 17:59:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [10.10.156.45] (unknown [45.85.81.142]) (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 97E246E30F; Sat, 27 Jun 2020 19:59:22 +0200 (CEST) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Subject: Re: mail/filtermail fails to build with 13.0-CURRENT Date: Sat, 27 Jun 2020 19:59:10 +0200 In-Reply-To: <11067123.Fl8HKFhtjO@curlew> Cc: ports@freebsd.org, Jung-uk Kim To: Mike Clarke References: <11067123.Fl8HKFhtjO@curlew> X-Mailer: Apple Mail (2.3445.104.14) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2020 17:59:24 -0000 --Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Jun 2020, at 17:56, Mike Clarke = wrote: > As someone with very little experience with C++ I'd welcome advice on = how to fix this for 13.0- > CURRENT. It builds without problem on 12.1-RELEASE ... > rcfile.ll:151:14: error: no viable overloaded '=3D' > yyin =3D new ifstream (sub_file.c_str ()); > ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This appears to be caused by a recent update to contrib/flex from 2.5.37 = (7 years old) to 2.6.4, in r362333, where upstream changed yyin and = yyout from pointers to references: = https://github.com/westes/flex/commit/336a1deaa57975f34cd732d656d1c0cbe3d5= 233a Unfortunately this can break existing .ll files. They will have to be = patched, but this is made more difficult by having the new version of = flex in 13-CURRENT. -Dimitry --Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXveI7wAKCRCwXqMKLiCW o7sJAKCgAOVzqTDy+fxBsV//3Gu2uI1NqQCg05IwzM+XwEVdGeE+l/QCTg2wktA= =V3yb -----END PGP SIGNATURE----- --Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02--