scoperunner in RegistryI test fails if locale is not set
Bug #1303637 reported by
Paweł Stołowski
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-api (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Scoperunner fails if locale is not set (that was the case for me when building and running tests in a chroot), and that makes RegistryI test fail. The error I'm getting when the test fails is:
scoperunner: locale:
Setting LC_ALL=C fixes it, but perhaps we should be more tolerant.
description: | updated |
affects: | unity-scopes-api → unity-scopes-api (Ubuntu) |
To post a comment you must log in.
Coming from here:
#0 0x00007ffff6bd6a30 in __cxa_throw () x86_64- linux-gnu/ libstdc+ +.so.6 throw_runtime_ error(char const*) () x86_64- linux-gnu/ libstdc+ +.so.6 :facet: :_S_create_ c_locale( __locale_ struct* &, char const*, __locale_struct*) () x86_64- linux-gnu/ libstdc+ +.so.6 :_Impl: :_Impl( char const*, unsigned long) x86_64- linux-gnu/ libstdc+ +.so.6 :locale( char const*) () x86_64- linux-gnu/ libstdc+ +.so.6 filesystem: :path:: codecvt( ) () x86_64- linux-gnu/ libboost_ filesystem. so.1.54. 0 filesystem: :path:: begin() const () x86_64- linux-gnu/ libboost_ filesystem. so.1.54. 0 filesystem: :path:: compare( boost:: filesystem: :path const&) const () x86_64- linux-gnu/ libboost_ filesystem. so.1.54. 0 filesystem: :path:: extension( ) const () x86_64- linux-gnu/ libboost_ filesystem. so.1.54. 0 :find_scope_ config_ files ( dir=... , suffix=...) projects/ unity-scopes- api/scoperegist ry/FindFiles. cpp:103 ::find_ local_scopes ( installdir= ..., oem_installdir=...) projects/ unity-scopes- api/scoperegist ry/scoperegistr y.cpp:139
from /usr/lib/
#1 0x00007ffff6c28677 in std::__
from /usr/lib/
#2 0x00007ffff6bf40c4 in std::locale:
from /usr/lib/
#3 0x00007ffff6be92e9 in std::locale:
() from /usr/lib/
#4 0x00007ffff6bea30d in std::locale:
from /usr/lib/
#5 0x00007ffff72cc2c2 in boost::
from /usr/lib/
#6 0x00007ffff72cc77f in boost::
from /usr/lib/
#7 0x00007ffff72ccfb5 in boost::
from /usr/lib/
#8 0x00007ffff72cd1e5 in boost::
from /usr/lib/
#9 0x000000000043c6b1 in scoperegistry:
install_
at /home/miso/
#10 0x000000000043e509 in (anonymous namespace)
scope_
at /home/miso/