v27.1 won't compile on Debian 12. #30550

issue edilmedeiros opened this issue on July 30, 2024
  1. edilmedeiros commented at 7:06 PM on July 30, 2024: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    Build will fail on Debian 12.

      CXX      util/libbitcoin_util_a-string.o
      CXX      util/libbitcoin_util_a-time.o
      CXX      util/libbitcoin_util_a-tokenpipe.o
      CXX      univalue/lib/libunivalue_la-univalue.lo
      CXX      univalue/lib/libunivalue_la-univalue_get.lo
    util/time.cpp: In function ‘bool ChronoSanityCheck()’:
    util/time.cpp:54:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
       54 |     if (gmtime_s(&epoch, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    util/time.cpp: In function ‘std::string FormatISO8601DateTime(int64_t)’:
    util/time.cpp:105:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
      105 |     if (gmtime_s(&ts, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    util/time.cpp: In function ‘std::string FormatISO8601Date(int64_t)’:
    util/time.cpp:118:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
      118 |     if (gmtime_s(&ts, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    make[2]: *** [Makefile:11985: util/libbitcoin_util_a-time.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
    make[1]: *** [Makefile:20521: all-recursive] Error 1
    make[1]: Leaving directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
    make: *** [Makefile:813: all-recursive] Error 1
    

    Checked the dependencies versions: gcc (Debian 12.2.0-14) 12.2.0 libboost-dev Version: 1.74.0.3

    Funny thing is that the configure script seems to find gmtime_r:

    checking for gmtime_r... yes
    

    which should set the HAVE_GMTIME_R flag in https://github.com/bitcoin/bitcoin/blob/1088a98f5aad080cc6cca2da174f206509fcda6c/configure.ac#L1092-L1106

    This flag is checked in the source code (here, here, and here)

    Part of the offending code was introduced in #18358 a long time ago to fix mingw compilation.

    It is removed in #29081, but it doesn't seem to have been included in v27.1 (1088a98)

    Seems to be related to #23363.

    Expected behaviour

    Build succeed.

    Steps to reproduce

    1. Get a fresh Debian 12 Bookworm install.
    2. Install dependencies with: apt-get update; apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libevent-dev libboost-dev libsqlite3-dev libzmq3-dev
    3. Switch to the v27.1 tag: git checkout tags/v27.1
    4. Configure with: ./configure --enable-wallet --prefix=/home/<user>/bitcoin/binaries/v27.1

    Relevant log output

    <details> <summary>configure script output</summary>

    edilmedeiros@vmi2055849:~/bitcoin/bitcoin-core$ ./configure --enable-wallet --prefix=/home/edilmedeiros/bitcoin/binaries/v27.1
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C++... yes
    checking whether g++ accepts -g... yes
    checking for g++ option to enable C++11 features... none needed
    checking whether make supports the include directive... yes (GNU style)
    checking dependency style of g++... gcc3
    checking whether g++ supports C++20 features with -std=c++20... yes
    checking whether the compiler supports GNU Objective C++... no
    checking whether g++ -std=c++20 accepts -g... no
    checking dependency style of g++ -std=c++20... gcc3
    checking how to print strings... printf
    checking for gcc... gcc
    checking whether the compiler supports GNU C... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for file... file
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -std=c++20 -E
    checking for ld used by g++ -std=c++20... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ -std=c++20 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ -std=c++20 option to produce PIC... -fPIC -DPIC
    checking if g++ -std=c++20 PIC flag -fPIC -DPIC works... yes
    checking if g++ -std=c++20 static flag -static works... yes
    checking if g++ -std=c++20 supports -c -o file.o... yes
    checking if g++ -std=c++20 supports -c -o file.o... (cached) yes
    checking whether the g++ -std=c++20 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ar... /usr/bin/ar
    checking for gcov... /usr/bin/gcov
    checking for llvm-cov... no
    checking for lcov... no
    checking for python3.9... no
    checking for python3.10... no
    checking for python3.11... /usr/bin/python3.11
    checking for genhtml... no
    checking for git... /usr/bin/git
    checking for ccache... no
    checking for xgettext... no
    checking for hexdump... /usr/bin/hexdump
    checking for objdump... /usr/bin/objdump
    checking for objcopy... /usr/bin/objcopy
    checking for doxygen... no
    checking whether C++ compiler accepts -Werror... yes
    checking whether the linker accepts -Wl,--fatal-warnings... yes
    checking whether C++ compiler accepts -Wall... yes
    checking whether C++ compiler accepts -Wextra... yes
    checking whether C++ compiler accepts -Wgnu... no
    checking whether C++ compiler accepts -Wformat -Wformat-security... yes
    checking whether C++ compiler accepts -Wvla... yes
    checking whether C++ compiler accepts -Wshadow-field... no
    checking whether C++ compiler accepts -Wthread-safety... no
    checking whether C++ compiler accepts -Wloop-analysis... no
    checking whether C++ compiler accepts -Wredundant-decls... yes
    checking whether C++ compiler accepts -Wunused-member-function... no
    checking whether C++ compiler accepts -Wdate-time... yes
    checking whether C++ compiler accepts -Wconditional-uninitialized... no
    checking whether C++ compiler accepts -Wduplicated-branches... yes
    checking whether C++ compiler accepts -Wduplicated-cond... yes
    checking whether C++ compiler accepts -Wlogical-op... yes
    checking whether C++ compiler accepts -Woverloaded-virtual... yes
    checking whether C++ compiler accepts -Wsuggest-override... yes
    checking whether C++ compiler accepts -Wimplicit-fallthrough... yes
    checking whether C++ compiler accepts -Wunreachable-code... yes
    checking whether C++ compiler accepts -Wdocumentation... no
    checking whether C++ compiler accepts -Wself-assign... no
    checking whether C++ compiler accepts -Wundef... yes
    checking whether C++ compiler accepts -Wunused-parameter... yes
    checking whether C++ compiler accepts -fno-extended-identifiers... yes
    checking whether C++ compiler accepts -fstack-reuse=none... yes
    checking whether C++ compiler accepts -msse4.2... yes
    checking whether C++ compiler accepts -msse4.1... yes
    checking whether C++ compiler accepts -mavx -mavx2... yes
    checking whether C++ compiler accepts -msse4 -msha... yes
    checking whether C++ compiler accepts -mpclmul... yes
    checking for SSE4.2 intrinsics... yes
    checking for SSE4.1 intrinsics... yes
    checking for AVX2 intrinsics... yes
    checking for x86 SHA-NI intrinsics... yes
    checking whether C++ compiler accepts -march=armv8-a+crc+crypto... no
    checking whether C++ compiler accepts -march=armv8-a+crypto... no
    checking for ARMv8 CRC32 intrinsics... no
    checking for ARMv8 SHA-NI intrinsics... no
    checking whether byte ordering is bigendian... no
    checking how to run the C preprocessor... gcc -E
    checking whether gcc is Clang... no
    checking whether pthreads work with "-pthread" and "-lpthread"... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking whether std::atomic can be used without link library... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for g++ -std=c++20 options needed to detect all undeclared functions... none needed
    checking whether strerror_r is declared... yes
    checking whether strerror_r returns char *... yes
    checking whether C++ compiler accepts -fPIC... yes
    checking whether C++ compiler accepts -Wstack-protector... yes
    checking whether C++ compiler accepts -fstack-protector-all... yes
    checking whether C++ compiler accepts -fcf-protection=full... yes
    checking whether C++ compiler accepts -fstack-clash-protection... yes
    checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=3... yes
    checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes
    checking whether the linker accepts -Wl,--enable-reloc-section... no
    checking whether the linker accepts -Wl,--dynamicbase... no
    checking whether the linker accepts -Wl,--nxcompat... no
    checking whether the linker accepts -Wl,--high-entropy-va... no
    checking whether the linker accepts -Wl,-z,relro... yes
    checking whether the linker accepts -Wl,-z,now... yes
    checking whether the linker accepts -Wl,-z,separate-code... yes
    checking whether the linker accepts -fPIE -pie... yes
    checking for sys/select.h... yes
    checking for sys/prctl.h... yes
    checking for vm/vm_param.h... no
    checking for sys/vmmeter.h... no
    checking for sys/resources.h... no
    checking whether getifaddrs is declared... yes
    checking whether ifaddrs funcs can be used without link library... yes
    checking whether freeifaddrs is declared... yes
    checking whether ifaddrs funcs can be used without link library... yes
    checking whether fork is declared... yes
    checking whether setsid is declared... yes
    checking whether pipe2 is declared... yes
    checking for getmemoryinfo... yes
    checking for mallopt M_ARENA_MAX... yes
    checking for posix_fallocate... yes
    checking for default visibility attribute... yes
    checking for dllexport attribute... no
    checking for Linux getrandom function... yes
    checking for getentropy via sys/random.h... yes
    checking for sysctl... no
    checking for sysctl KERN_ARND... no
    checking for fdatasync... yes
    checking for F_FULLFSYNC... no
    checking for O_CLOEXEC... yes
    checking for __builtin_prefetch... yes
    checking for _mm_prefetch... yes
    checking for strong getauxval support in the system headers... yes
    checking for sockaddr_un... yes
    checking for std::system... yes
    checking for ::_wsystem... no
    checking for Qt5Core >= 5.11.3... no
    configure: WARNING: Qt5Core >= 5.11.3 not found; bitcoin-qt frontend will not be built
    checking whether to build Bitcoin Core GUI... no
    checking whether main function is needed for fuzz binary... checking whether the linker accepts ... no
    yes
    checking for Berkeley DB C++ headers... no
    configure: WARNING: libdb_cxx headers missing
    configure: WARNING: Bitcoin Core requires this library for BDB (legacy) wallet support
    configure: WARNING: Passing --without-bdb will suppress this warning
    checking for sqlite3 >= 3.7.17... yes
    checking whether to build wallet with support for sqlite... yes
    checking whether Userspace, Statically Defined Tracing tracepoints are supported... no
    checking for miniupnpc/miniupnpc.h... no
    checking for miniupnpc/upnpcommands.h... no
    checking for miniupnpc/upnperrors.h... no
    checking for natpmp.h... no
    checking for Boost headers >= 1.73.0 (107300)... yes
    checking whether C++ preprocessor accepts -DBOOST_NO_CXX98_FUNCTION_BASE... yes
    checking for libevent >= 2.1.8... yes
    checking for libevent_pthreads >= 2.1.8... yes
    checking if evhttp_connection_get_peer expects const char**... no
    checking for libzmq >= 4... yes
    checking for libmultiprocess... no
    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 if ccache should be used... no
    checking if wallet should be enabled... yes
    checking whether to build with support for UPnP... no
    checking whether to build with support for NAT-PMP... no
    checking whether to build test_bitcoin... yes
    checking whether to reduce exports... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating doc/man/Makefile
    config.status: creating share/setup.nsi
    config.status: creating share/qt/Info.plist
    config.status: creating test/config.ini
    config.status: creating contrib/devtools/split-debug.sh
    config.status: creating src/config/bitcoin-config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    === configuring in src/secp256k1 (/home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1)
    configure: running /bin/bash ./configure --disable-option-checking '--prefix=/home/edilmedeiros/bitcoin/binaries/v27.1'  '--enable-wallet' '--disable-shared' '--with-pic' '--with-ecmult-gen-kb=86' '--enable-benchmark=no' '--enable-module-recovery' '--disable-module-ecdh' --cache-file=/dev/null --srcdir=.
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking whether gcc understands -c and -o together... yes
    checking whether make supports the include directive... yes (GNU style)
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... gcc3
    checking for ar... ar
    checking the archiver (ar) interface... ar
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for file... file
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking if gcc supports -Werror... yes
    checking if gcc supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
    checking if gcc supports -Wno-overlength-strings... yes
    checking if gcc supports -Wall... yes
    checking if gcc supports -Wno-unused-function... yes
    checking if gcc supports -Wextra... yes
    checking if gcc supports -Wcast-align... yes
    checking if gcc supports -Wcast-align=strict... yes
    checking if gcc supports -Wconditional-uninitialized... no
    checking if gcc supports -Wreserved-identifier... no
    checking if gcc supports -fvisibility=hidden... yes
    checking for valgrind support...
    checking for x86_64 assembly availability... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating libsecp256k1.pc
    config.status: executing depfiles commands
    config.status: executing libtool commands
    
    Build Options:
      with external callbacks = no
      with benchmarks         = no
      with tests              = yes
      with ctime tests        = no
      with coverage           = no
      with examples           = no
      module ecdh             = no
      module recovery         = yes
      module extrakeys        = yes
      module schnorrsig       = yes
      module ellswift         = yes
    
      asm                     = x86_64
      ecmult window size      = 15
      ecmult gen table size   = 86 KiB
    
      valgrind                = no
      CC                      = gcc
      CPPFLAGS                =
      SECP_CFLAGS             = -O2  -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wcast-align=strict -fvisibility=hidden
      CFLAGS                  = -g -O2
      LDFLAGS                 =
    
    Options used to compile and link:
      external signer = yes
      multiprocess    = no
      with wallet     = yes
        with sqlite   = yes
        with bdb      = no
      with gui / qt   = no
      with zmq        = yes
      with test       = yes
      with fuzz binary = yes
      with bench      = yes
      with upnp       = no
      with natpmp     = no
      USDT tracing    = no
      sanitizers      =
      debug enabled   = no
      werror          = no
    
      target os       = linux-gnu
      build os        = linux-gnu
    
      CC              = gcc
      CFLAGS          = -pthread  -g -O2
      CPPFLAGS        =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3  -DHAVE_BUILD_INFO -DPROVIDE_FUZZ_MAIN_FUNCTION
      CXX             = g++ -std=c++20
      CXXFLAGS        =  -g -O2 -fno-extended-identifiers -fstack-reuse=none   -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection  -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wundef  -Wno-unused-parameter
      LDFLAGS         = -lpthread  -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie
      AR              = /usr/bin/ar
      ARFLAGS         = cr
    

    </details>

    <details> <summary>Build output</summary>

    edilmedeiros@vmi2055849:~/bitcoin/bitcoin-core$ make -j 4
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/edilmedeiros/bitcoin/bitcoin-core/build-aux/missing' aclocal-1.16 -I build-aux/m4
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/edilmedeiros/bitcoin/bitcoin-core/build-aux/missing' autoconf
     cd . && /bin/bash /home/edilmedeiros/bitcoin/bitcoin-core/build-aux/missing automake-1.16 --foreign
    /bin/bash ./config.status --recheck
    running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-wallet --prefix=/home/edilmedeiros/bitcoin/binaries/v27.1 --disable-shared --with-pic --with-ecmult-gen-kb=86 --enable-benchmark=no --enable-module-recovery --disable-module-ecdh --no-create --no-recursion
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C++... yes
    checking whether g++ accepts -g... yes
    checking for g++ option to enable C++11 features... none needed
    checking whether make supports the include directive... yes (GNU style)
    checking dependency style of g++... gcc3
    checking whether g++ supports C++20 features with -std=c++20... yes
    checking whether the compiler supports GNU Objective C++... no
    checking whether g++ -std=c++20 accepts -g... no
    checking dependency style of g++ -std=c++20... gcc3
    checking how to print strings... printf
    checking for gcc... gcc
    checking whether the compiler supports GNU C... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for file... file
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking how to run the C++ preprocessor... g++ -std=c++20 -E
    checking for ld used by g++ -std=c++20... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking whether the g++ -std=c++20 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking for g++ -std=c++20 option to produce PIC... -fPIC -DPIC
    checking if g++ -std=c++20 PIC flag -fPIC -DPIC works... yes
    checking if g++ -std=c++20 static flag -static works... yes
    checking if g++ -std=c++20 supports -c -o file.o... yes
    checking if g++ -std=c++20 supports -c -o file.o... (cached) yes
    checking whether the g++ -std=c++20 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... (cached) GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for ar... /usr/bin/ar
    checking for gcov... /usr/bin/gcov
    checking for llvm-cov... no
    checking for lcov... no
    checking for python3.9... no
    checking for python3.10... no
    checking for python3.11... /usr/bin/python3.11
    checking for genhtml... no
    checking for git... /usr/bin/git
    checking for ccache... no
    checking for xgettext... no
    checking for hexdump... /usr/bin/hexdump
    checking for objcopy... /usr/bin/objcopy
    checking for doxygen... no
    checking whether C++ compiler accepts -Werror... yes
    checking whether the linker accepts -Wl,--fatal-warnings... yes
    checking whether C++ compiler accepts -Wall... yes
    checking whether C++ compiler accepts -Wextra... yes
    checking whether C++ compiler accepts -Wgnu... no
    checking whether C++ compiler accepts -Wformat -Wformat-security... yes
    checking whether C++ compiler accepts -Wvla... yes
    checking whether C++ compiler accepts -Wshadow-field... no
    checking whether C++ compiler accepts -Wthread-safety... no
    checking whether C++ compiler accepts -Wloop-analysis... no
    checking whether C++ compiler accepts -Wredundant-decls... yes
    checking whether C++ compiler accepts -Wunused-member-function... no
    checking whether C++ compiler accepts -Wdate-time... yes
    checking whether C++ compiler accepts -Wconditional-uninitialized... no
    checking whether C++ compiler accepts -Wduplicated-branches... yes
    checking whether C++ compiler accepts -Wduplicated-cond... yes
    checking whether C++ compiler accepts -Wlogical-op... yes
    checking whether C++ compiler accepts -Woverloaded-virtual... yes
    checking whether C++ compiler accepts -Wsuggest-override... yes
    checking whether C++ compiler accepts -Wimplicit-fallthrough... yes
    checking whether C++ compiler accepts -Wunreachable-code... yes
    checking whether C++ compiler accepts -Wdocumentation... no
    checking whether C++ compiler accepts -Wunused-parameter... yes
    checking whether C++ compiler accepts -Wself-assign... no
    checking whether C++ compiler accepts -fno-extended-identifiers... yes
    checking whether C++ compiler accepts -fstack-reuse=none... yes
    checking whether C++ compiler accepts -msse4.2... yes
    checking whether C++ compiler accepts -msse4.1... yes
    checking whether C++ compiler accepts -mavx -mavx2... yes
    checking whether C++ compiler accepts -msse4 -msha... yes
    checking whether C++ compiler accepts -mpclmul... yes
    checking for SSE4.2 intrinsics... yes
    checking for SSE4.1 intrinsics... yes
    checking for AVX2 intrinsics... yes
    checking for x86 SHA-NI intrinsics... yes
    checking whether C++ compiler accepts -march=armv8-a+crc+crypto... no
    checking whether C++ compiler accepts -march=armv8-a+crypto... no
    checking for ARMv8 CRC32 intrinsics... no
    checking for ARMv8 SHA-NI intrinsics... no
    checking whether byte ordering is bigendian... no
    checking how to run the C preprocessor... gcc -E
    checking whether gcc is Clang... no
    checking whether pthreads work with "-pthread" and "-lpthread"... yes
    checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
    checking whether more special flags are required for pthreads... no
    checking for PTHREAD_PRIO_INHERIT... yes
    checking whether std::atomic can be used without link library... yes
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for g++ -std=c++20 options needed to detect all undeclared functions... none needed
    checking whether strerror_r is declared... yes
    checking whether strerror_r returns char *... yes
    checking whether C++ compiler accepts -fPIC... yes
    checking whether C++ compiler accepts -Wstack-protector... yes
    checking whether C++ compiler accepts -fstack-protector-all... yes
    checking whether C++ compiler accepts -fcf-protection=full... yes
    checking whether C++ compiler accepts -fstack-clash-protection... yes
    checking whether C++ preprocessor accepts -D_FORTIFY_SOURCE=3... yes
    checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes
    checking whether the linker accepts -Wl,--enable-reloc-section... no
    checking whether the linker accepts -Wl,--dynamicbase... no
    checking whether the linker accepts -Wl,--nxcompat... no
    checking whether the linker accepts -Wl,--high-entropy-va... no
    checking whether the linker accepts -Wl,-z,relro... yes
    checking whether the linker accepts -Wl,-z,now... yes
    checking whether the linker accepts -Wl,-z,separate-code... yes
    checking whether the linker accepts -fPIE -pie... yes
    checking for sys/select.h... yes
    checking for sys/prctl.h... yes
    checking for sys/sysctl.h... no
    checking for vm/vm_param.h... no
    checking for sys/vmmeter.h... no
    checking for sys/resources.h... no
    checking whether getifaddrs is declared... yes
    checking whether ifaddrs funcs can be used without link library... yes
    checking whether freeifaddrs is declared... yes
    checking whether ifaddrs funcs can be used without link library... yes
    checking whether fork is declared... yes
    checking whether setsid is declared... yes
    checking whether pipe2 is declared... yes
    checking for timingsafe_bcmp... no
    checking for __builtin_clzl... yes
    checking for __builtin_clzll... yes
    checking for getmemoryinfo... yes
    checking for mallopt M_ARENA_MAX... yes
    checking for posix_fallocate... yes
    checking for default visibility attribute... yes
    checking for dllexport attribute... no
    checking for thread_local support... yes
    checking for gmtime_r... yes
    checking for Linux getrandom function... yes
    checking for getentropy via sys/random.h... yes
    checking for sysctl... no
    checking for sysctl KERN_ARND... no
    checking for fdatasync... yes
    checking for F_FULLFSYNC... no
    checking for O_CLOEXEC... yes
    checking for __builtin_prefetch... yes
    checking for _mm_prefetch... yes
    checking for strong getauxval support in the system headers... yes
    checking for std::system... yes
    checking for ::_wsystem... no
    checking for Qt5Core >= 5.11.3... no
    configure: WARNING: Qt5Core >= 5.11.3 not found; bitcoin-qt frontend will not be built
    checking whether to build Bitcoin Core GUI... no
    checking whether main function is needed for fuzz binary... checking whether the linker accepts ... no
    yes
    checking for Berkeley DB C++ headers... no
    configure: WARNING: libdb_cxx headers missing
    configure: WARNING: Bitcoin Core requires this library for BDB (legacy) wallet support
    configure: WARNING: Passing --without-bdb will suppress this warning
    checking for sqlite3 >= 3.7.17... yes
    checking whether to build wallet with support for sqlite... yes
    checking whether Userspace, Statically Defined Tracing tracepoints are supported... no
    checking for miniupnpc/miniupnpc.h... no
    checking for miniupnpc/upnpcommands.h... no
    checking for miniupnpc/upnperrors.h... no
    checking for natpmp.h... no
    checking for Boost headers >= 1.73.0 (107300)... yes
    checking whether C++ preprocessor accepts -DBOOST_NO_CXX98_FUNCTION_BASE... yes
    checking whether Boost.Process can be used... yes
    checking for libevent >= 2.1.8... yes
    checking for libevent_pthreads >= 2.1.8... yes
    checking if evhttp_connection_get_peer expects const char**... no
    checking for libzmq >= 4... yes
    checking for libmultiprocess... no
    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... no
    checking whether to build with support for NAT-PMP... no
    checking whether to build test_bitcoin... yes
    checking whether to reduce exports... no
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    
    Options used to compile and link:
      external signer = yes
      multiprocess    = no
      with libs       = yes
      with wallet     = yes
        with sqlite   = yes
        with bdb      = no
      with gui / qt   = no
      with zmq        = yes
      with test       = yes
      with fuzz binary = yes
      with bench      = yes
      with upnp       = no
      with natpmp     = no
      USDT tracing    = no
      sanitizers      =
      debug enabled   = no
      gprof enabled   = no
      werror          = no
    
      target os       = linux-gnu
      build os        = linux-gnu
    
      CC              = gcc
      CFLAGS          = -pthread  -g -O2
      CPPFLAGS        =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3  -DHAVE_BUILD_INFO -DPROVIDE_FUZZ_MAIN_FUNCTION
      CXX             = g++ -std=c++20
      CXXFLAGS        =  -g -O2 -fno-extended-identifiers -fstack-reuse=none   -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection  -Wall -Wextra -Wformat -Wformat-security -Wvla -Wredundant-decls -Wdate-time -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code  -Wno-unused-parameter
      LDFLAGS         = -lpthread  -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie
      AR              = /usr/bin/ar
      ARFLAGS         = cr
    
     /bin/bash ./config.status
    config.status: creating libbitcoinconsensus.pc
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating doc/man/Makefile
    config.status: creating share/setup.nsi
    config.status: creating share/qt/Info.plist
    config.status: creating test/config.ini
    config.status: creating contrib/devtools/split-debug.sh
    config.status: creating src/config/bitcoin-config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    Making all in src
    make[1]: Entering directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
    make[2]: Entering directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
      CXX      bitcoind-bitcoind.o
      CXX      libbitcoin_node_a-addrman.o
      CXX      libbitcoin_node_a-addrdb.o
      CXX      libbitcoin_node_a-banman.o
      CXX      libbitcoin_node_a-bip324.o
      CXX      libbitcoin_node_a-blockencodings.o
      CXX      libbitcoin_node_a-blockfilter.o
      CXX      libbitcoin_node_a-chain.o
      CXX      libbitcoin_node_a-dbwrapper.o
      CXX      libbitcoin_node_a-deploymentstatus.o
      CXX      libbitcoin_node_a-flatfile.o
      CXX      libbitcoin_node_a-headerssync.o
      CXX      libbitcoin_node_a-httprpc.o
      CXX      libbitcoin_node_a-httpserver.o
      CXX      libbitcoin_node_a-i2p.o
      CXX      libbitcoin_node_a-init.o
      CXX      libbitcoin_node_a-mapport.o
      CXX      libbitcoin_node_a-net.o
      CXX      libbitcoin_node_a-net_processing.o
      CXX      libbitcoin_node_a-netgroup.o
      CXX      libbitcoin_node_a-noui.o
      CXX      libbitcoin_node_a-pow.o
      CXX      libbitcoin_node_a-rest.o
      CXX      libbitcoin_node_a-signet.o
      CXX      libbitcoin_node_a-timedata.o
      CXX      libbitcoin_node_a-torcontrol.o
      CXX      libbitcoin_node_a-txdb.o
      CXX      libbitcoin_node_a-txmempool.o
      CXX      libbitcoin_node_a-txorphanage.o
      CXX      libbitcoin_node_a-txrequest.o
      CXX      libbitcoin_node_a-validation.o
      CXX      libbitcoin_node_a-validationinterface.o
      CXX      libbitcoin_node_a-versionbits.o
      CXX      wallet/libbitcoin_wallet_a-scriptpubkeyman.o
      CXX      wallet/libbitcoin_wallet_a-spend.o
      CXX      wallet/libbitcoin_wallet_a-transaction.o
      CXX      wallet/libbitcoin_wallet_a-wallet.o
      CXX      wallet/libbitcoin_wallet_a-walletdb.o
      CXX      wallet/libbitcoin_wallet_a-walletutil.o
      CXX      wallet/libbitcoin_wallet_a-coinselection.o
      CXX      wallet/libbitcoin_wallet_a-sqlite.o
      CXX      libbitcoin_common_a-addresstype.o
      CXX      libbitcoin_common_a-base58.o
      CXX      libbitcoin_common_a-bech32.o
      CXX      libbitcoin_common_a-chainparams.o
      CXX      libbitcoin_common_a-coins.o
      CXX      libbitcoin_common_a-compressor.o
      CXX      libbitcoin_common_a-core_read.o
      CXX      libbitcoin_common_a-core_write.o
      CXX      libbitcoin_common_a-deploymentinfo.o
      CXX      libbitcoin_common_a-external_signer.o
      CXX      init/libbitcoin_common_a-common.o
      CXX      kernel/libbitcoin_common_a-chainparams.o
      CXX      libbitcoin_common_a-key.o
      CXX      libbitcoin_common_a-key_io.o
      CXX      libbitcoin_common_a-merkleblock.o
      CXX      libbitcoin_common_a-net_types.o
      CXX      libbitcoin_common_a-netaddress.o
      CXX      libbitcoin_common_a-netbase.o
      CXX      libbitcoin_common_a-net_permissions.o
      CXX      libbitcoin_common_a-outputtype.o
      CXX      policy/libbitcoin_common_a-v3_policy.o
    In file included from ./hash.h:13,
                     from ./pubkey.h:10,
                     from ./addresstype.h:9,
                     from ./outputtype.h:9,
                     from outputtype.cpp:6:
    In member function ‘bool prevector<N, T, Size, Diff>::is_direct() const [with unsigned int N = 28; T = unsigned char; Size = unsigned int; Diff = int]’,
        inlined from ‘prevector<N, T, Size, Diff>::~prevector() [with unsigned int N = 28; T = unsigned char; Size = unsigned int; Diff = int]’ at ./prevector.h:474:23,
        inlined from ‘CScript::~CScript()’ at ./script/script.h:413:7,
        inlined from ‘CNoDestination::~CNoDestination()’ at ./addresstype.h:18:7,
        inlined from ‘constexpr void std::destroy_at(_Tp*) [with _Tp = CNoDestination]’ at /usr/include/c++/12/bits/stl_construct.h:88:18,
        inlined from ‘constexpr void std::_Destroy(_Tp*) [with _Tp = CNoDestination]’ at /usr/include/c++/12/bits/stl_construct.h:149:22,
        inlined from ‘std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)> mutable [with auto:19 = CNoDestination&]’ at /usr/include/c++/12/variant:472:19,
        inlined from ‘constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Args = {CNoDestination&}]’ at /usr/include/c++/12/bits/invoke.h:61:36,
        inlined from ‘constexpr std::enable_if_t<is_invocable_r_v<_Res, _Callable, _Args ...>, _Res> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Args = {CNoDestination&}]’ at /usr/include/c++/12/bits/invoke.h:111:28,
        inlined from ‘static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::integer_sequence<long unsigned int, __indices ...> >::__visit_invoke(_Visitor&&, _Variants ...) [with _Result_type = void; _Visitor = std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>&&; _Variants = {std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>&}; long unsigned int ...__indices = {0}]’ at /usr/include/c++/12/variant:1035:40,
        inlined from ‘constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with _Result_type = void; _Visitor = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Variants = {variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>&}]’ at /usr/include/c++/12/variant:1783:5,
        inlined from ‘constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with _Result_type = void; _Visitor = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Variants = {variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>&}]’ at /usr/include/c++/12/variant:1729:5,
        inlined from ‘constexpr void std::__detail::__variant::_Variant_storage<false, _Types ...>::_M_reset() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:470:23,
        inlined from ‘constexpr std::__detail::__variant::_Variant_storage<false, _Types ...>::~_Variant_storage() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:480:17,
        inlined from ‘constexpr std::__detail::__variant::_Copy_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Copy_ctor_base()’ at /usr/include/c++/12/variant:554:12,
        inlined from ‘constexpr std::__detail::__variant::_Move_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Move_ctor_base()’ at /usr/include/c++/12/variant:591:12,
        inlined from ‘constexpr std::__detail::__variant::_Copy_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Copy_assign_base()’ at /usr/include/c++/12/variant:629:12,
        inlined from ‘constexpr std::__detail::__variant::_Move_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Move_assign_base()’ at /usr/include/c++/12/variant:681:12,
        inlined from ‘constexpr std::__detail::__variant::_Variant_base<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Variant_base()’ at /usr/include/c++/12/variant:735:12,
        inlined from ‘constexpr std::variant<_Types>::~variant() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:1407:28,
        inlined from ‘std::vector<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown> > GetAllDestinationsForKey(const CPubKey&)’ at outputtype.cpp:79:5:
    ./prevector.h:175:37: warning: ‘*(const prevector<28, unsigned char, unsigned int, int>*)((char*)&p2sh + offsetof(std::CTxDestination, std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Variant_base<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Move_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Copy_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Move_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Copy_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_u)).prevector<28, unsigned char>::_size’ may be used uninitialized [-Wmaybe-uninitialized]
      175 |     bool is_direct() const { return _size <= N; }
          |                                     ^~~~~
    outputtype.cpp: In function ‘std::vector<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown> > GetAllDestinationsForKey(const CPubKey&)’:
    outputtype.cpp:77:24: note: ‘p2sh’ declared here
       77 |         CTxDestination p2sh = ScriptHash(GetScriptForDestination(segwit));
          |                        ^~~~
    In file included from /usr/include/c++/12/vector:64,
                     from ./serialize.h:26,
                     from ./hash.h:14:
    In destructor ‘constexpr std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’,
        inlined from ‘constexpr std::vector<_Tp, _Alloc>::~vector() [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>]’ at /usr/include/c++/12/bits/stl_vector.h:733:7,
        inlined from ‘constexpr WitnessUnknown::~WitnessUnknown()’ at ./addresstype.h:94:8,
        inlined from ‘constexpr void std::destroy_at(_Tp*) [with _Tp = WitnessUnknown]’ at /usr/include/c++/12/bits/stl_construct.h:88:18,
        inlined from ‘constexpr void std::_Destroy(_Tp*) [with _Tp = WitnessUnknown]’ at /usr/include/c++/12/bits/stl_construct.h:149:22,
        inlined from ‘std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)> mutable [with auto:19 = WitnessUnknown&]’ at /usr/include/c++/12/variant:472:19,
        inlined from ‘constexpr _Res std::__invoke_impl(__invoke_other, _Fn&&, _Args&& ...) [with _Res = void; _Fn = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Args = {WitnessUnknown&}]’ at /usr/include/c++/12/bits/invoke.h:61:36,
        inlined from ‘constexpr std::enable_if_t<is_invocable_r_v<_Res, _Callable, _Args ...>, _Res> std::__invoke_r(_Callable&&, _Args&& ...) [with _Res = void; _Callable = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Args = {WitnessUnknown&}]’ at /usr/include/c++/12/bits/invoke.h:111:28,
        inlined from ‘static constexpr decltype(auto) std::__detail::__variant::__gen_vtable_impl<std::__detail::__variant::_Multi_array<_Result_type (*)(_Visitor, _Variants ...)>, std::integer_sequence<long unsigned int, __indices ...> >::__visit_invoke(_Visitor&&, _Variants ...) [with _Result_type = void; _Visitor = std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>&&; _Variants = {std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>&}; long unsigned int ...__indices = {7}]’ at /usr/include/c++/12/variant:1035:40,
        inlined from ‘constexpr decltype(auto) std::__do_visit(_Visitor&&, _Variants&& ...) [with _Result_type = void; _Visitor = __detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_reset()::<lambda(auto:19&&)>; _Variants = {variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>&}]’ at /usr/include/c++/12/variant:1790:5,
        inlined from ‘constexpr void std::__detail::__variant::_Variant_storage<false, _Types ...>::_M_reset() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:470:23,
        inlined from ‘constexpr std::__detail::__variant::_Variant_storage<false, _Types ...>::~_Variant_storage() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:480:17,
        inlined from ‘constexpr std::__detail::__variant::_Copy_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Copy_ctor_base()’ at /usr/include/c++/12/variant:554:12,
        inlined from ‘constexpr std::__detail::__variant::_Move_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Move_ctor_base()’ at /usr/include/c++/12/variant:591:12,
        inlined from ‘constexpr std::__detail::__variant::_Copy_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Copy_assign_base()’ at /usr/include/c++/12/variant:629:12,
        inlined from ‘constexpr std::__detail::__variant::_Move_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Move_assign_base()’ at /usr/include/c++/12/variant:681:12,
        inlined from ‘constexpr std::__detail::__variant::_Variant_base<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::~_Variant_base()’ at /usr/include/c++/12/variant:735:12,
        inlined from ‘constexpr std::variant<_Types>::~variant() [with _Types = {CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown}]’ at /usr/include/c++/12/variant:1407:28,
        inlined from ‘std::vector<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown> > GetAllDestinationsForKey(const CPubKey&)’ at outputtype.cpp:79:5:
    /usr/include/c++/12/bits/stl_vector.h:367:31: warning: ‘*(std::_Vector_base<unsigned char, std::allocator<unsigned char> >*)((char*)&p2sh + offsetof(std::CTxDestination, std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Variant_base<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Move_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Copy_assign_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Move_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Copy_ctor_base<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::<unnamed>.std::__detail::__variant::_Variant_storage<false, CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown>::_M_u) + 8).std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_M_impl.std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_impl::<anonymous>.std::_Vector_base<unsigned char, std::allocator<unsigned char> >::_Vector_impl_data::_M_end_of_storage’ may be used uninitialized [-Wmaybe-uninitialized]
      367 |                       _M_impl._M_end_of_storage - _M_impl._M_start);
          |                       ~~~~~~~~^~~~~~~~~~~~~~~~~
    outputtype.cpp: In function ‘std::vector<std::variant<CNoDestination, PubKeyDestination, PKHash, ScriptHash, WitnessV0ScriptHash, WitnessV0KeyHash, WitnessV1Taproot, WitnessUnknown> > GetAllDestinationsForKey(const CPubKey&)’:
    outputtype.cpp:77:24: note: ‘p2sh’ declared here
       77 |         CTxDestination p2sh = ScriptHash(GetScriptForDestination(segwit));
          |                        ^~~~
      CXX      policy/libbitcoin_common_a-feerate.o
      CXX      policy/libbitcoin_common_a-policy.o
      CXX      libbitcoin_common_a-protocol.o
      CXX      libbitcoin_common_a-psbt.o
      CXX      rpc/libbitcoin_common_a-external_signer.o
      CXX      rpc/libbitcoin_common_a-rawtransaction_util.o
      CXX      rpc/libbitcoin_common_a-request.o
      CXX      rpc/libbitcoin_common_a-util.o
      CXX      libbitcoin_common_a-scheduler.o
      CXX      script/libbitcoin_common_a-descriptor.o
      CXX      script/libbitcoin_common_a-miniscript.o
      CXX      script/libbitcoin_common_a-sign.o
      CXX      script/libbitcoin_common_a-signingprovider.o
      CXX      script/libbitcoin_common_a-solver.o
      CXX      libbitcoin_common_a-warnings.o
      CXX      common/libbitcoin_common_a-url.o
      CXX      libbitcoin_util_a-chainparamsbase.o
      GEN      obj/build.h
      CXX      libbitcoin_util_a-logging.o
      CXX      libbitcoin_util_a-random.o
      CXX      libbitcoin_util_a-randomenv.o
      CXX      libbitcoin_util_a-streams.o
      CXX      support/libbitcoin_util_a-cleanse.o
      CXX      libbitcoin_util_a-sync.o
      CXX      libbitcoin_consensus_a-arith_uint256.o
      CXX      consensus/libbitcoin_consensus_a-merkle.o
      CXX      consensus/libbitcoin_consensus_a-tx_check.o
      CXX      libbitcoin_consensus_a-hash.o
      CXX      libbitcoin_consensus_a-pubkey.o
      CXX      script/libbitcoin_consensus_a-bitcoinconsensus.o
      CXX      script/libbitcoin_consensus_a-interpreter.o
      CXX      script/libbitcoin_consensus_a-script.o
      CXX      script/libbitcoin_consensus_a-script_error.o
      CXX      libbitcoin_consensus_a-uint256.o
      CXX      util/libbitcoin_consensus_a-strencodings.o
      CXX      crc32c/src/libcrc32c_sse42_la-crc32c_sse42.lo
    make[3]: Entering directory '/home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1'
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1/build-aux/missing' aclocal-1.16 -I build-aux/m4
      CXX      bitcoin_cli-bitcoin-cli.o
     cd . && /bin/bash /home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1/build-aux/missing automake-1.16 --foreign
      CXX      rpc/libbitcoin_cli_a-client.o
    CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1/build-aux/missing' autoconf
    /bin/bash ./config.status --recheck
    running CONFIG_SHELL=/bin/bash /bin/bash ./configure --disable-option-checking --prefix=/home/edilmedeiros/bitcoin/binaries/v27.1 --enable-wallet --disable-shared --with-pic --with-ecmult-gen-kb=86 --enable-benchmark=no --enable-module-recovery --disable-module-ecdh --cache-file=/dev/null --srcdir=. --no-create --no-recursion
    checking build system type... x86_64-pc-linux-gnu
    checking host system type... x86_64-pc-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /usr/bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking for gcc... gcc
      CXX      bitcoin_tx-bitcoin-tx.o
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C...   CXX      bitcoin_wallet-bitcoin-wallet.o
    yes
    checking whether gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking whether gcc understands -c and -o together... yes
    checking whether make supports the include directive... yes (GNU style)
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... gcc3
    checking for ar... ar
    checking the archiver (ar) interface... ar
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for file... file
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for archiver [@FILE](/bitcoin-bitcoin/contributor/file/) support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for stdio.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for strings.h... yes
    checking for sys/stat.h... yes
    checking for sys/types.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... no
    checking whether to build static libraries... yes
    checking if gcc supports -Werror... yes
    checking if gcc supports -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef... yes
    checking if gcc supports -Wno-overlength-strings... yes
    checking if gcc supports -Wall... yes
    checking if gcc supports -Wno-unused-function... yes
    checking if gcc supports -Wextra... yes
    checking if gcc supports -Wcast-align... yes
    checking if gcc supports -Wcast-align=strict... yes
    checking if gcc supports -Wconditional-uninitialized... no
    checking if gcc supports -Wreserved-identifier... no
    checking if gcc supports -fvisibility=hidden... yes
    checking for valgrind support...
    checking for x86_64 assembly availability... yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    
    Build Options:
      with external callbacks = no
      with benchmarks         = no
      with tests              = yes
      with ctime tests        = no
      with coverage           = no
      with examples           = no
      module ecdh             = no
      module recovery         = yes
      module extrakeys        = yes
      module schnorrsig       = yes
      module ellswift         = yes
    
      asm                     = x86_64
      ecmult window size      = 15
      ecmult gen prec. bits   = 4
    
      valgrind                = no
      CC                      = gcc
      CPPFLAGS                =
      SECP_CFLAGS             = -O2  -std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-overlength-strings -Wall -Wno-unused-function -Wextra -Wcast-align -Wcast-align=strict -fvisibility=hidden
      CFLAGS                  = -g -O2
      LDFLAGS                 =
     /bin/bash ./config.status
    config.status: creating Makefile
    config.status: creating libsecp256k1.pc
    config.status: executing depfiles commands
    config.status: executing libtool commands
      CC       src/libsecp256k1_la-secp256k1.lo
      CXX      init/bitcoin_wallet-bitcoin-wallet.o
      CXX      wallet/libbitcoin_wallet_tool_a-wallettool.o
      CC       src/libsecp256k1_precomputed_la-precomputed_ecmult.lo
      CXX      bitcoin_util-bitcoin-util.o
      GEN      test/data/script_tests.json.h
      GEN      test/data/bip341_wallet_vectors.json.h
      GEN      test/data/base58_encode_decode.json.h
      GEN      test/data/blockfilters.json.h
      GEN      test/data/key_io_valid.json.h
      GEN      test/data/key_io_invalid.json.h
      GEN      test/data/sighash.json.h
      GEN      test/data/tx_invalid.json.h
      GEN      test/data/tx_valid.json.h
      GEN      test/data/asmap.raw.h
      CXX      wallet/test/libtest_util_a-util.o
      CC       src/libsecp256k1_precomputed_la-precomputed_ecmult_gen.lo
      CCLD     libsecp256k1_precomputed.la
      CCLD     libsecp256k1.la
    make[3]: Leaving directory '/home/edilmedeiros/bitcoin/bitcoin-core/src/secp256k1'
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_1byte.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_2bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_3bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_4bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_5bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_6bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_7bytes.o
      CXX      minisketch/src/fields/libminisketch_clmul_a-clmul_8bytes.o
      GEN      bench/data/block413567.raw.h
      CXX      bench/bench_bitcoin-descriptors.o
      CXX      bench/bench_bitcoin-disconnected_transactions.o
      CXX      bench/bench_bitcoin-duplicate_inputs.o
      CXX      bench/bench_bitcoin-ellswift.o
      CXX      bench/bench_bitcoin-examples.o
      CXX      bench/bench_bitcoin-gcs_filter.o
      CXX      bench/bench_bitcoin-hashpadding.o
      CXX      bench/bench_bitcoin-load_external.o
      CXX      bench/bench_bitcoin-lockedpool.o
      CXX      bench/bench_bitcoin-logging.o
      CXX      bench/bench_bitcoin-mempool_eviction.o
      CXX      bench/bench_bitcoin-mempool_stress.o
      CXX      bench/bench_bitcoin-merkle_root.o
      CXX      bench/bench_bitcoin-nanobench.o
      CXX      bench/bench_bitcoin-peer_eviction.o
      CXX      bench/bench_bitcoin-poly1305.o
      CXX      bench/bench_bitcoin-pool.o
      CXX      bench/bench_bitcoin-prevector.o
      CXX      bench/bench_bitcoin-readblock.o
      CXX      bench/bench_bitcoin-rollingbloom.o
      CXX      bench/bench_bitcoin-rpc_blockchain.o
      CXX      bench/bench_bitcoin-rpc_mempool.o
      CXX      bench/bench_bitcoin-streams_findbyte.o
      CXX      bench/bench_bitcoin-strencodings.o
      CXX      bench/bench_bitcoin-util_time.o
      CXX      bench/bench_bitcoin-verify_script.o
      CXX      bench/bench_bitcoin-xor.o
      CXX      bench/bench_bitcoin-coin_selection.o
      CXX      bench/bench_bitcoin-wallet_balance.o
      CXX      bench/bench_bitcoin-wallet_create.o
      CXX      bench/bench_bitcoin-wallet_loading.o
      CXX      bench/bench_bitcoin-wallet_create_tx.o
      CXX      bench/bench_bitcoin-wallet_ismine.o
      CXX      support/libbitcoinconsensus_la-cleanse.lo
      CXX      crypto/libbitcoinconsensus_la-aes.lo
      CXX      crypto/libbitcoinconsensus_la-chacha20.lo
      CXX      crypto/libbitcoinconsensus_la-chacha20poly1305.lo
      CXX      crypto/libbitcoinconsensus_la-hkdf_sha256_32.lo
      CXX      crypto/libbitcoinconsensus_la-hmac_sha256.lo
      CXX      crypto/libbitcoinconsensus_la-hmac_sha512.lo
      CXX      crypto/libbitcoinconsensus_la-poly1305.lo
      CXX      crypto/libbitcoinconsensus_la-muhash.lo
      CXX      crypto/libbitcoinconsensus_la-ripemd160.lo
      CXX      crypto/libbitcoinconsensus_la-sha1.lo
      CXX      crypto/libbitcoinconsensus_la-sha256.lo
      CXX      crypto/libbitcoinconsensus_la-sha256_sse4.lo
      CXX      crypto/libbitcoinconsensus_la-sha3.lo
      CXX      crypto/libbitcoinconsensus_la-sha512.lo
      CXX      crypto/libbitcoinconsensus_la-siphash.lo
      CXX      libbitcoinconsensus_la-arith_uint256.lo
      CXX      consensus/libbitcoinconsensus_la-merkle.lo
      CXX      consensus/libbitcoinconsensus_la-tx_check.lo
      CXX      libbitcoinconsensus_la-hash.lo
      CXX      primitives/libbitcoinconsensus_la-block.lo
      CXX      primitives/libbitcoinconsensus_la-transaction.lo
      CXX      libbitcoinconsensus_la-pubkey.lo
      CXX      script/libbitcoinconsensus_la-bitcoinconsensus.lo
      CXX      script/libbitcoinconsensus_la-interpreter.lo
      CXX      script/libbitcoinconsensus_la-script.lo
      CXX      script/libbitcoinconsensus_la-script_error.lo
      CXX      libbitcoinconsensus_la-uint256.lo
      CXX      util/libbitcoinconsensus_la-strencodings.lo
      CXX      init/bitcoind-bitcoind.o
      CXX      consensus/libbitcoin_node_a-tx_verify.o
      CXX      index/libbitcoin_node_a-base.o
      CXX      index/libbitcoin_node_a-blockfilterindex.o
      CXX      index/libbitcoin_node_a-coinstatsindex.o
      CXX      index/libbitcoin_node_a-txindex.o
      CXX      kernel/libbitcoin_node_a-chain.o
      CXX      kernel/libbitcoin_node_a-checks.o
      CXX      kernel/libbitcoin_node_a-coinstats.o
      CXX      kernel/libbitcoin_node_a-context.o
      CXX      kernel/libbitcoin_node_a-cs_main.o
      CXX      kernel/libbitcoin_node_a-disconnected_transactions.o
      CXX      kernel/libbitcoin_node_a-mempool_persist.o
      CXX      kernel/libbitcoin_node_a-mempool_removal_reason.o
      CXX      node/libbitcoin_node_a-abort.o
      CXX      node/libbitcoin_node_a-blockmanager_args.o
      CXX      node/libbitcoin_node_a-blockstorage.o
      CXX      node/libbitcoin_node_a-caches.o
      CXX      node/libbitcoin_node_a-chainstate.o
      CXX      node/libbitcoin_node_a-chainstatemanager_args.o
      CXX      node/libbitcoin_node_a-coin.o
      CXX      node/libbitcoin_node_a-coins_view_args.o
      CXX      node/libbitcoin_node_a-connection_types.o
      CXX      node/libbitcoin_node_a-context.o
      CXX      node/libbitcoin_node_a-database_args.o
      CXX      node/libbitcoin_node_a-eviction.o
      CXX      node/libbitcoin_node_a-interface_ui.o
      CXX      node/libbitcoin_node_a-interfaces.o
      CXX      node/libbitcoin_node_a-kernel_notifications.o
      CXX      node/libbitcoin_node_a-mempool_args.o
      CXX      node/libbitcoin_node_a-mempool_persist_args.o
      CXX      node/libbitcoin_node_a-miner.o
      CXX      node/libbitcoin_node_a-mini_miner.o
      CXX      node/libbitcoin_node_a-minisketchwrapper.o
      CXX      node/libbitcoin_node_a-peerman_args.o
      CXX      node/libbitcoin_node_a-psbt.o
      CXX      node/libbitcoin_node_a-transaction.o
      CXX      node/libbitcoin_node_a-txreconciliation.o
      CXX      node/libbitcoin_node_a-utxo_snapshot.o
      CXX      node/libbitcoin_node_a-validation_cache_args.o
      CXX      policy/libbitcoin_node_a-v3_policy.o
      CXX      policy/libbitcoin_node_a-fees.o
      CXX      policy/libbitcoin_node_a-fees_args.o
      CXX      policy/libbitcoin_node_a-packages.o
      CXX      policy/libbitcoin_node_a-rbf.o
      CXX      policy/libbitcoin_node_a-settings.o
      CXX      rpc/libbitcoin_node_a-blockchain.o
      CXX      rpc/libbitcoin_node_a-fees.o
      CXX      rpc/libbitcoin_node_a-mempool.o
      CXX      rpc/libbitcoin_node_a-mining.o
      CXX      rpc/libbitcoin_node_a-net.o
      CXX      rpc/libbitcoin_node_a-node.o
      CXX      rpc/libbitcoin_node_a-output_script.o
      CXX      rpc/libbitcoin_node_a-rawtransaction.o
      CXX      rpc/libbitcoin_node_a-server.o
      CXX      rpc/libbitcoin_node_a-server_util.o
      CXX      rpc/libbitcoin_node_a-signmessage.o
      CXX      rpc/libbitcoin_node_a-txoutproof.o
      CXX      script/libbitcoin_node_a-sigcache.o
      CXX      wallet/libbitcoin_node_a-init.o
      CXX      wallet/libbitcoin_wallet_a-coincontrol.o
      CXX      wallet/libbitcoin_wallet_a-context.o
      CXX      wallet/libbitcoin_wallet_a-crypter.o
      CXX      wallet/libbitcoin_wallet_a-db.o
      CXX      wallet/libbitcoin_wallet_a-dump.o
      CXX      wallet/libbitcoin_wallet_a-external_signer_scriptpubkeyman.o
      CXX      wallet/libbitcoin_wallet_a-feebumper.o
      CXX      wallet/libbitcoin_wallet_a-fees.o
      CXX      wallet/libbitcoin_wallet_a-interfaces.o
      CXX      wallet/libbitcoin_wallet_a-load.o
      CXX      wallet/libbitcoin_wallet_a-receive.o
      CXX      wallet/rpc/libbitcoin_wallet_a-addresses.o
      CXX      wallet/rpc/libbitcoin_wallet_a-backup.o
      CXX      wallet/rpc/libbitcoin_wallet_a-coins.o
      CXX      wallet/rpc/libbitcoin_wallet_a-encrypt.o
      CXX      wallet/rpc/libbitcoin_wallet_a-spend.o
      CXX      wallet/rpc/libbitcoin_wallet_a-signmessage.o
      CXX      wallet/rpc/libbitcoin_wallet_a-transactions.o
      CXX      wallet/rpc/libbitcoin_wallet_a-util.o
      CXX      wallet/rpc/libbitcoin_wallet_a-wallet.o
      CXX      common/libbitcoin_common_a-args.o
      CXX      common/libbitcoin_common_a-bloom.o
      CXX      common/libbitcoin_common_a-config.o
      CXX      common/libbitcoin_common_a-init.o
      CXX      common/libbitcoin_common_a-interfaces.o
      CXX      common/libbitcoin_common_a-run_command.o
      CXX      common/libbitcoin_common_a-settings.o
      CXX      common/libbitcoin_common_a-system.o
      CXX      support/libbitcoin_util_a-lockedpool.o
      CXX      libbitcoin_util_a-clientversion.o
      CXX      util/libbitcoin_util_a-asmap.o
      CXX      util/libbitcoin_util_a-batchpriority.o
      CXX      util/libbitcoin_util_a-bip32.o
      CXX      util/libbitcoin_util_a-bytevectorhash.o
      CXX      util/libbitcoin_util_a-chaintype.o
      CXX      util/libbitcoin_util_a-check.o
      CXX      util/libbitcoin_util_a-error.o
      CXX      util/libbitcoin_util_a-exception.o
      CXX      util/libbitcoin_util_a-fees.o
      CXX      util/libbitcoin_util_a-fs.o
      CXX      util/libbitcoin_util_a-fs_helpers.o
      CXX      util/libbitcoin_util_a-hasher.o
      CXX      util/libbitcoin_util_a-sock.o
      CXX      util/libbitcoin_util_a-syserror.o
      CXX      util/libbitcoin_util_a-message.o
      CXX      util/libbitcoin_util_a-moneystr.o
      CXX      util/libbitcoin_util_a-rbf.o
      CXX      util/libbitcoin_util_a-readwritefile.o
      CXX      util/libbitcoin_util_a-signalinterrupt.o
      CXX      util/libbitcoin_util_a-thread.o
      CXX      util/libbitcoin_util_a-threadinterrupt.o
      CXX      util/libbitcoin_util_a-threadnames.o
      CXX      util/libbitcoin_util_a-serfloat.o
      CXX      util/libbitcoin_util_a-spanparsing.o
      CXX      util/libbitcoin_util_a-strencodings.o
      CXX      util/libbitcoin_util_a-string.o
      CXX      util/libbitcoin_util_a-time.o
      CXX      util/libbitcoin_util_a-tokenpipe.o
      CXX      univalue/lib/libunivalue_la-univalue.lo
      CXX      univalue/lib/libunivalue_la-univalue_get.lo
    util/time.cpp: In function ‘bool ChronoSanityCheck()’:
    util/time.cpp:54:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
       54 |     if (gmtime_s(&epoch, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    util/time.cpp: In function ‘std::string FormatISO8601DateTime(int64_t)’:
    util/time.cpp:105:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
      105 |     if (gmtime_s(&ts, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    util/time.cpp: In function ‘std::string FormatISO8601Date(int64_t)’:
    util/time.cpp:118:9: error: ‘gmtime_s’ was not declared in this scope; did you mean ‘gmtime_r’?
      118 |     if (gmtime_s(&ts, &time_val) != 0) {
          |         ^~~~~~~~
          |         gmtime_r
    make[2]: *** [Makefile:11985: util/libbitcoin_util_a-time.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
    make[1]: *** [Makefile:20521: all-recursive] Error 1
    make[1]: Leaving directory '/home/edilmedeiros/bitcoin/bitcoin-core/src'
    make: *** [Makefile:813: all-recursive] Error 1
    

    </details>

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    v27.1

    Operating system and version

    Debian GNU/Linux 12 (bookworm)

    Machine specifications

    4 vCPU 6 GB VPS running over AMD EPYC 9224 24-Core Processors

  2. maflcko added the label Build system on Jul 30, 2024
  3. maflcko added the label Questions and Help on Jul 30, 2024
  4. maflcko commented at 7:53 PM on July 30, 2024: member

    You'll have to run ./autogen.sh before configure when switching branches. Also, you'll have to run make clean before make when a previous build was done in the same location.

  5. edilmedeiros commented at 11:01 PM on July 30, 2024: contributor

    Yeah, it did the trick. I'll close the issue.

    Sorry for the noob error and thanks for the assistance.

  6. edilmedeiros closed this on Jul 30, 2024

  7. bitcoin locked this on Aug 5, 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: 2026-04-26 06:13 UTC

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