Libelektra: CMake: A criação do sistema de compilação falha se apenas `BUILD_FULL` estiver habilitado

Criado em 18 out. 2018  ·  3Comentários  ·  Fonte: ElektraInitiative/libelektra

Etapas para reproduzir o problema

git clone https://github.com/ElektraInitiative/libelektra.git
cd libelektra
mkdir build
cd build
cmake -DBUILD_FULL=ON -DBUILD_SHARED=OFF ..

resultado esperado

CMake cria o sistema de compilação.

Resultado atual

CMake não consegue imprimir as seguintes mensagens de erro:

CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-hosts" of target "testmod_hosts" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/hosts/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-xmltool" of target "testmod_xmltool" does
  not exist.
Call Stack (most recent call first):
  src/plugins/xmltool/CMakeLists.txt:23 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-date" of target "testmod_date" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/date/CMakeLists.txt:16 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-validation" of target "testmod_validation"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/validation/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-rename" of target "testmod_rename" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/rename/CMakeLists.txt:1 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-range" of target "testmod_range" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/range/CMakeLists.txt:11 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-keytometa" of target "testmod_keytometa"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/keytometa/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-ni" of target "testmod_ni" does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/ni/CMakeLists.txt:9 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-dump" of target "testmod_dump" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/dump/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-network" of target "testmod_network" does
  not exist.
Call Stack (most recent call first):
  src/plugins/network/CMakeLists.txt:7 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-glob" of target "testmod_glob" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/glob/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-mmapstorage_crc" of target
  "testmod_mmapstorage_crc" does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/mmapstorage/CMakeLists.txt:13 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-type" of target "testmod_type" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/type/CMakeLists.txt:5 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-lineendings" of target "testmod_lineendings"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/lineendings/CMakeLists.txt:5 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-yamlcpp" of target "testmod_yamlcpp" does
  not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/yamlcpp/CMakeLists.txt:11 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-ipaddr" of target "testmod_ipaddr" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/ipaddr/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-ini" of target "testmod_ini" does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/ini/CMakeLists.txt:6 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-mmapstorage" of target "testmod_mmapstorage"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/mmapstorage/CMakeLists.txt:25 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-hexnumber" of target "testmod_hexnumber"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/hexnumber/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-dbus" of target "testmod_dbus" does not
  exist.
Call Stack (most recent call first):
  src/plugins/dbus/CMakeLists.txt:17 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-hexcode" of target "testmod_hexcode" does
  not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/hexcode/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-ccode" of target "testmod_ccode" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/ccode/CMakeLists.txt:1 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-fcrypt" of target "testmod_fcrypt" does not
  exist.
Call Stack (most recent call first):
  src/plugins/fcrypt/CMakeLists.txt:13 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-mini" of target "testmod_mini" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/mini/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-directoryvalue" of target
  "testmod_directoryvalue" does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/directoryvalue/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-filecheck" of target "testmod_filecheck"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/filecheck/CMakeLists.txt:10 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-enum" of target "testmod_enum" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/enum/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-line" of target "testmod_line" does not
  exist.
Call Stack (most recent call first):
  src/plugins/line/CMakeLists.txt:17 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-conditionals" of target
  "testmod_conditionals" does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/conditionals/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-iconv" of target "testmod_iconv" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/iconv/CMakeLists.txt:9 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-yajl" of target "testmod_yajl" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/yajl/CMakeLists.txt:11 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-list" of target "testmod_list" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/list/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-camel" of target "testmod_camel" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/camel/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-base64" of target "testmod_base64" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/base64/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-boolean" of target "testmod_boolean" does
  not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/boolean/CMakeLists.txt:3 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-uname" of target "testmod_uname" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/uname/CMakeLists.txt:11 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:130 (add_dependencies):
  The dependency target "elektra-mathcheck" of target "testmod_mathcheck"
  does not exist.
Call Stack (most recent call first):
  src/plugins/mathcheck/CMakeLists.txt:9 (add_plugintest)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-csvstorage" of target "testmod_csvstorage"
  does not exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/csvstorage/CMakeLists.txt:5 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)


CMake Error at cmake/Modules/LibAddPlugin.cmake:128 (add_dependencies):
  The dependency target "elektra-augeas" of target "testmod_augeas" does not
  exist.
Call Stack (most recent call first):
  cmake/Modules/LibAddPlugin.cmake:428 (add_plugintest)
  src/plugins/augeas/CMakeLists.txt:36 (add_plugin)
  src/plugins/CMakeLists.txt:14 (include)

.

Informação do sistema

  • Versão Elektra: master
  • OS: macOS 10.14
bug build

Todos 3 comentários

Obrigado por denunciar este problema!

Parece que construímos esta situação no buildserver. Isso deve ser feito para resolver totalmente o bug.

@kodebach Você acha que o nº 2266 pode estar relacionado a este problema?

Parece que construímos esta situação no buildserver.

Eu não acho. Apenas o trabalho de construção doc define BUILD_SHARED para OFF , tanto quanto eu posso dizer .

Isso deve ser feito para resolver totalmente o bug.

Se você quer dizer, devemos apresentar um trabalho de construção que usa BUILD_SHARED=OFF e BUILD_FULL=ON , então eu concordo plenamente.

@kodebach Você acha que o nº 2266 pode estar relacionado a este problema?

Sim, parece que esse é o problema. Vou tentar consertar.

Esta página foi útil?
0 / 5 - 0 avaliações

Questões relacionadas

mpranj picture mpranj  ·  4Comentários

markus2330 picture markus2330  ·  4Comentários

markus2330 picture markus2330  ·  3Comentários

sanssecours picture sanssecours  ·  3Comentários

mpranj picture mpranj  ·  3Comentários