EOSIO / eos

An open source smart contract platform
https://developers.eos.io/manuals/eos
MIT License
11.28k stars 3.76k forks source link

How can this problem be solved? Thanks #2722

Closed pumatus closed 6 years ago

pumatus commented 6 years ago

Scanning dependencies of target print_floats make[2]: No rule to make target /usr/local/lib/libboost_thread.a', needed bytools/print_floats'. Stop. make[2]: Waiting for unfinished jobs.... [ 76%] Building CXX object tools/CMakeFiles/print_floats.dir/print_floats.cpp.o make[1]: [tools/CMakeFiles/print_floats.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o [ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o [ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o [ 76%] Linking CXX static library libfc.a [ 76%] Built target fc make: *** [all] Error 2

>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.
pacificcode commented 6 years ago

@pumatus I need a little more information. Can you run the following commands: cd /path/to/eos git pull git submodule update --init --recursive ./eosio_build.sh Capture the full output of the eosio_build.sh script and send it along with your CMakeError.log.

pumatus commented 6 years ago

@pacificcode This is the corresponding output, but the cmakeerror.log file is not found in the eos project。

Last login: Thu May 3 19:43:24 on ttys000 [oh-my-zsh] Random theme '/Users/hehongda/.oh-my-zsh/themes/cloud.zsh-theme' loaded... ☁ ~ cd eos ☁ eos [master] git pull remote: Counting objects: 111, done. remote: Compressing objects: 100% (34/34), done. remote: Total 111 (delta 85), reused 90 (delta 64), pack-reused 0 Receiving objects: 100% (111/111), 14.61 KiB | 39.00 KiB/s, done. Resolving deltas: 100% (85/85), completed with 42 local objects. From https://github.com/EOSIO/eos

ALL dependencies sucessfully found or installed . Installing EOS.IO

CMAKE_BUILD_TYPE=Release ENABLE_COVERAGE_TESTING=false DOXYGEN=false

-- 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 -- 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: 19227c9b -- Git commit revision: 19227c9b -- Git commit revision: 19227c9b -- Configuring done -- Generating done -- Build files have been written to: /Users/hehongda/eos/build [ 1%] Built target wasm [ 1%] Built target binaryen [ 1%] Built target ast [ 2%] Built target asmjs [ 2%] Built target cfg [ 5%] Built target passes [ 6%] Built target support [ 7%] Built target emscripten-optimizer [ 29%] Built target softfloat [ 29%] Built target chainbase [ 30%] Built target Platform [ 30%] Built target appbase [ 32%] Built target libc++ [ 33%] Built target eosiolib [ 72%] Built target libc [ 72%] contract... [ 72%] Built target copy_skeleton_contract [ 72%] Built target identity_common [ 72%] Built target identity_interface make[2]: No rule to make target /usr/local/lib/libboost_thread.a', needed bytools/print_floats'. Stop. make[1]: [tools/CMakeFiles/print_floats.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 76%] Built target fc make: [all] Error 2

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

☁ eos [master] mdfind -name "CMakeError.log" ☁ eos [master]

pacificcode commented 6 years ago

@pumatus Looking further into this. In the meantime try the following: brew remove --force boost cd /path/to/eos rm -rf build/ git pull git submodule update --init --recursive ./eosio_build.sh *note - the build script will reinstall the boost libraries.

pumatus commented 6 years ago

@pacificcode Errors appear to appear here “[ 99%] Linking CXX executable cleos”

[ 68%] Building LLVM bitcode vwscanf.c.bc [ 68%] Building LLVM bitcode wprintf.c.bc [ 68%] Building LLVM bitcode wscanf.c.bc [ 68%] Building LLVM bitcode abs.c.bc [ 68%] Building LLVM bitcode atoi.c.bc [ 69%] Building LLVM bitcode atol.c.bc [ 69%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/udp_socket.cpp.o [ 69%] Building LLVM bitcode atoll.c.bc [ 69%] Building LLVM bitcode bsearch.c.bc [ 69%] Building LLVM bitcode div.c.bc [ 69%] Building LLVM bitcode ecvt.c.bc [ 69%] Building LLVM bitcode fcvt.c.bc [ 69%] Building LLVM bitcode gcvt.c.bc [ 69%] Building LLVM bitcode imaxabs.c.bc [ 69%] Building LLVM bitcode imaxdiv.c.bc [ 69%] Building LLVM bitcode labs.c.bc [ 69%] Building LLVM bitcode ldiv.c.bc [ 69%] Building LLVM bitcode llabs.c.bc [ 69%] Building LLVM bitcode lldiv.c.bc [ 70%] Building LLVM bitcode qsort.c.bc [ 70%] Building LLVM bitcode strtol.c.bc [ 70%] Building LLVM bitcode wcstol.c.bc [ 70%] Building LLVM bitcode bcmp.c.bc [ 70%] Building LLVM bitcode bcopy.c.bc [ 70%] Building LLVM bitcode bzero.c.bc [ 70%] Building LLVM bitcode index.c.bc [ 70%] Building LLVM bitcode memccpy.c.bc [ 70%] Building LLVM bitcode memchr.c.bc [ 70%] Building LLVM bitcode memcmp.c.bc [ 70%] Building LLVM bitcode memmem.c.bc [ 70%] Building LLVM bitcode mempcpy.c.bc [ 70%] Building LLVM bitcode memrchr.c.bc [ 70%] Building LLVM bitcode rindex.c.bc [ 71%] Building LLVM bitcode stpcpy.c.bc [ 71%] Building LLVM bitcode stpncpy.c.bc [ 71%] Building LLVM bitcode strcasecmp.c.bc [ 71%] Building LLVM bitcode strcasestr.c.bc [ 71%] Building LLVM bitcode strcat.c.bc [ 71%] Building LLVM bitcode strchr.c.bc [ 71%] Building LLVM bitcode strchrnul.c.bc [ 71%] Building LLVM bitcode strcmp.c.bc [ 71%] Building LLVM bitcode strcpy.c.bc [ 71%] Building LLVM bitcode strcspn.c.bc [ 71%] Building LLVM bitcode strdup.c.bc [ 71%] Building LLVM bitcode strerror_r.c.bc [ 71%] Building LLVM bitcode strlcat.c.bc [ 72%] Building LLVM bitcode strlcpy.c.bc [ 72%] Building LLVM bitcode strlen.c.bc [ 72%] Building LLVM bitcode strncasecmp.c.bc [ 72%] Building LLVM bitcode strncat.c.bc [ 72%] Building LLVM bitcode strncmp.c.bc [ 72%] Building LLVM bitcode strncpy.c.bc [ 72%] Building LLVM bitcode strndup.c.bc [ 72%] Building LLVM bitcode strnlen.c.bc [ 72%] Building LLVM bitcode strpbrk.c.bc [ 72%] Building LLVM bitcode strrchr.c.bc [ 72%] Building LLVM bitcode strsep.c.bc [ 72%] Building LLVM bitcode strsignal.c.bc [ 72%] Building LLVM bitcode strspn.c.bc [ 72%] Building LLVM bitcode strstr.c.bc [ 73%] Building LLVM bitcode strtok.c.bc [ 73%] Building LLVM bitcode strtok_r.c.bc [ 73%] Building LLVM bitcode strverscmp.c.bc [ 73%] Building LLVM bitcode swab.c.bc [ 73%] Building LLVM bitcode wcpcpy.c.bc [ 73%] Building LLVM bitcode wcpncpy.c.bc [ 73%] Building LLVM bitcode wcscasecmp.c.bc [ 73%] Building LLVM bitcode wcscasecmp_l.c.bc [ 73%] Building LLVM bitcode wcscat.c.bc [ 73%] Building LLVM bitcode wcschr.c.bc [ 73%] Building LLVM bitcode wcscmp.c.bc [ 73%] Building LLVM bitcode wcscpy.c.bc [ 73%] Building LLVM bitcode wcscspn.c.bc [ 74%] Building LLVM bitcode wcsdup.c.bc [ 74%] Building LLVM bitcode wcslen.c.bc [ 74%] Building LLVM bitcode wcsncasecmp.c.bc [ 74%] Building LLVM bitcode wcsncasecmp_l.c.bc [ 74%] Building LLVM bitcode wcsncat.c.bc [ 74%] Building LLVM bitcode wcsncmp.c.bc [ 74%] Building LLVM bitcode wcsncpy.c.bc [ 74%] Building LLVM bitcode wcsnlen.c.bc [ 74%] Building LLVM bitcode wcspbrk.c.bc [ 74%] Building LLVM bitcode wcsrchr.c.bc [ 74%] Building LLVM bitcode wcsspn.c.bc [ 74%] Building LLVM bitcode wcsstr.c.bc [ 74%] Building LLVM bitcode wcstok.c.bc [ 74%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o [ 75%] Building LLVM bitcode wcswcs.c.bc [ 75%] Building LLVM bitcode wmemchr.c.bc [ 75%] Building LLVM bitcode wmemcmp.c.bc [ 75%] Building LLVM bitcode wmemcpy.c.bc [ 75%] Building LLVM bitcode wmemmove.c.bc [ 75%] Building LLVM bitcode wmemset.c.bc [ 75%] Building LLVM bitcode asctime.c.bc [ 75%] Building LLVM bitcode month_to_secs.c.bc [ 75%] Building LLVM bitcode secs_to_tm.c.bc [ 75%] Building LLVM bitcode tm_to_secs.c.bc [ 75%] Building LLVM bitcode tz.c.bc [ 75%] Building LLVM bitcode year_to_secs.c.bc [ 75%] Building LLVM bitcode asctime.c.bc [ 75%] Building LLVM bitcode asctime_r.c.bc [ 76%] Building LLVM bitcode difftime.c.bc [ 76%] Building LLVM bitcode gmtime.c.bc [ 76%] Building LLVM bitcode gmtime_r.c.bc [ 76%] Building LLVM bitcode strftime.c.bc [ 76%] Building LLVM bitcode strptime.c.bc [ 76%] Building LLVM bitcode timegm.c.bc [ 76%] Building LLVM bitcode wcsftime.c.bc [ 76%] Linking LLVM bitcode library libc.bc [ 76%] Built target libc Scanning dependencies of target copy_skeleton_contract [ 76%] contract... [ 76%] Built target copy_skeleton_contract Scanning dependencies of target identity_common [ 76%] Building LLVM bitcode common.cpp.bc [ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o [ 76%] Linking LLVM bitcode library identity_common.bc [ 76%] Built target identity_common [ 76%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o Scanning dependencies of target identity_interface [ 76%] Building LLVM bitcode interface.cpp.bc [ 76%] Linking CXX static library libfc.a [ 76%] Built target fc Scanning dependencies of target print_floats [ 76%] Building CXX object tools/CMakeFiles/print_floats.dir/print_floats.cpp.o [ 76%] Linking LLVM bitcode library identity_interface.bc [ 76%] Built target identity_interface Scanning dependencies of target eosio-s2wasm [ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/tools/s2wasm.cpp.o [ 76%] Linking CXX executable print_floats [ 76%] Built target print_floats Scanning dependencies of target test_cypher_suites [ 76%] Building CXX object libraries/fc/test/crypto/CMakeFiles/test_cypher_suites.dir/test_cypher_suites.cpp.o [ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/wasm-emscripten.cpp.o [ 76%] Linking CXX executable test_cypher_suites [ 76%] Built target test_cypher_suites Scanning dependencies of target chainbase_test [ 76%] Building CXX object libraries/chainbase/test/CMakeFiles/chainbase_test.dir/test.cpp.o [ 76%] Building CXX object externals/binaryen/CMakeFiles/eosio-s2wasm.dir/src/wasm-linker.cpp.o [ 76%] Linking CXX executable chainbase_test [ 76%] Built target chainbase_test Scanning dependencies of target Logging [ 76%] Building CXX object libraries/wasm-jit/Source/Logging/CMakeFiles/Logging.dir/Logging.cpp.o [ 76%] Linking CXX static library libLogging.a [ 76%] Built target Logging Scanning dependencies of target appbase_example [ 76%] Building CXX object libraries/appbase/examples/CMakeFiles/appbase_example.dir/main.cpp.o [ 76%] Linking CXX executable bin/eosio-s2wasm [ 76%] Built target eosio-s2wasm Scanning dependencies of target test_exchange [ 77%] Building CXX object contracts/exchange/CMakeFiles/test_exchange.dir/test_exchange.cpp.o /Users/hehongda/eos/contracts/exchange/test_exchange.cpp:347:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ /Users/hehongda/eos/contracts/exchange/test_exchange.cpp:361:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /Users/hehongda/eos/contracts/exchange/test_exchange.cpp:368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /Users/hehongda/eos/contracts/exchange/test_exchange.cpp:376:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. [ 77%] Linking CXX executable test_exchange [ 77%] Linking CXX executable appbase_example [ 77%] Built target test_exchange [ 77%] Built target appbase_example Scanning dependencies of target test.inline Scanning dependencies of target exchange [ 77%] Building LLVM bitcode test.inline.cpp.bc [ 77%] Building LLVM bitcode exchange.cpp.bc [ 77%] Generating test.inline.abi.hpp [ 77%] Linking LLVM bitcode executable test.inline.bc [ 77%] Generating textual assembly test.inline.s [ 77%] Generating WAST test.inline.wast /Users/hehongda/eos/contracts/exchange/exchange.cpp:115:34: warning: unused parameter 'fee' [-Wunused-parameter] uint32_t fee, ^ [ 77%] Generating test.inline.wast.hpp [ 77%] Built target test.inline Scanning dependencies of target hello [ 77%] Building LLVM bitcode hello.cpp.bc [ 77%] Generating hello.abi.hpp [ 77%] Linking LLVM bitcode executable hello.bc [ 77%] Generating textual assembly hello.s [ 77%] Generating WAST hello.wast [ 78%] Generating hello.wast.hpp [ 78%] Built target hello Scanning dependencies of target asserter [ 78%] Building LLVM bitcode asserter.cpp.bc 1 warning generated. [ 78%] Generating exchange.abi.hpp [ 78%] Linking LLVM bitcode executable exchange.bc [ 78%] Generating textual assembly exchange.s /Users/hehongda/eos/contracts/asserter/asserter.cpp:14:26: warning: unused parameter 'receiver' [-Wunused-parameter] void apply( uint64_t receiver, uint64_t code, uint64_t action ) { ^ [ 78%] Generating WAST exchange.wast 1 warning generated. [ 78%] Generating asserter.abi.hpp [ 78%] Linking LLVM bitcode executable asserter.bc [ 78%] Generating exchange.wast.hpp [ 78%] Built target exchange [ 78%] Generating textual assembly asserter.s Scanning dependencies of target infinite [ 78%] Building LLVM bitcode infinite.cpp.bc [ 78%] Generating WAST asserter.wast [ 78%] Generating asserter.wast.hpp [ 78%] Built target asserter Scanning dependencies of target proxy /Users/hehongda/eos/contracts/infinite/infinite.cpp:10:48: warning: function 'apply' could be declared with attribute 'noreturn' [-Wmissing-noreturn] void apply( uint64_t, uint64_t, uint64_t ) { ^ 1 warning generated. [ 78%] Linking LLVM bitcode executable infinite.bc [ 78%] Generating textual assembly infinite.s [ 78%] Generating WAST infinite.wast [ 78%] Generating infinite.wast.hpp [ 78%] Built target infinite Scanning dependencies of target test_api [ 78%] Building LLVM bitcode proxy.cpp.bc [ 78%] Building LLVM bitcode test_api.cpp.bc /Users/hehongda/eos/contracts/proxy/proxy.cpp:36:56: warning: unused parameter 'code' [-Wunused-parameter] void apply_transfer(uint64_t receiver, account_name code, const T& transfer) { ^ In file included from /Users/hehongda/eos/contracts/test_api/test_api.cpp:21: /Users/hehongda/eos/contracts/test_api/test_datastream.cpp:31:30: warning: implicit conversion changes signedness: 'unsigned long long' to 'const long long' [-Wsign-conversion] testtype::run(0x8000000000000000ull, "int64");


/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:42:69: warning: comparing
      floating point with == or != is unsafe [-Wfloat-equal]
        bool operator==(const Pair &p) const { return a == p.a && d == p.d;}
                                                                  ~ ^  ~~~
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:50:33: warning: suggest
      braces around initialization of subobject [-Wmissing-braces]
    testtype<StaticArray>::run({10,20}, "staticArray");
                                ^~~~~
                                {    }
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:56:41: warning: suggest
      braces around initialization of subobject [-Wmissing-braces]
    testtype<std::array<int, 3> >::run({10,20,30}, "std::array<T,N>");
                                        ^~~~~~~~
                                        {       }
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:16:24: warning: comparing
      floating point with == or != is unsafe [-Wfloat-equal]
        eosio_assert(v == v2, errmsg);
                     ~ ^  ~~
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:33:22: note: in instantiation
      of member function 'testtype<float>::run' requested here
    testtype<float>::run(1.234f, "float");
                     ^
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:16:24: warning: comparing
      floating point with == or != is unsafe [-Wfloat-equal]
        eosio_assert(v == v2, errmsg);
                     ~ ^  ~~
/Users/hehongda/eos/contracts/test_api/test_datastream.cpp:34:23: note: in instantiation
      of member function 'testtype<double>::run' requested here
    testtype<double>::run(0.333333333333333333, "double");
                      ^
6 warnings generated.
[ 79%] Linking LLVM bitcode executable test_api.bc
[ 79%] Generating textual assembly test_api.s
[ 79%] Generating WAST test_api.wast
[ 79%] Generating test_api.wast.hpp
[ 79%] Built target test_api
Scanning dependencies of target test_api_mem
[ 79%] Building LLVM bitcode test_api_mem.cpp.bc
1 warning generated.
[ 79%] Generating proxy.abi.hpp
[ 79%] Linking LLVM bitcode executable proxy.bc
[ 79%] Generating textual assembly proxy.s
[ 79%] Generating WAST proxy.wast
[ 79%] Generating proxy.wast.hpp
[ 79%] Built target proxy
Scanning dependencies of target test_api_db
[ 79%] Building LLVM bitcode test_api_db.cpp.bc
In file included from /Users/hehongda/eos/contracts/test_api_mem/test_api_mem.cpp:8:
/Users/hehongda/eos/contracts/test_api_mem/test_extended_memory.cpp:93:48: warning:
      implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned int')
      [-Wsign-conversion]
   eosio_assert(reinterpret_cast<int32_t>(sbrk(-1)) == -1, "Should have errored ...
                                          ~~~~ ^~
1 warning generated.
[ 79%] Linking LLVM bitcode executable test_api_mem.bc
[ 80%] Generating textual assembly test_api_mem.s
[ 80%] Generating WAST test_api_mem.wast
[ 80%] Generating test_api_mem.wast.hpp
[ 80%] Built target test_api_mem
Scanning dependencies of target test_api_multi_index
[ 80%] Building LLVM bitcode test_api_multi_index.cpp.bc
In file included from /Users/hehongda/eos/contracts/test_api_db/test_api_db.cpp:8:
/Users/hehongda/eos/contracts/test_api_db/test_db.cpp:161:36: warning: implicit
      conversion changes signedness: 'long' to 'uint32_t' (aka 'unsigned long')
      [-Wsign-conversion]
      len = db_get_i64(itr, value, len);
            ~~~~~~~~~~             ^~~
/Users/hehongda/eos/contracts/test_api_db/test_db.cpp:496:21: warning: variable 'value'
      may be uninitialized when used here [-Wconditional-uninitialized]
      eosio_assert( value == ia.val, "test_invalid_access: value did not match" );
                    ^~~~~
/Users/hehongda/eos/contracts/test_api_db/test_db.cpp:450:18: note: initialize the
      variable 'value' to silence this warning
   uint64_t value;
                 ^
                  = 0
2 warnings generated.
[ 80%] Linking LLVM bitcode executable test_api_db.bc
[ 80%] Generating textual assembly test_api_db.s
[ 80%] Generating WAST test_api_db.wast
[ 80%] Generating test_api_db.wast.hpp
[ 80%] Built target test_api_db
Scanning dependencies of target noop
[ 80%] Building LLVM bitcode noop.cpp.bc
[ 80%] Generating noop.abi.hpp
[ 80%] Linking LLVM bitcode executable noop.bc
[ 80%] Generating textual assembly noop.s
[ 81%] Generating WAST noop.wast
[ 81%] Generating noop.wast.hpp
[ 81%] Built target noop
Scanning dependencies of target dice
[ 81%] Building LLVM bitcode dice.cpp.bc
[ 81%] Linking LLVM bitcode executable test_api_multi_index.bc
[ 81%] Generating textual assembly test_api_multi_index.s
[ 81%] Generating WAST test_api_multi_index.wast
[ 81%] Generating test_api_multi_index.wast.hpp
[ 81%] Built target test_api_multi_index
Scanning dependencies of target tic_tac_toe
[ 81%] Building LLVM bitcode tic_tac_toe.cpp.bc
[ 81%] Generating dice.abi.hpp
[ 81%] Linking LLVM bitcode executable dice.bc
[ 81%] Generating textual assembly dice.s
[ 81%] Generating WAST dice.wast
[ 81%] Generating dice.wast.hpp
[ 81%] Built target dice
Scanning dependencies of target payloadless
[ 81%] Building LLVM bitcode payloadless.cpp.bc
[ 81%] Generating tic_tac_toe.abi.hpp
[ 81%] Linking LLVM bitcode executable tic_tac_toe.bc
[ 81%] Generating textual assembly tic_tac_toe.s
[ 81%] Generating WAST tic_tac_toe.wast
[ 81%] Generating tic_tac_toe.wast.hpp
[ 81%] Built target tic_tac_toe
Scanning dependencies of target http_plugin
[ 81%] Building CXX object plugins/http_plugin/CMakeFiles/http_plugin.dir/http_plugin.cpp.o
[ 81%] Generating payloadless.abi.hpp
[ 81%] Linking LLVM bitcode executable payloadless.bc
[ 81%] Generating textual assembly payloadless.s
[ 81%] Generating WAST payloadless.wast
[ 81%] Generating payloadless.wast.hpp
[ 81%] Built target payloadless
Scanning dependencies of target eosio-applesedemo
[ 81%] Building CXX object programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/main.cpp.o
/Users/hehongda/eos/programs/eosio-applesedemo/main.cpp:37:13: warning: unused variable
      'ret' [-Wunused-variable]
   OSStatus ret = SecItemCopyMatching(keyAttrDic, (CFTypeRef*)&attributes);
            ^
1 warning generated.
[ 81%] Building CXX object programs/eosio-applesedemo/CMakeFiles/eosio-applesedemo.dir/r1_signature_compactor.cpp.o
[ 81%] Linking CXX executable eosio-applesedemo
[ 81%] Built target eosio-applesedemo
Scanning dependencies of target IR
[ 81%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/DisassemblyNames.cpp.o
[ 81%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Operators.cpp.o
[ 81%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Types.cpp.o
[ 81%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Validate.cpp.o
[ 81%] Linking CXX static library libIR.a
[ 81%] Built target IR
Scanning dependencies of target eosio.bios
[ 81%] Building LLVM bitcode eosio.bios.cpp.bc
In file included from /Users/hehongda/eos/contracts/eosio.bios/eosio.bios.cpp:1:
/Users/hehongda/eos/contracts/eosio.bios/eosio.bios.hpp:22:36: warning: unused parameter
      'ram' [-Wunused-parameter]
         void setglimits( uint64_t ram, uint64_t net, uint64_t cpu ) {
                                   ^
/Users/hehongda/eos/contracts/eosio.bios/eosio.bios.hpp:22:50: warning: unused parameter
      'net' [-Wunused-parameter]
         void setglimits( uint64_t ram, uint64_t net, uint64_t cpu ) {
                                                 ^
/Users/hehongda/eos/contracts/eosio.bios/eosio.bios.hpp:22:64: warning: unused parameter
      'cpu' [-Wunused-parameter]
         void setglimits( uint64_t ram, uint64_t net, uint64_t cpu ) {
                                                               ^
/Users/hehongda/eos/contracts/eosio.bios/eosio.bios.hpp:26:43: warning: unused parameter
      'sch' [-Wunused-parameter]
         void setprods( producer_schedule sch ) {
                                          ^
4 warnings generated.
[ 81%] Generating eosio.bios.abi.hpp
[ 81%] Linking LLVM bitcode executable eosio.bios.bc
[ 81%] Generating textual assembly eosio.bios.s
[ 81%] Generating WAST eosio.bios.wast
[ 81%] Generating eosio.bios.wast.hpp
[ 81%] Built target eosio.bios
Scanning dependencies of target simple.token
[ 81%] Building LLVM bitcode simple.token.cpp.bc
[ 81%] Generating simple.token.abi.hpp
[ 81%] Linking LLVM bitcode executable simple.token.bc
[ 82%] Generating textual assembly simple.token.s
[ 82%] Generating WAST simple.token.wast
[ 82%] Generating simple.token.wast.hpp
[ 82%] Built target simple.token
Scanning dependencies of target eosio.token
[ 82%] Building LLVM bitcode eosio.token.cpp.bc
[ 82%] Generating eosio.token.abi.hpp
[ 82%] Linking LLVM bitcode executable eosio.token.bc
[ 82%] Generating textual assembly eosio.token.s
[ 82%] Generating WAST eosio.token.wast
[ 82%] Generating eosio.token.wast.hpp
[ 82%] Built target eosio.token
Scanning dependencies of target eosio.msig
[ 82%] Building LLVM bitcode eosio.msig.cpp.bc
[ 82%] Generating eosio.msig.abi.hpp
[ 82%] Linking LLVM bitcode executable eosio.msig.bc
[ 82%] Generating textual assembly eosio.msig.s
[ 82%] Generating WAST eosio.msig.wast
[ 83%] Generating eosio.msig.wast.hpp
[ 83%] Built target eosio.msig
Scanning dependencies of target multi_index_test
[ 83%] Building LLVM bitcode multi_index_test.cpp.bc
/Users/hehongda/eos/contracts/multi_index_test/multi_index_test.cpp:171:28: warning:
      unused parameter 'receiver' [-Wunused-parameter]
      void apply( uint64_t receiver, uint64_t code, uint64_t action ) {
                           ^
[ 83%] Linking CXX static library libhttp_plugin.a
[ 83%] Built target http_plugin
Scanning dependencies of target eosio.system
[ 84%] Building LLVM bitcode eosio.system.cpp.bc
1 warning generated.
[ 84%] Generating multi_index_test.abi.hpp
[ 84%] Linking LLVM bitcode executable multi_index_test.bc
[ 85%] Generating textual assembly multi_index_test.s
[ 85%] Generating WAST multi_index_test.wast
[ 85%] Generating multi_index_test.wast.hpp
[ 85%] Built target multi_index_test
Scanning dependencies of target identity
[ 85%] Building LLVM bitcode identity.cpp.bc
In file included from /Users/hehongda/eos/contracts/eosio.system/eosio.system.cpp:5:
/Users/hehongda/eos/contracts/eosio.system/producer_pay.cpp:95:116: warning: implicit
      conversion changes signedness: 'int64_t' (aka 'long long') to 'unsigned __int128'
      [-Wsign-conversion]
  ...static_cast<int64_t>( (prod->total_votes * parameters.eos_bucket.amount) / total...
                                              ~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
[ 85%] Generating identity.abi.hpp
[ 86%] Linking LLVM bitcode executable identity.bc
[ 86%] Generating textual assembly identity.s
[ 86%] Generating WAST identity.wast
[ 86%] Generating identity.wast.hpp
[ 86%] Built target identity
Scanning dependencies of target identity_test
[ 86%] Building LLVM bitcode identity_test.cpp.bc
[ 86%] Generating identity_test.abi.hpp
[ 86%] Linking LLVM bitcode executable identity_test.bc
[ 87%] Generating textual assembly identity_test.s
[ 87%] Generating WAST identity_test.wast
[ 87%] Generating identity_test.wast.hpp
[ 87%] Built target identity_test
Scanning dependencies of target stltest
[ 87%] Building LLVM bitcode stltest.cpp.bc
1 warning generated.
[ 87%] Generating eosio.system.abi.hpp
[ 87%] Linking LLVM bitcode executable eosio.system.bc
[ 87%] Generating textual assembly eosio.system.s
[ 87%] Generating WAST eosio.system.wast
[ 87%] Generating eosio.system.wast.hpp
[ 87%] Built target eosio.system
[ 87%] Generating stltest.abi.hpp
Scanning dependencies of target Runtime
[ 87%] Linking LLVM bitcode executable stltest.bc
[ 87%] Generating textual assembly stltest.s
[ 87%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Intrinsics.cpp.o
[ 87%] Generating WAST stltest.wast
[ 88%] Generating stltest.wast.hpp
[ 88%] Built target stltest
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Linker.cpp.o
Scanning dependencies of target WASM
[ 88%] Building CXX object libraries/wasm-jit/Source/WASM/CMakeFiles/WASM.dir/WASMSerialization.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/LLVMEmitIR.cpp.o
[ 88%] Linking CXX static library libWASM.a
[ 88%] Built target WASM
Scanning dependencies of target WAST
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/NFA.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/LLVMJIT.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Lexer.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Parse.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseFunction.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Memory.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/ModuleInstance.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseNumbers.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/ObjectGC.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseModule.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Runtime.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Table.cpp.o
[ 88%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Threads.cpp.o
[ 89%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/WAVMIntrinsics.cpp.o
[ 89%] Linking CXX static library libRuntime.a
[ 89%] Built target Runtime
[ 89%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseTests.cpp.o
Scanning dependencies of target Emscripten
[ 89%] Building CXX object libraries/wasm-jit/Source/Emscripten/CMakeFiles/Emscripten.dir/Emscripten.cpp.o
[ 89%] Linking CXX static library libEmscripten.a
[ 89%] Built target Emscripten
[ 89%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Print.cpp.o
[ 90%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Regexp.cpp.o
[ 90%] Linking CXX static library libWAST.a
[ 90%] Built target WAST
Scanning dependencies of target Assemble
Scanning dependencies of target wavm
[ 90%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/wavm.dir/wavm.cpp.o
[ 90%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Assemble.dir/Assemble.cpp.o
[ 90%] Linking CXX executable Assemble
[ 90%] Built target Assemble
Scanning dependencies of target Test
[ 90%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/Test.cpp.o
[ 91%] Linking CXX executable wavm
[ 91%] Built target wavm
Scanning dependencies of target Disassemble
[ 91%] Linking CXX executable Test
[ 91%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Disassemble.dir/Disassemble.cpp.o
[ 91%] Built target Test
Scanning dependencies of target eos_utilities
[ 91%] Linking CXX executable Disassemble
[ 91%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/key_conversion.cpp.o
[ 91%] Built target Disassemble
[ 91%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/string_escape.cpp.o
[ 91%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/tempdir.cpp.o
[ 91%] Building CXX object libraries/utilities/CMakeFiles/eos_utilities.dir/words.cpp.o
[ 91%] Linking CXX static library libeos_utilities.a
[ 91%] Built target eos_utilities
Scanning dependencies of target eosio_chain
[ 91%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/chain_config.cpp.o
[ 91%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/merkle.cpp.o
[ 91%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/name.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/transaction.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/block.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/block_trace.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/wast_to_wasm.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/wasm_interface.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/wasm_eosio_validation.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/wasm_eosio_injection.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/apply_context.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/resource_limits.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/fork_database.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/get_config.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/block_log.cpp.o
[ 92%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/asset.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/global_property_object.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/chain_controller.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/contracts/eosio_contract.cpp.o
/Users/hehongda/eos/libraries/chain/chain_controller.cpp:1286:2: warning: TODO: this
      comment sounds like it is expecting a check ("may") somewhere else, but I have not
      found anything else [-W#warnings]
#warning TODO: this comment sounds like it is expecting a check ("may") somewher...
 ^
/Users/hehongda/eos/libraries/chain/contracts/eosio_contract.cpp:83:55: warning: lambda
      capture 'context' is not used [-Wunused-lambda-capture]
   auto create_permission = [owner=create.name, &db, &context, &resources](cons...
                                                      ^
/Users/hehongda/eos/libraries/chain/contracts/eosio_contract.cpp:131:8: warning: TODO:
      update setcode message to include the hash, then validate it in validate
      [-W#warnings]
      #warning TODO: update setcode message to include the hash, then validate i...
       ^
2 warnings generated.
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/contracts/chain_initializer.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/contracts/genesis_state.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/contracts/abi_serializer.cpp.o
1 warning generated.
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/webassembly/wavm.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/webassembly/binaryen.cpp.o
[ 93%] Building CXX object libraries/chain/CMakeFiles/eosio_chain.dir/transaction_metadata.cpp.o
/Users/hehongda/eos/libraries/chain/transaction_metadata.cpp:14:5: warning: field
      'published' will be initialized after field 'packed_digest' [-Wreorder]
   ,published(published)
    ^
1 warning generated.
[ 93%] Linking CXX static library libeosio_chain.a
[ 93%] Built target eosio_chain
Scanning dependencies of target chain_plugin
Scanning dependencies of target abi_generator
[ 93%] Building CXX object libraries/abi_generator/CMakeFiles/abi_generator.dir/abi_generator.cpp.o
[ 93%] Building CXX object plugins/chain_plugin/CMakeFiles/chain_plugin.dir/chain_plugin.cpp.o
/Users/hehongda/eos/plugins/chain_plugin/chain_plugin.cpp:82:2: warning: TODO: rate
      limiting [-W#warnings]
#warning TODO: rate limiting
 ^
/Users/hehongda/eos/plugins/chain_plugin/chain_plugin.cpp:243:2: warning: TODO: This
      used to be sync now it isnt? [-W#warnings]
#warning TODO: This used to be sync now it isnt?
 ^
/Users/hehongda/eos/plugins/chain_plugin/chain_plugin.cpp:435:2: warning: TODO: get
      transaction results asynchronously [-W#warnings]
#warning TODO: get transaction results asynchronously
 ^
[ 93%] Linking CXX static library libabi_generator.a
[ 93%] Built target abi_generator
Scanning dependencies of target wallet_plugin
[ 93%] Building CXX object plugins/wallet_plugin/CMakeFiles/wallet_plugin.dir/wallet.cpp.o
3 warnings generated.
[ 93%] Linking CXX static library libchain_plugin.a
[ 93%] Built target chain_plugin
Scanning dependencies of target eosio-launcher
[ 94%] Building CXX object programs/eosio-launcher/CMakeFiles/eosio-launcher.dir/main.cpp.o
[ 94%] Building CXX object plugins/wallet_plugin/CMakeFiles/wallet_plugin.dir/wallet_plugin.cpp.o
[ 94%] Building CXX object plugins/wallet_plugin/CMakeFiles/wallet_plugin.dir/wallet_manager.cpp.o
[ 94%] Linking CXX executable eosio-launcher
[ 94%] Built target eosio-launcher
Scanning dependencies of target eosio-abigen
[ 94%] Building CXX object programs/eosio-abigen/CMakeFiles/eosio-abigen.dir/main.cpp.o
[ 94%] Linking CXX static library libwallet_plugin.a
[ 94%] Built target wallet_plugin
Scanning dependencies of target eosio_testing
[ 94%] Building CXX object libraries/testing/CMakeFiles/eosio_testing.dir/tester.cpp.o
[ 94%] Linking CXX executable eosio-abigen
[ 94%] Built target eosio-abigen
Scanning dependencies of target producer_plugin
[ 95%] Building CXX object plugins/producer_plugin/CMakeFiles/producer_plugin.dir/producer_plugin.cpp.o
[ 95%] Building CXX object libraries/testing/CMakeFiles/eosio_testing.dir/tester_network.cpp.o
[ 95%] Linking CXX static library libproducer_plugin.a
[ 95%] Built target producer_plugin
Scanning dependencies of target chain_api_plugin
[ 95%] Building CXX object plugins/chain_api_plugin/CMakeFiles/chain_api_plugin.dir/chain_api_plugin.cpp.o
[ 95%] Linking CXX static library libeosio_testing.a
[ 95%] Built target eosio_testing
Scanning dependencies of target account_history_plugin
[ 95%] Building CXX object plugins/account_history_plugin/CMakeFiles/account_history_plugin.dir/account_history_plugin.cpp.o
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:68:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_info, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:69:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_block, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:70:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_account, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:71:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_code, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:72:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_table_rows, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:73:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_currency_balance, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:74:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_currency_stats, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:75:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(abi_json_to_bin, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:76:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(abi_bin_to_json, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:77:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_required_keys, 200),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:58:54: note: expanded
      from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name, http_response_code) CALL(chain, ro_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:78:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RW_CALL(push_block, 202),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
      from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:79:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RW_CALL(push_transaction, 202),
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
      from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:80:7: warning: lambda
      capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RW_CALL(push_transactions, 202)
      ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:59:54: note: expanded
      from macro 'CHAIN_RW_CALL'
#define CHAIN_RW_CALL(call_name, http_response_code) CALL(chain, rw_api, chain_a...
                                                     ^
/Users/hehongda/eos/plugins/chain_api_plugin/chain_api_plugin.cpp:33:5: note: expanded
      from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
13 warnings generated.
[ 95%] Linking CXX static library libchain_api_plugin.a
[ 95%] Built target chain_api_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
[ 95%] Linking CXX static library libaccount_history_plugin.a
[ 95%] Built target account_history_plugin
Scanning dependencies of target txn_test_gen_plugin
[ 95%] Building CXX object plugins/txn_test_gen_plugin/CMakeFiles/txn_test_gen_plugin.dir/txn_test_gen_plugin.cpp.o
[ 96%] Linking CXX static library libwallet_api_plugin.a
[ 96%] Built target wallet_api_plugin
Scanning dependencies of target faucet_testnet_plugin
[ 96%] Building CXX object plugins/faucet_testnet_plugin/CMakeFiles/faucet_testnet_plugin.dir/faucet_testnet_plugin.cpp.o
[ 96%] Linking CXX static library libtxn_test_gen_plugin.a
[ 96%] Built target txn_test_gen_plugin
Scanning dependencies of target mongo_db_plugin
[ 96%] Linking CXX static library libfaucet_testnet_plugin.a
[ 96%] Built target faucet_testnet_plugin
Scanning dependencies of target keosd
[ 96%] Building CXX object plugins/mongo_db_plugin/CMakeFiles/mongo_db_plugin.dir/mongo_db_plugin.cpp.o
[ 96%] Building CXX object programs/keosd/CMakeFiles/keosd.dir/main.cpp.o
[ 97%] Linking CXX executable keosd
[ 97%] Built target keosd
Scanning dependencies of target chain_test
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/auth_tests.cpp.o
[ 97%] Linking CXX static library libmongo_db_plugin.a
[ 97%] Built target mongo_db_plugin
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/block_tests.cpp.o
Scanning dependencies of target net_plugin
[ 97%] Building CXX object plugins/net_plugin/CMakeFiles/net_plugin.dir/net_plugin.cpp.o
/Users/hehongda/eos/plugins/net_plugin/net_plugin.cpp:758:29: warning: lambda capture
      'this' is not used [-Wunused-lambda-capture]
                           [this, tx](boost::system::error_code ec, std::size_t ) {
                            ^
/Users/hehongda/eos/plugins/net_plugin/net_plugin.cpp:773:26: warning: lambda capture
      'this' is not used [-Wunused-lambda-capture]
                        [this, tx](boost::system::error_code ec, std::size_t ) {
                         ^
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/bootseq_tests.cpp.o
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/delay_tests.cpp.o
2 warnings generated.
[ 97%] Linking CXX static library libnet_plugin.a
[ 97%] Built target net_plugin
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/producer_schedule_tests.cpp.o
Scanning dependencies of target account_history_api_plugin
[ 97%] Building CXX object plugins/account_history_api_plugin/CMakeFiles/account_history_api_plugin.dir/account_history_api_plugin.cpp.o
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:50:7: warning:
      lambda capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_transaction),
      ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
      expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
                                 ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
      expanded from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:51:7: warning:
      lambda capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_transactions),
      ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
      expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
                                 ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
      expanded from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:52:7: warning:
      lambda capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_key_accounts),
      ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
      expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
                                 ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
      expanded from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:53:7: warning:
      lambda capture 'this' is not used [-Wunused-lambda-capture]
      CHAIN_RO_CALL(get_controlled_accounts)
      ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:41:34: note:
      expanded from macro 'CHAIN_RO_CALL'
#define CHAIN_RO_CALL(call_name) CALL(account_history, ro_api, account_history_a...
                                 ^
/Users/hehongda/eos/plugins/account_history_api_plugin/account_history_api_plugin.cpp:25:5: note:
      expanded from macro 'CALL'
   [this, api_handle](string, string body, url_response_callback cb) mutable { \
    ^
[ 97%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/proof_tests.cpp.o
4 warnings generated.
[ 97%] Linking CXX static library libaccount_history_api_plugin.a
[ 97%] Built target account_history_api_plugin
Scanning dependencies of target cleos
[ 97%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/main.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/chain_tests/recovery_tests.cpp.o
[ 98%] Building CXX object tests/CMakeFiles/chain_test.dir/api_tests/api_tests.cpp.o
[ 99%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/httpc.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/abi_tests.cpp.o
[ 99%] Building CXX object programs/cleos/CMakeFiles/cleos.dir/help_text.cpp.o
[ 99%] Linking CXX executable cleos
Undefined symbols for architecture x86_64:
  "_libintl_bindtextdomain", referenced from:
      _main in main.cpp.o
  "_libintl_gettext", referenced from:
      eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in main.cpp.o
      eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in help_text.cpp.o
  "_libintl_setlocale", referenced from:
      _main in main.cpp.o
  "_libintl_textdomain", referenced from:
      _main in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/cleos/cleos] Error 1
make[1]: *** [programs/cleos/CMakeFiles/cleos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/database_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/misc_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/currency_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/dice_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.system_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/eosio.token_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/exchange_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/identity_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multi_index_tests.cpp.o
[ 99%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/multisig_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/payloadless_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/tic_tac_toe_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/wasm_tests/wasm_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/message_buffer_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/special_accounts_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/tests/wallet_tests.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/library_tests/chain/resource_limits_test.cpp.o
[100%] Building CXX object tests/CMakeFiles/chain_test.dir/common/main.cpp.o
[100%] Linking CXX executable chain_test
[100%] Built target chain_test
make: *** [all] Error 2

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

------------------------------------------------------------
~/eos(master) » 
pumatus commented 6 years ago

brew unlink gettext && brew link gettext hehongda@pumatus Unlinking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks removed Warning: gettext is keg-only and must be linked with --force Note that doing so can interfere with building software.

If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc

I'm sorry. I'll ask what the last sentence means. I feel that problem.

pacificcode commented 6 years ago

@pumatus brew unlink gettext && brew link --force gettext

pumatus commented 6 years ago

Last login: Fri May 4 19:50:46 on ttys000 /Users/hehongda/.zshrc:7: command not found: Set [oh-my-zsh] Random theme '/Users/hehongda/.oh-my-zsh/themes/awesomepanda.zsh-theme' loaded... ➜ ~ brew unlink gettext && brew link --force gettext Unlinking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks removed Linking /usr/local/Cellar/gettext/0.19.8.1... 185 symlinks created

If you need to have this software first in your PATH instead consider running: echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.zshrc ➜ ~

pacificcode commented 6 years ago

@pumatus This looks correct but just to verify. find /usr -name libintl* -print 2>/dev/null

Your output should be similar to: $ find /usr -name libintl* -print 2>/dev/null /usr/local/include/musl/upstream/include/libintl.h /usr/local/include/libintl.h /usr/local/lib/libintl.dylib /usr/local/lib/libintl.8.dylib /usr/local/lib/libintl.a /usr/local/Cellar/gettext/0.19.8.1/include/libintl.h /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.dylib /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.8.dylib /usr/local/Cellar/gettext/0.19.8.1/lib/libintl.a /usr/local/Cellar/gettext/0.19.8.1/share/gettext/intl/libintl.rc

Also be aware, EOS.IO is built and tested using BASH as the default shell. It looks as though you may be running ZHS FYI.

pumatus commented 6 years ago

@pacificcode Yea! running ZHS FYI. How should I change to bash. - -