eos icon indicating copy to clipboard operation
eos copied to clipboard

EOS ./eosio_build.sh failed

Open 26rahulsingh opened this issue 8 years ago • 6 comments

[ 95%] Linking CXX static library libproducer_plugin.a [ 95%] Built target producer_plugin Scanning dependencies of target wallet_api_plugin [ 95%] Building CXX object plugins/wallet_api_plugin/CMakeFiles/wallet_api_plugin.dir/wallet_api_plugin.cpp.o [ 96%] Linking CXX static library libwallet_api_plugin.a [ 96%] Built target wallet_api_plugin Scanning dependencies of target txn_test_gen_plugin [ 96%] Building CXX object plugins/txn_test_gen_plugin/CMakeFiles/txn_test_gen_plugin.dir/txn_test_gen_plugin.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/api_tests.cpp.o [ 96%] Linking CXX static library libbnet_plugin.a [ 96%] Built target bnet_plugin Scanning dependencies of target db_size_api_plugin [ 96%] Building CXX object plugins/db_size_api_plugin/CMakeFiles/db_size_api_plugin.dir/db_size_api_plugin.cpp.o /home/rahul/work/eos/unittests/api_tests.cpp:769:2: warning: TODO call the contract before testing to cache it, and validate that it was cached [-W#warnings] #warning TODO call the contract before testing to cache it, and validate that it was cached ^ /home/rahul/work/eos/unittests/api_tests.cpp:845:2: warning: TODO validate that the contract was successfully cached [-W#warnings] #warning TODO validate that the contract was successfully cached ^ /home/rahul/work/eos/unittests/api_tests.cpp:865:2: warning: TODO validate that the contract was successfully cached [-W#warnings] #warning TODO validate that the contract was successfully cached ^ /home/rahul/work/eos/unittests/api_tests.cpp:1101:2: warning: re-enable deferred transaction replacement test after bug has been fixed [-W#warnings] #warning re-enable deferred transaction replacement test after bug has been fixed ^ [ 96%] Linking CXX static library libdb_size_api_plugin.a [ 96%] Built target db_size_api_plugin Scanning dependencies of target mongo_db_plugin [ 96%] Building CXX object plugins/mongo_db_plugin/CMakeFiles/mongo_db_plugin.dir/mongo_db_plugin.cpp.o [ 96%] Linking CXX static library libtxn_test_gen_plugin.a [ 96%] Built target txn_test_gen_plugin Scanning dependencies of target login_plugin [ 96%] Building CXX object plugins/login_plugin/CMakeFiles/login_plugin.dir/login_plugin.cpp.o [ 96%] Linking CXX static library libhistory_plugin.a [ 96%] Built target history_plugin Scanning dependencies of target test_control_plugin [ 96%] Building CXX object plugins/test_control_plugin/CMakeFiles/test_control_plugin.dir/test_control_plugin.cpp.o [ 96%] Linking CXX static library liblogin_plugin.a [ 96%] Built target login_plugin [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/auth_tests.cpp.o [ 96%] Linking CXX static library libtest_control_plugin.a [ 96%] Built target test_control_plugin Scanning dependencies of target cleos [ 96%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/main.cpp.o 4 warnings generated. [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/block_tests.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/block_timestamp_tests.cpp.o [ 96%] Linking CXX static library libmongo_db_plugin.a [ 96%] Built target mongo_db_plugin Scanning dependencies of target keosd [ 96%] Building CXX object programs/keosd/CMakeFiles/keosd.dir/main.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/bootseq_tests.cpp.o [ 96%] Linking CXX executable keosd [ 96%] Built target keosd Scanning dependencies of target plugin_test [ 96%] Building CXX object tests/CMakeFiles/plugin_test.dir/chain_plugin_tests.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/currency_tests.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/database_tests.cpp.o [ 96%] Building CXX object tests/CMakeFiles/plugin_test.dir/get_table_tests.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/delay_tests.cpp.o [ 96%] Building CXX object unittests/CMakeFiles/unit_test.dir/eosio.sudo_tests.cpp.o [ 96%] Building CXX object tests/CMakeFiles/plugin_test.dir/main.cpp.o [ 96%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/httpc.cpp.o [ 96%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/help_text.cpp.o [ 96%] Building CXX object tests/CMakeFiles/plugin_test.dir/wallet_tests.cpp.o [ 97%] Building CXX object unittests/CMakeFiles/unit_test.dir/eosio.system_tests.cpp.o [ 97%] Linking CXX executable cleos [ 97%] Building CXX object unittests/CMakeFiles/unit_test.dir/eosio.token_tests.cpp.o [ 97%] Built target cleos Scanning dependencies of target net_plugin [ 97%] Building CXX object plugins/net_plugin/CMakeFiles/net_plugin.dir/net_plugin.cpp.o [ 97%] Linking CXX executable plugin_test [ 97%] Built target plugin_test Scanning dependencies of target producer_api_plugin [ 97%] Building CXX object plugins/producer_api_plugin/CMakeFiles/producer_api_plugin.dir/producer_api_plugin.cpp.o [ 97%] Building CXX object unittests/CMakeFiles/unit_test.dir/forked_tests.cpp.o [ 97%] Linking CXX static library libproducer_api_plugin.a [ 97%] Built target producer_api_plugin Scanning dependencies of target history_api_plugin [ 97%] Building CXX object plugins/history_api_plugin/CMakeFiles/history_api_plugin.dir/history_api_plugin.cpp.o [ 97%] Building CXX object unittests/CMakeFiles/unit_test.dir/identity_tests.cpp.o [ 98%] Linking CXX static library libhistory_api_plugin.a [ 98%] Built target history_api_plugin [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/main.cpp.o [ 98%] Linking CXX static library libnet_plugin.a [ 98%] Built target net_plugin [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/message_buffer_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/misc_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/multi_index_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/multisig_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/payloadless_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/producer_schedule_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/ram_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/resource_limits_test.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/snapshot_tests.cpp.o [ 98%] Building CXX object unittests/CMakeFiles/unit_test.dir/special_accounts_tests.cpp.o [100%] Building CXX object unittests/CMakeFiles/unit_test.dir/tic_tac_toe_tests.cpp.o [100%] Building CXX object unittests/CMakeFiles/unit_test.dir/wasm_tests.cpp.o [100%] Building CXX object unittests/CMakeFiles/unit_test.dir/whitelist_blacklist_tests.cpp.o Scanning dependencies of target test_control_api_plugin [100%] Building CXX object plugins/test_control_api_plugin/CMakeFiles/test_control_api_plugin.dir/test_control_api_plugin.cpp.o [100%] Linking CXX static library libtest_control_api_plugin.a [100%] Built target test_control_api_plugin Scanning dependencies of target net_api_plugin [100%] Building CXX object plugins/net_api_plugin/CMakeFiles/net_api_plugin.dir/net_api_plugin.cpp.o [100%] Linking CXX static library libnet_api_plugin.a [100%] Built target net_api_plugin Scanning dependencies of target nodeos [100%] Building CXX object programs/nodeos/CMakeFiles/nodeos.dir/main.cpp.o [100%] Linking CXX executable unit_test [100%] Linking CXX executable nodeos /usr/local/lib/libmongoc-static-1.0.a(mongoc-crypto-openssl.c.o): In function EVP_MD_CTX_new': mongoc-crypto-openssl.c:(.text+0x50): multiple definition of EVP_MD_CTX_new' /usr/lib/x86_64-linux-gnu/libcrypto.a(digest.o):(.text+0xb0): first defined here /usr/local/lib/libmongoc-static-1.0.a(mongoc-crypto-openssl.c.o): In function EVP_MD_CTX_free': mongoc-crypto-openssl.c:(.text+0x60): multiple definition of EVP_MD_CTX_free' /usr/lib/x86_64-linux-gnu/libcrypto.a(digest.o):(.text+0xd0): first defined here [100%] Built target unit_test /usr/local/lib/libmongoc-static-1.0.a(mongoc-openssl.c.o): In function _mongoc_openssl_init': mongoc-openssl.c:(.text+0x19b): undefined reference to SSL_library_init' mongoc-openssl.c:(.text+0x1a0): undefined reference to SSL_load_error_strings' mongoc-openssl.c:(.text+0x1aa): undefined reference to OPENSSL_add_all_algorithms_noconf' mongoc-openssl.c:(.text+0x1af): undefined reference to CRYPTO_num_locks' mongoc-openssl.c:(.text+0x1f1): undefined reference to CRYPTO_num_locks' mongoc-openssl.c:(.text+0x1fa): undefined reference to CRYPTO_get_locking_callback' mongoc-openssl.c:(.text+0x204): undefined reference to SSLv23_method' mongoc-openssl.c:(.text+0x238): undefined reference to CRYPTO_set_locking_callback' mongoc-openssl.c:(.text+0x244): undefined reference to CRYPTO_set_id_callback' /usr/local/lib/libmongoc-static-1.0.a(mongoc-openssl.c.o): In function _mongoc_openssl_cleanup': mongoc-openssl.c:(.text+0x287): undefined reference to CRYPTO_get_locking_callback' mongoc-openssl.c:(.text+0x298): undefined reference to CRYPTO_get_id_callback' mongoc-openssl.c:(.text+0x2c7): undefined reference to CRYPTO_num_locks' mongoc-openssl.c:(.text+0x2eb): undefined reference to CRYPTO_set_locking_callback' mongoc-openssl.c:(.text+0x2fb): undefined reference to CRYPTO_set_id_callback' /usr/local/lib/libmongoc-static-1.0.a(mongoc-openssl.c.o): In function _mongoc_openssl_check_cert': mongoc-openssl.c:(.text+0x3df): undefined reference to sk_num' mongoc-openssl.c:(.text+0x425): undefined reference to sk_value' /usr/local/lib/libmongoc-static-1.0.a(mongoc-openssl.c.o): In function _mongoc_openssl_ctx_new': mongoc-openssl.c:(.text+0x6c3): undefined reference to SSLv23_method' /usr/local/lib/libmongoc-static-1.0.a(mongoc-crypto-openssl.c.o): In function EVP_MD_CTX_free': mongoc-crypto-openssl.c:(.text+0x65): undefined reference to EVP_MD_CTX_cleanup' /usr/local/lib/libmongoc-static-1.0.a(mongoc-crypto-openssl.c.o): In function mongoc_crypto_openssl_sha1': mongoc-crypto-openssl.c:(.text+0xbd): undefined reference to `EVP_MD_CTX_cleanup' clang: error: linker command failed with exit code 1 (use -v to see invocation) programs/nodeos/CMakeFiles/nodeos.dir/build.make:206: recipe for target 'programs/nodeos/nodeos' failed make[2]: *** [programs/nodeos/nodeos] Error 1 CMakeFiles/Makefile2:6444: recipe for target 'programs/nodeos/CMakeFiles/nodeos.dir/all' failed make[1]: *** [programs/nodeos/CMakeFiles/nodeos.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

I deleted rm -rf ${HOME}/opt/boost* and also removed build folder of eos and retried but I don't understand why I'm getting this error again and again.

26rahulsingh avatar Oct 24 '18 09:10 26rahulsingh

Try removing /usr/local/lib/libmongoc-static-1.0.a. The build script should rebuild this third party library for you with your current environment.

jgiszczak avatar Oct 24 '18 19:10 jgiszczak

Beginning build version: 1.2
Thu Oct 25 05:32:21 UTC 2018
User: rahul
git head id: f9a3d023c05d6b7984cbd7263a5a39e650c87e90
Current branch: master

ARCHITECTURE: Linux

OS name: Ubuntu
OS Version: 18.04
CPU speed: 600.089Mhz
CPU cores: 4
Physical Memory: 11651 Mgb
Disk install: /dev/sda3
Disk space total: 897G
Disk space available: 808G

Checking for installed dependencies.

Package clang-4.0 found.
Package lldb-4.0 found.
Package libclang-4.0-dev found.
Package cmake found.
Package make found.
Package automake found.
Package libbz2-dev found.
Package libssl-dev found.
Package libgmp3-dev found.
Package autotools-dev found.
Package build-essential found.
Package libicu-dev found.
Package python2.7-dev found.
Package python3-dev found.
Package autoconf found.
Package libtool found.
Package curl found.
Package zlib1g-dev found.
Package doxygen found.
Package graphviz found.

No required dpkg dependencies to install.

Checking boost library installation.
Boost found at /home/rahul/opt/boost.

Checking MongoDB installation.
MongoDB configuration found at /home/rahul/opt/mongodb/mongod.conf.

Checking MongoDB C++ driver installation.
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.

Checking for LLVM with WASM support.
WASM found at /home/rahul/opt/wasm/bin.

ALL dependencies sucessfully found or installed . Installing EOSIO

CMAKE_BUILD_TYPE=Release ENABLE_COVERAGE_TESTING=false DOXYGEN=false

-- The C compiler identification is Clang 4.0.1 -- The CXX compiler identification is Clang 4.0.1 -- Check for working C compiler: /usr/bin/clang-4.0 -- Check for working C compiler: /usr/bin/clang-4.0 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using custom FindBoost.cmake -- Boost version: 1.67.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- program_options -- signals -- serialization -- chrono -- unit_test_framework -- context -- locale -- iostreams -- Configuring EOSIO on Linux -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
-- binaryen building with -std=c++11 -- binaryen building for platform x86-64 -- binaryen building with -Wall -- binaryen building with -Werror -- binaryen building with -Wextra -- binaryen building with -Wno-unused-parameter -- binaryen building with -fno-omit-frame-pointer -- binaryen building with -fPIC -- binaryen building with -O2 -- binaryen building with -UNDEBUG -- Using 'SYS' as CORE symbol name -- Using 'EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV' as public key for 'eosio' account -- Found WASM: /home/rahul/opt/wasm/bin/clang
-- Using WASM clang => /home/rahul/opt/wasm/bin/clang -- Using WASM llc => /home/rahul/opt/wasm/bin/llc -- Using WASM llvm-link => /home/rahul/opt/wasm/bin/llvm-link -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.a
-- Configuring fc to build on Unix/Apple -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.1.0g") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- zlib found -- Configuring Builtins -- Configuring SoftFloat -- Using custom FindBoost.cmake -- Boost version: 1.67.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- chrono -- unit_test_framework -- locale -- Configuring ChainBase on Linux -- Using custom FindBoost.cmake -- Boost version: 1.67.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- chrono -- program_options -- unit_test_framework -- locale -- Configuring AppBase on Linux -- Found Git: /usr/bin/git (found version "2.17.1") -- Looking for alloca.h -- Looking for alloca.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of size_t -- Check size of size_t - done -- Using prebuilt re2c lexer -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.15", minimum required is "2.7") -- Found bsoncxx headers: /usr/local/include/bsoncxx/v_noabi -- Found bsoncxx library: /usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread -- Found mongocxx headers: /usr/local/include/mongocxx/v_noabi;/usr/local/include/bsoncxx/v_noabi -- Found mongocxx library: /usr/local/lib/libmongocxx-static.a;/usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread;MONGOC_STATIC_LIBRARY-NOTFOUND;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread;/usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;rt;/usr/lib/x86_64-linux-gnu/libz.so;resolv -- Git commit revision: f9a3d023 -- Git commit revision: f9a3d023 -- Found Intl: /usr/include
-- Git commit revision: f9a3d023 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: MONGOC_STATIC_LIBRARY linked by target "mongo_db_plugin" in directory /home/rahul/work/eos/plugins/mongo_db_plugin

