Kdevelop and kdevplatform cmake concerns

Michael George Hart michael.george.hart at gmail.com
Tue May 17 21:19:39 BST 2016


My systen has cmake 3.3 x
When I run cmake I get a bunch of messages I am concerned about
Could someone tell me if the following should be of concern
Especially the policy messages gotten trying to build kdevelop-5

$ cmake ../
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is GNU 5.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5Config: /usr/lib/cmake/KF5Config/KF5ConfigConfig.cmake (found
version "5.12.0")
-- Found KF5Declarative:
/usr/lib/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version
"5.12.0")
-- Found KF5DocTools: /usr/lib/cmake/KF5DocTools/KF5DocToolsConfig.cmake
(found version "5.12.0")
-- Found KF5IconThemes:
/usr/lib/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version
"5.12.0")
-- Found Gettext: /usr/bin/msgmerge.exe (found version "0.19.5.1")
-- Found PythonInterp: /usr/bin/python (found version "2.7.10")
-- Found KF5I18n: /usr/lib/cmake/KF5I18n/KF5I18nConfig.cmake (found version
"5.12.0")
-- Found KF5ItemModels:
/usr/lib/cmake/KF5ItemModels/KF5ItemModelsConfig.cmake (found version
"5.12.0")
-- Found KF5ItemViews: /usr/lib/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake
(found version "5.12.0")
-- Found KF5JobWidgets:
/usr/lib/cmake/KF5JobWidgets/KF5JobWidgetsConfig.cmake (found version
"5.12.0")
-- Found KF5KCMUtils: /usr/lib/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake
(found version "5.12.0")
-- Found KF5KIO: /usr/lib/cmake/KF5KIO/KF5KIOConfig.cmake (found version
"5.12.0")
-- Found KF5NewStuff: /usr/lib/cmake/KF5NewStuff/KF5NewStuffConfig.cmake
(found version "5.12.0")
-- Found KF5NotifyConfig:
/usr/lib/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version
"5.12.0")
-- Found KF5Parts: /usr/lib/cmake/KF5Parts/KF5PartsConfig.cmake (found
version "5.12.0")
-- Found KF5Service: /usr/lib/cmake/KF5Service/KF5ServiceConfig.cmake
(found version "5.12.0")
-- Found KF5TextEditor:
/usr/lib/cmake/KF5TextEditor/KF5TextEditorConfig.cmake (found version
"5.12.0")
-- Found KF5ThreadWeaver:
/usr/lib/cmake/KF5ThreadWeaver/KF5ThreadWeaverConfig.cmake (found version
"5.12.0")
-- Found KF5XmlGui: /usr/lib/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found
version "5.12.0")
-- Found KF5WindowSystem:
/usr/lib/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version
"5.12.0")
-- Found KF5Crash: /usr/lib/cmake/KF5Crash/KF5CrashConfig.cmake (found
version "5.12.0")
-- Found KF5: success (found suitable version "5.12.0", minimum required is
"5.4.0") found components:  Config Declarative
DocTo
ols IconThemes I18n ItemModels ItemViews JobWidgets KCMUtils KIO NewStuff
NotifyConfig Parts Service TextEditor ThreadWeaver
Xml
Gui WindowSystem Crash
CMake Warning at CMakeLists.txt:60 (find_package):
  By not providing "FindKDevelop-PG-Qt.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "KDevelop-PG-Qt", but CMake did not find one.

  Could not find a package configuration file provided by "KDevelop-PG-Qt"
  (requested version 1.90.90) with any of the following names:

    KDevelop-PG-QtConfig.cmake
    kdevelop-pg-qt-config.cmake

  Add the installation prefix of "KDevelop-PG-Qt" to CMAKE_PREFIX_PATH or
set
  "KDevelop-PG-Qt_DIR" to a directory containing one of the above files.  If
  "KDevelop-PG-Qt" provides a separate development package or SDK, be sure
it
  has been installed.


-- Found SharedMimeInfo: /usr/bin/update-mime-database.exe (found version
"1.6")
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
llvm-config: error: components given, but unused

usage: llvm-config <OPTION>... [<COMPONENT>...]

Get various configuration information needed to compile programs which use
LLVM.  Typically called from 'configure' scripts.  Examples:
  llvm-config --cxxflags
  llvm-config --ldflags
  llvm-config --libs engine bcreader scalaropts

Options:
  --version         Print LLVM version.
  --prefix          Print the installation prefix.
  --src-root        Print the source root LLVM was built from.
  --obj-root        Print the object root used to build LLVM.
  --bindir          Directory containing LLVM executables.
  --includedir      Directory containing LLVM headers.
  --libdir          Directory containing LLVM libraries.
  --cppflags        C preprocessor flags for files that include LLVM
headers.
  --cflags          C compiler flags for files that include LLVM headers.
  --cxxflags        C++ compiler flags for files that include LLVM headers.
  --ldflags         Print Linker flags.
  --system-libs     System Libraries needed to link against LLVM components.
  --libs            Libraries needed to link against LLVM components.
  --libnames        Bare library names for in-tree builds.
  --libfiles        Fully qualified library filenames for makefile depends.
  --components      List of all possible components.
  --targets-built   List of all targets currently built.
  --host-target     Target triple used to configure LLVM.
  --build-mode      Print build mode of LLVM tree (e.g. Debug or Release).
  --assertion-mode  Print assertion mode of LLVM tree (ON or OFF).
Typical components:
  all               All LLVM libraries (default).
  engine            Either a native JIT or a bitcode interpreter.
-- Found LLVM (version: 3.5.2): (using /usr/bin/llvm-config-3.5.exe)
--   Include dirs:   /usr/include/llvm-3.5.2
--   LLVM libraries: /usr/lib/libLLVMLTO.a /usr/lib/libLLVMObjCARCOpts.a
/usr/lib/libLLVMLinker.a /usr/lib/libLLVMipo.a
/usr/lib
/libLLVMVectorize.a /usr/lib/libLLVMBitWriter.a
/usr/lib/libLLVMCppBackendCodeGen.a /usr/lib/libLLVMCppBackendInfo.a
/usr/lib/li
bLLVMTableGen.a /usr/lib/libLLVMDebugInfo.a /usr/lib/libLLVMOption.a
/usr/lib/libLLVMX86Disassembler.a
/usr/lib/libLLVMX86AsmPar
ser.a /usr/lib/libLLVMX86CodeGen.a /usr/lib/libLLVMSelectionDAG.a
/usr/lib/libLLVMAsmPrinter.a /usr/lib/libLLVMX86Desc.a
/usr/li
b/libLLVMX86Info.a /usr/lib/libLLVMX86AsmPrinter.a
/usr/lib/libLLVMX86Utils.a /usr/lib/libLLVMJIT.a /usr/lib/libLLVMIRReader.a
/
usr/lib/libLLVMAsmParser.a /usr/lib/libLLVMLineEditor.a
/usr/lib/libLLVMMCAnalysis.a /usr/lib/libLLVMMCDisassembler.a
/usr/lib/l
ibLLVMInstrumentation.a /usr/lib/libLLVMInterpreter.a
/usr/lib/libLLVMCodeGen.a /usr/lib/libLLVMScalarOpts.a
/usr/lib/libLLVMIns
tCombine.a /usr/lib/libLLVMTransformUtils.a /usr/lib/libLLVMipa.a
/usr/lib/libLLVMAnalysis.a /usr/lib/libLLVMProfileData.a
/usr/
lib/libLLVMMCJIT.a /usr/lib/libLLVMTarget.a /usr/lib/libLLVMRuntimeDyld.a
/usr/lib/libLLVMObject.a /usr/lib/libLLVMMCParser.a
/u
sr/lib/libLLVMBitReader.a /usr/lib/libLLVMExecutionEngine.a
/usr/lib/libLLVMMC.a /usr/lib/libLLVMCore.a
/usr/lib/libLLVMSupport.
a
-- Found Clang (LLVM version: 3.5.2)
--   Include dirs:       /usr/include/llvm-3.5.2
--   Clang libraries:
/usr/lib/libclangFrontend.dll.a;/usr/lib/libclangDriver.dll.a;/usr/lib/libclangCodeGen.dll.a;/usr/lib/l
ibclangSema.dll.a;/usr/lib/libclangAnalysis.dll.a;/usr/lib/libclangRewriteFrontend.dll.a;/usr/lib/libclangRewrite.dll.a;/usr/lib
/libclangAST.dll.a;/usr/lib/libclangParse.dll.a;/usr/lib/libclangLex.dll.a;/usr/lib/libclangBasic.dll.a;/usr/lib/libclangARCMigr
ate.dll.a;/usr/lib/libclangEdit.dll.a;/usr/lib/libclangFrontendTool.dll.a;/usr/lib/libclangRewrite.dll.a;/usr/lib/libclangSerial
ization.dll.a;/usr/lib/libclangTooling.dll.a;/usr/lib/libclangStaticAnalyzerCheckers.dll.a;/usr/lib/libclangStaticAnalyzerCore.d
ll.a;/usr/lib/libclangStaticAnalyzerFrontend.dll.a;/usr/lib/libclangSema.dll.a
--   Libclang C library: /usr/lib/libclang.dll.a
CMake Warning at debuggers/gdb/CMakeLists.txt:16 (find_package):
  By not providing "FindKF5SysGuard.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5SysGuard", but CMake did not find one.

  Could not find a package configuration file provided by "KF5SysGuard" with
  any of the following names:

    KF5SysGuardConfig.cmake
    kf5sysguard-config.cmake

  Add the installation prefix of "KF5SysGuard" to CMAKE_PREFIX_PATH or set
  "KF5SysGuard_DIR" to a directory containing one of the above files.  If
  "KF5SysGuard" provides a separate development package or SDK, be sure it
  has been installed.


CMake Warning at utils/CMakeLists.txt:1 (find_package):
  Could not find a configuration file for package "OktetaKastenControllers"
  that is compatible with requested version "0.3.1".

  The following configuration files were considered but not accepted:


/usr/lib/cmake/OktetaKastenControllers/OktetaKastenControllersConfig.cmake,
version: 0.3.0
    /lib/cmake/OktetaKastenControllers/OktetaKastenControllersConfig.cmake,
version: 0.3.0



--
-- The following OPTIONAL packages have been found:

* KF5Plasma , <http://www.kde.org>
   Plasma libraries for enabling the plasma addons
* KF5Runner , <http://www.kde.org>
   Framework for Plasma runners. For enabling the KDevelop runner
* LLVM (required version >= 3.5)
* Qt5Help , <http://qt-project.org/>
   The Help module for the Qt toolkit, needed for the qthelp plugin

-- The following REQUIRED packages have been found:

* Qt5Core (required version >= 5.5.1)
* Qt5Gui (required version >= 5.5.1)
* Qt5Widgets
* Qt5Concurrent
* Qt5Network (required version >= 5.5.1)
* Qt5Qml (required version >= 5.5.1)
* Qt5Quick
* Qt5QuickWidgets
* Qt5WebKit (required version >= 5.5.1)
* Qt5WebKitWidgets
* Qt5Script
* Qt5Test
* Qt5 (required version >= 5.4.0)
* KF5Config (required version >= 5.4.0)
* KF5Declarative (required version >= 5.4.0)
* KF5DocTools (required version >= 5.4.0)
* KF5IconThemes (required version >= 5.4.0)
* Gettext
* PythonInterp
* KF5I18n (required version >= 5.4.0)
* KF5ItemModels (required version >= 5.4.0)
* KF5ItemViews (required version >= 5.4.0)
* KF5JobWidgets (required version >= 5.4.0)
* KF5KCMUtils (required version >= 5.4.0)
* KF5KIO (required version >= 5.4.0)
* KF5NewStuff (required version >= 5.4.0)
* KF5NotifyConfig (required version >= 5.4.0)
* KF5Service (required version >= 5.4.0)
* KF5Parts (required version >= 5.12.0)
* KF5TextEditor (required version >= 5.4.0)
* KF5ThreadWeaver (required version >= 5.4.0)
* KF5XmlGui (required version >= 5.4.0)
* KF5WindowSystem (required version >= 5.4.0)
* KF5Crash (required version >= 5.4.0)
* KF5 (required version >= 5.4.0)
* KDevPlatform (required version >= 4.90.92)
* ECM (required version >= 0.0.9)
* SharedMimeInfo , A database of common MIME types , <
http://freedesktop.org/wiki/Software/shared-mime-info/>
* Clang (required version >= 3.5)
   Clang libraries. Used for KDevelop's C++/C support plugin. Please
install a package providing libclang.

-- The following OPTIONAL packages have not been found:

* KDevelop-PG-Qt (required version >= 1.90.90)
   KDevelop parser generator library. Required for the QMake
Builder/Manager plugin.
* KF5SysGuard
* OktetaKastenControllers (required version >= 0.3.1) , <http://kde.org/>
   Required for building Okteta KDevelop plugin.

-- Configuring done
CMake Warning (dev) at app/CMakeLists.txt:43 (add_executable):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "kdevelop" of type "EXECUTABLE" has the following visibility
  properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/ECM/modules/ECMAddTests.cmake:97
(add_executable):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "test_astyle" of type "EXECUTABLE" has the following visibility
  properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
Call Stack (most recent call first):
  formatters/astyle/tests/CMakeLists.txt:11 (ecm_add_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at
languages/plugins/custom-definesandincludes/CMakeLists.txt:38
(add_executable):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "kdev_includepathsconverter" of type "EXECUTABLE" has the following
  visibility properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/ECM/modules/ECMAddTests.cmake:97
(add_executable):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "test_definesandincludes" of type "EXECUTABLE" has the following
  visibility properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
Call Stack (most recent call first):
  languages/plugins/custom-definesandincludes/tests/CMakeLists.txt:7
(ecm_add_test)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at
languages/plugins/custom-definesandincludes/compilerprovider/CMakeLists.txt:17
(add_library):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "kdevcompilerprovider" of type "STATIC_LIBRARY" has the following
  visibility properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/ECM/modules/ECMAddTests.cmake:97
(add_executable):
  Policy CMP0063 is not set: Honor visibility properties for all target
  types.  Run "cmake --help-policy CMP0063" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "test_compilerprovider" of type "EXECUTABLE" has the following
  visibility properties set for CXX:

    CXX_VISIBILITY_PRESET
    VISIBILITY_INLINES_HIDDEN

  For compatibility CMake is not honoring them for this target.
Call Stack (most recent call first):

languages/plugins/custom-definesandincludes/compilerprovider/tests/CMakeLists.txt:8
(ecm_add_test)
This warning is for project developers.  Use -Wno-dev to suppress it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20160517/0b2d3c0c/attachment.html>


More information about the KDevelop mailing list