RFR: 7151898: Check for LANG in Mac OS X jdk build sanity check [macosx]
fredrik.ohrstrom at oracle.com
Fri Mar 16 00:55:41 PDT 2012
2012-03-15 21:56, Kelly O'Hair skrev:
> It is very hard to know the complete impact of building the product in different locales when
> native code is involved. So as much as I would like to guarantee all selections will work, I would
> rather we narrow down the options here to avoid having to deal with all the possible combinations.
Which tools did you have in mind that generate native code and are
affected by LANG!=C ?
One of the simplest ways to fix the problem is to replace for example
`date` with `LANG=C date`
It should be rather simple to prefix those tools that you are thinking
of with a LANG=C prefix.
Exporting LANG=C to the shell is very inconvenient because it breaks a
lot of shell usability for me.
Just globally setting LANG=C inside the makefiles, would also work, but
it is much nicer if we
know what we are doing and just target those commands who actually matter.
More information about the build-dev