Skip to content

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

Closed

Description

@Rspigler

The new, experimental bitcoin-chainstate is default configured off (#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.

Activity

  1. Rspigler commented on Sep 3, 2022

    @Rspigler
    ContributorAuthor

    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

  2. added a commit that references this issue on Sep 4, 2022
    e531e34
  3. Rspigler commented on Sep 4, 2022

    @Rspigler
    ContributorAuthor

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

  4. added a commit that references this issue on Sep 10, 2022
    2e34374
  5. added a commit that references this issue on Sep 11, 2022
    053051a
  6. locked and limited conversation to collaborators on Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions