[SERVER-31717] Force C locale on Ubuntu 16.04 builders Created: 25/Oct/17 Updated: 30/Oct/23 Resolved: 02/Nov/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.18, 3.4.11, 3.6.0-rc3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||||||||||
| Sprint: | Platforms 2017-11-13 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
For an unknown reason, newlocale fails for "en_US.UTF-8" occasionally on Ubuntu 16.04. The workaround is to explicitly set LANG=C which does not require glibc to load files since it is builtin to glibc. This surfaces as
because "std::locale::facet::_S_create_c_locale" is throwing a std::runtime_error. |
| Comments |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}Message: (cherry picked from commit 77c44f1f2cfde4efed4b37f65a406ae3f9e88d0a) |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}Message: (cherry picked from commit 77c44f1f2cfde4efed4b37f65a406ae3f9e88d0a) |
| Comment by Githook User [ 02/Nov/17 ] |
|
Author: {'name': 'Mark Benvenuto', 'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com'}Message: |