Opened 10 years ago

Closed 8 years ago

#8352 closed Bugs (fixed)

Boost-filesystem std::runtime_error: locale::facet::_S_create_c_locale name not valid failure on OpenBSD

Reported by: brad@… Owned by: Beman Dawes
Milestone: Boost 1.57.0 Component: filesystem
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc:

Description

After updating from Boost 1.42 to 1.53 in the OpenBSD ports tree we started seeing apps utilizing Boost-filesystem fail with an error of "std::runtime_error: locale::facet::_S_create_c_locale name not valid" when using non-C locales. Another developer pointed to some of the bug reports regarding this issue on other OS's. I synced the Boost-filesystem code from SVN but it still did not resolve the error. Once OpenBSD was added to the UTF-8 code path within Boost-filesystem the errors went away and the apps were working. Attached is a patch for Boost-filesystem.

Attachments (1)

boost_filesystem.diff (1.2 KB ) - added by brad@… 10 years ago.

Download all attachments as: .zip

Change History (2)

by brad@…, 10 years ago

Attachment: boost_filesystem.diff added

comment:1 by Beman Dawes, 8 years ago

Milestone: Boost 1.54.0Boost 1.57.0
Resolution: fixed
Status: newclosed

This missed the 1.56.0 release, so will appear in 1.57.0. There will likely be a master branch update on GitHub in the next week or two.

Thanks for your patience,

--Beman

Note: See TracTickets for help on using tickets.