ARM下nebula-graph master版本编译失败。

最新(v2.0)的master版本在arm下编译错误,代码如下:

/data/git/nebula-graph/src/service/GraphService.cpp: In member function ‘const char* nebula::graph::GraphService::getErrorStr(nebula::ErrorCode)’:
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_LEADER_CHANGED’ not handled in switch [-Werror=switch]
  155 |     switch (result) {
      |            ^
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_SPACE_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_TAG_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_EDGE_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INDEX_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_EDGE_PROP_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_TAG_PROP_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_ROLE_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CONFIG_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_GROUP_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_ZONE_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_LISTENER_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_PART_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_KEY_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BACKUP_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BACKUP_EMPTY_TABLE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BACKUP_TABLE_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_PARTIAL_RESULT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_REBUILD_INDEX_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_PASSWORD’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_FAILED_GET_ABS_PATH’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NO_HOSTS’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_EXISTED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_HOST’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_UNSUPPORTED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NOT_DROP’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BALANCER_RUNNING’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CONFIG_IMMUTABLE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CONFLICT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_PARM’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_WRONGCLUSTER’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_STORE_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_STORE_SEGMENT_ILLEGAL’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BAD_BALANCE_PLAN’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BALANCED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NO_RUNNING_BALANCE_PLAN’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NO_VALID_HOST’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CORRUPTTED_BALANCE_PLAN’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NO_INVALID_BALANCE_PLAN’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_IMPROPER_ROLE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_PARTITION_NUM’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_REPLICA_FACTOR’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_CHARSET’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_COLLATE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CHARSET_COLLATE_NOT_MATCH’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_SNAPSHOT_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BLOCK_WRITE_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_REBUILD_INDEX_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INDEX_WITH_TTL’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_ADD_JOB_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_STOP_JOB_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_SAVE_JOB_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BALANCER_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_JOB_NOT_FINISHED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_TASK_REPORT_OUT_DATE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_JOB’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BACKUP_BUILDING_INDEX’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_BACKUP_SPACE_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_RESTORE_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_SESSION_NOT_FOUND’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_LIST_CLUSTER_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_LIST_CLUSTER_GET_ABS_PATH_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_GET_META_DIR_FAILURE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CONSENSUS_ERROR’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_KEY_HAS_EXISTS’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_DATA_TYPE_MISMATCH’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_FIELD_VALUE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_OPERATION’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NOT_NULLABLE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_FIELD_UNSET’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_OUT_OF_RANGE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_ATOMIC_OP_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_DATA_CONFLICT_ERROR’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_WRITE_STALLED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_IMPROPER_DATA_TYPE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_SPACEVIDLEN’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_FILTER’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_UPDATER’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_STORE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_PEER’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_RETRY_EXHAUSTED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_TRANSFER_LEADER_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_STAT_TYPE’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_VID’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_NO_TRANSFORMED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_LOAD_META_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_FAILED_TO_CHECKPOINT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_CHECKPOINT_BLOCKED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_FILTER_OUT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_DATA’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_MUTATE_EDGE_CONFLICT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_MUTATE_TAG_CONFLICT’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_OUTDATED_LOCK’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_INVALID_TASK_PARA’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_USER_CANCEL’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_TASK_EXECUTION_FAILED’ not handled in switch [-Werror=switch]
/data/git/nebula-graph/src/service/GraphService.cpp:155:12: error: enumeration value ‘E_UNKNOWN’ not handled in switch [-Werror=switch]
cc1plus: all warnings being treated as errors
make[2]: *** [src/service/CMakeFiles/service_obj.dir/build.make:76: src/service/CMakeFiles/service_obj.dir/GraphService.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:859: src/service/CMakeFiles/service_obj.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

麻烦贴下 执行 cmake 的整个输出内容截图,参考下图

image

以及,:thinking: 这边有个疑问啊,大兄弟你来来回回折腾编译都快一年了,是一直断断续续地在测试什么吗?

该话题在最后一个回复创建后30天后自动关闭。不再允许新的回复。

浙ICP备20010487号