[SR-421] Fail to build stdlib on osx with region set to non US #43038
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
build-script
Area → utils: The build script
Environment
osx 10.12.2
Sphinx (sphinx-build) 1.3.3
Additional Detail from JIRA
md5: 05b2459d737fd1a4f9c218fbd5da0065
Issue Description:
Reproduce steps
1. Open Language & Region setting panel, set region to Taiwan.
2. invoke build-script
Error log
Root Cause
If language is set to English, but the region is set to non US, the LC_CTYPE Env var will be set to "UTF-8", which will cause error in sphinx-doc.
see https://bugs.python.org/issue18378#msg215215
workaround
build the project with LC_CTYPE set to "en_US.UTF-8"
The text was updated successfully, but these errors were encountered: