v2.0 a版本编译失败

  • nebula 版本:a每日版本
  • 部署方式(分布式 / 单机 / Docker / DBaaS):单机
  • 出问题的 Space 的创建方式:执行 cmake -DENABLE_BUILD_STORAGE=on -DENABLE_TESTING=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/bdp/nebula2a …
    ;
  • 问题的具体描述
>>>> Configuring Nebula Storage done <<<<
-- Configuring done
CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/daemons/CMakeLists.txt:6 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:46 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:53 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:67 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/parser/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/validator/test/CMakeLists.txt:54 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/executor/test/CMakeLists.txt:59 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/util/test/CMakeLists.txt:1 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/context/test/CMakeLists.txt:44 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/context/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/visitor/test/CMakeLists.txt:6 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:47 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:63 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/daemons/CMakeLists.txt:6 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:46 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:53 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:67 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/parser/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/validator/test/CMakeLists.txt:54 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/executor/test/CMakeLists.txt:59 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/util/test/CMakeLists.txt:1 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/context/test/CMakeLists.txt:44 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  src/context/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/visitor/test/CMakeLists.txt:6 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:47 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:common_time_function_obj>

  Objects of target "common_time_function_obj" referenced but no such target
  exists.
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:63 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: nebula-graphd
Call Stack (most recent call first):
  src/daemons/CMakeLists.txt:6 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: parser_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:46 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: scanner_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:53 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: expression_parsing_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/parser/test/CMakeLists.txt:67 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: parser_bm
Call Stack (most recent call first):
  src/parser/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: validator_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/validator/test/CMakeLists.txt:54 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: executor_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/executor/test/CMakeLists.txt:59 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: utils_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/util/test/CMakeLists.txt:1 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: context_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/context/test/CMakeLists.txt:44 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: iterator_bm
Call Stack (most recent call first):
  src/context/test/CMakeLists.txt:60 (nebula_add_executable)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: expr_visitor_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/visitor/test/CMakeLists.txt:6 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: index_bound_value_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:47 (nebula_add_test)


CMake Error at modules/common/cmake/nebula/NebulaCMakeMacros.cmake:9 (add_executable):
  No SOURCES given to target: index_scan_rule_test
Call Stack (most recent call first):
  modules/common/cmake/nebula/NebulaCMakeMacros.cmake:47 (nebula_add_executable)
  src/optimizer/test/CMakeLists.txt:63 (nebula_add_test)


CMake Generate step failed.  Build files cannot be regenerated correctly.

中午common刚进去一个pr,你再更新下nebula-graph的代码,应该就没问题了


:mask: 下次记得把无关的信息删掉呀,还有日志用 markdown 的代码段语法(如下)包裹下,提高下阅读体验,能更快地解决问题~

```
代码段
```