Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-421] Fail to build stdlib on osx with region set to non US #43038

Closed
swift-ci opened this issue Dec 30, 2015 · 4 comments
Closed

[SR-421] Fail to build stdlib on osx with region set to non US #43038

swift-ci opened this issue Dec 30, 2015 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-421
Radar None
Original Reporter johnlinvc (JIRA User)
Type Bug
Environment

osx 10.12.2
Sphinx (sphinx-build) 1.3.3

Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Bug, BuildScript
Assignee None
Priority Medium

md5: 05b2459d737fd1a4f9c218fbd5da0065

Issue Description:

Reproduce steps

1. Open Language & Region setting panel, set region to Taiwan.
2. invoke build-script

./utils/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"

LC_CTYPE=en_US.UTF-8 ./utils/build-script   
@swift-ci
Copy link
Collaborator Author

Comment by John Lin (JIRA)

Pull request for the solution
#821

@belkadan
Copy link
Contributor

belkadan commented Jan 4, 2016

Huh. It's probably ultimately a Sphinx or Python bug, but we shouldn't cause problems for everyone else while we wait for them to fix it.

@Dante-Broggi
Copy link
Contributor

Should this be closed? The linked PR was closed for non-reproducibility.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis
Copy link
Collaborator

Optimistically closing this since the underlying python issue has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. build-script Area → utils: The build script
Projects
None yet
Development

No branches or pull requests

4 participants