depends build fails - libevent not in CMakeLists #31299

issue techy2 openend this issue on November 15, 2024
  1. techy2 commented at 9:53 pm on November 15, 2024: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    CMake Error: The source directory “/master/gitrepo/bitcoin/depends/work/build/x86_64-pc-linux-gnu/libevent/2.1.12-stable-9d8e3ddea5c/build” does not appear to contain CMakeLists.txt.

    Expected behaviour

    expect it to build

    Steps to reproduce

    git clone https://github.com/bitcoin/bitcoin cd bitcoin git checkout v28.0 cd depends make

    Relevant log output

    /master/gitrepo/bitcoin/depends/work/download/libevent-2.1.12-stable/libevent-2.1.12-stable.tar.gz.temp: OK Extracting libevent… /master/gitrepo/bitcoin/depends/sources/libevent-2.1.12-stable.tar.gz: OK Preprocessing libevent… patching file CMakeLists.txt patching file cmake/AddEventLibrary.cmake patching file CMakeLists.txt Configuring libevent… CMake Error: The source directory “/master/gitrepo/bitcoin/depends/work/build/x86_64-pc-linux-gnu/libevent/2.1.12-stable-9d8e3ddea5c/build” does not appear to contain CMakeLists.txt.

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    v28.0

    Operating system and version

    ubuntu 18.04

    Machine specifications

    model name : Intel(R) Xeon(R) CPU X5690 @ 3.47GHz x2 2T disk 128M ram

    cmake version 3.10.2 gcc version 10.3.0 g++ version 10.3.0

  2. techy2 commented at 9:55 pm on November 15, 2024: none
    that’s 128 G ram
  3. maflcko commented at 8:11 am on November 16, 2024: member

    git checkout v28.0 ubuntu 18.04 cmake version 3.10.2 gcc version 10.3.0 g++ version 10.3.0

    To learn more about the minimum required dependencies, please refer to https://github.com/bitcoin/bitcoin/blob/28.x/doc/dependencies.md

    My recommendation would be to try to dist-upgrade your Ubuntu, as Ubuntu 18.04 hit end of standard support more than two years ago, according to https://wiki.ubuntu.com/ReleaseTeam

  4. maflcko added the label Questions and Help on Nov 16, 2024
  5. hebasto commented at 4:04 pm on November 16, 2024: member

    cmake version 3.10.2

    This CMake version does not understand the -S and -B command line options, which were introduced in the version 3.13. @techy2

    You can download CMake 3.22 or newer, which is required for the main build system on the master branch, from https://cmake.org/download/.

  6. techy2 commented at 6:28 pm on November 16, 2024: none
    installed 3.22, works now Thank you
  7. techy2 closed this on Nov 16, 2024


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: 2024-12-21 15:12 UTC

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