D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xygrib-1.2.6.1-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hRhHZH Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3Sz6QO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xygrib-1.2.6.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xygrib-1.2.6.1-build + rm -rf XyGrib-1.2.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/XyGrib-1.2.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd XyGrib-1.2.6.1 + /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 . + GIT_COMMITTER_DATE=@1750681878 + GIT_AUTHOR_DATE=@1750681878 + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'xygrib-1.2.6.1 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-Make-finding-version-specific-include-dirs-for-openj.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Don-t-install-cmake-files-in-the-translation-directo.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-Fix-installation-on-linux-like-systems.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0004-Fix-installation-of-data-on-linux-like-systems.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Don-t-set-CMAKE_CXX_FLAGS-for-compile-options.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Hunk #1 succeeded at 25 (offset -2 lines). Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Lib-Proj-enable-deprecates-API.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch cmake/FindPROJ4.cmake... Applied patch cmake/FindPROJ4.cmake cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-port-to-PROJ-8.0-API.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q .git/rebase-apply/patch:189: trailing whitespace. .git/rebase-apply/patch:197: trailing whitespace. .git/rebase-apply/patch:203: trailing whitespace. .git/rebase-apply/patch:205: trailing whitespace. Checking patch CMakeLists.txt... Hunk #1 succeeded at 119 (offset -3 lines). Checking patch cmake/FindPROJ4.cmake... Checking patch cmake/FindPROJ8.cmake... Checking patch src/CMakeLists.txt... Hunk #1 succeeded at 122 (offset 4 lines). Checking patch src/map/Projection.h... Checking patch src/map/Projection_libproj.cpp... Applied patch CMakeLists.txt cleanly. Applied patch cmake/FindPROJ4.cmake cleanly. Applied patch cmake/FindPROJ8.cmake cleanly. Applied patch src/CMakeLists.txt cleanly. Applied patch src/map/Projection.h cleanly. Applied patch src/map/Projection_libproj.cpp cleanly. warning: 4 lines add whitespace errors. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Use-new-libproj-API-if-available.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q .git/rebase-apply/patch:124: trailing whitespace. .git/rebase-apply/patch:132: trailing whitespace. .git/rebase-apply/patch:138: trailing whitespace. .git/rebase-apply/patch:140: trailing whitespace. Checking patch CMakeLists.txt... Hunk #1 succeeded at 119 (offset -3 lines). Checking patch cmake/FindPROJ.cmake... Checking patch cmake/FindPROJ8.cmake... Checking patch src/CMakeLists.txt... Hunk #1 succeeded at 122 (offset 4 lines). Checking patch src/map/Projection.h... Checking patch src/map/Projection_libproj.cpp... Applied patch CMakeLists.txt cleanly. Applied patch cmake/FindPROJ.cmake cleanly. Applied patch cmake/FindPROJ8.cmake cleanly. Applied patch src/CMakeLists.txt cleanly. Applied patch src/map/Projection.h cleanly. Applied patch src/map/Projection_libproj.cpp cleanly. warning: 4 lines add whitespace errors. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Find-OpenJPEG-2.4.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch CMakeLists.txt... Applied patch CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Add-missing-QPainterPath-include.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch src/SkewT.h... Applied patch src/SkewT.h cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Use-system-g2clib.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch src/CMakeLists.txt... Applied patch src/CMakeLists.txt cleanly. + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Use-system-Liberation-TTF-fonts.patch + GIT_COMMITTER_DATE=@1750681878 + /usr/bin/git am --reject -q Checking patch src/util/Font.cpp... Checking patch src/util/Util.h... Applied patch src/util/Font.cpp cleanly. Applied patch src/util/Util.h cleanly. + rm -rf src/g2clib-1.6.0/ + rm -rf data/fonts + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q5a9Fi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xygrib-1.2.6.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 XyGrib-1.2.6.1 + '[' 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:/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 -GNinja CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -- Configuring incomplete, errors occurred! error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q5a9Fi (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q5a9Fi (%build) I: [iurt_root_command] ERROR: chroot