From owner-freebsd-ports@FreeBSD.ORG Thu Mar 27 22:09:45 2014 Return-Path: Delivered-To: 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 ESMTPS id 0D1D9A16; Thu, 27 Mar 2014 22:09:45 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC27AC9A; Thu, 27 Mar 2014 22:09:44 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::4597:60bd:daa3:e698] (unknown [IPv6:2001:7b8:3a7:0:4597:60bd:daa3:e698]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E0FF15C43; Thu, 27 Mar 2014 23:09:33 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Port devel/gdb broken on 11-CURRENT amd64. From: Dimitry Andric In-Reply-To: <4AC81949-35A8-4760-BEFC-315DB278E41E@FreeBSD.org> Date: Thu, 27 Mar 2014 23:09:22 +0100 Message-Id: <1040C8F5-CA6A-4CC3-840A-64EB213C95EE@FreeBSD.org> References: <73962E64-42F0-4042-8647-2DE7C78005AB@FreeBSD.org> <4AC81949-35A8-4760-BEFC-315DB278E41E@FreeBSD.org> To: Mark R V Murray X-Mailer: Apple Mail (2.1874) Cc: ports@freebsd.org, pizzamig X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2014 22:09:45 -0000 --Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 24 Mar 2014, at 22:32, Mark R V Murray wrote: >=20 > On 24 Mar 2014, at 15:34, pizzamig wrote: >> I've already got a report about that, but I'm on holiday, without a = CURRENT system, I cannot work on it right now... >> I guess CURRENT has a new clang version=85 >=20 > Yup! It=92s Clang v3.4. I=92ve done a local dirty fix of = =91CFLAGS+=3D-Wno-error=92 in the Port Makefile. I suspect it will need = rather more than this to cover all the CLANG and GCC versions that are = around. IMHO it is fairly ridiculous the port is compiled with -Werror. If we were gdb developers, I could understand, but for contributed software it does not make much sense. Maybe the maintainer can apply the following patch, which I have literally had for years in my ports tree now. Index: devel/gdb/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- devel/gdb/Makefile (revision 348737) +++ devel/gdb/Makefile (working copy) @@ -21,7 +21,8 @@ --with-separate-debug-dir=3D/usr/lib/debug \ ${ICONV_CONFIGURE_ARG} \ --without-libunwind-ia64 \ - --enable-targets=3Dall + --enable-targets=3Dall \ + --disable-werror CFLAGS:=3D ${CFLAGS:C/ +$//} # blanks at EOL creep in = sometimes CFLAGS+=3D -DRL_NO_COMPAT EXCLUDE=3D dejagnu expect sim texinfo intl --Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC 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.22 (Darwin) iEYEARECAAYFAlM0oZwACgkQsF6jCi4glqON8QCeJ/fUJacsvV7OWcx+y7RjJL0/ ND0AoOzEzgl+CKed80Hr7xIggE1kf6ej =1SJb -----END PGP SIGNATURE----- --Apple-Mail=_D5978D32-1669-46C8-9BEB-3D7FBFBDA2BC--