You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

WSL编译Bitcoin Core 0.15.0时make check失败求助

编译Bitcoin Core 0.15.0时make check失败的问题

问题背景

我是Ubuntu环境新手,在Windows 10的WSL中按照《Mastering Bitcoin》第3章编译Bitcoin Core 0.15.0可执行文件,前期步骤均正常,但执行make check时失败。

make check终端报错输出

FAIL: test/test_bitcoin
============================================================================
Testsuite summary for Bitcoin Core 0.15.0
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See src/test-suite.log
Please report to https://github.com/bitcoin/bitcoin/issues
============================================================================
Makefile:9385: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/home/adromo95/bitcoin/src'
Makefile:9491: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/home/adromo95/bitcoin/src'
Makefile:9597: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/adromo95/bitcoin/src'
Makefile:9278: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/adromo95/bitcoin/src'
Makefile:740: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

test-suite.log内容

=============================================
   Bitcoin Core 0.15.0: src/test-suite.log
=============================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test/test_bitcoin
=======================

Running 258 test cases...
unknown location(0): fatal error: in "rpc_tests/rpc_ban": std::runtime_error: JSON value is not an object as expected
test/rpc_tests.cpp(258): last checkpoint

*** 1 failure is detected in the test module "Bitcoin Test Suite"
FAIL test/test_bitcoin (exit status: 201)

已尝试的解决方法

  • 重装Ubuntu 18.04.6 LTS
  • 更换Bitcoin Core版本
  • 重新执行所有编译步骤

求助需求

目前问题仍未解决,想请教是否需要修改特定代码或添加路径,恳请提供解决思路。

内容的提问来源于stack exchange,提问作者adromo95

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.18 09:45:04