From owner-freebsd-ports@freebsd.org Fri Nov 27 14:47:34 2015 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 94020A3A3B2 for ; Fri, 27 Nov 2015 14:47:34 +0000 (UTC) (envelope-from dimitry@andric.com) 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 A65891534; Fri, 27 Nov 2015 14:47:33 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7::49da:981:f13:2a52] (unknown [IPv6:2001:7b8:3a7:0:49da:981:f13:2a52]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 899A43A9E; Fri, 27 Nov 2015 15:47:25 +0100 (CET) Subject: Re: lang/gcc48 fails to build [on HEAD] Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: multipart/signed; boundary="Apple-Mail=_7B6DE9A7-4505-4F37-969D-6E6629C3B2B9"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <56586B7D.3080700@FreeBSD.org> Date: Fri, 27 Nov 2015 15:47:21 +0100 Cc: Baptiste Daroussin , Tijl Coosemans , Gerald Pfeifer , freebsd-ports@freebsd.org, Rainer Hurling Message-Id: <12016A2D-DFAB-4363-A2B4-70319D498CF4@andric.com> References: <564040EE.6090504@gwdg.de> <5642362C.7000609@gwdg.de> <20151127125954.GA17547@ivaldir.etoilebsd.net> <20151127142405.20af4925@kalimero.tijl.coosemans.org> <20151127134205.GB17547@ivaldir.etoilebsd.net> <56586B7D.3080700@FreeBSD.org> To: Steve Wills X-Mailer: Apple Mail (2.3096.5) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2015 14:47:34 -0000 --Apple-Mail=_7B6DE9A7-4505-4F37-969D-6E6629C3B2B9 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 27 Nov 2015, at 15:41, Steve Wills wrote: On 11/27/2015 08:42, Baptiste Daroussin wrote: >> On Fri, Nov 27, 2015 at 02:24:05PM +0100, Tijl Coosemans wrote: ... >>> so I was thinking of adding something like this to >>> bsd.port.mk: >>> >>> USE_LOCALE?= C >>> LANG= ${USE_LOCALE} >>> LC_ALL= ${USE_LOCALE} >>> .export LANG LC_ALL >>> >>> This gives a consistent locale environment for port builds. Some ports >>> already set LANG or LC_ALL. That would have to be reviewed and I haven't >>> had time for that yet. >> >> yeah we should imho to that. The same issue appears with GNU tr which also >> do not take in account collation (IIRC) while ours do. > > FWIW, I ran into this building devel/arm-none-eabi-gcc too. Setting > LC_ALL and LANG fixed it for me. Also, Mk/bsd.ruby.mk got something > similar for gem builds a while ago, though it uses en_US.UTF-8 for > LC_ALL and LC_CTYPE=UTF-8. As I recall, this was due to difference in > generated docs based on language. We may want to remove the bits from > Mk/bsd.ruby.mk if we add it globally. Also, I wonder what impacts this > will have beyond fixing builds, such as docs, plist differences or baked > in defaults, etc. This really sounds like it needs an exp-run. :-) -Dimitry --Apple-Mail=_7B6DE9A7-4505-4F37-969D-6E6629C3B2B9 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.28 iEYEARECAAYFAlZYbP0ACgkQsF6jCi4glqMsIgCfdaOAm+l8SldtJrQz1kbF+l7D O88An1379MOG894D8KQrKX1nAtTl91v9 =tV5e -----END PGP SIGNATURE----- --Apple-Mail=_7B6DE9A7-4505-4F37-969D-6E6629C3B2B9--