编译nebula-graph3.6.0出错:make: *** [Makefile:156:all] 错误 2

日志信息如下:
[root@localhost ~]# tail -f /workspace/nebula-release-3.6/nohup.out
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/TextSearchExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ColumnExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/PredicateExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ListComprehensionExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ReduceExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/MatchPathPatternExpression.cpp.o
[ 16%] Building CXX object src/common/expression/CMakeFiles/expression_obj.dir/ExprVisitorImpl.cpp.o
[ 16%] Built target expression_obj
make: *** [Makefile:156:all] 错误 2
有大佬知道是什么原因吗?
Makefile的156主是这个:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all

补充:用单线程编译可以看到更多错误信息:
[ 16%] Building CXX object src/common/plugin/fulltext/CMakeFiles/es_adapter_obj.dir/elasticsearch/ESAdapter.cpp.o
/workspace/nebula-release-3.6/src/common/plugin/fulltext/elasticsearch/ESAdapter.cpp: 在成员函数‘virtual nebula::Status nebula::plugin::ESAdapter::bulk(const nebula::plugin::ESBulk&, bool)’中:
/workspace/nebula-release-3.6/src/common/plugin/fulltext/elasticsearch/ESAdapter.cpp:172:26: 错误:unused variable ‘docId’ [-Werror=unused-variable]
for (auto& [docId, objs] : bulk.documents_) {
^
cc1plus:所有的警告都被当作是错误
make[2]: *** [src/common/plugin/fulltext/CMakeFiles/es_adapter_obj.dir/build.make:76:src/common/plugin/fulltext/CMakeFiles/es_adapter_obj.dir/elasticsearch/ESAdapter.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:5512:src/common/plugin/fulltext/CMakeFiles/es_adapter_obj.dir/all] 错误 2
make: *** [Makefile:156:all] 错误 2

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。