[root@bogon build]# cd .. [root@bogon nebula-graph]# ls build cmake CMakeLists.txt CODE_OF_CONDUCT.md conf CONTRIBUTING.md Dockerfile LICENSE LICENSES modules package README-CN.md README.md resources scripts src tests [root@bogon nebula-graph]# rm -rf build [root@bogon nebula-graph]# rm -rf modules [root@bogon nebula-graph]# ls cmake CMakeLists.txt CODE_OF_CONDUCT.md conf CONTRIBUTING.md Dockerfile LICENSE LICENSES package README-CN.md README.md resources scripts src tests [root@bogon nebula-graph]# mkdir build &&cd build [root@bogon build]# cmake -DENABLE_BUILD_STORAGE=on -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release-DNEBULA_COMMON_REPO_TAG=v2.0.1 -DNEBULA_STORAGE_REPO_TAG=v2.0.1 .. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- 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: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- Check for working CXX compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "1.8.3.1") -- Cloning from https://github.com/vesoft-inc/nebula-common.git:master 正克隆到 '/root/nebula-graph/modules/common'... >>>> Options of Nebula Graph <<<< -- ENABLE_ASAN : OFF (Build with AddressSanitizer) -- ENABLE_BUILD_STORAGE : on (Whether to build storage) -- ENABLE_CCACHE : ON (Use ccache to speed up compiling) -- ENABLE_CLANG_TIDY : OFF (Enable clang-tidy if present) -- ENABLE_COMPRESSED_DEBUG_INFO : ON (Compress debug info to reduce binary size) -- ENABLE_COVERAGE : OFF (Build with coverage report) -- ENABLE_FRAME_POINTER : OFF (Build with frame pointer) -- ENABLE_FUZZY_TESTING : OFF (Enable Fuzzy tests) -- ENABLE_GDB_SCRIPT_SECTION : OFF (Add .debug_gdb_scripts section) -- ENABLE_JEMALLOC : ON (Use jemalloc as memory allocator) -- ENABLE_MODULE_UPDATE : OFF (Automatically update module) -- ENABLE_PACK_ONE : ON (Whether to package into one) -- ENABLE_PIC : OFF (Build with -fPIC) -- ENABLE_STATIC_ASAN : OFF (Statically link against libasan) -- ENABLE_STATIC_UBSAN : OFF (Statically link against libubsan) -- ENABLE_STRICT_ALIASING : OFF (Build with -fstrict-aliasing) -- ENABLE_TESTING : OFF (Build unit tests) -- ENABLE_TSAN : OFF (Build with ThreadSanitizer) -- ENABLE_UBSAN : OFF (Build with UndefinedBehaviourSanitizer) -- ENABLE_VERBOSE_BISON : OFF (Enable Bison to report state) -- ENABLE_WERROR : ON (Regard warnings as errors) -- CMAKE_BUILD_TYPE : Release-DNEBULA_COMMON_REPO_TAG=v2.0.1 (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...) -- CMAKE_INSTALL_PREFIX : /usr/local/nebula (Install path prefix, prepended onto install directories.) -- CMAKE_CXX_STANDARD : 17 -- CMAKE_CXX_COMPILER : /opt/vesoft/toolset/gcc/7.5.0/bin/g++ (CXX compiler) -- CMAKE_CXX_COMPILER_ID : GNU -- NEBULA_USE_LINKER : bfd -- CCACHE : Enabled but not found >>>> Configuring third party for 'Nebula Graph' <<<< -- Downloading prebuilt third party automatically... -- cxx_cmd: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -D_GLIBCXX_USE_CXX11_ABI=1 Downloading vesoft-third-party-2.0-x86_64-libc-2.17-gcc-7.5.0-abi-11.sh... Nebula Third Party has been installed to /root/nebula-graph/build/third-party/install -- NEBULA_THIRDPARTY_ROOT : /root/nebula-graph/build/third-party/install -- Build info of nebula third party: Package : Nebula Third Party Version : 2.0 Date : Mon Jun 28 13:19:14 UTC 2021 glibc : 2.17 Arch : x86_64 Compiler : GCC 7.5.0 C++ ABI : 11 Vendor : VEsoft Inc. -- CMAKE_INCLUDE_PATH : /root/nebula-graph/build/third-party/install/include -- CMAKE_LIBRARY_PATH : /root/nebula-graph/build/third-party/install/lib64;/root/nebula-graph/build/third-party/install/lib -- CMAKE_PROGRAM_PATH : /root/nebula-graph/build/third-party/install/bin -- GLIBC_VERSION : 2.17 -- Found ZLIB: /root/nebula-graph/build/third-party/install/lib/libz.a (found version "1.2.11") -- Found OpenSSL: /root/nebula-graph/build/third-party/install/lib64/libcrypto.a (found version "1.1.1j") -- found krb5-config here /root/nebula-graph/build/third-party/install/bin/krb5-config -- Found kerberos 5 headers: /root/nebula-graph/build/third-party/install/include -- Found kerberos 5 libs: /root/nebula-graph/build/third-party/install/lib/libgssapi_krb5.a;/root/nebula-graph/build/third-party/install/lib/libkrb5.a;/root/nebula-graph/build/third-party/install/lib/libk5crypto.a;/root/nebula-graph/build/third-party/install/lib/libcom_err.a;/root/nebula-graph/build/third-party/install/lib/libkrb5support.a -- Found Boost: /root/nebula-graph/build/third-party/install/include (found version "1.75.0") -- Found Libunwind: /root/nebula-graph/build/third-party/install/lib/libunwind.a -- Found BISON: /root/nebula-graph/build/third-party/install/bin/bison (found suitable version "3.0.5", minimum required is "3.0.5") -- Found FLEX: /root/nebula-graph/build/third-party/install/bin/flex (found version "2.6.4") -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Found LibLZMA: /root/nebula-graph/build/third-party/install/lib/liblzma.a (found version "5.2.4") >>>> Configuring third party for 'Nebula Graph' done <<<< -- Create the pre-commit hook -- Creating pre-commit hook done >>>> Configuring Nebula Common <<<< -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- 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: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- Check for working CXX compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done >>>> Options of Nebula Common <<<< -- ENABLE_ASAN : OFF (Build with AddressSanitizer) -- ENABLE_CCACHE : ON (Use ccache to speed up compiling) -- ENABLE_CLANG_TIDY : OFF (Enable clang-tidy if present) -- ENABLE_COMPRESSED_DEBUG_INFO : ON (Compress debug info to reduce binary size) -- ENABLE_COVERAGE : OFF (Build with coverage report) -- ENABLE_FRAME_POINTER : OFF (Build with frame pointer) -- ENABLE_FUZZY_TESTING : OFF (Enable Fuzzy tests) -- ENABLE_GDB_SCRIPT_SECTION : OFF (Add .debug_gdb_scripts section) -- ENABLE_JEMALLOC : ON (Use jemalloc as memory allocator) -- ENABLE_PIC : OFF (Build with -fPIC) -- ENABLE_STATIC_ASAN : OFF (Statically link against libasan) -- ENABLE_STATIC_UBSAN : OFF (Statically link against libubsan) -- ENABLE_STRICT_ALIASING : OFF (Build with -fstrict-aliasing) -- ENABLE_TESTING : OFF (Build unit tests) -- ENABLE_TSAN : OFF (Build with ThreadSanitizer) -- ENABLE_UBSAN : OFF (Build with UndefinedBehaviourSanitizer) -- ENABLE_WERROR : ON (Regard warnings as errors) -- Set D_GLIBCXX_USE_CXX11_ABI to 1 -- CMAKE_BUILD_TYPE : Release-DNEBULA_COMMON_REPO_TAG=v2.0.1 (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...) -- CMAKE_INSTALL_PREFIX : /usr/local/nebula (Install path prefix, prepended onto install directories.) -- CMAKE_CXX_STANDARD : 17 -- CMAKE_CXX_COMPILER : /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- CMAKE_CXX_COMPILER_ID : GNU -- NEBULA_USE_LINKER : bfd -- CCACHE : Enabled but not found -- NEBULA_THIRDPARTY_ROOT : /root/nebula-graph/build/third-party/install -- Build info of nebula third party: Package : Nebula Third Party Version : 2.0 Date : Mon Jun 28 13:19:14 UTC 2021 glibc : 2.17 Arch : x86_64 Compiler : GCC 7.5.0 C++ ABI : 11 Vendor : VEsoft Inc. -- CMAKE_INCLUDE_PATH : /root/nebula-graph/build/third-party/install/include -- CMAKE_LIBRARY_PATH : /root/nebula-graph/build/third-party/install/lib64;/root/nebula-graph/build/third-party/install/lib -- CMAKE_PROGRAM_PATH : /root/nebula-graph/build/third-party/install/bin >>>> Configuring third party for 'Nebula Common' <<<< -- GLIBC_VERSION : 2.17 -- Found ZLIB: /root/nebula-graph/build/third-party/install/lib/libz.a (found version "1.2.11") -- Found OpenSSL: /root/nebula-graph/build/third-party/install/lib64/libcrypto.a (found version "1.1.1j") -- found krb5-config here /root/nebula-graph/build/third-party/install/bin/krb5-config -- Found kerberos 5 headers: /root/nebula-graph/build/third-party/install/include -- Found kerberos 5 libs: /root/nebula-graph/build/third-party/install/lib/libgssapi_krb5.a;/root/nebula-graph/build/third-party/install/lib/libkrb5.a;/root/nebula-graph/build/third-party/install/lib/libk5crypto.a;/root/nebula-graph/build/third-party/install/lib/libcom_err.a;/root/nebula-graph/build/third-party/install/lib/libkrb5support.a -- Found Boost: /root/nebula-graph/build/third-party/install/include (found version "1.75.0") -- Found Libunwind: /root/nebula-graph/build/third-party/install/lib/libunwind.a -- Found BISON: /root/nebula-graph/build/third-party/install/bin/bison (found suitable version "3.0.5", minimum required is "3.0.5") -- Found FLEX: /root/nebula-graph/build/third-party/install/bin/flex (found version "2.6.4") -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Found LibLZMA: /root/nebula-graph/build/third-party/install/lib/liblzma.a (found version "5.2.4") >>>> Configuring third party for 'Nebula Common' done <<<< -- Create the pre-commit hook -- Creating pre-commit hook done -- Found Git: /usr/bin/git (found version "1.8.3.1") -- Configuring done -- Generating done -- Build files have been written to: /root/nebula-graph/build/modules/common >>>> Configuring Nebula Common done <<<< -- Cloning from https://github.com/vesoft-inc/nebula-storage.git:v2.0.1 正克隆到 '/root/nebula-graph/modules/storage'... >>>> Configuring Nebula Storage <<<< -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- Check for working C compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/gcc -- 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: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- Check for working CXX compiler: /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- ENABLE_PACK_ONE : ON -- ENABLE_MODULE_UPDATE : OFF -- NEBULA_COMMON_SOURCE_DIR: /root/nebula-graph/modules/common >>>> Options of Nebula Storage <<<< -- ENABLE_ASAN : OFF (Build with AddressSanitizer) -- ENABLE_CCACHE : ON (Use ccache to speed up compiling) -- ENABLE_CLANG_TIDY : OFF (Enable clang-tidy if present) -- ENABLE_COMPRESSED_DEBUG_INFO : ON (Compress debug info to reduce binary size) -- ENABLE_COVERAGE : OFF (Build with coverage report) -- ENABLE_FRAME_POINTER : OFF (Build with frame pointer) -- ENABLE_FUZZY_TESTING : OFF (Enable Fuzzy tests) -- ENABLE_GDB_SCRIPT_SECTION : OFF (Add .debug_gdb_scripts section) -- ENABLE_JEMALLOC : ON (Use jemalloc as memory allocator) -- ENABLE_MODULE_UPDATE : OFF (Automatically update module) -- ENABLE_PACK_ONE : ON (Whether to package into one) -- ENABLE_PIC : OFF (Build with -fPIC) -- ENABLE_STATIC_ASAN : OFF (Statically link against libasan) -- ENABLE_STATIC_UBSAN : OFF (Statically link against libubsan) -- ENABLE_STRICT_ALIASING : OFF (Build with -fstrict-aliasing) -- ENABLE_TESTING : OFF (Build unit tests) -- ENABLE_TSAN : OFF (Build with ThreadSanitizer) -- ENABLE_UBSAN : OFF (Build with UndefinedBehaviourSanitizer) -- ENABLE_WERROR : ON (Regard warnings as errors) -- CMAKE_BUILD_TYPE : Release-DNEBULA_COMMON_REPO_TAG=v2.0.1 (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...) -- CMAKE_INSTALL_PREFIX : /usr/local/nebula (Install path prefix, prepended onto install directories.) -- CMAKE_CXX_STANDARD : 17 -- CMAKE_CXX_COMPILER : /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- CMAKE_CXX_COMPILER_ID : GNU -- NEBULA_USE_LINKER : bfd -- CCACHE : Enabled but not found >>>> Configuring third party for 'Nebula Storage' <<<< -- NEBULA_THIRDPARTY_ROOT : /root/nebula-graph/build/third-party/install -- Build info of nebula third party: Package : Nebula Third Party Version : 2.0 Date : Mon Jun 28 13:19:14 UTC 2021 glibc : 2.17 Arch : x86_64 Compiler : GCC 7.5.0 C++ ABI : 11 Vendor : VEsoft Inc. -- CMAKE_INCLUDE_PATH : /root/nebula-graph/build/third-party/install/include -- CMAKE_LIBRARY_PATH : /root/nebula-graph/build/third-party/install/lib64;/root/nebula-graph/build/third-party/install/lib -- CMAKE_PROGRAM_PATH : /root/nebula-graph/build/third-party/install/bin -- GLIBC_VERSION : 2.17 -- Found ZLIB: /root/nebula-graph/build/third-party/install/lib/libz.a (found version "1.2.11") -- Found OpenSSL: /root/nebula-graph/build/third-party/install/lib64/libcrypto.a (found version "1.1.1j") -- found krb5-config here /root/nebula-graph/build/third-party/install/bin/krb5-config -- Found kerberos 5 headers: /root/nebula-graph/build/third-party/install/include -- Found kerberos 5 libs: /root/nebula-graph/build/third-party/install/lib/libgssapi_krb5.a;/root/nebula-graph/build/third-party/install/lib/libkrb5.a;/root/nebula-graph/build/third-party/install/lib/libk5crypto.a;/root/nebula-graph/build/third-party/install/lib/libcom_err.a;/root/nebula-graph/build/third-party/install/lib/libkrb5support.a -- Found Boost: /root/nebula-graph/build/third-party/install/include (found version "1.75.0") -- Found Libunwind: /root/nebula-graph/build/third-party/install/lib/libunwind.a -- Found BISON: /root/nebula-graph/build/third-party/install/bin/bison (found suitable version "3.0.5", minimum required is "3.0.5") -- Found FLEX: /root/nebula-graph/build/third-party/install/bin/flex (found version "2.6.4") -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_auto_decoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_easy_encoder in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a -- Looking for lzma_lzma_preset in /root/nebula-graph/build/third-party/install/lib/liblzma.a - found -- Found LibLZMA: /root/nebula-graph/build/third-party/install/lib/liblzma.a (found version "5.2.4") >>>> Configuring third party for 'Nebula Storage' done <<<< -- Create the pre-commit hook -- Creating pre-commit hook done -- Found Git: /usr/bin/git (found version "1.8.3.1") >>>> Configuring Nebula Common <<<< >>>> Options of Nebula Common <<<< -- ENABLE_ASAN : OFF (Build with AddressSanitizer) -- ENABLE_CCACHE : ON (Use ccache to speed up compiling) -- ENABLE_CLANG_TIDY : OFF (Enable clang-tidy if present) -- ENABLE_COMPRESSED_DEBUG_INFO : ON (Compress debug info to reduce binary size) -- ENABLE_COVERAGE : OFF (Build with coverage report) -- ENABLE_FRAME_POINTER : OFF (Build with frame pointer) -- ENABLE_FUZZY_TESTING : OFF (Enable Fuzzy tests) -- ENABLE_GDB_SCRIPT_SECTION : OFF (Add .debug_gdb_scripts section) -- ENABLE_JEMALLOC : ON (Use jemalloc as memory allocator) -- ENABLE_PIC : OFF (Build with -fPIC) -- ENABLE_STATIC_ASAN : OFF (Statically link against libasan) -- ENABLE_STATIC_UBSAN : OFF (Statically link against libubsan) -- ENABLE_STRICT_ALIASING : OFF (Build with -fstrict-aliasing) -- ENABLE_TESTING : OFF (Build unit tests) -- ENABLE_TSAN : OFF (Build with ThreadSanitizer) -- ENABLE_UBSAN : OFF (Build with UndefinedBehaviourSanitizer) -- ENABLE_WERROR : ON (Regard warnings as errors) -- Set D_GLIBCXX_USE_CXX11_ABI to 1 -- CMAKE_BUILD_TYPE : Release-DNEBULA_COMMON_REPO_TAG=v2.0.1 (Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...) -- CMAKE_INSTALL_PREFIX : /usr/local/nebula (Install path prefix, prepended onto install directories.) -- CMAKE_CXX_STANDARD : 17 -- CMAKE_CXX_COMPILER : /opt/vesoft/toolset/gcc/7.5.0/bin/g++ -- CMAKE_CXX_COMPILER_ID : GNU -- NEBULA_USE_LINKER : bfd -- CCACHE : Enabled but not found -- NEBULA_THIRDPARTY_ROOT : /root/nebula-graph/build/third-party/install -- Build info of nebula third party: Package : Nebula Third Party Version : 2.0 Date : Mon Jun 28 13:19:14 UTC 2021 glibc : 2.17 Arch : x86_64 Compiler : GCC 7.5.0 C++ ABI : 11 Vendor : VEsoft Inc. -- CMAKE_INCLUDE_PATH : /root/nebula-graph/build/third-party/install/include -- CMAKE_LIBRARY_PATH : /root/nebula-graph/build/third-party/install/lib64;/root/nebula-graph/build/third-party/install/lib -- CMAKE_PROGRAM_PATH : /root/nebula-graph/build/third-party/install/bin >>>> Configuring third party for 'Nebula Common' <<<< -- GLIBC_VERSION : 2.17 -- found krb5-config here /root/nebula-graph/build/third-party/install/bin/krb5-config -- Found kerberos 5 headers: /root/nebula-graph/build/third-party/install/include -- Found kerberos 5 libs: /root/nebula-graph/build/third-party/install/lib/libgssapi_krb5.a;/root/nebula-graph/build/third-party/install/lib/libkrb5.a;/root/nebula-graph/build/third-party/install/lib/libk5crypto.a;/root/nebula-graph/build/third-party/install/lib/libcom_err.a;/root/nebula-graph/build/third-party/install/lib/libkrb5support.a -- Create the pre-commit hook >>>> Configuring third party for 'Nebula Common' done <<<< -- Creating pre-commit hook done -- Configuring done -- Generating done -- Build files have been written to: /root/nebula-graph/build/modules/common >>>> Configuring Nebula Common done <<<< -- HOST_SYSTEM_NAME is el -- HOST_SYSTEM_VER is el7 -- CPACK_GENERATOR is RPM -- CMAKE_HOST_SYSTEM_PROCESSOR is x86_64 -- Configuring done -- Generating done -- Build files have been written to: /root/nebula-graph/build/modules/storage >>>> Configuring Nebula Storage done <<<< -- Configuring done -- Generating done -- Build files have been written to: /root/nebula-graph/build [root@bogon build]# make -j2 Scanning dependencies of target common_project Scanning dependencies of target parser_target [ 0%] [FLEX][Scanner] Building scanner with flex 2.6.4 [ 1%] [BISON][Parser] Building parser with bison 3.0.5 Scanning dependencies of target graph_thrift_generator [ 0%] Generating thrift files for graph [ 1%] Built target parser_target Scanning dependencies of target meta_thrift_generator [ 2%] Generating thrift files for meta [ 2%] Built target graph_thrift_generator Scanning dependencies of target storage_thrift_generator [ 4%] Generating thrift files for storage [ 4%] Built target storage_thrift_generator Scanning dependencies of target raftex_thrift_generator [ 4%] Generating thrift files for raftex [ 4%] Built target raftex_thrift_generator Scanning dependencies of target common_thrift_generator [ 4%] Generating thrift files for common [ 4%] Built target common_thrift_generator Scanning dependencies of target graph_thrift_obj [ 6%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_constants.cpp.o [ 6%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_data.cpp.o In file included from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/os_defines.h:39:0, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/c++config.h:533, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/utility:68, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/array:38, from /root/nebula-graph/build/third-party/install/include/thrift/lib/cpp2/gen/module_data_h.h:19, from /root/nebula-graph/build/modules/common/src/common/interface/gen-cpp2/graph_data.h:9, from /root/nebula-graph/build/modules/common/src/common/interface/gen-cpp2/graph_data.cpp:8: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ [ 6%] Built target meta_thrift_generator Scanning dependencies of target common_thrift_obj [ 8%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_constants.cpp.o [ 8%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_data.cpp.o In file included from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/os_defines.h:39:0, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/c++config.h:533, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/utility:68, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/array:38, from /root/nebula-graph/build/third-party/install/include/thrift/lib/cpp2/gen/module_data_h.h:19, from /root/nebula-graph/build/modules/common/src/common/interface/gen-cpp2/common_data.h:9, from /root/nebula-graph/build/modules/common/src/common/interface/gen-cpp2/common_data.cpp:8: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc1plus: all warnings being treated as errors gmake[5]: *** [src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_data.cpp.o] 错误 1 gmake[4]: *** [src/common/interface/CMakeFiles/graph_thrift_obj.dir/all] 错误 2 gmake[4]: *** 正在等待未完成的任务.... [ 8%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_metadata.cpp.o In file included from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/os_defines.h:39:0, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/x86_64-vesoft-linux/bits/c++config.h:533, from /opt/vesoft/toolset/gcc/7.5.0/include/c++/7.5.0/cstdint:38, from /root/nebula-graph/build/third-party/install/include/thrift/lib/cpp2/gen/module_types_h.h:19, from /root/nebula-graph/build/third-party/install/include/thrift/lib/thrift/gen-cpp2/metadata_types.h:9, from /root/nebula-graph/build/third-party/install/include/thrift/lib/cpp2/gen/module_metadata_h.h:19, from /root/nebula-graph/build/third-party/install/include/thrift/lib/cpp2/gen/module_metadata_cpp.h:19, from /root/nebula-graph/build/modules/common/src/common/interface/gen-cpp2/common_metadata.cpp:7: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ cc1plus: all warnings being treated as errors gmake[5]: *** [src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_data.cpp.o] 错误 1 gmake[5]: *** 正在等待未完成的任务.... cc1plus: all warnings being treated as errors gmake[5]: *** [src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_metadata.cpp.o] 错误 1 gmake[4]: *** [src/common/interface/CMakeFiles/common_thrift_obj.dir/all] 错误 2 gmake[3]: *** [all] 错误 2 make[2]: *** [CMakeFiles/common_project] 错误 2 make[1]: *** [CMakeFiles/common_project.dir/all] 错误 2 make: *** [all] 错误 2 [root@bogon build]#