D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/openorienteering-mapper-0.9.5-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Artm0d + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mapper-0.9.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mapper-0.9.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mapper-0.9.5 + rm -rf /home/pterjan/rpmbuild/BUILD/mapper-0.9.5-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mapper-0.9.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'openorienteering-mapper-0.9.5 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Use-system-QtSingleApplication.patch + /usr/bin/git am --reject -q -p1 Checking patch CMakeLists.txt... Hunk #1 succeeded at 285 (offset 16 lines). Checking patch cmake/FindQtSingleApplication.cmake... Checking patch src/CMakeLists.txt... Hunk #1 succeeded at 350 (offset 41 lines). Applied patch CMakeLists.txt cleanly. Applied patch cmake/FindQtSingleApplication.cmake cleanly. Applied patch src/CMakeLists.txt cleanly. + install -Dpm644 /home/pterjan/rpmbuild/SOURCES/mageia-licensing.cmake doc/licensing/mageia-licensing.cmake + rm -rf 3rd-party/qtsingleapplication/ 3rd-party/clipper/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Rt729W + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mapper-0.9.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + QTDIR=/usr/lib64/qt5 + export QTDIR + PATH=/usr/lib64/qt5/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/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 -DDBUS_SERVICES_DIR=/usr/share/dbus-1/services -DDBUS_INTERFACES_DIR=/usr/share/dbus-1/interfaces -DMapper_BUILD_CLIPPER:BOOL=OFF -DMapper_BUILD_DOXYGEN:BOOL=OFF -- The CXX compiler identification is GNU 14.1.0 -- The C compiler identification is GNU 14.1.0 -- 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 -- 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 -- Found Polyclipping: /usr/include/polyclipping (found suitable version "6.4.2", minimum required is "6.1.3") -- Found SQLite3: /usr/include (found version "3.45.3") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.6.0") -- Found CURL: /usr/lib64/libcurl.so (found version "8.9.1") -- Found GDAL: /usr/lib64/libgdal.so (found suitable version "3.9.1", minimum required is "2") -- Could NOT find ClangTidy (missing: ClangTidy_EXECUTABLE) (Required is at least version "8") -- Could NOT find IWYU (missing: IWYU_EXECUTABLE) (Required is at least version "0.12") -- Configuring Mapper user manual -- Conditional manual sections: LINUX -- Configuring Mapper translations -- Looking for Qt5 single application library -- Found QtSingleApplication: /usr/lib64/libQt5Solutions_SingleApplication-2.6.so -- includes: /usr/include/qt5/QtSolutions CMake Error at /usr/lib64/cmake/ZLIB/ZLIB.cmake:84 (message): The imported target "ZLIB::zlibstatic" references the file "/usr/lib64/libz.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/ZLIB/ZLIB.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/ZLIB/zlib-config.cmake:44 (include) src/printsupport/CMakeLists.txt:21 (find_package) -- Configuring incomplete, errors occurred! error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Rt729W (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Rt729W (%build) I: [iurt_root_command] ERROR: chroot