Skip to content

Set locale for perl binary after OS update #982

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

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Conversation

justice-adams-apple
Copy link
Collaborator

After the OS update we see certain projects fail with

panic: locale.c: 4486: Could not change LC_CTYPE locale to C.UTF-8, errno=9

This is because the perl binary seems to be not able to find the correct locale after the OS update. This PR rectifies that by setting the value accordingly when making a subprocess call to perl

@justice-adams-apple
Copy link
Collaborator Author

@swift-ci test

@shahmishal shahmishal merged commit afda115 into main Feb 27, 2025
1 check failed
@shahmishal shahmishal deleted the fix-locale-issue branch February 27, 2025 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants