I didn’t modify anything before I run make check,but it can’t work #28355

issue zzylmt openend this issue on August 28, 2023
  1. zzylmt commented at 9:07 am on August 28, 2023: none

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    when I run make check on my ubuntu,it said

    In file included from ./primitives/transaction.h:11:0, from ./primitives/block.h:9, from ./consensus/merkle.h:10, from consensus/merkle.cpp:5: ./script/script.h: In function ‘CScript BuildScript(Ts&& …)’: ./script/script.h:601:30: error: parameter packs not expanded with ‘…’: ([&ret, &cnt] (Ts&& input) { ^ ./script/script.h:601:30: note: ‘Ts’ ./script/script.h: In lambda function: ./script/script.h:602:23: error: parameter packs not expanded with ‘…’: if constexpr (std::is_same_v<std::remove_cv_t<std::remove_reference_t>, CScript>) { ^~~ ./script/script.h:602:23: note: ‘Ts’ ./script/script.h:605:21: error: parameter packs not expanded with ‘…’: ret = std::forward(input); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ./script/script.h:605:21: note: ‘Ts’ Makefile:13994: recipe for target ‘consensus/libbitcoinconsensus_la-merkle.lo’ failed make[2]: *** [consensus/libbitcoinconsensus_la-merkle.lo] Error 1 ….. Makefile:811: recipe for target ‘check-recursive’ failed make: *** [check-recursive] Error 1

    what should I do now?I just want to run the code

    Expected behaviour

    Normal compilation

    Steps to reproduce

    ./autogen.sh ./configure

    nothing wrong

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    lastest

    Operating system and version

    ubuntu 18

    Machine specifications

    No response

  2. maflcko commented at 9:15 am on August 28, 2023: member
    What is your configure output? Which compiler are you using? Can you upgrade your operating system to a later version?
  3. maflcko added the label Build system on Aug 28, 2023
  4. maflcko added the label Questions and Help on Aug 28, 2023
  5. maflcko commented at 9:15 am on August 28, 2023: member
    Which version are you trying to compile?
  6. zzylmt commented at 6:06 am on August 29, 2023: none

    What is your configure output? Which compiler are you using? Can you upgrade your operating system to a later version?

    I compiled the latest source code, the latest version from a few days ago. My OS is ubuntu18. I can only use this version. Can anyone tell me why I am getting this error?

    first step ./autogen.sh –everything is ok second step ./configure –everything is ok third step make –something wrong,I have shown it at the beginning.

  7. maflcko commented at 6:26 am on August 29, 2023: member

    You’ll have to install a recent compiler, and other dependencies, see https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md

    Or, you can compile an earlier version of Bitcoin Core, or download the pre-compiled version.

  8. maflcko commented at 7:07 am on August 29, 2023: member
    For example, it may be possible to use Ubuntu Bionic clang-10 (and libc++abi-10-dev) and python3.8
  9. maflcko commented at 10:26 am on August 29, 2023: member
    Closing for now, but let us know if you run into any other issues once you are using a more recent compiler one way or another.
  10. maflcko closed this on Aug 29, 2023

  11. bitcoin locked this on Aug 28, 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