D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rapidjson-1.1.0-8.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GMoxyk Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EoWqPM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rapidjson-1.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rapidjson-1.1.0-build + rm -rf rapidjson-1.1.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rapidjson-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rapidjson-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Changed-error-code-for-invalid-special-ascii-chars-f-rediffed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Fix-905-unable-to-set-writeFlags-for-PrettyWriter-rediffed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-Fixes-issue-1718-rediffed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/remove-Werror-cmakelist.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Removed-non-compiling-assignment-operator.-Fixed-718.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Explicitly-disable-copy-assignment-operator.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-Three-way-comparison-for-CLang-10-fix-1679.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0004-Fix-recursive-operator-call-in-C-20-1846.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0005-gate-definition-of-symmetric-equality-operators-on-i.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0006-do-not-define-operator-in-C-20.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0007-do-not-include-gtest_src_dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/disable-valgrind_unittest.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-Wclass-memaccess-warnings-errors.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-Fix-Wsign-conversion-warnings-errors.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-Suppress-Wformat-overflow-warning-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/CVE-2024-38517.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f ++ find ./example -type f -name '*.c*' + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r license.txt license.txt.new + mv -f license.txt.new license.txt + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/filterkeydom/filterkeydom.cpp ./example/filterkeydom/filterkeydom.cpp.new + mv -f ./example/filterkeydom/filterkeydom.cpp.new ./example/filterkeydom/filterkeydom.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/schemavalidator/schemavalidator.cpp ./example/schemavalidator/schemavalidator.cpp.new + mv -f ./example/schemavalidator/schemavalidator.cpp.new ./example/schemavalidator/schemavalidator.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/simplereader/simplereader.cpp ./example/simplereader/simplereader.cpp.new + mv -f ./example/simplereader/simplereader.cpp.new ./example/simplereader/simplereader.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/jsonx/jsonx.cpp ./example/jsonx/jsonx.cpp.new + mv -f ./example/jsonx/jsonx.cpp.new ./example/jsonx/jsonx.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/parsebyparts/parsebyparts.cpp ./example/parsebyparts/parsebyparts.cpp.new + mv -f ./example/parsebyparts/parsebyparts.cpp.new ./example/parsebyparts/parsebyparts.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/prettyauto/prettyauto.cpp ./example/prettyauto/prettyauto.cpp.new + mv -f ./example/prettyauto/prettyauto.cpp.new ./example/prettyauto/prettyauto.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/capitalize/capitalize.cpp ./example/capitalize/capitalize.cpp.new + mv -f ./example/capitalize/capitalize.cpp.new ./example/capitalize/capitalize.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/pretty/pretty.cpp ./example/pretty/pretty.cpp.new + mv -f ./example/pretty/pretty.cpp.new ./example/pretty/pretty.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/tutorial/tutorial.cpp ./example/tutorial/tutorial.cpp.new + mv -f ./example/tutorial/tutorial.cpp.new ./example/tutorial/tutorial.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/simpledom/simpledom.cpp ./example/simpledom/simpledom.cpp.new + mv -f ./example/simpledom/simpledom.cpp.new ./example/simpledom/simpledom.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/simplewriter/simplewriter.cpp ./example/simplewriter/simplewriter.cpp.new + mv -f ./example/simplewriter/simplewriter.cpp.new ./example/simplewriter/simplewriter.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/filterkey/filterkey.cpp ./example/filterkey/filterkey.cpp.new + mv -f ./example/filterkey/filterkey.cpp.new ./example/filterkey/filterkey.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/condense/condense.cpp ./example/condense/condense.cpp.new + mv -f ./example/condense/condense.cpp.new ./example/condense/condense.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/serialize/serialize.cpp ./example/serialize/serialize.cpp.new + mv -f ./example/serialize/serialize.cpp.new ./example/serialize/serialize.cpp + for file in "license.txt" $(find ./example -type f -name '*.c*') + sed -e 's/\r$//g' + touch -r ./example/messagereader/messagereader.cpp ./example/messagereader/messagereader.cpp.new + mv -f ./example/messagereader/messagereader.cpp.new ./example/messagereader/messagereader.cpp + find . -type f -name CMakeLists.txt -print0 + xargs -0r sed -i -e 's/-march=native/ /g' -e s/-Werror//g + for f in doc/Doxyfile* + doxygen -u doc/Doxyfile.in warning: Tag 'TCL_SUBST' at line 247 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1049 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'HTML_TIMESTAMP' at line 1182 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'FORMULA_TRANSPARENT' at line 1463 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'LATEX_SOURCE_CODE' at line 1735 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'PERL_PATH' at line 2074 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'CLASS_DIAGRAMS' at line 2087 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'MSCGEN_PATH' at line 2096 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTNAME' at line 2138 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTSIZE' at line 2145 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_TRANSPARENT' at line 2345 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. Configuration file 'doc/Doxyfile.in' updated. + for f in doc/Doxyfile* + doxygen -u doc/Doxyfile.zh-cn.in warning: Tag 'TCL_SUBST' at line 247 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1049 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'HTML_TIMESTAMP' at line 1182 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'FORMULA_TRANSPARENT' at line 1463 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'LATEX_SOURCE_CODE' at line 1735 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'PERL_PATH' at line 2074 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'CLASS_DIAGRAMS' at line 2087 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'MSCGEN_PATH' at line 2096 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTNAME' at line 2138 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTSIZE' at line 2145 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_TRANSPARENT' at line 2345 of file 'doc/Doxyfile.zh-cn.in' has become obsolete. This tag has been removed. Configuration file 'doc/Doxyfile.zh-cn.in' updated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5o3HWZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rapidjson-1.1.0-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 rapidjson-1.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 -DGTEST_SOURCE_DIR:PATH=. -DGTESTSRC_FOUND:BOOL=ON -DRAPIDJSON_BUILD_CXX11:BOOL=OFF -DRAPIDJSON_BUILD_TESTS:BOOL=ON -DRAPIDJSON_BUILD_THIRDPARTY_GTEST:BOOL=OFF 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.5o3HWZ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5o3HWZ (%build) I: [iurt_root_command] ERROR: chroot