Arch Linux(VirtualBox)にビットコインコアをインストールすると、次のものが返されます。不明な場所(0):致命的なエラー:ランタイムエラー:_S_create_c_localeの無効な名前

Arch Linux(VirtualBox)にビットコインコアをインストールすると、次のものが返されます。不明な場所(0):致命的なエラー:ランタイムエラー:_S_create_c_localeの無効な名前

VirtualBox内の仮想マシンにBTCノード/ウォレットを維持したいと思います。この目的のために、私は手動でArch Linuxをインストールしました。その過程は順調ではありませんが、結局やりました。それから私はこのガイドインストールするうん、首尾よく。

引き続きインストールしようとしています。ビットコインコア実行してyay -Sa bitcoin-core --answerclean y --answerdiff n

インストールに長い時間がかかり、最終的に失敗します。複数行の開始後、CXX次の行を取得しました。

==> Starting check()...
  -> Testing ...
Making check in src
make[1]: Entering directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
make[2]: Entering directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
make[3]: Entering directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0'
make[3]: Leaving directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0'
make  check-TESTS check-local
...
make[4]: Entering directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
==================================================================================
Running tests: arith_uint256_tests from test/arith_uint256_tests.cpp
Running 11 test cases...
Entering test module "Bitcoin Core Test Suite"
test/arith_uint356_tests.cpp(18): Entering test suite "arith_uint256_tests"
test/arith_uint256_tests.cpp(68(: Entering test case "basics"
2021-04-12T19:57:00 Seed: Setting random seed for current tests to RANDOM_CTX_SEED=........
2021-04-12T19:57:00 [test] Bitcoin Core version v0.21.0.0-d79e0e2 (release build)
2021-04-12T19:57:00 [test] Assuming ancestors of block .....................
unknown location(0): fatal error: in "arith_uint356_tests/basics": std::runtime_error: locale::facet::_S_create_c_locale name not valid
test/arith_uint256_tests.cpp(68): last checkpoint: "basics" fiture ctor
test/arith_uint256_tests.cpp(68): Leaving test case "basics"; testing time 789us
test/arith_uint256_tests.cpp(157): Entering test case "shifts"
test_bitcoin: util/system.cpp:519: void ArgsManager::AddArg(const string&, const string&, unsighed int, const OptionsCategory&): Assertion 'ret.second' failed.
make[3]: *** [Makefile:21241: test/aerith_uint256_tests.cpp.test] Error 1
make[3]: Leaving directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
make[2]: *** [Makefile:19663: test/aerith_uint256_tests.cpp.test] Error 1
make[2]: Leaving directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
make[1]: *** [Makefile:19348: test/aerith_uint256_tests.cpp.test] Error 1
make[1]: Leaving directory '/home/user/.cache/yay/bitcoin-core/src/bitcoin-0.21.0/src'
make: *** [Makefile:803: check-recursive] Error 1
==> ERROR: A failure occurred in check().
    Aborting...

その行はunknown location(0): fatal error: in "arith_uint356_tests/basics": std::runtime_error: locale::facet::_S_create_c_locale name not valid

私が見つけた唯一の同様の質問は次のとおりです。この問題この解決策は意味があります。しかし、私の内容は次/etc/locale.confのとおりです。


LANG=en_US.UTF-8

私もlocale-genこれを以前に実行し、アクティブな状態/etc/locale.genでのみ編集しました(コメントなし)。en_US.UTF-8 UTF-8

この問題をどのように解決できますか?

ベストアンサー1

locale-gen編集後に再実行する必要がありました/etc/locale.gen

ここに問題があります。

おすすめ記事