Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 15:47:21 +0100
From:      Dimitry Andric <dimitry@andric.com>
To:        Steve Wills <swills@FreeBSD.org>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>, Tijl Coosemans <tijl@FreeBSD.org>, Gerald Pfeifer <gerald@pfeifer.com>, freebsd-ports@freebsd.org, Rainer Hurling <rhurlin@gwdg.de>
Subject:   Re: lang/gcc48 fails to build [on HEAD]
Message-ID:  <12016A2D-DFAB-4363-A2B4-70319D498CF4@andric.com>
In-Reply-To: <56586B7D.3080700@FreeBSD.org>
References:  <564040EE.6090504@gwdg.de> <alpine.LSU.2.20.1511091105470.2548@anthias> <5642362C.7000609@gwdg.de> <20151127125954.GA17547@ivaldir.etoilebsd.net> <20151127142405.20af4925@kalimero.tijl.coosemans.org> <20151127134205.GB17547@ivaldir.etoilebsd.net> <56586B7D.3080700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <swills@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12016A2D-DFAB-4363-A2B4-70319D498CF4>