-- Configuring incomplete, errors occurred! See also "/home/rahul/work/eos/build/CMakeFiles/CMakeOutput.log". See also "/home/rahul/work/eos/build/CMakeFiles/CMakeError.log".

>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

26rahulsingh avatar Oct 25 '18 05:10 26rahulsingh

Also remove /usr/local/lib/libmongocxx-static.a. You may want to remove /usr/local/lib/libmongocxx*. It appears something has gone quite badly wrong with that library's installation.

jgiszczak avatar Oct 25 '18 19:10 jgiszczak

Creating clang++ Creating clang-cl Creating clang-cpp -- Installing: /home/rahul/opt/wasm/bin/clang-format -- Installing: /home/rahul/opt/wasm/share/clang/clang-format-bbedit.applescript -- Installing: /home/rahul/opt/wasm/share/clang/clang-format-diff.py -- Installing: /home/rahul/opt/wasm/share/clang/clang-format-sublime.py -- Installing: /home/rahul/opt/wasm/share/clang/clang-format.el -- Installing: /home/rahul/opt/wasm/share/clang/clang-format.py -- Installing: /home/rahul/opt/wasm/bin/git-clang-format -- Installing: /home/rahul/opt/wasm/bin/clang-import-test -- Installing: /home/rahul/opt/wasm/bin/clang-offload-bundler -- Installing: /home/rahul/opt/wasm/bin/c-index-test -- Installing: /home/rahul/opt/wasm/bin/clang-check -- Installing: /home/rahul/opt/wasm/bin/scan-build -- Installing: /home/rahul/opt/wasm/libexec/ccc-analyzer -- Installing: /home/rahul/opt/wasm/libexec/c++-analyzer -- Installing: /home/rahul/opt/wasm/share/man/man1/scan-build.1 -- Installing: /home/rahul/opt/wasm/share/scan-build/scanview.css -- Installing: /home/rahul/opt/wasm/share/scan-build/sorttable.js -- Installing: /home/rahul/opt/wasm/bin/scan-view -- Installing: /home/rahul/opt/wasm/share/scan-view/ScanView.py -- Installing: /home/rahul/opt/wasm/share/scan-view/Reporter.py -- Installing: /home/rahul/opt/wasm/share/scan-view/startfile.py -- Installing: /home/rahul/opt/wasm/share/scan-view/FileRadar.scpt -- Installing: /home/rahul/opt/wasm/share/scan-view/GetRadarVersion.scpt -- Installing: /home/rahul/opt/wasm/share/scan-view/bugcatcher.ico -- Installing: /home/rahul/opt/wasm/lib/libclang.so.4.0 -- Installing: /home/rahul/opt/wasm/lib/libclang.so.4 -- Installing: /home/rahul/opt/wasm/lib/libclang.so -- Up-to-date: /home/rahul/opt/wasm/include/clang-c -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/CXString.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/Platform.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/BuildSystem.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/CXCompilationDatabase.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/CXErrorCode.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/Documentation.h -- Up-to-date: /home/rahul/opt/wasm/include/clang-c/Index.h -- Installing: /home/rahul/opt/wasm/lib/cmake/clang/ClangTargets.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/clang/ClangTargets-release.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/clang/ClangConfig.cmake -- Installing: /home/rahul/opt/wasm/bin/bugpoint -- Installing: /home/rahul/opt/wasm/lib/BugpointPasses.so -- Installing: /home/rahul/opt/wasm/bin/llvm-dsymutil -- Installing: /home/rahul/opt/wasm/bin/llc -- Installing: /home/rahul/opt/wasm/bin/lli -- Installing: /home/rahul/opt/wasm/bin/llvm-as -- Installing: /home/rahul/opt/wasm/bin/llvm-bcanalyzer -- Installing: /home/rahul/opt/wasm/bin/llvm-c-test -- Installing: /home/rahul/opt/wasm/bin/llvm-cat -- Installing: /home/rahul/opt/wasm/bin/llvm-cov -- Installing: /home/rahul/opt/wasm/bin/llvm-cxxdump -- Installing: /home/rahul/opt/wasm/bin/llvm-cxxfilt -- Installing: /home/rahul/opt/wasm/bin/llvm-diff -- Installing: /home/rahul/opt/wasm/bin/llvm-dis -- Installing: /home/rahul/opt/wasm/bin/llvm-dwarfdump -- Installing: /home/rahul/opt/wasm/bin/llvm-dwp -- Installing: /home/rahul/opt/wasm/bin/llvm-extract -- Installing: /home/rahul/opt/wasm/bin/llvm-link -- Installing: /home/rahul/opt/wasm/bin/llvm-lto2 -- Installing: /home/rahul/opt/wasm/bin/llvm-mc -- Installing: /home/rahul/opt/wasm/bin/llvm-mcmarkup -- Installing: /home/rahul/opt/wasm/bin/llvm-modextract -- Installing: /home/rahul/opt/wasm/bin/llvm-nm -- Installing: /home/rahul/opt/wasm/bin/llvm-objdump -- Installing: /home/rahul/opt/wasm/bin/llvm-opt-report -- Installing: /home/rahul/opt/wasm/bin/llvm-pdbdump -- Installing: /home/rahul/opt/wasm/bin/llvm-readobj -- Installing: /home/rahul/opt/wasm/bin/llvm-rtdyld -- Installing: /home/rahul/opt/wasm/bin/llvm-size -- Installing: /home/rahul/opt/wasm/bin/llvm-split -- Installing: /home/rahul/opt/wasm/bin/llvm-stress -- Installing: /home/rahul/opt/wasm/bin/llvm-strings -- Installing: /home/rahul/opt/wasm/bin/llvm-symbolizer -- Installing: /home/rahul/opt/wasm/bin/llvm-xray -- Installing: /home/rahul/opt/wasm/bin/obj2yaml -- Installing: /home/rahul/opt/wasm/bin/opt -- Installing: /home/rahul/opt/wasm/bin/sancov -- Installing: /home/rahul/opt/wasm/bin/sanstats -- Installing: /home/rahul/opt/wasm/bin/verify-uselistorder -- Installing: /home/rahul/opt/wasm/bin/yaml2obj -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/LLVMExports.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/LLVMExports-release.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/LLVMConfig.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/LLVMConfigVersion.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/LLVM-Config.cmake -- Up-to-date: /home/rahul/opt/wasm/lib/cmake/llvm/. -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./HandleLLVMOptions.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./CheckAtomic.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./AddLLVM.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./CrossCompile.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./ChooseMSVCCRT.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./AddLLVMDefinitions.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./CheckLinkerFlag.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./GenerateVersionFromCVS.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./HandleLLVMStdlib.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./CheckCompilerVersion.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./FindOCaml.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./VersionFromVCS.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./GetSVN.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./DetermineGCCCompatible.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./LLVMExternalProjectUtils.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./LLVMProcessSources.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./LLVMInstallSymlink.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./AddOCaml.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./FindSphinx.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./AddSphinxTarget.cmake -- Installing: /home/rahul/opt/wasm/lib/cmake/llvm/./TableGen.cmake

