Package: kdelibs5-dev Version: 4:4.14.14-1+b1 Severity: wishlist Tags: patch
Hi, The file /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake produces warnings such as: CMake Warning (dev) at /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:759 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted keywords like "TEST" will no longer be interpreted as keywords when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1002 (kde4_check_executable_params) extra/kipi-plugins/expoblending/CMakeLists.txt:77 (KDE4_ADD_EXECUTABLE) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:759 (if): Policy CMP0064 is not set: Support new TEST if() operator. Run "cmake --help-policy CMP0064" for policy details. Use the cmake_policy command to set the policy and suppress this warning. TEST will be interpreted as an operator when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake:1002 (kde4_check_executable_params) extra/kipi-plugins/expoblending/CMakeLists.txt:77 (KDE4_ADD_EXECUTABLE) This warning is for project developers. Use -Wno-dev to suppress it. I believe this file pre-dates those policies so it should be safe to set them both to OLD, per this patch: --- /tmp/KDE4Macros.cmake 2015-12-31 12:53:54.030049857 -0600 +++ /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake 2015-12-31 12:26:31.720391206 -0600 @@ -32,6 +32,9 @@ # Redistribution and use is allowed according to the terms of the BSD license. # For details see the accompanying COPYING-CMAKE-SCRIPTS file. +cmake_policy(SET CMP0054 OLD) +cmake_policy(SET CMP0064 OLD) + Thanks, -Steve -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages kdelibs5-dev depends on: ii automoc 1.0~version-0.9.88-5 ii kdelibs-bin 4:4.14.14-1+b1 ii kdoctools 4:4.14.14-1+b1 ii libc6 2.21-6 ii libkcmutils4 4:4.14.14-1+b1 ii libkde3support4 4:4.14.14-1+b1 ii libkdeclarative5 4:4.14.14-1+b1 ii libkdecore5 4:4.14.14-1+b1 ii libkdesu5 4:4.14.14-1+b1 ii libkdeui5 4:4.14.14-1+b1 ii libkdewebkit5 4:4.14.14-1+b1 ii libkdnssd4 4:4.14.14-1+b1 ii libkemoticons4 4:4.14.14-1+b1 ii libkfile4 4:4.14.14-1+b1 ii libkhtml5 4:4.14.14-1+b1 ii libkidletime4 4:4.14.14-1+b1 ii libkimproxy4 4:4.14.14-1+b1 ii libkio5 4:4.14.14-1+b1 ii libkjsapi4 4:4.14.14-1+b1 ii libkjsembed4 4:4.14.14-1+b1 ii libkmediaplayer4 4:4.14.14-1+b1 ii libknewstuff2-4 4:4.14.14-1+b1 ii libknewstuff3-4 4:4.14.14-1+b1 ii libknotifyconfig4 4:4.14.14-1+b1 ii libkntlm4 4:4.14.14-1+b1 ii libkparts4 4:4.14.14-1+b1 ii libkprintutils4 4:4.14.14-1+b1 ii libkpty4 4:4.14.14-1+b1 ii libkrosscore4 4:4.14.14-1+b1 ii libkrossui4 4:4.14.14-1+b1 ii libktexteditor4 4:4.14.14-1+b1 ii libkunitconversion4 4:4.14.14-1+b1 ii libkutils4 4:4.14.14-1+b1 ii libnepomuk4 4:4.14.14-1+b1 ii libnepomukquery4a 4:4.14.14-1+b1 ii libnepomukutils4 4:4.14.14-1+b1 ii libphonon-dev 4:4.8.3-2 ii libplasma3 4:4.14.14-1+b1 ii libqt4-dev 4:4.8.7+dfsg-5 ii libqt4-xml 4:4.8.7+dfsg-5 ii libqtcore4 4:4.8.7+dfsg-5 ii libsolid4 4:4.14.14-1+b1 ii libsoprano-dev 2.9.4+dfsg-3+b1 ii libstdc++6 5.3.1-4 ii libthreadweaver4 4:4.14.14-1+b1 ii perl 5.22.1-3 Versions of packages kdelibs5-dev recommends: ii libqt4-opengl-dev 4:4.8.7+dfsg-5 kdelibs5-dev suggests no packages. -- no debconf information -- debsums errors found: debsums: changed file /usr/share/kde4/apps/cmake/modules/KDE4Macros.cmake (from kdelibs5-dev package)