libbitcoin / libbitcoin-explorer

Bitcoin Command Line Tool
Other
598 stars 175 forks source link

Installation Debian/Ubuntu fails , missing library libprotokit.a #717

Closed stn021 closed 1 year ago

stn021 commented 1 year ago

Hello,

compile and install of bx seems straightforward according to https://github.com/libbitcoin/libbitcoin-explorer/tree/version3#debianubuntu

I use ubuntu 22.10 with gcc 12.2.0 Installed, not docker or VM. All required package according to the instructions are installed.

The script sudo install.sh at first appears to work and compiles a lot but then ends at:

Warning: Linking the shared library src/libbitcoin-protocol.la against the static library libprotokit.a is not portable! ar: libprotokit.a: No such file or directory make: *** [Makefile:874: src/libbitcoin-protocol.la] Fehler 1

I have no idea where to even look for the reason for this.

evoskuil commented 1 year ago

ProtoKit is not a Libbitcoin dependency. Please post the full output of install.sh using clear prefix directory and we’ll take a look.

stn021 commented 1 year ago

Running the script sudo install.sh now. Takes a while.

The directory is simply my home-dir. As soon as the script finishes I will post the output.

Do you need any information about the system? ubuntu 22.10 (server) , gcc 12.2.0 , no docker , no VM Raspberry Pi 4 , arm-architecture.

stn021 commented 1 year ago
cd     # change to home-directory
sudo ./install.sh  2>&1 | tee output

libbitcoin-explorer installer configuration.
--------------------------------------------------------------------
OS                    : Linux
PARALLEL              : 4
CC                    : 
CXX                   : 
CPPFLAGS              : 
CFLAGS                : 
CXXFLAGS              : 
LDFLAGS               : 
LDLIBS                : 
WITH_ICU              : 
BUILD_ICU             : 
BUILD_ZMQ             : 
BUILD_BOOST           : 
BUILD_DIR             : build-libbitcoin-explorer
PREFIX                : /usr/local
DISABLE_SHARED        : 
DISABLE_STATIC        : 
with_boost            : 
with_pkgconfigdir     : --with-pkgconfigdir=/usr/local/lib/pkgconfig
--------------------------------------------------------------------

********************** Initialize git **********************
Hinweis: Als Name für den initialen Branch wurde 'master' benutzt. Dieser
Hinweis: Standard-Branchname kann sich ändern. Um den Namen des initialen Branches
Hinweis: zu konfigurieren, der in allen neuen Repositories verwendet werden soll und
Hinweis: um diese Warnung zu unterdrücken, führen Sie aus:
Hinweis: 
Hinweis:    git config --global init.defaultBranch <Name>
Hinweis: 
Hinweis: Häufig gewählte Namen statt 'master' sind 'main', 'trunk' und
Hinweis: 'development'. Der gerade erstellte Branch kann mit diesem Befehl
Hinweis: umbenannt werden:
Hinweis: 
Hinweis:    git branch -m <Name>
Leeres Git-Repository in /home/neumann/build-libbitcoin-explorer/.git/ initialisiert

********************** Prepairing to aquire icu4c-55_2-src.tgz **********************
Skipping unpack of icu4c-55_2-src.tgz...

********************** Rationalize ICU detection. **********************

********************** Prepairing to aquire boost_1_72_0.tar.bz2 **********************
Skipping unpack of boost_1_72_0.tar.bz2...

********************** Prepairing to aquire libbitcoin/secp256k1/version7 **********************
Cloning libbitcoin/secp256k1/version7...
Klone nach 'secp256k1' …

********************** Prepairing to build secp256k1 **********************
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:41: warning: The macro `AC_PROG_CC_C89' is obsolete.
configure.ac:41: You should run autoupdate.
./lib/autoconf/c.m4:1652: AC_PROG_CC_C89 is expanded from...
configure.ac:41: the top level
configure.ac:20: installing 'build-aux/compile'
configure.ac:10: installing 'build-aux/config.guess'
configure.ac:10: installing 'build-aux/config.sub'
configure.ac:14: installing 'build-aux/install-sh'
configure.ac:14: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
configure options:
--disable-tests
--enable-module-recovery
--enable-static
--prefix=/usr/local
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-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... gawk
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... /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 aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-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 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) 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 whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/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 dependency style of gcc... gcc3
checking if gcc supports -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-missing-field-initializers... yes
checking if gcc supports -fvisibility=hidden... yes
checking for valgrind/memcheck.h... no
checking for x86_64 assembly availability... no
checking for gmp.h... 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: executing depfiles commands
config.status: executing libtool commands

Build Options:
  with ecmult precomp     = yes
  with external callbacks = no
  with benchmarks         = yes
  with tests              = no
  with openssl tests      = no
  with coverage           = no
  module ecdh             = no
  module recovery         = yes
  module extrakeys        = no
  module schnorrsig       = no

  asm                     = no
  bignum                  = no
  ecmult window size      = 15
  ecmult gen prec. bits   = 4

  valgrind                = no
  CC                      = gcc
  CFLAGS                  = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-missing-field-initializers -W -g
  CPPFLAGS                =  
  LDFLAGS                 = 

  CC_FOR_BUILD            = gcc
  CFLAGS_FOR_BUILD        = -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-missing-field-initializers -W -g
  CPPFLAGS_FOR_BUILD      =  
  LDFLAGS_FOR_BUILD       = 
  CC       src/bench_verify-bench_verify.o
  CC       src/bench_sign.o
  CC       src/exhaustive_tests-tests_exhaustive.o
  CC       src/bench_recover.o
gcc -I. -I./src -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-missing-field-initializers -W -g -c src/gen_context.c -o gen_context.o
gcc -O2 -fvisibility=hidden -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Wno-unused-function -Wno-long-long -Wno-overlength-strings -Wno-missing-field-initializers -W -g  gen_context.o -o gen_context
./gen_context
  CC       src/libsecp256k1_la-secp256k1.lo
  CC       src/bench_internal-bench_internal.o
  CC       src/bench_ecmult-bench_ecmult.o
  CCLD     exhaustive_tests
  CCLD     bench_internal
  CCLD     bench_ecmult
  CCLD     libsecp256k1.la
  CCLD     bench_verify
  CCLD     bench_recover
  CCLD     bench_sign
make[1]: Verzeichnis „/home/neumann/build-libbitcoin-explorer/secp256k1“ wird betreten
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libsecp256k1.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libsecp256k1.so.0.0.0 /usr/local/lib/libsecp256k1.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libsecp256k1.so.0.0.0 libsecp256k1.so.0 || { rm -f libsecp256k1.so.0 && ln -s libsecp256k1.so.0.0.0 libsecp256k1.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsecp256k1.so.0.0.0 libsecp256k1.so || { rm -f libsecp256k1.so && ln -s libsecp256k1.so.0.0.0 libsecp256k1.so; }; })
libtool: install: /usr/bin/install -c .libs/libsecp256k1.lai /usr/local/lib/libsecp256k1.la
libtool: install: /usr/bin/install -c .libs/libsecp256k1.a /usr/local/lib/libsecp256k1.a
libtool: install: chmod 644 /usr/local/lib/libsecp256k1.a
libtool: install: /usr/bin/ranlib /usr/local/lib/libsecp256k1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/include'
 /usr/bin/install -c -m 644 include/secp256k1.h include/secp256k1_preallocated.h include/secp256k1_recovery.h '/usr/local/include'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libsecp256k1.pc '/usr/local/lib/pkgconfig'
make[1]: Verzeichnis „/home/neumann/build-libbitcoin-explorer/secp256k1“ wird verlassen

********************** Prepairing to aquire libbitcoin/libbitcoin-system/version3 **********************
Cloning libbitcoin/libbitcoin-system/version3...
Klone nach 'libbitcoin-system' …

********************** Prepairing to build libbitcoin-system **********************
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:36: installing 'build-aux/ar-lib'
configure.ac:36: installing 'build-aux/compile'
configure.ac:42: installing 'build-aux/config.guess'
configure.ac:42: installing 'build-aux/config.sub'
configure.ac:30: installing 'build-aux/install-sh'
configure.ac:30: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
configure options:
--without-tests
--without-examples
--with-pkgconfigdir=/usr/local/lib/pkgconfig
--enable-static
--prefix=/usr/local
configure: WARNING: you should use --build, --host, --target
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
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 dependency style of g++... gcc3
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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 ar... ar
checking the archiver (ar) interface... ar
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
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 aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-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 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 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) 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++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the compiler supports GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for g++ option to enable C++11 features... (cached) none needed
checking dependency style of g++... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether g++ supports C++11 features with -std=c++11... yes
checking --with-pkgconfigdir option... /usr/local/lib/pkgconfig
checking --with-tests option... no
checking --with-examples option... no
checking --with-icu option... no
checking --enable-ndebug option... yes
checking --enable-isystem option... no
checking for boostlib >= 1.72.0 (107200)... yes
configure: boost_CPPFLAGS : -I/usr/include
configure: boost_ISYS_CPPFLAGS : -isystem/usr/include
configure: boost_LDFLAGS : -L/usr/lib/aarch64-linux-gnu
configure: boost_BUILD_CPPFLAGS : -I/usr/include
checking whether the Boost::Chrono library is available... yes
checking for exit in -lboost_chrono... yes
configure: boost_chrono_LIBS : -lboost_chrono
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
configure: boost_date_time_LIBS : -lboost_date_time
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem... yes
configure: boost_filesystem_LIBS : -lboost_filesystem
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
configure: boost_iostreams_LIBS : -lboost_iostreams
checking whether the Boost::Locale library is available... yes
checking for exit in -lboost_locale... yes
configure: boost_locale_LIBS : -lboost_locale
checking whether the Boost::Log library is available... yes
checking for exit in -lboost_log... yes
checking for exit in -lboost_log_setup... yes
configure: boost_log_setup_LIBS : -lboost_log_setup
checking whether the Boost::Log library is available... (cached) yes
checking for exit in -lboost_log... (cached) yes
configure: boost_log_LIBS : -lboost_log
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
configure: boost_program_options_LIBS : -lboost_program_options
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
configure: boost_regex_LIBS : -lboost_regex
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
configure: boost_system_LIBS : -lboost_system
checking whether the Boost::Thread library is available... yes
checking for exit in -lboost_thread... yes
configure: boost_thread_LIBS : -lboost_thread -lpthread
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
configure: pthread_CPPFLAGS : 
configure: pthread_ISYS_CPPFLAGS : 
configure: pthread_BUILD_CPPFLAGS : 
configure: pthread_LIBS : -lpthread
checking for clock_gettime in -lrt... yes
configure: rt_LIBS : -lrt
configure: icu_i18n_BUILD_CPPFLAGS : 
checking for dlopen in -ldl... yes
configure: dl_LIBS : -ldl
checking for libsecp256k1 >= 0.1.0.19... yes
configure: secp256k1_CPPFLAGS : -I/usr/local/include
configure: secp256k1_ISYS_CPPFLAGS : -isystem/usr/local/include 
configure: secp256k1_OTHER_CFLAGS : 
configure: secp256k1_INCLUDEDIR : /usr/local/include
configure: secp256k1_LIBS : -L/usr/local/lib -lsecp256k1
configure: secp256k1_BUILD_CPPFLAGS : -I/usr/local/include
checking whether C++ compiler accepts -std=c++11... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wall... (cached) yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wextra... (cached) yes
checking whether C++ compiler accepts -Wpedantic... yes
checking whether C++ compiler accepts -Wpedantic... (cached) yes
checking whether C++ compiler accepts -Wno-reorder... yes
checking whether C++ compiler accepts -Wno-missing-field-initializers... yes
checking whether C++ compiler accepts -Wno-missing-braces... yes
checking whether C++ compiler accepts -Wno-comment... yes
checking whether C++ compiler accepts -Wno-deprecated-copy... yes
checking whether the linker accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector-all... yes
checking whether C++ compiler accepts -Wno-long-long... yes
checking whether C++ compiler accepts -fno-var-tracking-assignments... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbitcoin-system.pc
config.status: executing depfiles commands
config.status: executing libtool commands
  CXX      src/libbitcoin_system_la-error.lo
  CXX      src/chain/libbitcoin_system_la-chain_state.lo
  CXX      src/chain/libbitcoin_system_la-block.lo
  CXX      src/chain/libbitcoin_system_la-compact.lo
  CXX      src/chain/libbitcoin_system_la-header.lo
  CXX      src/chain/libbitcoin_system_la-input.lo
  CXX      src/chain/libbitcoin_system_la-output.lo
  CXX      src/chain/libbitcoin_system_la-output_point.lo
  CXX      src/chain/libbitcoin_system_la-point.lo
  CXX      src/chain/libbitcoin_system_la-point_iterator.lo
  CXX      src/chain/libbitcoin_system_la-point_value.lo
  CXX      src/chain/libbitcoin_system_la-points_value.lo
  CXX      src/chain/libbitcoin_system_la-script.lo
  CXX      src/chain/libbitcoin_system_la-transaction.lo
  CXX      src/chain/libbitcoin_system_la-witness.lo
  CXX      src/config/libbitcoin_system_la-authority.lo
  CXX      src/config/libbitcoin_system_la-base16.lo
  CXX      src/config/libbitcoin_system_la-base2.lo
  CXX      src/config/libbitcoin_system_la-base58.lo
  CXX      src/config/libbitcoin_system_la-base64.lo
  CXX      src/config/libbitcoin_system_la-checkpoint.lo
  CXX      src/config/libbitcoin_system_la-directory.lo
  CXX      src/config/libbitcoin_system_la-endpoint.lo
  CXX      src/config/libbitcoin_system_la-hash160.lo
  CXX      src/config/libbitcoin_system_la-hash256.lo
  CXX      src/config/libbitcoin_system_la-parameter.lo
  CXX      src/config/libbitcoin_system_la-parser.lo
  CXX      src/config/libbitcoin_system_la-printer.lo
  CXX      src/config/libbitcoin_system_la-sodium.lo
  CXX      src/formats/libbitcoin_system_la-base_10.lo
  CXX      src/formats/libbitcoin_system_la-base_16.lo
  CXX      src/formats/libbitcoin_system_la-base_58.lo
  CXX      src/formats/libbitcoin_system_la-base_64.lo
  CXX      src/formats/libbitcoin_system_la-base_85.lo
  CXX      src/log/libbitcoin_system_la-file_collector.lo
src/formats/base_85.cpp: In function 'bool libbitcoin::decode_base85(data_chunk&, const std::string&)':
src/formats/base_85.cpp:136:22: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits]
  136 |         if (position < 0u || position > 96u)
      |             ~~~~~~~~~^~~~
  CXX      src/log/libbitcoin_system_la-file_collector_repository.lo
  CXX      src/log/libbitcoin_system_la-file_counter_formatter.lo
  CXX      src/log/libbitcoin_system_la-sink.lo
  CXX      src/log/libbitcoin_system_la-statsd_sink.lo
  CXX      src/log/libbitcoin_system_la-udp_client_sink.lo
  CXX      src/machine/libbitcoin_system_la-interpreter.lo
  CXX      src/machine/libbitcoin_system_la-number.lo
  CXX      src/machine/libbitcoin_system_la-opcode.lo
  CXX      src/machine/libbitcoin_system_la-operation.lo
  CXX      src/machine/libbitcoin_system_la-program.lo
  CXX      src/math/libbitcoin_system_la-checksum.lo
  CXX      src/math/libbitcoin_system_la-crypto.lo
  CXX      src/math/libbitcoin_system_la-elliptic_curve.lo
  CXX      src/math/libbitcoin_system_la-hash.lo
  CXX      src/math/libbitcoin_system_la-secp256k1_initializer.lo
  CXX      src/math/libbitcoin_system_la-stealth.lo
  CC       src/math/external/libbitcoin_system_la-aes256.lo
src/math/external/aes256.c:303:58: warning: argument 2 of type 'const uint8_t *' {aka 'const unsigned char *'} declared as a pointer [-Warray-parameter=]
  303 | void aes256_init(aes256_context* context, const uint8_t* key)
      |                                           ~~~~~~~~~~~~~~~^~~
In file included from src/math/external/aes256.c:20:
src/math/external/aes256.h:41:19: note: previously declared as an array 'const uint8_t[32]' {aka 'const unsigned char[32]'}
   41 |     const uint8_t key[AES256_KEY_LENGTH]);
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/math/external/aes256.c:322:59: warning: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=]
  322 | void aes256_encrypt_ecb(aes256_context* context, uint8_t* buf)
      |                                                  ~~~~~~~~~^~~
src/math/external/aes256.h:46:13: note: previously declared as an array 'uint8_t[16]' {aka 'unsigned char[16]'}
   46 |     uint8_t plain_text[AES256_BLOCK_LENGTH]);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/math/external/aes256.c:342:59: warning: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Warray-parameter=]
  342 | void aes256_decrypt_ecb(aes256_context* context, uint8_t* buf)
      |                                                  ~~~~~~~~~^~~
src/math/external/aes256.h:49:13: note: previously declared as an array 'uint8_t[16]' {aka 'unsigned char[16]'}
   49 |     uint8_t cypher_text[AES256_BLOCK_LENGTH]);
      |     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       src/math/external/libbitcoin_system_la-crypto_scrypt.lo
  CC       src/math/external/libbitcoin_system_la-hmac_sha256.lo
  CC       src/math/external/libbitcoin_system_la-hmac_sha512.lo
  CC       src/math/external/libbitcoin_system_la-lax_der_parsing.lo
  CC       src/math/external/libbitcoin_system_la-pbkdf2_sha256.lo
  CC       src/math/external/libbitcoin_system_la-pkcs5_pbkdf2.lo
  CC       src/math/external/libbitcoin_system_la-ripemd160.lo
  CC       src/math/external/libbitcoin_system_la-sha1.lo
  CC       src/math/external/libbitcoin_system_la-sha256.lo
  CC       src/math/external/libbitcoin_system_la-sha512.lo
  CC       src/math/external/libbitcoin_system_la-zeroize.lo
  CXX      src/message/libbitcoin_system_la-address.lo
  CXX      src/message/libbitcoin_system_la-alert.lo
  CXX      src/message/libbitcoin_system_la-alert_payload.lo
  CXX      src/message/libbitcoin_system_la-block.lo
  CXX      src/message/libbitcoin_system_la-block_transactions.lo
  CXX      src/message/libbitcoin_system_la-compact_block.lo
  CXX      src/message/libbitcoin_system_la-fee_filter.lo
  CXX      src/message/libbitcoin_system_la-filter_add.lo
  CXX      src/message/libbitcoin_system_la-filter_clear.lo
  CXX      src/message/libbitcoin_system_la-filter_load.lo
  CXX      src/message/libbitcoin_system_la-get_address.lo
  CXX      src/message/libbitcoin_system_la-get_block_transactions.lo
  CXX      src/message/libbitcoin_system_la-get_blocks.lo
  CXX      src/message/libbitcoin_system_la-get_data.lo
  CXX      src/message/libbitcoin_system_la-get_headers.lo
  CXX      src/message/libbitcoin_system_la-header.lo
  CXX      src/message/libbitcoin_system_la-headers.lo
  CXX      src/message/libbitcoin_system_la-heading.lo
  CXX      src/message/libbitcoin_system_la-inventory.lo
  CXX      src/message/libbitcoin_system_la-inventory_vector.lo
  CXX      src/message/libbitcoin_system_la-memory_pool.lo
  CXX      src/message/libbitcoin_system_la-merkle_block.lo
  CXX      src/message/libbitcoin_system_la-messages.lo
  CXX      src/message/libbitcoin_system_la-network_address.lo
  CXX      src/message/libbitcoin_system_la-not_found.lo
  CXX      src/message/libbitcoin_system_la-ping.lo
  CXX      src/message/libbitcoin_system_la-pong.lo
  CXX      src/message/libbitcoin_system_la-prefilled_transaction.lo
  CXX      src/message/libbitcoin_system_la-reject.lo
  CXX      src/message/libbitcoin_system_la-send_compact.lo
  CXX      src/message/libbitcoin_system_la-send_headers.lo
  CXX      src/message/libbitcoin_system_la-transaction.lo
  CXX      src/message/libbitcoin_system_la-verack.lo
  CXX      src/message/libbitcoin_system_la-version.lo
  CXX      src/unicode/libbitcoin_system_la-console_streambuf.lo
  CXX      src/unicode/libbitcoin_system_la-ifstream.lo
  CXX      src/unicode/libbitcoin_system_la-ofstream.lo
  CXX      src/unicode/libbitcoin_system_la-unicode.lo
  CXX      src/unicode/libbitcoin_system_la-unicode_istream.lo
  CXX      src/unicode/libbitcoin_system_la-unicode_ostream.lo
  CXX      src/unicode/libbitcoin_system_la-unicode_streambuf.lo
  CXX      src/utility/libbitcoin_system_la-binary.lo
  CXX      src/utility/libbitcoin_system_la-conditional_lock.lo
  CXX      src/utility/libbitcoin_system_la-deadline.lo
  CXX      src/utility/libbitcoin_system_la-dispatcher.lo
  CXX      src/utility/libbitcoin_system_la-flush_lock.lo
  CXX      src/utility/libbitcoin_system_la-interprocess_lock.lo
  CXX      src/utility/libbitcoin_system_la-istream_reader.lo
  CXX      src/utility/libbitcoin_system_la-monitor.lo
  CXX      src/utility/libbitcoin_system_la-ostream_writer.lo
  CXX      src/utility/libbitcoin_system_la-png.lo
  CXX      src/utility/libbitcoin_system_la-prioritized_mutex.lo
  CXX      src/utility/libbitcoin_system_la-pseudo_random.lo
  CXX      src/utility/libbitcoin_system_la-scope_lock.lo
  CXX      src/utility/libbitcoin_system_la-sequencer.lo
  CXX      src/utility/libbitcoin_system_la-sequential_lock.lo
  CXX      src/utility/libbitcoin_system_la-socket.lo
  CXX      src/utility/libbitcoin_system_la-string.lo
  CXX      src/utility/libbitcoin_system_la-thread.lo
  CXX      src/utility/libbitcoin_system_la-threadpool.lo
  CXX      src/utility/libbitcoin_system_la-work.lo
  CXX      src/wallet/libbitcoin_system_la-bitcoin_uri.lo
  CXX      src/wallet/libbitcoin_system_la-dictionary.lo
  CXX      src/wallet/libbitcoin_system_la-ec_private.lo
  CXX      src/wallet/libbitcoin_system_la-ec_public.lo
  CXX      src/wallet/libbitcoin_system_la-ek_private.lo
  CXX      src/wallet/libbitcoin_system_la-ek_public.lo
  CXX      src/wallet/libbitcoin_system_la-ek_token.lo
  CXX      src/wallet/libbitcoin_system_la-electrum.lo
  CXX      src/wallet/libbitcoin_system_la-electrum_dictionary.lo
  CXX      src/wallet/libbitcoin_system_la-encrypted_keys.lo
  CXX      src/wallet/libbitcoin_system_la-hd_private.lo
  CXX      src/wallet/libbitcoin_system_la-hd_public.lo
  CXX      src/wallet/libbitcoin_system_la-message.lo
  CXX      src/wallet/libbitcoin_system_la-mini_keys.lo
  CXX      src/wallet/libbitcoin_system_la-mnemonic.lo
  CXX      src/wallet/libbitcoin_system_la-payment_address.lo
  CXX      src/wallet/libbitcoin_system_la-qrcode.lo
  CXX      src/wallet/libbitcoin_system_la-select_outputs.lo
  CXX      src/wallet/libbitcoin_system_la-stealth_address.lo
  CXX      src/wallet/libbitcoin_system_la-stealth_receiver.lo
  CXX      src/wallet/libbitcoin_system_la-stealth_sender.lo
  CXX      src/wallet/libbitcoin_system_la-uri.lo
  CXX      src/wallet/parse_encrypted_keys/libbitcoin_system_la-parse_encrypted_private.lo
  CXX      src/wallet/parse_encrypted_keys/libbitcoin_system_la-parse_encrypted_public.lo
  CXX      src/wallet/parse_encrypted_keys/libbitcoin_system_la-parse_encrypted_token.lo
  CXXLD    src/libbitcoin-system.la
copying selected object files to avoid basename conflicts...
make[1]: Verzeichnis „/home/neumann/build-libbitcoin-explorer/libbitcoin-system“ wird betreten
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   src/libbitcoin-system.la '/usr/local/lib'
libtool: install: /usr/bin/install -c src/.libs/libbitcoin-system.so.0.0.0 /usr/local/lib/libbitcoin-system.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libbitcoin-system.so.0.0.0 libbitcoin-system.so.0 || { rm -f libbitcoin-system.so.0 && ln -s libbitcoin-system.so.0.0.0 libbitcoin-system.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libbitcoin-system.so.0.0.0 libbitcoin-system.so || { rm -f libbitcoin-system.so && ln -s libbitcoin-system.so.0.0.0 libbitcoin-system.so; }; })
libtool: install: /usr/bin/install -c src/.libs/libbitcoin-system.lai /usr/local/lib/libbitcoin-system.la
libtool: install: /usr/bin/install -c src/.libs/libbitcoin-system.a /usr/local/lib/libbitcoin-system.a
libtool: install: chmod 644 /usr/local/lib/libbitcoin-system.a
libtool: install: ranlib /usr/local/lib/libbitcoin-system.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/share/doc/libbitcoin-system'
 /usr/bin/install -c -m 644 AUTHORS COPYING ChangeLog INSTALL NEWS README '/usr/local/share/doc/libbitcoin-system'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin'
 /usr/bin/install -c -m 644 include/bitcoin/system.hpp '/usr/local/include/bitcoin'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system'
 /usr/bin/install -c -m 644 include/bitcoin/system/compat.h include/bitcoin/system/compat.hpp include/bitcoin/system/constants.hpp include/bitcoin/system/define.hpp include/bitcoin/system/error.hpp include/bitcoin/system/handlers.hpp include/bitcoin/system/version.hpp '/usr/local/include/bitcoin/system'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/chain'
 /usr/bin/install -c -m 644 include/bitcoin/system/chain/block.hpp include/bitcoin/system/chain/chain_state.hpp include/bitcoin/system/chain/compact.hpp include/bitcoin/system/chain/header.hpp include/bitcoin/system/chain/history.hpp include/bitcoin/system/chain/input.hpp include/bitcoin/system/chain/input_point.hpp include/bitcoin/system/chain/output.hpp include/bitcoin/system/chain/output_point.hpp include/bitcoin/system/chain/point.hpp include/bitcoin/system/chain/point_iterator.hpp include/bitcoin/system/chain/point_value.hpp include/bitcoin/system/chain/points_value.hpp include/bitcoin/system/chain/script.hpp include/bitcoin/system/chain/stealth.hpp include/bitcoin/system/chain/transaction.hpp include/bitcoin/system/chain/witness.hpp '/usr/local/include/bitcoin/system/chain'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/config'
 /usr/bin/install -c -m 644 include/bitcoin/system/config/authority.hpp include/bitcoin/system/config/base16.hpp include/bitcoin/system/config/base2.hpp include/bitcoin/system/config/base58.hpp include/bitcoin/system/config/base64.hpp include/bitcoin/system/config/checkpoint.hpp include/bitcoin/system/config/directory.hpp include/bitcoin/system/config/endpoint.hpp include/bitcoin/system/config/hash160.hpp include/bitcoin/system/config/hash256.hpp include/bitcoin/system/config/parameter.hpp include/bitcoin/system/config/parser.hpp include/bitcoin/system/config/printer.hpp include/bitcoin/system/config/settings.hpp include/bitcoin/system/config/sodium.hpp '/usr/local/include/bitcoin/system/config'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/formats'
 /usr/bin/install -c -m 644 include/bitcoin/system/formats/base_10.hpp include/bitcoin/system/formats/base_16.hpp include/bitcoin/system/formats/base_58.hpp include/bitcoin/system/formats/base_64.hpp include/bitcoin/system/formats/base_85.hpp '/usr/local/include/bitcoin/system/formats'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/impl/formats'
 /usr/bin/install -c -m 644 include/bitcoin/system/impl/formats/base_16.ipp include/bitcoin/system/impl/formats/base_58.ipp '/usr/local/include/bitcoin/system/impl/formats'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/impl/log/features'
 /usr/bin/install -c -m 644 include/bitcoin/system/impl/log/features/counter.ipp include/bitcoin/system/impl/log/features/gauge.ipp include/bitcoin/system/impl/log/features/metric.ipp include/bitcoin/system/impl/log/features/rate.ipp include/bitcoin/system/impl/log/features/timer.ipp '/usr/local/include/bitcoin/system/impl/log/features'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/impl/machine'
 /usr/bin/install -c -m 644 include/bitcoin/system/impl/machine/interpreter.ipp include/bitcoin/system/impl/machine/number.ipp include/bitcoin/system/impl/machine/operation.ipp include/bitcoin/system/impl/machine/program.ipp '/usr/local/include/bitcoin/system/impl/machine'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/impl/math'
 /usr/bin/install -c -m 644 include/bitcoin/system/impl/math/checksum.ipp include/bitcoin/system/impl/math/hash.ipp '/usr/local/include/bitcoin/system/impl/math'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/impl/utility'
 /usr/bin/install -c -m 644 include/bitcoin/system/impl/utility/array_slice.ipp include/bitcoin/system/impl/utility/collection.ipp include/bitcoin/system/impl/utility/data.ipp include/bitcoin/system/impl/utility/deserializer.ipp include/bitcoin/system/impl/utility/endian.ipp include/bitcoin/system/impl/utility/istream_reader.ipp include/bitcoin/system/impl/utility/ostream_writer.ipp include/bitcoin/system/impl/utility/pending.ipp include/bitcoin/system/impl/utility/resubscriber.ipp include/bitcoin/system/impl/utility/serializer.ipp include/bitcoin/system/impl/utility/subscriber.ipp include/bitcoin/system/impl/utility/track.ipp '/usr/local/include/bitcoin/system/impl/utility'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/log'
 /usr/bin/install -c -m 644 include/bitcoin/system/log/attributes.hpp include/bitcoin/system/log/file_char_traits.hpp include/bitcoin/system/log/file_collector.hpp include/bitcoin/system/log/file_collector_repository.hpp include/bitcoin/system/log/file_counter_formatter.hpp include/bitcoin/system/log/rotable_file.hpp include/bitcoin/system/log/severity.hpp include/bitcoin/system/log/sink.hpp include/bitcoin/system/log/source.hpp include/bitcoin/system/log/statsd_sink.hpp include/bitcoin/system/log/statsd_source.hpp include/bitcoin/system/log/udp_client_sink.hpp '/usr/local/include/bitcoin/system/log'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/log/features'
 /usr/bin/install -c -m 644 include/bitcoin/system/log/features/counter.hpp include/bitcoin/system/log/features/gauge.hpp include/bitcoin/system/log/features/metric.hpp include/bitcoin/system/log/features/rate.hpp include/bitcoin/system/log/features/timer.hpp '/usr/local/include/bitcoin/system/log/features'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/machine'
 /usr/bin/install -c -m 644 include/bitcoin/system/machine/interpreter.hpp include/bitcoin/system/machine/number.hpp include/bitcoin/system/machine/opcode.hpp include/bitcoin/system/machine/operation.hpp include/bitcoin/system/machine/program.hpp include/bitcoin/system/machine/rule_fork.hpp include/bitcoin/system/machine/script_pattern.hpp include/bitcoin/system/machine/script_version.hpp include/bitcoin/system/machine/sighash_algorithm.hpp '/usr/local/include/bitcoin/system/machine'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/math'
 /usr/bin/install -c -m 644 include/bitcoin/system/math/checksum.hpp include/bitcoin/system/math/crypto.hpp include/bitcoin/system/math/elliptic_curve.hpp include/bitcoin/system/math/hash.hpp include/bitcoin/system/math/limits.hpp include/bitcoin/system/math/stealth.hpp include/bitcoin/system/math/uint256.hpp '/usr/local/include/bitcoin/system/math'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/message'
 /usr/bin/install -c -m 644 include/bitcoin/system/message/address.hpp include/bitcoin/system/message/alert.hpp include/bitcoin/system/message/alert_payload.hpp include/bitcoin/system/message/block.hpp include/bitcoin/system/message/block_transactions.hpp include/bitcoin/system/message/compact_block.hpp include/bitcoin/system/message/fee_filter.hpp include/bitcoin/system/message/filter_add.hpp include/bitcoin/system/message/filter_clear.hpp include/bitcoin/system/message/filter_load.hpp include/bitcoin/system/message/get_address.hpp include/bitcoin/system/message/get_block_transactions.hpp include/bitcoin/system/message/get_blocks.hpp include/bitcoin/system/message/get_data.hpp include/bitcoin/system/message/get_headers.hpp include/bitcoin/system/message/header.hpp include/bitcoin/system/message/headers.hpp include/bitcoin/system/message/heading.hpp include/bitcoin/system/message/inventory.hpp include/bitcoin/system/message/inventory_vector.hpp include/bitcoin/system/message/memory_pool.hpp include/bitcoin/system/message/merkle_block.hpp include/bitcoin/system/message/messages.hpp include/bitcoin/system/message/network_address.hpp include/bitcoin/system/message/not_found.hpp include/bitcoin/system/message/ping.hpp include/bitcoin/system/message/pong.hpp include/bitcoin/system/message/prefilled_transaction.hpp include/bitcoin/system/message/reject.hpp include/bitcoin/system/message/send_compact.hpp include/bitcoin/system/message/send_headers.hpp include/bitcoin/system/message/transaction.hpp include/bitcoin/system/message/verack.hpp include/bitcoin/system/message/version.hpp '/usr/local/include/bitcoin/system/message'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/unicode'
 /usr/bin/install -c -m 644 include/bitcoin/system/unicode/console_streambuf.hpp include/bitcoin/system/unicode/file_lock.hpp include/bitcoin/system/unicode/ifstream.hpp include/bitcoin/system/unicode/ofstream.hpp include/bitcoin/system/unicode/unicode.hpp include/bitcoin/system/unicode/unicode_istream.hpp include/bitcoin/system/unicode/unicode_ostream.hpp include/bitcoin/system/unicode/unicode_streambuf.hpp '/usr/local/include/bitcoin/system/unicode'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/utility'
 /usr/bin/install -c -m 644 include/bitcoin/system/utility/array_slice.hpp include/bitcoin/system/utility/asio.hpp include/bitcoin/system/utility/assert.hpp include/bitcoin/system/utility/atomic.hpp include/bitcoin/system/utility/binary.hpp include/bitcoin/system/utility/collection.hpp include/bitcoin/system/utility/color.hpp include/bitcoin/system/utility/conditional_lock.hpp include/bitcoin/system/utility/container_sink.hpp include/bitcoin/system/utility/container_source.hpp include/bitcoin/system/utility/data.hpp include/bitcoin/system/utility/deadline.hpp include/bitcoin/system/utility/decorator.hpp include/bitcoin/system/utility/delegates.hpp include/bitcoin/system/utility/deserializer.hpp include/bitcoin/system/utility/dispatcher.hpp include/bitcoin/system/utility/enable_shared_from_base.hpp include/bitcoin/system/utility/endian.hpp include/bitcoin/system/utility/exceptions.hpp include/bitcoin/system/utility/flush_lock.hpp include/bitcoin/system/utility/interprocess_lock.hpp include/bitcoin/system/utility/istream_reader.hpp include/bitcoin/system/utility/monitor.hpp include/bitcoin/system/utility/noncopyable.hpp include/bitcoin/system/utility/ostream_writer.hpp include/bitcoin/system/utility/pending.hpp include/bitcoin/system/utility/png.hpp include/bitcoin/system/utility/prioritized_mutex.hpp include/bitcoin/system/utility/pseudo_random.hpp include/bitcoin/system/utility/reader.hpp include/bitcoin/system/utility/resubscriber.hpp include/bitcoin/system/utility/scope_lock.hpp include/bitcoin/system/utility/sequencer.hpp include/bitcoin/system/utility/sequential_lock.hpp include/bitcoin/system/utility/serializer.hpp include/bitcoin/system/utility/socket.hpp include/bitcoin/system/utility/string.hpp include/bitcoin/system/utility/subscriber.hpp include/bitcoin/system/utility/synchronizer.hpp include/bitcoin/system/utility/thread.hpp '/usr/local/include/bitcoin/system/utility'
 /usr/bin/install -c -m 644 include/bitcoin/system/utility/threadpool.hpp include/bitcoin/system/utility/timer.hpp include/bitcoin/system/utility/track.hpp include/bitcoin/system/utility/work.hpp include/bitcoin/system/utility/writer.hpp '/usr/local/include/bitcoin/system/utility'
 /usr/bin/mkdir -p '/usr/local/include/bitcoin/system/wallet'
 /usr/bin/install -c -m 644 include/bitcoin/system/wallet/bitcoin_uri.hpp include/bitcoin/system/wallet/dictionary.hpp include/bitcoin/system/wallet/ec_private.hpp include/bitcoin/system/wallet/ec_public.hpp include/bitcoin/system/wallet/ek_private.hpp include/bitcoin/system/wallet/ek_public.hpp include/bitcoin/system/wallet/ek_token.hpp include/bitcoin/system/wallet/electrum.hpp include/bitcoin/system/wallet/electrum_dictionary.hpp include/bitcoin/system/wallet/encrypted_keys.hpp include/bitcoin/system/wallet/hd_private.hpp include/bitcoin/system/wallet/hd_public.hpp include/bitcoin/system/wallet/message.hpp include/bitcoin/system/wallet/mini_keys.hpp include/bitcoin/system/wallet/mnemonic.hpp include/bitcoin/system/wallet/payment_address.hpp include/bitcoin/system/wallet/qrcode.hpp include/bitcoin/system/wallet/select_outputs.hpp include/bitcoin/system/wallet/stealth_address.hpp include/bitcoin/system/wallet/stealth_receiver.hpp include/bitcoin/system/wallet/stealth_sender.hpp include/bitcoin/system/wallet/uri.hpp include/bitcoin/system/wallet/uri_reader.hpp '/usr/local/include/bitcoin/system/wallet'
 /usr/bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libbitcoin-system.pc '/usr/local/lib/pkgconfig'
make[1]: Verzeichnis „/home/neumann/build-libbitcoin-explorer/libbitcoin-system“ wird verlassen

********************** Prepairing to aquire zeromq-4.3.4.tar.gz **********************
Skipping unpack of zeromq-4.3.4.tar.gz...

********************** Prepairing to aquire libbitcoin/libbitcoin-protocol/version3 **********************
Cloning libbitcoin/libbitcoin-protocol/version3...
Klone nach 'libbitcoin-protocol' …

********************** Prepairing to build libbitcoin-protocol **********************
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:36: installing 'build-aux/ar-lib'
configure.ac:36: installing 'build-aux/compile'
configure.ac:42: installing 'build-aux/config.guess'
configure.ac:42: installing 'build-aux/config.sub'
configure.ac:30: installing 'build-aux/install-sh'
configure.ac:30: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
configure options:
--without-tests
--without-examples
--with-pkgconfigdir=/usr/local/lib/pkgconfig
--enable-static
--prefix=/usr/local
configure: WARNING: you should use --build, --host, --target
configure: WARNING: unrecognized options: --without-examples
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
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 dependency style of g++... gcc3
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 wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
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 ar... ar
checking the archiver (ar) interface... ar
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
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 aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-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 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 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) 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++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether the compiler supports GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for g++ option to enable C++11 features... (cached) none needed
checking dependency style of g++... (cached) gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether make supports nested variables... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether g++ supports C++11 features with -std=c++11... yes
checking --with-pkgconfigdir option... /usr/local/lib/pkgconfig
checking --with-tests option... no
checking --enable-ndebug option... yes
checking --enable-isystem option... no
checking for boostlib >= 1.72.0 (107200)... yes
configure: boost_CPPFLAGS : -I/usr/include
configure: boost_ISYS_CPPFLAGS : -isystem/usr/include
configure: boost_LDFLAGS : -L/usr/lib/aarch64-linux-gnu
configure: boost_BUILD_CPPFLAGS : -I/usr/include
checking for libzmq >= 4.3.4... yes
configure: zmq_CPPFLAGS : -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2
configure: zmq_ISYS_CPPFLAGS : -isystem/usr/include 
configure: zmq_OTHER_CFLAGS : 
configure: zmq_INCLUDEDIR : /usr/include
configure: zmq_LIBS : -L/usr/lib/aarch64-linux-gnu/mit-krb5 -lzmq -lstdc++ -lpthread -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lsodium -pthread -lpgm -lpthread -lm -lnorm libprotokit.a -lxml2 -licui18n -licuuc -licudata -lz -llzma -lm -lbsd -lmd
configure: zmq_BUILD_CPPFLAGS : -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.3 -I/usr/include/libxml2
checking for libbitcoin-system >= 3.7.0... yes
configure: bitcoin_system_CPPFLAGS : -I/usr/local/include
configure: bitcoin_system_ISYS_CPPFLAGS : -isystem/usr/local/include 
configure: bitcoin_system_OTHER_CFLAGS : 
configure: bitcoin_system_INCLUDEDIR : /usr/local/include
configure: bitcoin_system_LIBS : -L/usr/local/lib -lbitcoin-system -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_locale -lboost_log -lboost_program_options -lboost_regex -lboost_system -lboost_thread -lpthread -lrt -ldl -lsecp256k1
configure: bitcoin_system_BUILD_CPPFLAGS : -I/usr/local/include
checking whether C++ compiler accepts -std=c++11... yes
checking whether C++ compiler accepts -Wall... yes
checking whether C++ compiler accepts -Wall... (cached) yes
checking whether C++ compiler accepts -Wextra... yes
checking whether C++ compiler accepts -Wextra... (cached) yes
checking whether C++ compiler accepts -Wpedantic... yes
checking whether C++ compiler accepts -Wpedantic... (cached) yes
checking whether C++ compiler accepts -Wno-reorder... yes
checking whether C++ compiler accepts -Wno-missing-field-initializers... yes
checking whether C++ compiler accepts -Wno-missing-braces... yes
checking whether C++ compiler accepts -Wno-comment... yes
checking whether C++ compiler accepts -Wno-deprecated-copy... yes
checking whether the linker accepts -fstack-protector... yes
checking whether the linker accepts -fstack-protector-all... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbitcoin-protocol.pc
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --without-examples
  CXX      src/libbitcoin_protocol_la-settings.lo
  CXX      src/zmq/libbitcoin_protocol_la-authenticator.lo
  CXX      src/zmq/libbitcoin_protocol_la-certificate.lo
  CXX      src/zmq/libbitcoin_protocol_la-context.lo
  CXX      src/zmq/libbitcoin_protocol_la-frame.lo
  CXX      src/zmq/libbitcoin_protocol_la-identifiers.lo
  CXX      src/zmq/libbitcoin_protocol_la-message.lo
  CXX      src/zmq/libbitcoin_protocol_la-poller.lo
  CXX      src/zmq/libbitcoin_protocol_la-socket.lo
  CXX      src/zmq/libbitcoin_protocol_la-worker.lo
  CXX      src/zmq/libbitcoin_protocol_la-zeromq.lo
  CXXLD    src/libbitcoin-protocol.la

*** Warning: Linking the shared library src/libbitcoin-protocol.la against the
*** static library libprotokit.a is not portable!
/usr/bin/ld: cannot find libprotokit.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:874: src/libbitcoin-protocol.la] Fehler 1

real    42m36.209s
user    120m1.738s
sys 15m40.458s
evoskuil commented 1 year ago

Dumping into your home (non-empty) directory is problematic for troubleshooting, given the vagaries of libtool linking. A non-sudo build into a clear directory will help determine if the issue is environmental.

pmienk commented 1 year ago

@stn021 Looks like libprotokit.a is a static library dependency coming from zmq. You may find that the option --disable-shared will attempt a static linking of all dependencies, resolving the portability issue. This doesn't resolve why your zmq build is mixing shared and static linking. A --prefix installation with --build-zmq would isolate you to a controlled prefix installation which would (presumably) avoid the local zmq build.

stn021 commented 1 year ago

Okay, I will try that.

Not sure what you mean by A --prefix installation with --build-zmq. Would that be this? sudo install.sh --prefix=$HOME/build-libbitcoin-explorer --build-zmq

Also I suspect that this situation will happen to anyone who compiles on ubuntu 22.10.

Thank you stn

Am Do., 1. Dez. 2022 um 07:09 Uhr schrieb Phillip Mienk < @.***>:

@stn021 https://github.com/stn021 Looks like libprotokit.a is a static library dependency coming from zmq. You may find that the option --disable-shared will attempt a static linking of all dependencies, resolving the portability issue. This doesn't resolve why your zmq build is mixing shared and static linking. A --prefix installation with --build-zmq would isolate you to a controlled prefix installation which would (presumably) avoid the local zmq build.

— Reply to this email directly, view it on GitHub https://github.com/libbitcoin/libbitcoin-explorer/issues/717#issuecomment-1333261299, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASYXNBZSIIOT4TBI3QKA6MTWLA6IFANCNFSM6AAAAAASQD6BJY . You are receiving this because you were mentioned.Message ID: @.***>

pmienk commented 1 year ago

@stn021 I would strive to separate build artifacts and results.

$ sudo ./install.sh --prefix=$HOME/prefix-libbitcoin-explorer --build-zmq --disable-shared

Will produce both build-libbitcoin-explorer - a directory containing the artifacts to construct libbitcoin-explorer and prefix-libbitcoin-explorer a directory containing bin, include, lib and doc output. But your invocation should work.

I believe you may be right with respect to Ubuntu 22.10. My experience regarding 22.04 has me using --build-boost due to the absence of a sufficient version available in the packaging system.

stn021 commented 1 year ago

Hello,

@stn021 https://github.com/stn021 I would strive to separate build artifacts and results. Again I am not sure what that means.

Apparently you have already successfully compiled on ubuntu 22.10. Could you perhaps give a concrete set of instructions that will work on ubuntu 22.10 ? And perhaps update the installation-instructions on the github-page?

So far AFAICT there are numerous possible variations and testing each variation takes approximately one hour. Not to mention the necessity to make a detailed record of every attempt. And anyone else who tries to compile with ubuntu 22.10 will have the same problem and will need the same amount of time.

pmienk commented 1 year ago

@stn021 - circling back to the original issue: the line

configure: zmq_LIBS : -L/usr/lib/aarch64-linux-gnu/mit-krb5 -lzmq -lstdc++ -lpthread -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support -lsodium -pthread -lpgm -lpthread -lm -lnorm libprotokit.a -lxml2 -licui18n -licuuc -licudata -lz -llzma -lm -lbsd -lmd

implies to me that if you were to look in your /usr/lib/pkgconfig or an equivalent lib/pkgconfig in your path you would find a libzmq.pc which would contain libprotokit.a listed under its Libs:.

If you can verify the contents of libzmq.pc, then the issue you are encountering is with the source of your libzmq installation. If this is from an apt install libzmq3-dev installation, then the fault should lie with the packager of libzmq3-dev and I wholeheartedly encourage you to track them down to resolve the issue of this extraneous unexplained dependency and both its requirement by pkgconfig and absence on your system.

The steps provided were intended for Ubuntu 18.04 on an x86_64 architecture. We cannot be responsible for the proper packaging of all dependencies, let alone on on configurations we have not validated. The testing infrastructure guarantees us an instruction set that currently works with Ubuntu 20.04. The verified instructions are being updated to more closely match the testing infrastructure.

If you can provide output of your libzmq.pc and my understanding is in error, please do so and I'll look into the issue further.

stn021 commented 1 year ago

Hello, there are precompiled binaries of BX bitcoin-explorer available for selected platforms.

I would like to suggest that you post a binary for raspberry pi (64 bit).

stn021 commented 1 year ago

Hello,

respectfully, bitcoin-explorer seems to be very useful software. It does not, however, help much if it does not compile on the current ubuntu. I cannot spend hours debugging and verifying contents and testing commandline-options. Also I do not believe that many other people will.

I have recently used a few other projects that compile on ubuntu 21.10 but not on 22.04 LTS and 22.10. It seems that that there were major changes between 21.10 and 22.04 LTS. So I tried to compile on ubuntu 21.10 and again got a long lists of errors, though different ones.

So, again respectfully, I do not think that bitcoin-explorer will be of much use if it does not compile. The existing precompiled binaries seem to work but that does not really help if you use another platform like raspberry pi with ubuntu 22.10. That is why I suggested building a binary for raspberry.

pmienk commented 1 year ago

Without new information I'll conclude my assumptions were correct. The issue raised should be resolved with the appropriate entities.

Additional issues should be opened with appropriate details.

ImplOfAnImpl commented 1 year ago

FWIW I had the same problems with libprotokit on Ubuntu 22.10, but I managed to build the project by passing --build-zmq to install.sh, as suggested by pmienk.

Before that, I also tried to build with --build-zmq --disable-shared but it failed with linker errors of the form undefined reference to boost::log::v2s_mt_posix::aux::stream_provider.... According to boost folk, this may be due to static/shared lib mismatch - the code was compiled against a "statically-configured" boost and linked against a dynamic one.

Then I also tried --build-zmq --disable-shared --build-boost, but it failed too, this time with an error similar to this one. That issue is supposed to be fixed in boost 1.73 (and install.sh uses 1.72), so probably modifying the boost version in install.sh would help, but I haven't checked that.