WASM successffully installed @ /home/rahul/opt/wasm/bin.

ALL dependencies sucessfully found or installed . Installing EOSIO

CMAKE_BUILD_TYPE=Release ENABLE_COVERAGE_TESTING=false DOXYGEN=false

-- The C compiler identification is Clang 4.0.1 -- The CXX compiler identification is Clang 4.0.1 -- Check for working C compiler: /usr/bin/clang-4.0 -- Check for working C compiler: /usr/bin/clang-4.0 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.

Boost version: 1.67.0

Boost include path: /home/rahul/opt/boost/include

The following Boost libraries could not be found:

      boost_system
      boost_chrono

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:96 (FIND_PACKAGE)

-- Configuring EOSIO on Linux -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE
-- binaryen building with -std=c++11 -- binaryen building for platform x86-64 -- binaryen building with -Wall -- binaryen building with -Werror -- binaryen building with -Wextra -- binaryen building with -Wno-unused-parameter -- binaryen building with -fno-omit-frame-pointer -- binaryen building with -fPIC -- binaryen building with -O2 -- binaryen building with -UNDEBUG -- Using 'SYS' as CORE symbol name -- Using 'EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV' as public key for 'eosio' account -- Found WASM: /home/rahul/opt/wasm/bin/clang
-- Using WASM clang => /home/rahul/opt/wasm/bin/clang -- Using WASM llc => /home/rahul/opt/wasm/bin/llc -- Using WASM llvm-link => /home/rahul/opt/wasm/bin/llvm-link -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.a
-- Configuring fc to build on Unix/Apple -- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.1.0g") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- zlib found -- Configuring Builtins -- Configuring SoftFloat -- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.

