D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/gcompris-qt-25.1.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vICd72 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Porf6Q + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gcompris-qt-25.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/gcompris-qt-25.1.1-build + rm -rf gcompris-qt-25.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gcompris-qt-25.1.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gcompris-qt-25.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Update-to-latest-qml-box2d-git-snapshot-2022-08-25.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcompris-qt-set-qt_helper-for-qt6.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uHCUoa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/gcompris-qt-25.1.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gcompris-qt-25.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + QTDIR=/usr/lib64/qt6 + export QTDIR + PATH=/usr/lib64/qt6/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/qt6/bin:/home/pterjan/.local/bin:/home/pterjan/bin + export PATH + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-dev -S . -B build -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -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 -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_ARCHDATADIR=/usr/lib64/qt6 -DINSTALL_BINDIR=/usr/lib64/qt6/bin -DINSTALL_LIBDIR=/usr/lib64 -DINSTALL_LIBEXECDIR=/usr/lib64/qt6/libexec -DINSTALL_DATADIR=/usr/share/qt6 -DINSTALL_DOCDIR=/usr/share/doc/qt6 -DINSTALL_INCLUDEDIR=/usr/include/qt6 -DINSTALL_EXAMPLESDIR=/usr/lib64/qt6/examples -DINSTALL_MKSPECSDIR=/usr/lib64/qt6/mkspecs -DINSTALL_PLUGINSDIR=/usr/lib64/qt6/plugins -DINSTALL_QMLDIR=/usr/lib64/qt6/qml -DINSTALL_SYSCONFDIR=/etc/xdg -DINSTALL_TRANSLATIONSDIR=/usr/share/qt6/translations -DQT_DISABLE_RPATH=TRUE -DDBUS_SERVICES_DIR=/usr/share/dbus-1/services -DDBUS_INTERFACES_DIR=/usr/share/dbus-1/interfaces -DCMAKE_SKIP_RPAH=ON -DBUILD_TESTING=ON -DQML_BOX2D_MODULE=system -- The C compiler identification is GNU 15.2.0 -- The CXX compiler identification is GNU 15.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found WrapAtomic: TRUE -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found WrapOpenGL: TRUE -- Found WrapVulkanHeaders: /usr/include -- Found Wayland_Client: /usr/lib64/libwayland-client.so (found version "1.24.0") -- Found Wayland_Server: /usr/lib64/libwayland-server.so (found version "1.24.0") -- Found Wayland_Cursor: /usr/lib64/libwayland-cursor.so (found version "1.24.0") -- Found Wayland_Egl: /usr/lib64/libwayland-egl.so (found version "18.1.0") -- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-cursor.so;/usr/lib64/libwayland-egl.so (found version "1.24.0") -- Found WaylandScanner: /usr/bin/wayland-scanner -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.4") -- The following OPTIONAL packages have been found: * ECM (required version >= 1.4.0) * Qt6QmlTools (required version >= 6.10.0) * Qt6QuickTools (required version >= 6.10.0) * OpenGL * Vulkan * Qt6DBusTools (required version >= 6.10.0) * WrapVulkanHeaders * Qt6CoreTools (required version >= 6.10.0) * Qt6GuiTools (required version >= 6.10.0) * Qt6WidgetsTools (required version >= 6.10.0) * Qt6QuickControls2Basic (required version >= 6.5.0) * Qt6WaylandScannerTools (required version >= 6.10.0) * Qt6WaylandClient (required version >= 6.5.0) * PkgConfig -- The following REQUIRED packages have been found: * Qt6Qml (required version >= 6.5.0) * Qt6Quick (required version >= 6.5.0) * Qt6Multimedia (required version >= 6.5.0) * Qt6Svg (required version >= 6.5.0) * Qt6LinguistTools (required version >= 6.5.0) * Qt6Sensors (required version >= 6.5.0) * Qt6QuickControls2 (required version >= 6.5.0) * Qt6Charts (required version >= 6.5.0) * Qt6 (required version >= 6.5.0) * OpenSSL -- The following OPTIONAL packages have not been found: * Qt6QmlCompilerPlusPrivateTools (required version >= 6.10.0) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_BINDIR got its value from CMAKE_INSTALL_BINDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_BINDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_BINDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:255 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_SBINDIR got its value from CMAKE_INSTALL_SBINDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_SBINDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_SBINDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:258 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_LIBDIR got its value from CMAKE_INSTALL_LIBDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_LIBDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_LIBDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:261 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_LIBEXECDIR got its value from CMAKE_INSTALL_LIBEXECDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_LIBEXECDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_LIBEXECDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:270 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_INCLUDEDIR got its value from CMAKE_INSTALL_INCLUDEDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_INCLUDEDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_INCLUDEDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:279 (_define_absolute) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_LOCALSTATEDIR got its value from CMAKE_INSTALL_LOCALSTATEDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_LOCALSTATEDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_LOCALSTATEDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:288 (_define_absolute) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_SHAREDSTATEDIR got its value from CMAKE_INSTALL_SHAREDSTATEDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_SHAREDSTATEDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_SHAREDSTATEDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:291 (_define_absolute) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_DATAROOTDIR got its value from CMAKE_INSTALL_DATAROOTDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_DATAROOTDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_DATAROOTDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:299 (_define_absolute) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_DATADIR got its value from CMAKE_INSTALL_DATADIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_DATADIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_DATADIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:304 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_LOCALEDIR got its value from CMAKE_INSTALL_LOCALEDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_LOCALEDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_LOCALEDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:332 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_MANDIR got its value from CMAKE_INSTALL_MANDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_MANDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_MANDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:357 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_INFODIR got its value from CMAKE_INSTALL_INFODIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_INFODIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_INFODIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:360 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) CMake Warning at /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:169 (message): KDE_INSTALL_SYSCONFDIR got its value from CMAKE_INSTALL_SYSCONFDIR. In most cases this is unintended, check if you included GNUInstallDirs before KDEInstallDirs. Some third party modules include GNUInstallDirs too so eg. find_package(Qt6 ...) is equivalent to include(GNUInstallDirs). If you set CMAKE_INSTALL_SYSCONFDIR deliberately before including KDEInstallDirs its recommended to use KDE_INSTALL_SYSCONFDIR instead to suppress this message. Call Stack (most recent call first): /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:220 (_define_relative) /usr/share/ECM/kde-modules/KDEInstallDirsCommon.cmake:387 (_define_absolute) /usr/share/ECM/kde-modules/KDEInstallDirs6.cmake:199 (include) /usr/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:141 (include) -- Installing in the same prefix as Qt, adopting their path scheme. -- Locale ar is supported by GCompris -- Locale az is supported by GCompris -- Locale be is supported by GCompris -- Locale bg is supported by GCompris -- Locale br is supported by GCompris -- Locale ca is supported by GCompris -- Locale ca@valencia is supported by GCompris -- Locale cs is supported by GCompris -- Locale de is supported by GCompris -- Locale el is supported by GCompris -- Locale en is supported by GCompris -- Locale en_GB is supported by GCompris -- Locale eo is supported by GCompris -- Locale es is supported by GCompris -- Locale et is supported by GCompris -- Locale eu is supported by GCompris -- Locale fi is supported by GCompris -- Locale fr is supported by GCompris -- Locale gl is supported by GCompris -- Locale he is supported by GCompris -- Locale hr is supported by GCompris -- Locale hu is supported by GCompris -- Locale id is supported by GCompris -- Locale it is supported by GCompris -- Locale ka is supported by GCompris -- Locale lt is supported by GCompris -- Locale lv is supported by GCompris -- Locale mk is supported by GCompris -- Locale ml is supported by GCompris -- Locale nl is supported by GCompris -- Locale nn is supported by GCompris -- Locale pl is supported by GCompris -- Locale pt is supported by GCompris -- Locale pt_BR is supported by GCompris -- Locale ro is supported by GCompris -- Locale ru is supported by GCompris -- Locale sa is supported by GCompris -- Locale sk is supported by GCompris -- Locale sl is supported by GCompris -- Locale sq is supported by GCompris -- Locale sv is supported by GCompris -- Locale sw is supported by GCompris -- Locale tr is supported by GCompris -- Locale uk is supported by GCompris -- Locale zh_TW is supported by GCompris -- Using system qml-box2d plugin at /usr/lib64/qt6/qml/Box2D/libqmlbox2d.so -- Configuring done (8.1s) CMake Error at src/core/CMakeLists.txt:112 (target_link_libraries): Target "gcompris-qt" links to: Qt6::CorePrivate but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. CMake Error at src/core/CMakeLists.txt:109 (target_link_libraries): Target "gcompris_core" links to: Qt6::CorePrivate but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. -- Generating done (0.9s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP CMAKE_SKIP_RPAH CMAKE_VERBOSE_MAKEFILE DBUS_INTERFACES_DIR DBUS_SERVICES_DIR INCLUDE_INSTALL_DIR INSTALL_ARCHDATADIR INSTALL_BINDIR INSTALL_DATADIR INSTALL_DOCDIR INSTALL_EXAMPLESDIR INSTALL_INCLUDEDIR INSTALL_LIBDIR INSTALL_LIBEXECDIR INSTALL_MKSPECSDIR INSTALL_PLUGINSDIR INSTALL_QMLDIR INSTALL_SYSCONFDIR INSTALL_TRANSLATIONSDIR LIB_INSTALL_DIR LIB_SUFFIX QT_DISABLE_RPATH SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR CMake Generate step failed. Build files cannot be regenerated correctly. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uHCUoa (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uHCUoa (%build) I: [iurt_root_command] ERROR: chroot