./configure error with --experimental-kernel-lib #25994

issue Rspigler opened this issue on September 3, 2022
  1. Rspigler commented at 10:50 PM on September 3, 2022: contributor

    The new, experimental bitcoin-chainstate is default configured off (https://github.com/bitcoin/bitcoin/pull/24304). Explicitly turning it off works properly on master:

    ./configure --disable-experimental-util-chainstate

    checking whether to build experimental bitcoin-chainstate... no

    However, when I add --without-experimental-kernel-lib (which is superfluous, since default is to build if we're building libraries and the experimental bitcoin-chainstate executable - it is default to build libraries, but default not to build bitcoin-chainstate, which we've redundantly stated explicitly).

    ./configure --disable-experimental-util-chainstate --without-experimental-kernel-lib

    checking whether to build experimental bitcoin-chainstate... configure: error: experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib

    It seems like it is trying to build the bitcoin-chainstate executable for some reason? I would expect the same output as before:

    checking whether to build experimental bitcoin-chainstate... no

    This is easy to reproduce on master.

  2. Rspigler commented at 10:53 PM on September 3, 2022: contributor

    It seems the error is dependent on --without-experimental-kernel-lib, since:

    ./configure --without-experimental-kernel-lib

    Also produces the error:

    checking whether to build experimental bitcoin-chainstate... configure: error: experimental bitcoin-chainstate cannot be built without the experimental bitcoinkernel library. Use --with-experimental-kernel-lib

  3. fanquake added the label Build system on Sep 4, 2022
  4. fanquake referenced this in commit e531e34b41 on Sep 4, 2022
  5. Rspigler commented at 10:20 PM on September 4, 2022: contributor

    @fanquake is this something that can be prevented with more test coverage?

  6. fanquake closed this on Sep 10, 2022

  7. fanquake referenced this in commit 2e34374bf3 on Sep 10, 2022
  8. yancyribbens referenced this in commit 053051aeb0 on Sep 11, 2022
  9. bitcoin locked this on Sep 10, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me