MAKE building EOSIO has exited with the error on MAC
$ ./eosio_build.sh
Beginning build version: 1.2 Sat Apr 28 03:20:38 UTC 2018 User: shi1234ww git head id: 4e99117b16037c3c3873916848354fa6d3acb438 Current branch: * master
ARCHITECTURE: Darwin
OS name: Darwin OS Version: 10.13 CPU speed: 280.00Ghz CPU cores: 4 Physical Memory: 16 Gbytes Disk space total: 233G Disk space available: 83G
Checking XCode installation XCode installation found.
Checking Ruby installation Ruby installation found.
Checking Home Brew installation Home Brew installation found.
Checking dependencies. Checking automake ... automake found Checking Libtool ... Libtool found Checking OpenSSL ... OpenSSL found Checking llvm ... llvm found Checking wget ... wget found Checking CMake ... CMake found Checking GMP ... GMP found Checking gettext ... gettext found Checking MongoDB ... MongoDB found Checking Doxygen ... Doxygen found Checking Graphviz ... Graphviz found Checking LCOV ... LCOV found Checking Python3 ... Python3 found
No required Home Brew dependencies to install.
Checking boost library installation. Boost 1.66.0 found at /usr/local.
Checking MongoDB C++ driver installation. Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.
Checking secp256k1-zkp installation. secp256k1 found at /usr/local/lib/
Checking LLVM with WASM support. WASM found at /usr/local/wasm/bin/ ALL dependencies sucessfully found or installed . Installing EOS.IO
-- Using custom FindBoost.cmake -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- program_options -- signals -- serialization -- chrono -- unit_test_framework -- context -- locale -- iostreams -- Configuring Eos on OS X -- 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 WASM clang => /usr/local/wasm/bin/clang -- Using WASM llc => /usr/local/wasm/bin/llc -- Using WASM llvm-link => /usr/local/wasm/bin/llvm-link -- Found Secp256k1: /usr/local/lib/libsecp256k1.a -- Configuring fc to build on Unix/Apple -- zlib found -- bzip2 found -- Configuring SoftFloat -- Using custom FindBoost.cmake -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- chrono -- unit_test_framework -- locale -- Configuring ChainBase on OS X -- Using custom FindBoost.cmake -- Boost version: 1.66.0 -- Found the following Boost libraries: -- thread -- date_time -- filesystem -- system -- chrono -- program_options -- unit_test_framework -- locale -- Configuring AppBase on OS X -- 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;-D_THREAD_SAFE -- 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;-D_THREAD_SAFE;/usr/local/lib/libmongoc-static-1.0.a;/usr/local/lib/libbson-static-1.0.a;-D_THREAD_SAFE;-lsasl2;-framework Security;-framework CoreFoundation;-lz;-lresolv -- Git commit revision: 4e99117 -- Git commit revision: 4e99117 -- Git commit revision: 4e99117 -- Configuring done -- Generating done -- Build files have been written to: /Users/shi1234ww/eos/build [ 0%] Built target ast [ 1%] Built target asmjs [ 1%] Built target wasm [ 2%] Built target binaryen [ 4%] Built target cfg [ 4%] Built target emscripten-optimizer [ 4%] Built target support [ 7%] Built target passes [ 8%] Built target Platform [ 30%] Built target softfloat [ 30%] Built target chainbase [ 32%] Built target libc++ [ 32%] Built target eosiolib [ 32%] Built target appbase [ 32%] contract... [ 34%] Built target identity_common [ 55%] Built target identity_interface [ 75%] Built target libc [ 75%] Built target copy_skeleton_contract [ 75%] Built target eosio-s2wasm [ 75%] Built target print_floats [ 75%] Built target Logging [ 75%] Built target eosio.bios [ 75%] Built target chainbase_test [ 75%] Built target simple.token [ 75%] Built target eosio.token [ 75%] Built target eosio.msig [ 75%] Built target appbase_example [ 75%] Built target multi_index_test [ 75%] Built target identity [ 76%] Built target eosio.system [ 76%] Built target identity_test [ 76%] Built target exchange [ 77%] Built target stltest [ 77%] Built target test.inline [ 78%] Built target asserter [ 78%] Built target infinite [ 79%] Built target proxy [ 81%] Built target test_api [ 81%] Built target test_api_mem [ 81%] Built target test_api_db [ 81%] Built target test_api_multi_index [ 82%] Built target noop [ 82%] Built target dice [ 82%] Built target tic_tac_toe [ 82%] Built target payloadless [ 82%] Built target IR [ 82%] Built target WASM [ 83%] Built target Runtime [ 84%] Built target WAST [ 84%] Built target Emscripten [ 84%] Built target Assemble [ 84%] Built target Test [ 84%] Built target Disassemble [ 85%] Built target wavm [ 90%] Built target fc [ 90%] Built target eos_utilities [ 90%] Built target test_cypher_suites [ 91%] Built target test_exchange [ 91%] Built target http_plugin [ 91%] Built target eosio-applesedemo [ 93%] Built target eosio_chain [ 93%] Built target abi_generator [ 93%] Built target chain_plugin [ 94%] Built target eosio-launcher [ 94%] Built target wallet_plugin [ 94%] Building CXX object programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/main.cpp.o [ 95%] Built target eosio_testing [ 95%] Built target chain_api_plugin [ 95%] Built target producer_plugin [ 96%] Built target wallet_api_plugin [ 96%] Built target txn_test_gen_plugin [ 96%] Built target account_history_plugin [ 96%] Built target keosd [ 96%] Built target faucet_testnet_plugin Scanning dependencies of target net_plugin [ 96%] Built target mongo_db_plugin Scanning dependencies of target account_history_api_plugin [ 96%] Building CXX object plugins/net_plugin/CMakeFiles/net_plugin.dir/net_plugin.cpp.o [ 96%] Building CXX object plugins/account_history_api_plugin/CMakeFiles/account_history_api_plugin.dir/account_history_api_plugin.cpp.o [ 96%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o /Users/shi1234ww/eos/programs/eosio-abigen/main.cpp:27:18: error: calling a private constructor of class 'eosio::generate_abi_action' return new generate_abi_action(verbose, opt_sfs, abi_context, outp... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ /Users/shi1234ww/eos/tests/tests/abi_tests.cpp:414:37: error: calling a private constructor of class 'eosio::generate_abi_action' res = runToolOnCodeWithArgs(new generate_abi_action(false, opt_sfs, ... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ 1 error generated. make[2]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/main.cpp.o] Error 1 make[1]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 96%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/currency_tests.cpp.o [ 96%] Linking CXX static library libaccount_history_api_plugin.a [ 96%] Built target account_history_api_plugin [ 96%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/dice_tests.cpp.o 1 error generated. make[2]: *** [tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [tests/CMakeFiles/chain_test.dir/all] Error 2 [ 96%] Linking CXX static library libnet_plugin.a [ 96%] Built target net_plugin make: *** [all] Error 2
MAKE building EOSIO has exited with the above error.
git pull and retry. Your repository is in a strange state to be generating that error. abi_generator does build in current master.
I've try git pull, But It still MAKE building EOSIO has exited with the error.
[ 97%] Built target net_api_plugin [ 98%] Built target cleos [ 98%] Built target nodeos [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o /Users/shi1234ww/eos/programs/eosio-abigen/main.cpp:27:18: error: calling a private constructor of class 'eosio::generate_abi_action' return new generate_abi_action(verbose, opt_sfs, abi_context, outp... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ /Users/shi1234ww/eos/tests/tests/abi_tests.cpp:414:37: error: calling a private constructor of class 'eosio::generate_abi_action' res = runToolOnCodeWithArgs(new generate_abi_action(false, opt_sfs, ... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ 1 error generated. make[2]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/main.cpp.o] Error 1 make[1]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... 1 error generated. make[2]: *** [tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o] Error 1 make[1]: *** [tests/CMakeFiles/chain_test.dir/all] Error 2 make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
@shi1234ww Try the following: cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh
Capture the entire output of the script and paste it here if you run into any further issues.
@pacificcode I have tried above steps, but Its still Make building EOSIO has exited with the below error.
[ 98%] Built target cleos [ 98%] Built target nodeos [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/wasm_tests.cpp.o [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/message_buffer_tests.cpp.o /Users/shi1234ww/eos/programs/eosio-abigen/main.cpp:27:18: error: calling a private constructor of class 'eosio::generate_abi_action' return new generate_abi_action(verbose, opt_sfs, abi_context, outp... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/special_accounts_tests.cpp.o /Users/shi1234ww/eos/tests/tests/abi_tests.cpp:414:37: error: calling a private constructor of class 'eosio::generate_abi_action' res = runToolOnCodeWithArgs(new generate_abi_action(false, opt_sfs, ... ^ /Users/shi1234ww/eos/libraries/abi_generator/include/eosio/abi_generator/abi_generator.hpp:394:8: note: declared private here generate_abi_action(bool verbose, bool opt_sfs, string abi_context, ^ 1 error generated. make[2]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/main.cpp.o] Error 1 make[1]: *** [programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/wallet_tests.cpp.o 1 error generated. make[2]: *** [tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [tests/CMakeFiles/chain_test.dir/all] Error 2 make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
@shi1234ww I would recommend throwing out your clone of the EOS.IO repo, running a clean clone and try again.
cd /path/to/eos/.. rm -rf eos/ git clone https://github.com/pacificcode/eos.git --recursive cd eos git submodule update --init --recursive ./eosio_build.sh
Finally , EOSIO has been successfully built, Thanks a lot!