-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
cmake ignores my build flags and nothing I have tried makes it work
% devenv shell --no-eval-cache
...
Fatal error, run database recovery
> make[3]: *** [Makefile:22526: wallet/test/wallet_tests.cpp.test] Error 1
> make[3]: Leaving directory '/private/tmp/nix-build-bitcoind-26.1.drv-0/bitcoin-26.1/src'
> make[2]: *** [Makefile:20476: check-am] Error 2
> make[2]: Leaving directory '/private/tmp/nix-build-bitcoind-26.1.drv-0/bitcoin-26.1/src'
> make[1]: *** [Makefile:20141: check-recursive] Error 1
> make[1]: Leaving directory '/private/tmp/nix-build-bitcoind-26.1.drv-0/bitcoin-26.1/src'
> make: *** [Makefile:814: check-recursive] Error 1
For full logs, run 'nix log /nix/store/2q6hri7rmyiq0iabfhwqybykwf0r4h2s-bitcoind-26.1.drv'.
error: 1 dependencies of derivation '/nix/store/kav1pzhdhjrxfn6xm9cdij1q2dmsg73f-bitcoind-sv2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vjhi732z0j8wr2n43bzsq9zdjn65awf2-devenv-profile.drv' failed to build
error:
error: 2 dependencies of derivation '/nix/store/77m2is98qd49ghv51abmblda1mjfxp87-devenv-shell-env.drv' failed to build
✖ Command produced the following output:
✔ Building shell in 157.7s.
Error: × Command `/nix/store/qm30w5jpw3fssz91g4sz6xmfh7bzf9ky-nix-2.24-devenv/bin/nix --show-trace --extra-experimental-features nix-command --extra-
│ experimental-features flakes --option warn-dirty false --keep-going --max-jobs 6 --option eval-cache false --option extra-substituters https://
│ devenv.cachix.org --option extra-trusted-public-keys devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw= print-dev-env --profile /Users/
│ evan/work/hashpool/.devenv/gc/shell` failed with with exit code 1
The log files indicate that it is building and testing the wallet code:
checking whether to build bitcoind... yes
checking whether to build bitcoin-cli... yes
checking whether to build bitcoin-tx... yes
checking whether to build bitcoin-wallet... yes
checking whether to build bitcoin-util... yes
checking whether to build experimental bitcoin-chainstate... no
checking whether to build libraries... yes
checking if ccache should be used... no
checking if wallet should be enabled... yes
checking whether to build with support for UPnP... yes
checking whether to build with support for NAT-PMP... no
checking whether to build test_bitcoin... yes
checking whether to reduce exports... no
even though bitcoind.nix explicitly disables these configs:
cmakeFlags = [
(lib.cmakeBool "WITH_SV2" true)
(lib.cmakeBool "BUILD_BENCH" true)
(lib.cmakeBool "BUILD_TESTS" true)
(lib.cmakeBool "ENABLE_WALLET" false)
(lib.cmakeBool "BUILD_GUI" false)
(lib.cmakeBool "BUILD_GUI_TESTS" false)
];
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers