Star

v2.0.0-beta版本安装 编译报错

  • build 报错
Scanning dependencies of target parser_obj
make[2]: *** [src/parser/CMakeFiles/parser_obj.dir/GraphParser.cpp.o] Error 1
make[1]: *** [src/parser/CMakeFiles/parser_obj.dir/all] Error 2

Scanning dependencies of target graph_storage_service_handler
gmake[5]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/query/ScanVertexProcessor.cpp.o] Error 1
gmake[4]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/all] Error 2
  • 问题的具体描述

v2.0.0-beta
在vesoft/nebula-dev 镜像中

  1. 使用的代码是 git clone --branch v2.0.0-beta https://github.com/vesoft-inc/nebula-graph.git
  2. mkdir build && cd build
  3. 生成 MakeFile
cmake -DENABLE_BUILD_STORAGE=on -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release \
--DNEBULA_COMMON_REPO_TAG=v2.0.0-beta -DNEBULA_STORAGE_REPO_TAG=v2.0.0-beta ..
  1. make 出现错误但还在继续往下走
Scanning dependencies of target parser_obj
[ 13%] Building CXX object src/parser/CMakeFiles/parser_obj.dir/GraphScanner.cpp.o
[ 18%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/ListHostsProcessor.cpp.o
[ 13%] Building CXX object src/parser/CMakeFiles/parser_obj.dir/GraphParser.cpp.o
[ 18%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/ListPartsProcessor.cpp.o
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp: In member function 'virtual int nebula::GraphParser::parse()':
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:3113:90: error: no matching function for call to 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::LabelExpression*)'
 3113 |                                           new LabelExpression((yystack_[0].value.strval)));
      |                                                                                          ^
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:20:14: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::ConstantExpression*)'
   20 |     explicit LabelAttributeExpression(LabelExpression *lhs = nullptr,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:21:59: note:   no known conversion for argument 2 from 'nebula::LabelExpression*' to 'nebula::ConstantExpression*'
   21 |                                       ConstantExpression *rhs = nullptr)
      |                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelAttributeExpression&&)'
   18 | class LabelAttributeExpression final : public Expression {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note:   candidate expects 1 argument, 2 provided
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:6104:97: error: no matching function for call to 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::LabelExpression*)'
 6104 |                                                  new LabelExpression((yystack_[2].value.strval)));
      |                                                                                                 ^
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:20:14: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::ConstantExpression*)'
   20 |     explicit LabelAttributeExpression(LabelExpression *lhs = nullptr,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:21:59: note:   no known conversion for argument 2 from 'nebula::LabelExpression*' to 'nebula::ConstantExpression*'
   21 |                                       ConstantExpression *rhs = nullptr)
      |                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelAttributeExpression&&)'
   18 | class LabelAttributeExpression final : public Expression {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note:   candidate expects 1 argument, 2 provided
In file included from /home/nebula/nebula-graph/src/parser/Sentence.h:22,
                 from /home/nebula/nebula-graph/src/parser/ExplainSentence.h:13,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:49,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/TextSearchExpression.h: In member function 'virtual const nebula::Value& nebula::TextSearchExpression::eval(nebula::ExpressionContext&)':
/home/nebula/nebula-graph/modules/common/src/common/expression/TextSearchExpression.h:99:23: error: control reaches end of non-void function [-Werror=return-type]
   99 |         LOG(FATAL) << "TextSearchExpression has to be rewritten";
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h: In member function 'virtual const nebula::Value& nebula::LabelAttributeExpression::eval(nebula::ExpressionContext&)':
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:37:23: error: control reaches end of non-void function [-Werror=return-type]
   37 |         LOG(FATAL) << "LabelAttributeExpression has to be rewritten";
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/parser/CMakeFiles/parser_obj.dir/GraphParser.cpp.o] Error 1
make[1]: *** [src/parser/CMakeFiles/parser_obj.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

完整日志

[root@c8ed33b62bb7 _build]# make -j2
Scanning dependencies of target common_project
Scanning dependencies of target parser_target
[  1%] [FLEX][Scanner] Building scanner with flex 2.6.4
Scanning dependencies of target graph_thrift_headers
[  1%] Generating thrift files for graph
[  1%] [BISON][Parser] Building parser with bison 3.0.5
[  1%] Built target parser_target
Scanning dependencies of target meta_thrift_headers
[  1%] Generating thrift files for meta
[  1%] Built target graph_thrift_headers
Scanning dependencies of target storage_thrift_headers
[  1%] Generating thrift files for storage
[  1%] Built target storage_thrift_headers
Scanning dependencies of target raftex_thrift_headers
[  1%] Generating thrift files for raftex
[  1%] Built target raftex_thrift_headers
Scanning dependencies of target common_thrift_headers
[  1%] Generating thrift files for common
[  1%] Built target common_thrift_headers
Scanning dependencies of target common_thrift_obj
[  3%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_constants.cpp.o
[  3%] Built target meta_thrift_headers
[  3%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_data.cpp.o
[  3%] Building CXX object src/common/interface/CMakeFiles/common_thrift_obj.dir/gen-cpp2/common_types.cpp.o
Scanning dependencies of target base_obj
[  3%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/Base.cpp.o
[  3%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/Cord.cpp.o
[  5%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/Status.cpp.o
[  5%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/SanitizerOptions.cpp.o
[  5%] Built target common_thrift_obj
[  7%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/SignalHandler.cpp.o
[  7%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/SlowOpTracker.cpp.o
[  7%] Building CXX object src/common/base/CMakeFiles/base_obj.dir/StringValue.cpp.o
Scanning dependencies of target time_obj
[  7%] Building CXX object src/common/time/CMakeFiles/time_obj.dir/detail/TscHelper.cpp.o
[  7%] Built target base_obj
[  7%] Building CXX object src/common/time/CMakeFiles/time_obj.dir/Duration.cpp.o
[  9%] Building CXX object src/common/time/CMakeFiles/time_obj.dir/WallClock.cpp.o
Scanning dependencies of target time_utils_obj
[  9%] Building CXX object src/common/time/CMakeFiles/time_utils_obj.dir/TimeUtils.cpp.o
[  9%] Built target time_obj
Scanning dependencies of target network_obj
[ 11%] Building CXX object src/common/network/CMakeFiles/network_obj.dir/NetworkUtils.cpp.o
[ 12%] Building CXX object src/common/time/CMakeFiles/time_utils_obj.dir/TimezoneInfo.cpp.o
[ 12%] Built target network_obj
Scanning dependencies of target thrift_obj
[ 12%] Building CXX object src/common/thrift/CMakeFiles/thrift_obj.dir/ReconnectingRequestChannel.cpp.o
[ 12%] Building CXX object src/common/thrift/CMakeFiles/thrift_obj.dir/ThriftClientManager.cpp.o
[ 12%] Built target time_utils_obj
Scanning dependencies of target fs_obj
[ 12%] Building CXX object src/common/fs/CMakeFiles/fs_obj.dir/FileUtils.cpp.o
[ 12%] Built target thrift_obj
Scanning dependencies of target concurrent_obj
[ 14%] Building CXX object src/common/concurrent/CMakeFiles/concurrent_obj.dir/Barrier.cpp.o
[ 14%] Building CXX object src/common/fs/CMakeFiles/fs_obj.dir/TempDir.cpp.o
[ 14%] Building CXX object src/common/concurrent/CMakeFiles/concurrent_obj.dir/Latch.cpp.o
[ 16%] Building CXX object src/common/fs/CMakeFiles/fs_obj.dir/TempFile.cpp.o
[ 16%] Built target concurrent_obj
Scanning dependencies of target thread_obj
[ 16%] Building CXX object src/common/thread/CMakeFiles/thread_obj.dir/NamedThread.cpp.o
[ 16%] Built target fs_obj
Scanning dependencies of target process_obj
[ 16%] Building CXX object src/common/process/CMakeFiles/process_obj.dir/ProcessUtils.cpp.o
[ 18%] Building CXX object src/common/thread/CMakeFiles/thread_obj.dir/GenericWorker.cpp.o
[ 18%] Building CXX object src/common/thread/CMakeFiles/thread_obj.dir/GenericThreadPool.cpp.o
[ 18%] Built target process_obj
Scanning dependencies of target hdfs_helper_obj
[ 18%] Building CXX object src/common/hdfs/CMakeFiles/hdfs_helper_obj.dir/HdfsCommandHelper.cpp.o
[ 18%] Built target thread_obj
Scanning dependencies of target http_client_obj
[ 20%] Building CXX object src/common/http/CMakeFiles/http_client_obj.dir/HttpClient.cpp.o
[ 20%] Built target hdfs_helper_obj
Scanning dependencies of target stats_obj
[ 22%] Building CXX object src/common/stats/CMakeFiles/stats_obj.dir/StatsManager.cpp.o
[ 22%] Built target http_client_obj
Scanning dependencies of target charset_obj
[ 24%] Building CXX object src/common/charset/CMakeFiles/charset_obj.dir/Charset.cpp.o
[ 24%] Building CXX object src/common/stats/CMakeFiles/stats_obj.dir/Stats.cpp.o
[ 24%] Built target charset_obj
Scanning dependencies of target nebula_algo_obj
[ 24%] Building CXX object src/common/algorithm/CMakeFiles/nebula_algo_obj.dir/ReservoirSampling.cpp.o
[ 24%] Built target stats_obj
Scanning dependencies of target encryption_obj
[ 24%] Building CXX object src/common/encryption/CMakeFiles/encryption_obj.dir/MD5Utils.cpp.o
[ 24%] Building CXX object src/common/encryption/CMakeFiles/encryption_obj.dir/Base64.cpp.o
[ 24%] Built target encryption_obj
Scanning dependencies of target meta_thrift_obj
[ 25%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/meta_constants.cpp.o
[ 25%] Built target nebula_algo_obj
[ 25%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/meta_data.cpp.o
[ 27%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/meta_types.cpp.o
[ 27%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/MetaService.cpp.o
[ 27%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/MetaServiceAsyncClient.cpp.o
Scanning dependencies of target storage_thrift_obj
[ 29%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/storage_constants.cpp.o
[ 29%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/storage_data.cpp.o
[ 31%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/storage_types.cpp.o
[ 31%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GraphStorageService.cpp.o
[ 33%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/MetaService_processmap_binary.cpp.o
[ 33%] Building CXX object src/common/interface/CMakeFiles/meta_thrift_obj.dir/gen-cpp2/MetaService_processmap_compact.cpp.o
[ 33%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GraphStorageServiceAsyncClient.cpp.o
[ 33%] Built target meta_thrift_obj
Scanning dependencies of target graph_thrift_obj
[ 33%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_constants.cpp.o
[ 35%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_data.cpp.o
[ 35%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/graph_types.cpp.o
[ 37%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/GraphService.cpp.o
[ 38%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GraphStorageService_processmap_binary.cpp.o
[ 38%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GraphStorageService_processmap_compact.cpp.o
[ 38%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/GraphServiceAsyncClient.cpp.o
[ 40%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/StorageAdminService.cpp.o
[ 40%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/GraphService_processmap_binary.cpp.o
[ 40%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/StorageAdminServiceAsyncClient.cpp.o
[ 42%] Building CXX object src/common/interface/CMakeFiles/graph_thrift_obj.dir/gen-cpp2/GraphService_processmap_compact.cpp.o
[ 42%] Built target graph_thrift_obj
Scanning dependencies of target raftex_thrift_obj
[ 42%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/raftex_constants.cpp.o
[ 42%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/raftex_data.cpp.o
[ 44%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/raftex_types.cpp.o
[ 44%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/RaftexService.cpp.o
[ 44%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/StorageAdminService_processmap_binary.cpp.o
[ 46%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/RaftexServiceAsyncClient.cpp.o
[ 48%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/StorageAdminService_processmap_compact.cpp.o
[ 48%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GeneralStorageService.cpp.o
[ 48%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/RaftexService_processmap_binary.cpp.o
[ 48%] Building CXX object src/common/interface/CMakeFiles/raftex_thrift_obj.dir/gen-cpp2/RaftexService_processmap_compact.cpp.o
[ 48%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GeneralStorageServiceAsyncClient.cpp.o
[ 50%] Built target raftex_thrift_obj
Scanning dependencies of target datatypes_obj
[ 51%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Date.cpp.o
[ 51%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Path.cpp.o
[ 51%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Value.cpp.o
[ 53%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/HostAddr.cpp.o
[ 53%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Edge.cpp.o
[ 53%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Vertex.cpp.o
[ 55%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GeneralStorageService_processmap_binary.cpp.o
[ 57%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Map.cpp.o
[ 57%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/List.cpp.o
[ 59%] Building CXX object src/common/datatypes/CMakeFiles/datatypes_obj.dir/Set.cpp.o
[ 59%] Built target datatypes_obj
Scanning dependencies of target ws_obj
[ 59%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/WebService.cpp.o
[ 59%] Building CXX object src/common/interface/CMakeFiles/storage_thrift_obj.dir/gen-cpp2/GeneralStorageService_processmap_compact.cpp.o
[ 61%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/NotFoundHandler.cpp.o
[ 61%] Built target storage_thrift_obj
Scanning dependencies of target ws_common_obj
[ 62%] Building CXX object src/common/webservice/CMakeFiles/ws_common_obj.dir/Common.cpp.o
[ 62%] Built target ws_common_obj
Scanning dependencies of target conf_obj
[ 64%] Building CXX object src/common/conf/CMakeFiles/conf_obj.dir/Configuration.cpp.o
[ 64%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/GetFlagsHandler.cpp.o
[ 64%] Built target conf_obj
Scanning dependencies of target meta_obj
[ 64%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/SetFlagsHandler.cpp.o
[ 64%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/GflagsManager.cpp.o
[ 66%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/GetStatsHandler.cpp.o
[ 68%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/SchemaProviderIf.cpp.o
[ 68%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/NebulaSchemaProvider.cpp.o
[ 68%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/Router.cpp.o
[ 68%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/SchemaManager.cpp.o
[ 70%] Building CXX object src/common/webservice/CMakeFiles/ws_obj.dir/StatusHandler.cpp.o
[ 72%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/ServerBasedSchemaManager.cpp.o
[ 72%] Built target ws_obj
Scanning dependencies of target expression_obj
[ 74%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/Expression.cpp.o
[ 74%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/IndexManager.cpp.o
[ 74%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/BinaryExpression.cpp.o
[ 74%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ConstantExpression.cpp.o
[ 75%] Building CXX object src/common/meta/CMakeFiles/meta_obj.dir/ServerBasedIndexManager.cpp.o
[ 77%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ArithmeticExpression.cpp.o
[ 77%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/UnaryExpression.cpp.o
[ 77%] Built target meta_obj
Scanning dependencies of target graph_client_obj
[ 77%] Building CXX object src/common/clients/graph/CMakeFiles/graph_client_obj.dir/GraphClient.cpp.o
[ 79%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/RelationalExpression.cpp.o
[ 79%] Built target graph_client_obj
Scanning dependencies of target meta_client_obj
[ 79%] Building CXX object src/common/clients/meta/CMakeFiles/meta_client_obj.dir/MetaClient.cpp.o
[ 79%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/LogicalExpression.cpp.o
[ 79%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/TypeCastingExpression.cpp.o
[ 81%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/FunctionCallExpression.cpp.o
[ 81%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/PropertyExpression.cpp.o
[ 81%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/UUIDExpression.cpp.o
[ 83%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/VariableExpression.cpp.o
[ 83%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ContainerExpression.cpp.o
[ 85%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/SubscriptExpression.cpp.o
[ 85%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/AttributeExpression.cpp.o
[ 85%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/LabelAttributeExpression.cpp.o
[ 87%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/LabelExpression.cpp.o
[ 87%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/VertexExpression.cpp.o
[ 87%] Built target meta_client_obj
[ 88%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/EdgeExpression.cpp.o
Scanning dependencies of target file_based_cluster_id_man_obj
[ 88%] Building CXX object src/common/clients/meta/CMakeFiles/file_based_cluster_id_man_obj.dir/FileBasedClusterIdMan.cpp.o
[ 88%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/CaseExpression.cpp.o
[ 88%] Built target file_based_cluster_id_man_obj
Scanning dependencies of target storage_client_base_obj
[ 90%] Building CXX object src/common/clients/storage/CMakeFiles/storage_client_base_obj.dir/StorageClientBase.cpp.o
[ 90%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/PathBuildExpression.cpp.o
[ 90%] Built target storage_client_base_obj
[ 92%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/TextSearchExpression.cpp.o
[ 92%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ColumnExpression.cpp.o
Scanning dependencies of target graph_storage_client_obj
[ 92%] Building CXX object src/common/clients/storage/CMakeFiles/graph_storage_client_obj.dir/GraphStorageClient.cpp.o
[ 92%] Built target expression_obj
Scanning dependencies of target general_storage_client_obj
[ 92%] Building CXX object src/common/clients/storage/CMakeFiles/general_storage_client_obj.dir/GeneralStorageClient.cpp.o
[ 92%] Built target general_storage_client_obj
Scanning dependencies of target time_function_obj
[ 94%] Building CXX object src/common/function/CMakeFiles/time_function_obj.dir/TimeFunction.cpp.o
[ 94%] Built target time_function_obj
Scanning dependencies of target function_manager_obj
[ 94%] Building CXX object src/common/function/CMakeFiles/function_manager_obj.dir/FunctionManager.cpp.o
[ 94%] Built target graph_storage_client_obj
Scanning dependencies of target agg_function_obj
[ 96%] Building CXX object src/common/function/CMakeFiles/agg_function_obj.dir/AggregateFunction.cpp.o
[ 96%] Built target agg_function_obj
Scanning dependencies of target graph_obj
[ 98%] Building CXX object src/common/graph/CMakeFiles/graph_obj.dir/Response.cpp.o
[ 98%] Built target graph_obj
Scanning dependencies of target ft_es_graph_adapter_obj
[ 98%] Building CXX object src/common/plugin/fulltext/CMakeFiles/ft_es_graph_adapter_obj.dir/elasticsearch/ESGraphAdapter.cpp.o
[ 98%] Built target function_manager_obj
Scanning dependencies of target ft_es_storage_adapter_obj
[100%] Building CXX object src/common/plugin/fulltext/CMakeFiles/ft_es_storage_adapter_obj.dir/elasticsearch/ESStorageAdapter.cpp.o
[100%] Built target ft_es_graph_adapter_obj
[100%] Built target ft_es_storage_adapter_obj
[  1%] Built target common_project
Scanning dependencies of target storage_project
Scanning dependencies of target optimizer_obj
Scanning dependencies of target common_project
[  1%] Built target graph_thrift_headers
[  1%] Built target meta_thrift_headers
[  1%] Built target storage_thrift_headers
[  1%] Built target raftex_thrift_headers
[  1%] Built target common_thrift_headers
[  3%] Built target common_thrift_obj
[ 11%] Built target datatypes_obj
[  2%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/OptimizerUtils.cpp.o
[ 16%] Built target ws_obj
[ 18%] Built target ws_common_obj
[ 20%] Built target conf_obj
[ 25%] Built target meta_obj
[ 42%] Built target expression_obj
[ 42%] Built target graph_client_obj
[ 42%] Built target meta_client_obj
[ 42%] Built target file_based_cluster_id_man_obj
[ 44%] Built target storage_client_base_obj
[ 44%] Built target graph_storage_client_obj
[ 44%] Built target general_storage_client_obj
[ 46%] Built target time_function_obj
[ 46%] Built target function_manager_obj
[ 48%] Built target agg_function_obj
[ 50%] Built target graph_obj
[ 50%] Built target ft_es_graph_adapter_obj
[ 51%] Built target ft_es_storage_adapter_obj
[ 55%] Built target base_obj
[ 57%] Built target time_obj
[ 59%] Built target time_utils_obj
[ 61%] Built target network_obj
[ 61%] Built target thrift_obj
[ 62%] Built target fs_obj
[ 64%] Built target concurrent_obj
[ 66%] Built target thread_obj
[ 66%] Built target process_obj
[ 66%] Built target hdfs_helper_obj
[ 68%] Built target http_client_obj
[ 70%] Built target stats_obj
[ 72%] Built target charset_obj
[ 72%] Built target nebula_algo_obj
[ 72%] Built target encryption_obj
[ 77%] Built target meta_thrift_obj
[ 88%] Built target storage_thrift_obj
[ 94%] Built target graph_thrift_obj
[100%] Built target raftex_thrift_obj
[  0%] Built target common_project
Scanning dependencies of target keyutils_obj
[  0%] Building CXX object src/utils/CMakeFiles/keyutils_obj.dir/NebulaKeyUtils.cpp.o
[  2%] Building CXX object src/utils/CMakeFiles/keyutils_obj.dir/IndexKeyUtils.cpp.o
[  2%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/Optimizer.cpp.o
[  2%] Building CXX object src/utils/CMakeFiles/keyutils_obj.dir/OperationKeyUtils.cpp.o
[  2%] Built target keyutils_obj
Scanning dependencies of target codec_obj
[  2%] Building CXX object src/codec/CMakeFiles/codec_obj.dir/RowReader.cpp.o
[  4%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/OptGroup.cpp.o
[  2%] Building CXX object src/codec/CMakeFiles/codec_obj.dir/RowReaderV1.cpp.o
[  4%] Building CXX object src/codec/CMakeFiles/codec_obj.dir/RowReaderV2.cpp.o
[  4%] Building CXX object src/codec/CMakeFiles/codec_obj.dir/RowWriterV2.cpp.o
[  4%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/OptRule.cpp.o
[  4%] Building CXX object src/codec/CMakeFiles/codec_obj.dir/RowReaderWrapper.cpp.o
[  4%] Built target codec_obj
Scanning dependencies of target kvstore_obj
[  6%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/Part.cpp.o
[  4%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/rule/PushFilterDownGetNbrsRule.cpp.o
[  6%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/Listener.cpp.o
[  5%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/rule/IndexScanRule.cpp.o
[  6%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/RocksEngine.cpp.o
[  6%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/PartManager.cpp.o
[  5%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/rule/LimitPushDownRule.cpp.o
[  8%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/NebulaStore.cpp.o
[  6%] Building CXX object src/optimizer/CMakeFiles/optimizer_obj.dir/rule/TopNRule.cpp.o
[  8%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/RocksEngineConfig.cpp.o
[  6%] Built target optimizer_obj
Scanning dependencies of target raftex_obj
[  8%] Building CXX object src/kvstore/raftex/CMakeFiles/raftex_obj.dir/LogStrListIterator.cpp.o
[  8%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/LogEncoder.cpp.o
[  8%] Building CXX object src/kvstore/raftex/CMakeFiles/raftex_obj.dir/RaftPart.cpp.o
[ 10%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/SnapshotManagerImpl.cpp.o
[ 10%] Building CXX object src/kvstore/CMakeFiles/kvstore_obj.dir/plugins/elasticsearch/ESListener.cpp.o
[ 12%] Building CXX object src/kvstore/raftex/CMakeFiles/raftex_obj.dir/RaftexService.cpp.o
[ 12%] Built target kvstore_obj
[ 12%] Building CXX object src/kvstore/raftex/CMakeFiles/raftex_obj.dir/Host.cpp.o
[ 12%] Building CXX object src/kvstore/raftex/CMakeFiles/raftex_obj.dir/SnapshotManager.cpp.o
Scanning dependencies of target service_obj
[  6%] Building CXX object src/service/CMakeFiles/service_obj.dir/GraphService.cpp.o
[ 12%] Built target raftex_obj
Scanning dependencies of target wal_obj
[ 12%] Building CXX object src/kvstore/wal/CMakeFiles/wal_obj.dir/InMemoryLogBuffer.cpp.o
[ 12%] Building CXX object src/kvstore/wal/CMakeFiles/wal_obj.dir/FileBasedWal.cpp.o
[ 14%] Building CXX object src/kvstore/wal/CMakeFiles/wal_obj.dir/WalFileIterator.cpp.o
[  6%] Built target service_obj
Scanning dependencies of target graph_flags_obj
[  8%] Building CXX object src/service/CMakeFiles/graph_flags_obj.dir/GraphFlags.cpp.o
[ 14%] Built target wal_obj
Scanning dependencies of target meta_http_handler
[ 14%] Building CXX object src/meta/CMakeFiles/meta_http_handler.dir/MetaHttpIngestHandler.cpp.o
[  8%] Built target graph_flags_obj
Scanning dependencies of target query_engine_obj
[  8%] Building CXX object src/service/CMakeFiles/query_engine_obj.dir/QueryEngine.cpp.o
[ 14%] Building CXX object src/meta/CMakeFiles/meta_http_handler.dir/MetaHttpDownloadHandler.cpp.o
[  9%] Building CXX object src/service/CMakeFiles/query_engine_obj.dir/QueryInstance.cpp.o
[ 14%] Building CXX object src/meta/CMakeFiles/meta_http_handler.dir/MetaHttpReplaceHostHandler.cpp.o
[  9%] Built target query_engine_obj
Scanning dependencies of target graph_auth_obj
[  9%] Building CXX object src/service/CMakeFiles/graph_auth_obj.dir/PermissionManager.cpp.o
[ 11%] Building CXX object src/service/CMakeFiles/graph_auth_obj.dir/PermissionCheck.cpp.o
[ 14%] Built target meta_http_handler
Scanning dependencies of target meta_service_handler
[ 16%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/MetaServiceHandler.cpp.o
[ 11%] Building CXX object src/service/CMakeFiles/graph_auth_obj.dir/PasswordAuthenticator.cpp.o
[ 11%] Building CXX object src/service/CMakeFiles/graph_auth_obj.dir/CloudAuthenticator.cpp.o
[ 16%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/MetaServiceUtils.cpp.o
[ 11%] Built target graph_auth_obj
Scanning dependencies of target session_obj
[ 12%] Building CXX object src/service/CMakeFiles/session_obj.dir/SessionManager.cpp.o
[ 12%] Building CXX object src/service/CMakeFiles/session_obj.dir/Session.cpp.o
[ 16%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/ActiveHostsMan.cpp.o
[ 12%] Built target session_obj
Scanning dependencies of target parser_obj
[ 13%] Building CXX object src/parser/CMakeFiles/parser_obj.dir/GraphScanner.cpp.o
[ 18%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/ListHostsProcessor.cpp.o
[ 13%] Building CXX object src/parser/CMakeFiles/parser_obj.dir/GraphParser.cpp.o
[ 18%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/ListPartsProcessor.cpp.o
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp: In member function 'virtual int nebula::GraphParser::parse()':
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:3113:90: error: no matching function for call to 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::LabelExpression*)'
 3113 |                                           new LabelExpression((yystack_[0].value.strval)));
      |                                                                                          ^
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:20:14: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::ConstantExpression*)'
   20 |     explicit LabelAttributeExpression(LabelExpression *lhs = nullptr,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:21:59: note:   no known conversion for argument 2 from 'nebula::LabelExpression*' to 'nebula::ConstantExpression*'
   21 |                                       ConstantExpression *rhs = nullptr)
      |                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelAttributeExpression&&)'
   18 | class LabelAttributeExpression final : public Expression {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note:   candidate expects 1 argument, 2 provided
/home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:6104:97: error: no matching function for call to 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::LabelExpression*)'
 6104 |                                                  new LabelExpression((yystack_[2].value.strval)));
      |                                                                                                 ^
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:20:14: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelExpression*, nebula::ConstantExpression*)'
   20 |     explicit LabelAttributeExpression(LabelExpression *lhs = nullptr,
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:21:59: note:   no known conversion for argument 2 from 'nebula::LabelExpression*' to 'nebula::ConstantExpression*'
   21 |                                       ConstantExpression *rhs = nullptr)
      |                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note: candidate: 'nebula::LabelAttributeExpression::LabelAttributeExpression(nebula::LabelAttributeExpression&&)'
   18 | class LabelAttributeExpression final : public Expression {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:18:7: note:   candidate expects 1 argument, 2 provided
In file included from /home/nebula/nebula-graph/src/parser/Sentence.h:22,
                 from /home/nebula/nebula-graph/src/parser/ExplainSentence.h:13,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:49,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/TextSearchExpression.h: In member function 'virtual const nebula::Value& nebula::TextSearchExpression::eval(nebula::ExpressionContext&)':
/home/nebula/nebula-graph/modules/common/src/common/expression/TextSearchExpression.h:99:23: error: control reaches end of non-void function [-Werror=return-type]
   99 |         LOG(FATAL) << "TextSearchExpression has to be rewritten";
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/nebula/nebula-graph/_build/src/parser/GraphParser.hpp:53,
                 from /home/nebula/nebula-graph/_build/src/parser/GraphParser.cpp:46:
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h: In member function 'virtual const nebula::Value& nebula::LabelAttributeExpression::eval(nebula::ExpressionContext&)':
/home/nebula/nebula-graph/modules/common/src/common/expression/LabelAttributeExpression.h:37:23: error: control reaches end of non-void function [-Werror=return-type]
   37 |         LOG(FATAL) << "LabelAttributeExpression has to be rewritten";
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/parser/CMakeFiles/parser_obj.dir/GraphParser.cpp.o] Error 1
make[1]: *** [src/parser/CMakeFiles/parser_obj.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target storage_common_obj
[ 18%] Building CXX object src/storage/CMakeFiles/storage_common_obj.dir/StorageFlags.cpp.o
[ 20%] Building CXX object src/storage/CMakeFiles/storage_common_obj.dir/CommonUtils.cpp.o
[ 20%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/CreateSpaceProcessor.cpp.o
[ 20%] Built target storage_common_obj
Scanning dependencies of target storage_http_handler
[ 20%] Building CXX object src/storage/CMakeFiles/storage_http_handler.dir/http/StorageHttpIngestHandler.cpp.o
[ 20%] Building CXX object src/storage/CMakeFiles/storage_http_handler.dir/http/StorageHttpDownloadHandler.cpp.o
[ 22%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/GetSpaceProcessor.cpp.o
[ 24%] Building CXX object src/storage/CMakeFiles/storage_http_handler.dir/http/StorageHttpAdminHandler.cpp.o
[ 24%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/ListSpacesProcessor.cpp.o
[ 24%] Building CXX object src/storage/CMakeFiles/storage_http_handler.dir/http/StorageHttpStatsHandler.cpp.o
[ 24%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/DropSpaceProcessor.cpp.o
[ 24%] Built target storage_http_handler
Scanning dependencies of target graph_storage_service_handler
[ 24%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/GraphStorageServiceHandler.cpp.o
[ 24%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/partsMan/GetPartsAllocProcessor.cpp.o
[ 24%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/context/StorageExpressionContext.cpp.o
[ 24%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/AddVerticesProcessor.cpp.o
[ 26%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/CreateTagProcessor.cpp.o
[ 28%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/DeleteVerticesProcessor.cpp.o
[ 28%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/AlterTagProcessor.cpp.o
[ 28%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/AddEdgesProcessor.cpp.o
[ 28%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/GetTagProcessor.cpp.o
[ 28%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/DeleteEdgesProcessor.cpp.o
[ 30%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/ListTagsProcessor.cpp.o
[ 32%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/UpdateVertexProcessor.cpp.o
[ 32%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/DropTagProcessor.cpp.o
[ 32%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/mutate/UpdateEdgeProcessor.cpp.o
[ 32%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/CreateEdgeProcessor.cpp.o
[ 32%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/query/GetNeighborsProcessor.cpp.o
[ 34%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/AlterEdgeProcessor.cpp.o
[ 34%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/GetEdgeProcessor.cpp.o
[ 36%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/query/GetPropProcessor.cpp.o
[ 36%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/ListEdgesProcessor.cpp.o
[ 36%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/query/ScanVertexProcessor.cpp.o
/home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp: In member function 'virtual nebula::storage::cpp2::ErrorCode nebula::storage::ScanVertexProcessor::checkAndBuildContexts(const nebula::storage::cpp2::ScanVertexRequest&)':
/home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp:121:30: error: cannot convert 'nebula::storage::cpp2::VertexProp' to 'std::vector<nebula::storage::cpp2::VertexProp>&'
  121 |     return handleVertexProps(returnProps, returnNoProps_);
      |                              ^~~~~~~~~~~
      |                              |
      |                              nebula::storage::cpp2::VertexProp
In file included from /home/nebula/nebula-graph/modules/storage/src/storage/query/QueryBaseProcessor.h:200,
                 from /home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.h:11,
                 from /home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp:7:
/home/nebula/nebula-graph/modules/storage/src/storage/query/QueryBaseProcessor.inl:16:40: note:   initializing argument 1 of 'nebula::storage::cpp2::ErrorCode nebula::storage::QueryBaseProcessor<REQ, RESP>::handleVertexProps(std::vector<nebula::storage::cpp2::VertexProp>&, bool) [with REQ = nebula::storage::cpp2::ScanVertexRequest; RESP = nebula::storage::cpp2::ScanVertexResponse]'
   16 |         std::vector<cpp2::VertexProp>& vertexProps,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
gmake[5]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/query/ScanVertexProcessor.cpp.o] Error 1
gmake[4]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/all] Error 2
gmake[4]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/DropEdgeProcessor.cpp.o
[ 38%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/schemaMan/SchemaUtil.cpp.o
[ 38%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/CreateTagIndexProcessor.cpp.o
[ 38%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/DropTagIndexProcessor.cpp.o
[ 40%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/GetTagIndexProcessor.cpp.o
[ 40%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/ListTagIndexesProcessor.cpp.o
[ 40%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/CreateEdgeIndexProcessor.cpp.o
[ 42%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/DropEdgeIndexProcessor.cpp.o
[ 42%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/GetEdgeIndexProcessor.cpp.o
[ 42%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/ListEdgeIndexesProcessor.cpp.o
[ 44%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/indexMan/FTServiceProcessor.cpp.o
[ 44%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/GetProcessor.cpp.o
[ 44%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/MultiGetProcessor.cpp.o
[ 44%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/MultiPutProcessor.cpp.o
[ 46%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/RemoveProcessor.cpp.o
[ 46%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/RemoveRangeProcessor.cpp.o
[ 46%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/customKV/ScanProcessor.cpp.o
[ 48%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/HBProcessor.cpp.o
[ 48%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/usersMan/AuthenticationProcessor.cpp.o
[ 48%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/BalanceProcessor.cpp.o
[ 50%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/CreateSnapshotProcessor.cpp.o
[ 50%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/DropSnapshotProcessor.cpp.o
[ 50%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/ListSnapshotsProcessor.cpp.o
[ 50%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/Balancer.cpp.o
[ 52%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/BalancePlan.cpp.o
[ 52%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/BalanceTask.cpp.o
[ 52%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/AdminClient.cpp.o
[ 54%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/LeaderBalanceProcessor.cpp.o
[ 54%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/admin/SnapShot.cpp.o
[ 54%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/configMan/RegConfigProcessor.cpp.o
[ 56%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/configMan/GetConfigProcessor.cpp.o
[ 56%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/configMan/ListConfigsProcessor.cpp.o
[ 56%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/configMan/SetConfigProcessor.cpp.o
[ 56%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/JobManager.cpp.o
[ 58%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/JobDescription.cpp.o
[ 58%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/TaskDescription.cpp.o
[ 58%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/JobStatus.cpp.o
[ 60%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/AdminJobProcessor.cpp.o
[ 60%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/JobUtils.cpp.o
[ 60%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/MetaJobExecutor.cpp.o
[ 62%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/SimpleConcurrentJobExecutor.cpp.o
[ 62%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/CompactJobExecutor.cpp.o
[ 62%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/FlushJobExecutor.cpp.o
[ 64%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/RebuildJobExecutor.cpp.o
[ 64%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/RebuildTagJobExecutor.cpp.o
[ 64%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/RebuildEdgeJobExecutor.cpp.o
[ 64%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/StatisJobExecutor.cpp.o
[ 66%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/GetStatisProcessor.cpp.o
[ 66%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/ListTagIndexStatusProcessor.cpp.o
[ 66%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/jobMan/ListEdgeIndexStatusProcessor.cpp.o
[ 68%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/AddZoneProcessor.cpp.o
[ 68%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/DropZoneProcessor.cpp.o
[ 68%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/GetZoneProcessor.cpp.o
[ 70%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/ListZonesProcessor.cpp.o
[ 70%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/UpdateZoneProcessor.cpp.o
[ 70%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/AddGroupProcessor.cpp.o
[ 70%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/DropGroupProcessor.cpp.o
[ 72%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/GetGroupProcessor.cpp.o
[ 72%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/ListGroupsProcessor.cpp.o
[ 72%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/zoneMan/UpdateGroupProcessor.cpp.o
[ 74%] Building CXX object src/meta/CMakeFiles/meta_service_handler.dir/processors/listenerMan/ListenerProcessor.cpp.o
[ 74%] Built target meta_service_handler
gmake[3]: *** [all] Error 2
make[2]: *** [CMakeFiles/storage_project] Error 2
make[1]: *** [CMakeFiles/storage_project.dir/all] Error 2
make: *** [all] Error 2
  1. make install -all
[root@c8ed33b62bb7 _build]# make install-all
Scanning dependencies of target install-storage
[  1%] Built target graph_thrift_headers
[  1%] Built target meta_thrift_headers
[  1%] Built target storage_thrift_headers
[  1%] Built target raftex_thrift_headers
[  1%] Built target common_thrift_headers
[  5%] Built target base_obj
[  7%] Built target time_obj
[  9%] Built target time_utils_obj
[ 11%] Built target network_obj
[ 11%] Built target thrift_obj
[ 12%] Built target fs_obj
[ 14%] Built target concurrent_obj
[ 16%] Built target thread_obj
[ 16%] Built target process_obj
[ 16%] Built target hdfs_helper_obj
[ 18%] Built target http_client_obj
[ 20%] Built target stats_obj
[ 22%] Built target charset_obj
[ 22%] Built target nebula_algo_obj
[ 22%] Built target encryption_obj
[ 24%] Built target common_thrift_obj
[ 29%] Built target meta_thrift_obj
[ 40%] Built target storage_thrift_obj
[ 46%] Built target graph_thrift_obj
[ 51%] Built target raftex_thrift_obj
[ 59%] Built target datatypes_obj
[ 64%] Built target ws_obj
[ 66%] Built target ws_common_obj
[ 68%] Built target conf_obj
[ 74%] Built target meta_obj
[ 90%] Built target expression_obj
[ 90%] Built target graph_client_obj
[ 90%] Built target meta_client_obj
[ 90%] Built target file_based_cluster_id_man_obj
[ 92%] Built target storage_client_base_obj
[ 92%] Built target graph_storage_client_obj
[ 92%] Built target general_storage_client_obj
[ 94%] Built target time_function_obj
[ 94%] Built target function_manager_obj
[ 96%] Built target agg_function_obj
[ 98%] Built target graph_obj
[ 98%] Built target ft_es_graph_adapter_obj
[100%] Built target ft_es_storage_adapter_obj
[  0%] Built target common_project
[  2%] Built target keyutils_obj
[  4%] Built target codec_obj
[ 10%] Built target kvstore_obj
[ 12%] Built target raftex_obj
[ 14%] Built target wal_obj
[ 14%] Built target meta_http_handler
[ 64%] Built target meta_service_handler
[ 66%] Built target storage_common_obj
[ 68%] Built target storage_http_handler
[ 68%] Building CXX object src/storage/CMakeFiles/graph_storage_service_handler.dir/query/ScanVertexProcessor.cpp.o
/home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp: In member function 'virtual nebula::storage::cpp2::ErrorCode nebula::storage::ScanVertexProcessor::checkAndBuildContexts(const nebula::storage::cpp2::ScanVertexRequest&)':
/home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp:121:30: error: cannot convert 'nebula::storage::cpp2::VertexProp' to 'std::vector<nebula::storage::cpp2::VertexProp>&'
  121 |     return handleVertexProps(returnProps, returnNoProps_);
      |                              ^~~~~~~~~~~
      |                              |
      |                              nebula::storage::cpp2::VertexProp
In file included from /home/nebula/nebula-graph/modules/storage/src/storage/query/QueryBaseProcessor.h:200,
                 from /home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.h:11,
                 from /home/nebula/nebula-graph/modules/storage/src/storage/query/ScanVertexProcessor.cpp:7:
/home/nebula/nebula-graph/modules/storage/src/storage/query/QueryBaseProcessor.inl:16:40: note:   initializing argument 1 of 'nebula::storage::cpp2::ErrorCode nebula::storage::QueryBaseProcessor<REQ, RESP>::handleVertexProps(std::vector<nebula::storage::cpp2::VertexProp>&, bool) [with REQ = nebula::storage::cpp2::ScanVertexRequest; RESP = nebula::storage::cpp2::ScanVertexResponse]'
   16 |         std::vector<cpp2::VertexProp>& vertexProps,
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
make[6]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/query/ScanVertexProcessor.cpp.o] Error 1
make[5]: *** [src/storage/CMakeFiles/graph_storage_service_handler.dir/all] Error 2
make[4]: *** [all] Error 2
make[3]: *** [CMakeFiles/install-storage] Error 2
make[2]: *** [CMakeFiles/install-storage.dir/all] Error 2
make[1]: *** [CMakeFiles/install-all.dir/rule] Error 2
make: *** [install-all] Error 2

麻烦看一下 谢谢

看你的报错信息, common库应该拉成master分支的了.image 你这里多写了一个横杠, 所以这个参数没起到作用

好的谢谢
是安装指导里面多了个- 我直接粘过去用的 :disappointed_relieved:


https://docs.nebula-graph.io/2.0/4.deployment-and-installation/2.compile-and-install-nebula-graph/1.install-nebula-graph-by-compiling-the-source-code/

不好意思 :rofl: 我们修改下文档 @Amber @RandomJoe @shawdan

感谢反馈,文档已修复,手动比心~

1赞

浙ICP备20010487号