安装 libc++ 时出错

Error while installing libc++

我是 manjaro 用户。我想用 AUR 安装 discord 但我需要安装 libc++... 但是安装这个包时出现错误。

Command: ['/tmp/yaourt-tmp-lulz/aur-libc++/src/build/projects/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/Output/thousands_sep.pass.cpp.exe']
Exit Code: -6
Standard Error:
--
thousands_sep.pass.cpp.exe: /tmp/yaourt-tmp-lulz/aur-libc++/src/llvm/projects/libcxx/test/std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp:66: int main(): Assertion `np.thousands_sep() == sep' failed.
--

Compiled test failed unexpectedly!
********************
Testing Time: 7029.08s
********************
Failing Tests (3):
    libc++ :: std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
    libc++ :: std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/put_long_double_fr_FR.pass.cpp
    libc++ :: std/localization/locale.categories/facet.numpunct/locale.numpunct.byname/thousands_sep.pass.cpp

  Expected Passes    : 5748
  Expected Failures  : 7
  Unsupported Tests  : 116
  Unexpected Failures: 3

4 warning(s) in tests.
FAILED: projects/libcxx/test/CMakeFiles/check-cxx 
cd /tmp/yaourt-tmp-lulz/aur-libc++/src/build/projects/libcxx/test && /usr/bin/python2.7 /tmp/yaourt-tmp-lulz/aur-libc++/src/build/./bin/llvm-lit -sv /tmp/yaourt-tmp-lulz/aur-libc++/src/build/projects/libcxx/test
ninja: build stopped: subcommand failed.

如果可以忽略测试,就忽略测试。由于各种原因,区域设置测试失败。在您的情况下,您的 linux 发行版可能具有与测试预期不同的语言环境定义。这种情况经常发生。