Boost version: 1.67.0

Boost include path: /home/rahul/opt/boost/include

The following Boost libraries could not be found:

      boost_system
      boost_chrono

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): libraries/chainbase/CMakeLists.txt:26 (FIND_PACKAGE)

-- Configuring ChainBase on Linux -- Using custom FindBoost.cmake CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message): Unable to find the requested Boost libraries.

Boost version: 1.67.0

Boost include path: /home/rahul/opt/boost/include

The following Boost libraries could not be found:

      boost_system
      boost_chrono

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): libraries/appbase/CMakeLists.txt:22 (find_package)

-- Configuring AppBase on Linux -- Found Git: /usr/bin/git (found version "2.17.1") -- Looking for alloca.h -- Looking for alloca.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of size_t -- Check size of size_t - done -- Using prebuilt re2c lexer -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.15", minimum required is "2.7") -- Found bsoncxx headers: /usr/local/include/bsoncxx/v_noabi -- Found bsoncxx library: /usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread -- Found mongocxx headers: /usr/local/include/mongocxx/v_noabi;/usr/local/include/bsoncxx/v_noabi -- Found mongocxx library: /usr/local/lib/libmongocxx-static.a;/usr/local/lib/libbsoncxx-static.a;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread;/usr/local/lib/libmongoc-static-1.0.a;/usr/local/lib/libbson-static-1.0.a;-lgcc;-lgcc_s;-lc;-lgcc;-lgcc_s;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;-pthread;/usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so;rt;/usr/lib/x86_64-linux-gnu/libz.so;resolv -- Git commit revision: f9a3d023 -- Git commit revision: f9a3d023 -- Found Intl: /usr/include
-- Git commit revision: f9a3d023 -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen dot -- Configuring incomplete, errors occurred! See also "/home/rahul/work/eos/build/CMakeFiles/CMakeOutput.log". See also "/home/rahul/work/eos/build/CMakeFiles/CMakeError.log".

>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.

26rahulsingh avatar Oct 29 '18 11:10 26rahulsingh

It looks like your version of boost was built incorrectly. rm -r /home/rahul/opt/boost and run the build script again to recompile boost.

jgiszczak avatar Oct 29 '18 19:10 jgiszczak

Closed as no further reply. If you still have the same problem please ask https://eosio.stackexchange.com/ .

jgiszczak avatar Nov 19 '18 21:11 jgiszczak