Is there an existing issue for this?
- I have searched the existing issues
Current behaviour
We are experiencing the build failures in NixPkgs both on x86_64-darwin and aarch64-darwin:
0> 2023-12-07T14:45:33.311681Z [test] [wallet/bdb.cpp:189] [Open] BerkeleyEnvironment::Open: Error -30974 opening database environment: DB_RUNRECOVERY: Fatal error, run database recovery
1> make[3]: *** [Makefile:22524: wallet/test/wallet_tests.cpp.test] Error 1
The full log is available from here: https://logs.ofborg.org/?key=nixos/nixpkgs.272548&attempt_id=8f5f1aaa-a3f7-4292-a194-57f85c49959a
I can reproduce the issue locally on my Macbook M1.
At first, the issue looks like a duplicate of #26869 but this time the issue is in wallet/test/wallet_tests.cpp.test
not in test/functional/wallet_backwards_compatibility.py
Expected behaviour
The test does not fail
Steps to reproduce
- install
nix
git clone https://github.com/nixos/nixpkgs.git
cd nixpkgs
git fetch origin pull/272548/head:pr-272548
git checkout pr-272548
nix-shell -I nixpkgs=$(pwd) -p bitcoin
Relevant log output
https://logs.ofborg.org/?key=nixos/nixpkgs.272548&attempt_id=8f5f1aaa-a3f7-4292-a194-57f85c49959a
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
26.0
Operating system and version
macOS 13
Machine specifications
No response