← Back to team overview

wintermute-devel team mailing list archive

[Bug 893574] [NEW] CMake Build System Failure for Plugin Suite

 

Public bug reported:

Each time I attempt to build all of the plug-ins in a (lazily)
monolithic manner, I get this message:

-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
CMake Error at voice/marytts-wintermute/CMakeLists.txt:14 (find_package):
  Could not find module FindMaryTTSQt.cmake or a configuration file for
  package MaryTTSQt.

  Adjust CMAKE_MODULE_PATH to find FindMaryTTSQt.cmake or set MaryTTSQt_DIR
  to the directory containing a CMake configuration file for MaryTTSQt.  The
  file will have one of the following names:

    MaryTTSQtConfig.cmake
    maryttsqt-config.cmake


CMake Error at voice/marytts-wintermute/CMakeLists.txt:15 (find_package):
  Could not find module FindWntrVoice.cmake or a configuration file for
  package WntrVoice.

  Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
  to the directory containing a CMake configuration file for WntrVoice.  The
  file will have one of the following names:

    WntrVoiceConfig.cmake
    wntrvoice-config.cmake


-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
CMake Error at voice/speechd-wintermute/CMakeLists.txt:15 (find_package):
  Could not find module FindWntrVoice.cmake or a configuration file for
  package WntrVoice.

  Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
  to the directory containing a CMake configuration file for WntrVoice.  The
  file will have one of the following names:

    WntrVoiceConfig.cmake
    wntrvoice-config.cmake


CMake Error at voice/pocketsphinx-wintermute/CMakeLists.txt:15 (find_package):
  Could not find module FindWntrVoice.cmake or a configuration file for
  package WntrVoice.

  Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
  to the directory containing a CMake configuration file for WntrVoice.  The
  file will have one of the following names:

    WntrVoiceConfig.cmake
    wntrvoice-config.cmake


-- checking for one of the modules 'pocketsphinx'
-- Found Qt4: /usr/bin/qmake (found suitable version "4.7.4", required is "4.4.3")
CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "wintermute-plugin-frontend"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
  visual/ncurses-wintermute/CMakeLists.txt:15 (find_package)


-- Found Curses: /usr/lib/libcurses.so
-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "wintermute-plugin-frontend"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
  visual/gui-wintermute/CMakeLists.txt:18 (find_package)


-- Found Qt4: /usr/bin/qmake (found suitable version "4.7.4", required is "4.4.3")
CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "wintermute-plugin-frontend"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
  visual/nlui-wintermute/CMakeLists.txt:18 (find_package)


-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:40 (add_library):
  add_library cannot create target "wintermute-plugin-mining" because another
  target with the same name already exists.  The existing target is a shared
  library created in source directory
  "/home/jacky/Documents/Development/Projects/wintermute/components/plugins/mining/wintermute-plugin-mining".
  See documentation for policy CMP0002 for more details.


CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:48 (target_link_libraries):
  Attempt to add link library "/usr/lib/i386-linux-gnu/libQtCore.so" to
  target "wintermute-plugin-mining" which is not built in this directory.


CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:62 (install):
  install TARGETS given target "wintermute-plugin-mining" which does not
  exist in this directory.


-- Found Qt4: /usr/bin/qmake (found version "4.7.4")
-- Configuring incomplete, errors occurred!

This prevents perhaps not only the automatic building of plug-ins but
also the automatic packaging of them. This is something we have to fix
by 0.2a

** Affects: wintermute
     Importance: Wishlist
     Assignee: Wintermute Developers (wintermute-devel)
         Status: Opinion

** Affects: wintermute/trunk
     Importance: Wishlist
     Assignee: Wintermute Developers (wintermute-devel)
         Status: Opinion


** Tags: cmake packaging plugins

** Also affects: wintermute/trunk
   Importance: Wishlist
     Assignee: Wintermute Developers (wintermute-devel)
       Status: Opinion

-- 
You received this bug notification because you are a member of
Wintermute Developers, which is a bug assignee.
https://bugs.launchpad.net/bugs/893574

Title:
  CMake Build System Failure for Plugin Suite

Status in Wintermute:
  Opinion
Status in Wintermute trunk series:
  Opinion

Bug description:
  Each time I attempt to build all of the plug-ins in a (lazily)
  monolithic manner, I get this message:

  -- The C compiler identification is GNU
  -- The CXX compiler identification is GNU
  -- Check for working C compiler: /usr/bin/gcc
  -- Check for working C compiler: /usr/bin/gcc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Looking for Q_WS_X11
  -- Looking for Q_WS_X11 - found
  -- Looking for Q_WS_WIN
  -- Looking for Q_WS_WIN - not found.
  -- Looking for Q_WS_QWS
  -- Looking for Q_WS_QWS - not found.
  -- Looking for Q_WS_MAC
  -- Looking for Q_WS_MAC - not found.
  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  CMake Error at voice/marytts-wintermute/CMakeLists.txt:14 (find_package):
    Could not find module FindMaryTTSQt.cmake or a configuration file for
    package MaryTTSQt.

    Adjust CMAKE_MODULE_PATH to find FindMaryTTSQt.cmake or set MaryTTSQt_DIR
    to the directory containing a CMake configuration file for MaryTTSQt.  The
    file will have one of the following names:

      MaryTTSQtConfig.cmake
      maryttsqt-config.cmake


  CMake Error at voice/marytts-wintermute/CMakeLists.txt:15 (find_package):
    Could not find module FindWntrVoice.cmake or a configuration file for
    package WntrVoice.

    Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
    to the directory containing a CMake configuration file for WntrVoice.  The
    file will have one of the following names:

      WntrVoiceConfig.cmake
      wntrvoice-config.cmake


  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  CMake Error at voice/speechd-wintermute/CMakeLists.txt:15 (find_package):
    Could not find module FindWntrVoice.cmake or a configuration file for
    package WntrVoice.

    Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
    to the directory containing a CMake configuration file for WntrVoice.  The
    file will have one of the following names:

      WntrVoiceConfig.cmake
      wntrvoice-config.cmake


  CMake Error at voice/pocketsphinx-wintermute/CMakeLists.txt:15 (find_package):
    Could not find module FindWntrVoice.cmake or a configuration file for
    package WntrVoice.

    Adjust CMAKE_MODULE_PATH to find FindWntrVoice.cmake or set WntrVoice_DIR
    to the directory containing a CMake configuration file for WntrVoice.  The
    file will have one of the following names:

      WntrVoiceConfig.cmake
      wntrvoice-config.cmake


  -- checking for one of the modules 'pocketsphinx'
  -- Found Qt4: /usr/bin/qmake (found suitable version "4.7.4", required is "4.4.3")
  CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
    add_library cannot create imported target "wintermute-plugin-frontend"
    because another target with the same name already exists.
  Call Stack (most recent call first):
    /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
    visual/ncurses-wintermute/CMakeLists.txt:15 (find_package)

  
  -- Found Curses: /usr/lib/libcurses.so
  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
    add_library cannot create imported target "wintermute-plugin-frontend"
    because another target with the same name already exists.
  Call Stack (most recent call first):
    /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
    visual/gui-wintermute/CMakeLists.txt:18 (find_package)

  
  -- Found Qt4: /usr/bin/qmake (found suitable version "4.7.4", required is "4.4.3")
  CMake Error at /usr/share/cmake/WntrFrontend/WntrFrontendLibraryDepends.cmake:16 (ADD_LIBRARY):
    add_library cannot create imported target "wintermute-plugin-frontend"
    because another target with the same name already exists.
  Call Stack (most recent call first):
    /usr/share/cmake/WntrFrontend/WntrFrontendConfig.cmake:12 (include)
    visual/nlui-wintermute/CMakeLists.txt:18 (find_package)

  
  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:40 (add_library):
    add_library cannot create target "wintermute-plugin-mining" because another
    target with the same name already exists.  The existing target is a shared
    library created in source directory
    "/home/jacky/Documents/Development/Projects/wintermute/components/plugins/mining/wintermute-plugin-mining".
    See documentation for policy CMP0002 for more details.

  
  CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:48 (target_link_libraries):
    Attempt to add link library "/usr/lib/i386-linux-gnu/libQtCore.so" to
    target "wintermute-plugin-mining" which is not built in this directory.

  
  CMake Error at mining/zeitgeist-wintermute/CMakeLists.txt:62 (install):
    install TARGETS given target "wintermute-plugin-mining" which does not
    exist in this directory.

  
  -- Found Qt4: /usr/bin/qmake (found version "4.7.4")
  -- Configuring incomplete, errors occurred!

  This prevents perhaps not only the automatic building of plug-ins but
  also the automatic packaging of them. This is something we have to fix
  by 0.2a

To manage notifications about this bug go to:
https://bugs.launchpad.net/wintermute/+bug/893574/+subscriptions


Follow ups

References