Skip to content

Instantly share code, notes, and snippets.

@justinhartman
Last active October 25, 2021 17:34
Show Gist options
  • Save justinhartman/069654cc675dca8695a4a28ec7f58780 to your computer and use it in GitHub Desktop.
Save justinhartman/069654cc675dca8695a4a28ec7f58780 to your computer and use it in GitHub Desktop.
Fireants Qt5 macOS build

Build Fireants Qt5 macOS App

Berkley DB 6.2

The v1.0.0.0-g application uses Berkley DB 6.2.38 but there is no version of this to download off Oracle so I had to compile using 6.2.32. You can see my build of this version by viewing this gist

Building the App

With the current main branch cloned I have attempted to build the app with the following:

Autogen

$ ./autogen.sh
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
glibtoolize: copying file 'build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
glibtoolize: copying file 'build-aux/m4/libtool.m4'
glibtoolize: copying file 'build-aux/m4/ltoptions.m4'
glibtoolize: copying file 'build-aux/m4/ltsugar.m4'
glibtoolize: copying file 'build-aux/m4/ltversion.m4'
glibtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:45: installing 'build-aux/compile'
configure.ac:45: installing 'build-aux/config.guess'
configure.ac:45: installing 'build-aux/config.sub'
configure.ac:28: installing 'build-aux/install-sh'
configure.ac:28: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
glibtoolize: copying file 'build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
glibtoolize: copying file 'build-aux/m4/libtool.m4'
glibtoolize: copying file 'build-aux/m4/ltoptions.m4'
glibtoolize: copying file 'build-aux/m4/ltsugar.m4'
glibtoolize: copying file 'build-aux/m4/ltversion.m4'
glibtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:28: warning: The macro `AC_PROG_CC_C89' is obsolete.
configure.ac:28: You should run autoupdate.
./lib/autoconf/c.m4:1652: AC_PROG_CC_C89 is expanded from...
configure.ac:28: the top level
configure.ac:10: installing 'build-aux/compile'
configure.ac:5: installing 'build-aux/config.guess'
configure.ac:5: installing 'build-aux/config.sub'
configure.ac:9: installing 'build-aux/install-sh'
configure.ac:9: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
glibtoolize: copying file 'build-aux/ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
glibtoolize: copying file 'build-aux/m4/libtool.m4'
glibtoolize: copying file 'build-aux/m4/ltoptions.m4'
glibtoolize: copying file 'build-aux/m4/ltsugar.m4'
glibtoolize: copying file 'build-aux/m4/ltversion.m4'
glibtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:473: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
build-aux/m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
configure.ac:473: the top level
configure.ac:72: installing 'build-aux/compile'
configure.ac:22: installing 'build-aux/config.guess'
configure.ac:22: installing 'build-aux/config.sub'
configure.ac:32: installing 'build-aux/install-sh'
configure.ac:32: installing 'build-aux/missing'
src/Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'

Configure

$ export BDB_LIBS=/usr/local/BerkeleyDB.6.2/lib
$ export BDB_CFLAGS=/usr/local/BerkeleyDB.6.2/include
$ ./configure --enable-cxx
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-apple-darwin20.6.0
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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++11 features with -std=c++11... yes
checking whether std::atomic can be used without link library... yes
checking whether the compiler supports GNU Objective C++... yes
checking whether g++ -std=c++11 accepts -g... yes
checking dependency style of g++ -std=c++11... 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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 786432
checking how to convert x86_64-apple-darwin20.6.0 file names to x86_64-apple-darwin20.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin20.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
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 support... no
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... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
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++11 -E
checking for ld used by g++ -std=c++11... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ -std=c++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ -std=c++11 option to produce PIC... -fno-common -DPIC
checking if g++ -std=c++11 PIC flag -fno-common -DPIC works... yes
checking if g++ -std=c++11 static flag -static works... no
checking if g++ -std=c++11 supports -c -o file.o... yes
checking if g++ -std=c++11 supports -c -o file.o... (cached) yes
checking whether the g++ -std=c++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking for gcov... /usr/bin/gcov
checking for lcov... no
checking for python3.6... no
checking for python3.5... no
checking for python3.4... no
checking for python3... /Users/justin/.pyenv/shims/python3
checking for genhtml... no
checking for git... /usr/local/bin/git
checking for ccache... no
checking for xgettext... /usr/local/bin/xgettext
checking for hexdump... /usr/bin/hexdump
checking for readelf... no
checking for c++filt... /usr/bin/c++filt
checking for objcopy... no
checking whether C++ compiler accepts -Werror... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wformat... yes
checking whether C++ compiler accepts -Wvla... yes
checking whether C++ compiler accepts -Wformat-security... yes
checking whether C++ compiler accepts -Wunused-parameter... yes
checking whether C++ compiler accepts -Wself-assign... yes
checking whether C++ compiler accepts -Wunused-local-typedef... yes
checking whether C++ compiler accepts -Wdeprecated-register... yes
checking for port... no
checking for rsvg-convert... /usr/local/bin/rsvg-convert
checking for brew... brew
checking whether the linker accepts -Wl,-headerpad_max_install_names... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
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 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++11 options needed to detect all undeclared functions... none needed
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking whether the linker accepts -Wl,--large-address-aware... no
checking for __attribute__((visibility))... no
checking for __attribute__((dllexport))... no
checking for __attribute__((dllimport))... no
checking for library containing clock_gettime... none required
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++ preprocessor accepts -D_FORTIFY_SOURCE=2... yes
checking whether C++ preprocessor accepts -U_FORTIFY_SOURCE... yes
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... no
checking whether the linker accepts -Wl,-z,now... no
checking whether C++ compiler accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether the linker accepts -Wl,-dead_strip... yes
checking for endian.h... no
checking for sys/endian.h... no
checking for byteswap.h... no
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/select.h... yes
checking for sys/prctl.h... no
checking whether strnlen is declared... yes
checking whether le16toh is declared... no
checking whether le32toh is declared... no
checking whether le64toh is declared... no
checking whether htole16 is declared... no
checking whether htole32 is declared... no
checking whether htole64 is declared... no
checking whether be16toh is declared... no
checking whether be32toh is declared... no
checking whether be64toh is declared... no
checking whether htobe16 is declared... no
checking whether htobe32 is declared... no
checking whether htobe64 is declared... no
checking whether bswap_16 is declared... no
checking whether bswap_32 is declared... no
checking whether bswap_64 is declared... no
checking for MSG_NOSIGNAL... yes
checking for visibility attribute... yes
checking for miniupnpc/miniwget.h... yes
checking for main in -lminiupnpc... yes
checking for miniupnpc/miniupnpc.h... yes
checking for main in -lminiupnpc... (cached) yes
checking for miniupnpc/upnpcommands.h... yes
checking for main in -lminiupnpc... (cached) yes
checking for miniupnpc/upnperrors.h... yes
checking for main in -lminiupnpc... (cached) yes
checking for Qt5Core Qt5Gui Qt5Network Qt5Widgets... yes
checking for Qt5Test... yes
checking for Qt5DBus... yes
checking for static Qt... no
checking whether -fPIE can be used with this Qt config... yes
checking for moc-qt5... no
checking for moc5... no
checking for moc... /usr/local/Cellar/qt@5/5.15.2/bin/moc
checking for uic-qt5... no
checking for uic5... no
checking for uic... /usr/local/Cellar/qt@5/5.15.2/bin/uic
checking for rcc-qt5... no
checking for rcc5... no
checking for rcc... /usr/local/Cellar/qt@5/5.15.2/bin/rcc
checking for lrelease-qt5... no
checking for lrelease5... no
checking for lrelease... /usr/local/Cellar/qt@5/5.15.2/bin/lrelease
checking for lupdate-qt5... no
checking for lupdate5... no
checking for lupdate... /usr/local/Cellar/qt@5/5.15.2/bin/lupdate
checking whether the linker accepts -framework Foundation -framework ApplicationServices -framework AppKit... yes
checking whether to build Fireants GUI... yes (Qt5)
checking for boostlib >= 1.47.0... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options-mt... yes
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread-mt... yes
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono-mt... yes
checking whether the Boost::Unit_Test_Framework library is available... yes
checking for dynamic linked boost test... yes
checking for mismatched boost c++11 scoped enums... ok
checking for libssl... yes
checking for libcrypto... yes
checking for protobuf... yes
checking for libqrencode... yes
checking for libevent... yes
checking for libevent_pthreads... yes
checking for libzmq >= 4... yes
checking whether EVP_MD_CTX_new is declared... yes
checking for protoc... /usr/local/bin/protoc
checking whether to build bitcoind... yes
checking whether to build utils (bitcoin-cli bitcoin-tx)... yes
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... yes
checking whether to build with UPnP enabled by default... no
checking whether to build GUI with support for D-Bus... yes
checking whether to build GUI with support for QR codes... yes
checking whether to build test_bitcoin-qt... yes
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 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 src/test/buildenv.py
config.status: creating qa/pull-tester/run-bitcoind-for-test.sh
config.status: creating qa/pull-tester/tests_config.py
config.status: creating contrib/devtools/split-debug.sh
config.status: creating src/config/bitcoin-config.h
config.status: src/config/bitcoin-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/univalue (/Volumes/240GB/Code/tests/Fireants-Source/src/univalue)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-cxx' 'BDB_CFLAGS=/usr/local/BerkeleyDB.6.2/include' 'BDB_LIBS=/usr/local/BerkeleyDB.6.2/lib' '--disable-shared' '--with-pic' '--with-bignum=no' '--enable-module-recovery' --cache-file=/dev/null --srcdir=.
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-apple-darwin20.6.0
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 786432
checking how to convert x86_64-apple-darwin20.6.0 file names to x86_64-apple-darwin20.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin20.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
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 support... no
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... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
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 for g++... g++
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 dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pc/libunivalue.pc
config.status: creating pc/libunivalue-uninstalled.pc
config.status: creating univalue-config.h
config.status: univalue-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in src/secp256k1 (/Volumes/240GB/Code/tests/Fireants-Source/src/secp256k1)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-cxx' 'BDB_CFLAGS=/usr/local/BerkeleyDB.6.2/include' 'BDB_LIBS=/usr/local/BerkeleyDB.6.2/lib' '--disable-shared' '--with-pic' '--with-bignum=no' '--enable-module-recovery' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-apple-darwin20.6.0
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
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 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... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 786432
checking how to convert x86_64-apple-darwin20.6.0 file names to x86_64-apple-darwin20.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin20.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
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 support... no
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... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
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... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
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 whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking dependency style of gcc... gcc3
checking for brew... /usr/local/bin/brew
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings... yes
checking if gcc supports -fvisibility=hidden... yes
checking for __int128... yes
checking for __builtin_expect... yes
checking native compiler: gcc... ok
checking for x86_64 assembly availability... yes
checking for libcrypto... yes
checking for main in -lcrypto... yes
checking for EC functions in libcrypto... no
checking jni headers... none
configure: WARNING: jni headers/dependencies not found. jni support disabled
checking whether byte ordering is bigendian... no
configure: Using static precomputation: yes
configure: Using assembly optimizations: x86_64
configure: Using field implementation: 64bit
configure: Using bignum implementation: no
configure: Using scalar implementation: 64bit
configure: Using endomorphism optimizations: no
configure: Building ECDH module: no
configure: Building ECDSA pubkey recovery module: yes
configure: Using jni: no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsecp256k1.pc
config.status: creating src/libsecp256k1-config.h
config.status: src/libsecp256k1-config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Options used to compile and link:
  with wallet   = yes
  with gui / qt = yes
    qt version  = 5
    with qr     = yes
  with zmq      = yes
  with test     = yes
  with bench    = yes
  with upnp     = yes
  debug enabled = no
  werror        = no

  target os     = darwin
  build os      = darwin

  CC            = gcc
  CFLAGS        = -g -O2
  CPPFLAGS      =  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DMAC_OSX -DOBJC_OLD_DISPATCH_PROTOTYPES=0
  CXX           = g++ -std=c++11
  CXXFLAGS      = -g -O2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter -Wno-self-assign -Wno-unused-local-typedef -Wno-deprecated-register
  LDFLAGS       =  -Wl,-headerpad_max_install_names -Wl,-dead_strip

Make

$ make
Making all in src
  CXX      fireantsd-bitcoind.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from bitcoind.cpp:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
1 warning generated.
  CXX      libbitcoin_server_a-addrman.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from addrman.cpp:8:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
2 warnings generated.
  CXX      libbitcoin_server_a-addrdb.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from addrdb.cpp:9:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from addrdb.cpp:11:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      libbitcoin_server_a-bloom.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from bloom.cpp:7:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from bloom.cpp:8:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      libbitcoin_server_a-chain.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from chain.cpp:6:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
1 warning generated.
  CXX      libbitcoin_server_a-checkpoints.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from checkpoints.cpp:7:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from checkpoints.cpp:9:
In file included from ./main.h:18:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      libbitcoin_server_a-httprpc.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from httprpc.cpp:7:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from httprpc.cpp:7:
In file included from ./base58.h:18:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
httprpc.cpp:116:30: warning: variable length array used [-Wvla]
            unsigned char out[KEY_SIZE];
                             ^
4 warnings generated.
  CXX      libbitcoin_server_a-httpserver.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
  CXX      libbitcoin_server_a-init.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from init.cpp:14:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from init.cpp:22:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from init.cpp:27:
In file included from ./policy/policy.h:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from init.cpp:14:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
In file included from init.cpp:56:
/usr/local/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                 ^
<scratch space>:118:2: note: expanded from here
 message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.")
 ^
In file included from init.cpp:13:
./amount.h:47:5: warning: definition of implicit copy assignment operator for 'CFeeRate' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CFeeRate(const CFeeRate& other) { nSatoshisPerK = other.nSatoshisPerK; }
    ^
init.cpp:979:29: note: in implicit copy assignment operator for 'CFeeRate' first required here
            ::minRelayTxFee = CFeeRate(n);
                            ^
7 warnings generated.
  CXX      libbitcoin_server_a-dbwrapper.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
  CXX      libbitcoin_server_a-main.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from main.cpp:10:
In file included from ./main.h:17:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from main.cpp:10:
In file included from ./main.h:18:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from main.cpp:21:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from main.cpp:10:
In file included from ./main.h:17:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
main.cpp:1791:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
In file included from main.cpp:10:
In file included from ./main.h:16:
In file included from ./amount.h:9:
In file included from ./serialize.h:16:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/set:604:30: warning: the specified comparator type does not provide a viable const call operator [-Wuser-defined-warnings]
        static_assert(sizeof(__diagnose_non_const_comparator<_Key, _Compare>()), "");
                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/utility:297:29: note: in instantiation of member function 'std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator, std::__1::allocator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>>>::~set' requested here
struct _LIBCPP_TEMPLATE_VIS pair
                            ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1419:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, void *>>>::__destroy<std::__1::pair<const COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>>' requested here
            {__destroy(__has_destroy<allocator_type, _Tp*>(), __a, __p);}
             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:1836:24: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, void *>>>::destroy<std::__1::pair<const COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>>' requested here
        __node_traits::destroy(__na, _NodeTypes::__get_ptr(__nd->__value_));
                       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:1824:3: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, std::__1::__map_value_compare<COutPoint, std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, std::__1::less<COutPoint>, true>, std::__1::allocator<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>>>::destroy' requested here
  destroy(__root());
  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/map:962:5: note: in instantiation of member function 'std::__1::__tree<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, std::__1::__map_value_compare<COutPoint, std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>, std::__1::less<COutPoint>, true>, std::__1::allocator<std::__1::__value_type<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>>>::~__tree' requested here
    map()
    ^
main.cpp:121:76: note: in instantiation of member function 'std::__1::map<COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>, std::__1::less<COutPoint>, std::__1::allocator<std::__1::pair<const COutPoint, std::__1::set<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>>>>::map' requested here
map<COutPoint, set<map<uint256, COrphanTx>::iterator, IteratorComparator>> mapOrphanTransactionsByPrev GUARDED_BY(cs_main);
                                                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__tree:976:5: note: from 'diagnose_if' attribute on '__diagnose_non_const_comparator<std::__1::__map_iterator<std::__1::__tree_iterator<std::__1::__value_type<uint256, COrphanTx>, std::__1::__tree_node<std::__1::__value_type<uint256, COrphanTx>, void *> *, long>>, IteratorComparator>':
    _LIBCPP_DIAGNOSE_WARNING(!std::__invokable<_Compare const&, _Tp const&, _Tp const&>::value,
    ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__config:1361:21: note: expanded from macro '_LIBCPP_DIAGNOSE_WARNING'
     __attribute__((diagnose_if(__VA_ARGS__, "warning")))
                    ^           ~~~~~~~~~~~
main.cpp:3944:13: warning: unused function 'IsSuperMajority' [-Wunused-function]
static bool IsSuperMajority(int minVersion, const CBlockIndex* pstart, unsigned nRequired, const Consensus::Params& consensusParams)
            ^
8 warnings generated.
  CXX      libbitcoin_server_a-merkleblock.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from merkleblock.cpp:6:
In file included from ./merkleblock.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from merkleblock.cpp:8:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from merkleblock.cpp:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
4 warnings generated.
  CXX      libbitcoin_server_a-miner.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from miner.cpp:6:
In file included from ./miner.h:9:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from miner.cpp:6:
In file included from ./miner.h:10:
In file included from ./txmempool.h:14:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from miner.cpp:12:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from miner.cpp:6:
In file included from ./miner.h:9:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
miner.cpp:87:15: warning: unused variable 'nSubsidy' [-Wunused-variable]
      CAmount nSubsidy = 52500000 * COIN;
              ^
miner.cpp:90:15: warning: unused variable 'nSubsidy' [-Wunused-variable]
      CAmount nSubsidy = 100 * COIN;
              ^
miner.cpp:93:12: warning: variable 'nSubsidy' is uninitialized when used here [-Wuninitialized]
    return nSubsidy;
           ^~~~~~~~
miner.cpp:83:21: note: initialize the variable 'nSubsidy' to silence this warning
    CAmount nSubsidy;
                    ^
                     = 0
In file included from miner.cpp:6:
./miner.h:140:13: warning: private field 'pblock' is not used [-Wunused-private-field]
    CBlock* pblock;
            ^
9 warnings generated.
  CXX      libbitcoin_server_a-net.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from net.cpp:13:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from net.cpp:15:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from net.cpp:18:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
4 warnings generated.
  CXX      libbitcoin_server_a-noui.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
  CXX      policy/libbitcoin_server_a-fees.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from policy/fees.cpp:7:
In file included from ./policy/policy.h:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from policy/fees.cpp:7:
In file included from ./policy/policy.h:10:
In file included from ./script/interpreter.h:10:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from policy/fees.cpp:13:
In file included from ./txmempool.h:14:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from policy/fees.cpp:6:
In file included from ./policy/fees.h:8:
./amount.h:47:5: warning: definition of implicit copy assignment operator for 'CFeeRate' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CFeeRate(const CFeeRate& other) { nSatoshisPerK = other.nSatoshisPerK; }
    ^
policy/fees.cpp:306:19: note: in implicit copy assignment operator for 'CFeeRate' first required here
    minTrackedFee = _minRelayFee < CFeeRate(MIN_FEERATE) ? CFeeRate(MIN_FEERATE) : _minRelayFee;
                  ^
5 warnings generated.
  CXX      policy/libbitcoin_server_a-policy.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from policy/policy.cpp:8:
In file included from ./policy/policy.h:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from policy/policy.cpp:8:
In file included from ./policy/policy.h:10:
In file included from ./script/interpreter.h:10:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from policy/policy.cpp:10:
In file included from ./main.h:18:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
4 warnings generated.
  CXX      libbitcoin_server_a-pos.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from pos.cpp:9:
In file included from ./pos.h:13:
In file included from ./txdb.h:9:
In file included from ./coins.h:10:
In file included from ./compressor.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from pos.cpp:9:
In file included from ./pos.h:13:
In file included from ./txdb.h:9:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from pos.cpp:9:
In file included from ./pos.h:13:
In file included from ./txdb.h:9:
In file included from ./coins.h:10:
In file included from ./compressor.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^

4 warnings generated.
  CXX      libbitcoin_server_a-pow.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from pow.cpp:9:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^

1 warning generated.
  CXX      libbitcoin_server_a-rest.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rest.cpp:6:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rest.cpp:10:
In file included from ./main.h:18:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      rpc/libbitcoin_server_a-blockchain.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/blockchain.cpp:7:
In file included from ./chain.h:10:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/blockchain.cpp:10:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from rpc/blockchain.cpp:14:
In file included from ./policy/policy.h:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
rpc/blockchain.cpp:994:18: warning: unused variable 'tip' [-Wunused-variable]
    CBlockIndex* tip = chainActive.Tip();
                 ^
rpc/blockchain.cpp:889:17: warning: unused function 'SoftForkDesc' [-Wunused-function]
static UniValue SoftForkDesc(const std::string &name, int version, CBlockIndex* pindex, const Consensus::Params& consensusParams)
                ^
6 warnings generated.
  CXX      rpc/libbitcoin_server_a-mining.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/mining.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/mining.cpp:6:
In file included from ./base58.h:18:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from rpc/mining.cpp:10:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from rpc/mining.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
5 warnings generated.
  CXX      rpc/libbitcoin_server_a-misc.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/misc.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/misc.cpp:6:
In file included from ./base58.h:18:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from rpc/misc.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
4 warnings generated.
  CXX      rpc/libbitcoin_server_a-net.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/net.cpp:7:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/net.cpp:9:
In file included from ./main.h:18:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      rpc/libbitcoin_server_a-rawtransaction.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/rawtransaction.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/rawtransaction.cpp:6:
In file included from ./base58.h:18:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from rpc/rawtransaction.cpp:17:
In file included from ./policy/policy.h:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from rpc/rawtransaction.cpp:6:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
./pos.h:29:90: note: in implicit copy constructor for 'CTransaction' first required here
    CStakeCache(uint256 hashBlock_, const CTransaction txPrev_) : hashBlock(hashBlock_), txPrev(txPrev_){
                                                                                         ^
5 warnings generated.
  CXX      rpc/libbitcoin_server_a-server.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from rpc/server.cpp:8:
In file included from ./base58.h:17:
In file included from ./chainparams.h:11:
In file included from ./primitives/block.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from rpc/server.cpp:8:
In file included from ./base58.h:18:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from rpc/server.cpp:18:
/usr/local/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                 ^
<scratch space>:30:2: note: expanded from here
 message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.")
 ^
4 warnings generated.
  CXX      script/libbitcoin_server_a-sigcache.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from script/sigcache.cpp:6:
In file included from script/sigcache.h:9:
In file included from ./script/interpreter.h:10:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from script/sigcache.cpp:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      script/libbitcoin_server_a-ismine.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from script/ismine.cpp:6:
In file included from script/ismine.h:9:
In file included from ./script/standard.h:9:
In file included from ./script/interpreter.h:10:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from script/ismine.cpp:8:
In file included from ./key.h:9:
In file included from ./pubkey.h:9:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      libbitcoin_server_a-timedata.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
  CXX      libbitcoin_server_a-torcontrol.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from torcontrol.cpp:18:
/usr/local/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/usr/local/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
                                 ^
<scratch space>:57:2: note: expanded from here
 message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.")
 ^
1 warning generated.
  CXX      libbitcoin_server_a-txdb.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from txdb.cpp:6:
In file included from ./txdb.h:9:
In file included from ./coins.h:10:
In file included from ./compressor.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from txdb.cpp:6:
In file included from ./txdb.h:9:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
3 warnings generated.
  CXX      libbitcoin_server_a-txmempool.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
In file included from txmempool.cpp:6:
In file included from ./txmempool.h:14:
In file included from ./coins.h:10:
In file included from ./compressor.h:9:
In file included from ./primitives/transaction.h:10:
./script/script.h:397:5: warning: definition of implicit copy assignment operator for 'CScript' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { }
    ^
./script/script.h:593:19: note: in implicit copy assignment operator for 'CScript' first required here
            *this = result;
                  ^
In file included from txmempool.cpp:6:
In file included from ./txmempool.h:14:
In file included from ./coins.h:12:
./hash.h:28:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
./hash.h:52:26: warning: variable length array used [-Wvla]
        unsigned char buf[sha.OUTPUT_SIZE];
                         ^
In file included from txmempool.cpp:9:
./consensus/consensus.h:19:1: warning: declaration does not declare anything [-Wmissing-declarations]
enum {
^
In file included from txmempool.cpp:6:
./txmempool.h:114:5: warning: definition of implicit copy assignment operator for 'CTxMemPoolEntry' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CTxMemPoolEntry(const CTxMemPoolEntry& other);
    ^
txmempool.cpp:51:11: note: in implicit copy assignment operator for 'CTxMemPoolEntry' first required here
    *this = other;
          ^
In file included from txmempool.cpp:6:
In file included from ./txmempool.h:13:
./amount.h:47:5: warning: definition of implicit copy assignment operator for 'CFeeRate' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy]
    CFeeRate(const CFeeRate& other) { nSatoshisPerK = other.nSatoshisPerK; }
    ^
txmempool.cpp:357:27: note: in implicit copy assignment operator for 'CFeeRate' first required here
    minReasonableRelayFee = _minReasonableRelayFee;
                          ^
In file included from txmempool.cpp:6:
In file included from ./txmempool.h:14:
In file included from ./coins.h:10:
In file included from ./compressor.h:9:
./primitives/transaction.h:252:19: warning: definition of implicit copy constructor for 'CTransaction' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    CTransaction& operator=(const CTransaction& tx);
                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:1935:9: note: in implicit copy constructor for 'CTransaction' first required here
      : __value_(_VSTD::forward<_Args>(_VSTD::get<_Indexes>(__args))...) {}
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:2019:9: note: in instantiation of function template specialization 'std::__1::__compressed_pair_elem<CTransaction, 1, false>::__compressed_pair_elem<const CTransaction &, 0>' requested here
        _Base2(__pc, _VSTD::move(__second_args),
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:3297:16: note: in instantiation of function template specialization 'std::__1::__compressed_pair<std::__1::allocator<CTransaction>, CTransaction>::__compressed_pair<std::__1::allocator<CTransaction> &, const CTransaction &>' requested here
            :  __data_(piecewise_construct, _VSTD::forward_as_tuple(__a),
               ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/memory:4038:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<CTransaction, std::__1::allocator<CTransaction>>::__shared_ptr_emplace<const CTransaction &>' requested here
    ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...);
                         ^
txmempool.cpp:27:13: note: in instantiation of function template specialization 'std::__1::make_shared<CTransaction, const CTransaction &>' requested here
    tx(std::make_shared<CTransaction>(_tx)), nFee(_nFee), nTime(_nTime), entryPriority(_entryPriority), entryHeight(_entryHeight),
            ^
7 warnings generated.
  CXX      libbitcoin_server_a-ui_interface.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
  CXX      libbitcoin_server_a-validationinterface.o
clang: warning: /usr/local/BerkeleyDB.6.2/include: 'linker' input unused [-Wunused-command-line-argument]
validationinterface.cpp:16:102: error: use of undeclared identifier '_1'
    g_signals.UpdatedBlockTip.connect(boost::bind(&CValidationInterface::UpdatedBlockTip, pwalletIn, _1));
                                                                                                     ^
validationinterface.cpp:17:102: error: use of undeclared identifier '_1'
    g_signals.SyncTransaction.connect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2, _3));
                                                                                                     ^
validationinterface.cpp:17:106: error: use of undeclared identifier '_2'
    g_signals.SyncTransaction.connect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2, _3));
                                                                                                         ^
validationinterface.cpp:17:110: error: use of undeclared identifier '_3'
    g_signals.SyncTransaction.connect(boost::bind(&CValidationInterface::SyncTransaction, pwalletIn, _1, _2, _3));
                                                                                                             ^
validationinterface.cpp:18:108: error: use of undeclared identifier '_1'
    g_signals.UpdatedTransaction.connect(boost::bind(&CValidationInterface::UpdatedTransaction, pwalletIn, _1));
                                                                                                           ^
validationinterface.cpp:19:96: error: use of undeclared identifier '_1'
    g_signals.SetBestChain.connect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1));
                                                                                               ^
validationinterface.cpp:20:90: error: use of undeclared identifier '_1'
    g_signals.Inventory.connect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1));
                                                                                         ^
validationinterface.cpp:21:105: error: use of undeclared identifier '_1'
    g_signals.Broadcast.connect(boost::bind(&CValidationInterface::ResendWalletTransactions, pwalletIn, _1));
                                                                                                        ^
validationinterface.cpp:22:96: error: use of undeclared identifier '_1'
    g_signals.BlockChecked.connect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
                                                                                               ^
validationinterface.cpp:22:100: error: use of undeclared identifier '_2'
    g_signals.BlockChecked.connect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
                                                                                                   ^
validationinterface.cpp:23:105: error: use of undeclared identifier '_1'
    g_signals.ScriptForMining.connect(boost::bind(&CValidationInterface::GetScriptForMining, pwalletIn, _1));
                                                                                                        ^
validationinterface.cpp:24:99: error: use of undeclared identifier '_1'
    g_signals.BlockFound.connect(boost::bind(&CValidationInterface::ResetRequestCount, pwalletIn, _1));
                                                                                                  ^
validationinterface.cpp:28:102: error: use of undeclared identifier '_1'
    g_signals.BlockFound.disconnect(boost::bind(&CValidationInterface::ResetRequestCount, pwalletIn, _1));
                                                                                                     ^
validationinterface.cpp:29:108: error: use of undeclared identifier '_1'
    g_signals.ScriptForMining.disconnect(boost::bind(&CValidationInterface::GetScriptForMining, pwalletIn, _1));
                                                                                                           ^
validationinterface.cpp:30:99: error: use of undeclared identifier '_1'
    g_signals.BlockChecked.disconnect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
                                                                                                  ^
validationinterface.cpp:30:103: error: use of undeclared identifier '_2'
    g_signals.BlockChecked.disconnect(boost::bind(&CValidationInterface::BlockChecked, pwalletIn, _1, _2));
                                                                                                      ^
validationinterface.cpp:31:108: error: use of undeclared identifier '_1'
    g_signals.Broadcast.disconnect(boost::bind(&CValidationInterface::ResendWalletTransactions, pwalletIn, _1));
                                                                                                           ^
validationinterface.cpp:32:93: error: use of undeclared identifier '_1'
    g_signals.Inventory.disconnect(boost::bind(&CValidationInterface::Inventory, pwalletIn, _1));
                                                                                            ^
validationinterface.cpp:33:99: error: use of undeclared identifier '_1'
    g_signals.SetBestChain.disconnect(boost::bind(&CValidationInterface::SetBestChain, pwalletIn, _1));
                                                                                                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [libbitcoin_server_a-validationinterface.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Install

TBC when we can get it to build...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment