D: [iurt_root_command] chroot warning: Macro %enable_debug defined but not used within scope Installing /home/pterjan/rpmbuild/SRPMS/plasmate-1.0-7.mga6.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v9Vt1Q + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf plasmate-1.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/plasmate-1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd plasmate-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iyiqcu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd plasmate-1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export LD=/usr/bin/ld.gold + LD=/usr/bin/ld.gold + QTDIR=/usr/lib64/qt4 + export QTDIR + PATH=/usr/lib64/qt4/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/lib64/qt4/bin:/usr/lib64/qt5/bin:/home/pterjan/.local/bin:/home/pterjan/bin + export PATH + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DKDE4_ENABLE_FPIE=ON -DCMAKE_INSTALL_PREFIX=/usr -DKDE_DEFAULT_HOME=.kde4 '-DKDE_DISTRIBUTION_TEXT=Mageia release 6 (Cauldron) for x86_64' -DKDE4_USE_ALWAYS_FULL_RPATH=OFF -DKDE4_DATA_DIR=/usr/share/apps -DENABLE_FAM=ON -DPHONON_INCLUDE_DIR=/usr/include -DDBUS_SERVICES_INSTALL_DIR=/usr/share/dbus-1/services -DKDE_INSTALL_METAINFODIR:PATH=/usr/share/appdata -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces -DCMAKE_MINIMUM_REQUIRED_VERSION=3.1 -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.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++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - 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 Qt-Version 4.8.7 (using /usr/lib64/qt4/bin/qmake) -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so;/usr/lib64/libXau.so;/usr/lib64/libXdmcp.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib64/libX11.so -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2j") -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl (found version "5.22.2") -- Found Phonon: /usr/include (Required is at least version "4.3.80") -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE 4.12 include dir: /usr/include -- Found KDE 4.12 library dir: /usr/lib64 -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 -- Found Soprano: /usr/include (found suitable version "2.9.4", minimum required is "1.99") CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179 (get_directory_property): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target) /usr/share/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling) engineexplorer/CMakeLists.txt:17 (kde4_add_executable) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179 (get_directory_property): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target) /usr/share/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling) plasmoidviewer/CMakeLists.txt:6 (kde4_add_executable) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179 (get_directory_property): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target) /usr/share/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling) remote-widgets-browser/CMakeLists.txt:8 (kde4_add_executable) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/automoc4/Automoc4Config.cmake:179 (get_directory_property): Policy CMP0059 is not set: Do no treat DEFINITIONS as a built-in directory property. Run "cmake --help-policy CMP0059" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib64/automoc4/Automoc4Config.cmake:243 (_add_automoc4_target) /usr/share/apps/cmake/modules/KDE4Macros.cmake:1027 (_automoc4_kde4_pre_target_handling) wallpaperviewer/CMakeLists.txt:6 (kde4_add_executable) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Found LibAttica: /usr/lib64/libattica.so (found suitable version "0.4.2", minimum required is "0.1.4") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find QGpgme (missing: QGPGME_LIBRARY QGPGME_INCLUDE_DIR _QGPGME_EXTRA_LIBRARY) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/apps/cmake/modules/FindQGpgme.cmake:43 (find_package_handle_standard_args) plasmate/CMakeLists.txt:9 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.5) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/plasmate-1.0/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/plasmate-1.0/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iyiqcu (%build) RPM build errors: Macro %enable_debug defined but not used within scope Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iyiqcu (%build) I: [iurt_root_command] ERROR: chroot