D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/json-c-0.18-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tzzfOQ Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EdHMNU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/json-c-0.18-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/json-c-0.18-build + rm -rf json-c-0.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/json-c-0.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd json-c-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr doc/html + doxygen -s -u doc/Doxyfile.in warning: Tag 'TCL_SUBST' at line 237 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1026 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'HTML_TIMESTAMP' at line 1161 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'FORMULA_TRANSPARENT' at line 1443 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'LATEX_SOURCE_CODE' at line 1717 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOCBOOK_PROGRAMLISTING' at line 1879 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'PERL_PATH' at line 2060 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'CLASS_DIAGRAMS' at line 2073 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'MSCGEN_PATH' at line 2082 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTNAME' at line 2124 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_FONTSIZE' at line 2131 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. warning: Tag 'DOT_TRANSPARENT' at line 2342 of file 'doc/Doxyfile.in' has become obsolete. This tag has been removed. Configuration file 'doc/Doxyfile.in' updated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nrTfzx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/json-c-0.18-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 json-c-0.18 + '[' 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 -DBUILD_STATIC_LIBS:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=RELEASE -DCMAKE_C_FLAGS_RELEASE:STRING= -DDISABLE_BSYMBOLIC:BOOL=OFF -DDISABLE_WERROR:BOOL=ON -DENABLE_RDRAND:BOOL=ON -DENABLE_THREADING:BOOL=ON -G Ninja -- The C compiler identification is GNU 15.1.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 -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for 4 include files stdlib.h, ..., float.h -- Looking for 4 include files stdlib.h, ..., float.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for endian.h -- Looking for endian.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for locale.h -- Looking for locale.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/random.h -- Looking for sys/random.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for xlocale.h -- Looking for xlocale.h - not found -- Looking for _isnan -- Looking for _isnan - not found -- Looking for _finite -- Looking for _finite - not found -- Looking for INFINITY -- Looking for INFINITY - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Looking for nan -- Looking for nan - found -- Looking for _doprnt -- Looking for _doprnt - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for vprintf -- Looking for vprintf - found -- Looking for arc4random -- Looking for arc4random - found -- Looking for open -- Looking for open - found -- Looking for realloc -- Looking for realloc - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for uselocale -- Looking for uselocale - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strdup -- Looking for strdup - found -- Looking for strerror -- Looking for strerror - found -- Looking for vsyslog -- Looking for vsyslog - found -- Looking for getrandom -- Looking for getrandom - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of int -- Check size of int - done -- Check size of int64_t -- Check size of int64_t - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Check size of size_t -- Check size of size_t - done -- Check size of ssize_t -- Check size of ssize_t - done -- Performing Test HAS_GNU_WARNING_LONG -- Performing Test HAS_GNU_WARNING_LONG - Failed -- Performing Test HAVE_ATOMIC_BUILTINS -- Performing Test HAVE_ATOMIC_BUILTINS - Success -- Performing Test HAVE___THREAD -- Performing Test HAVE___THREAD - Success -- Wrote /home/pterjan/rpmbuild/BUILD/json-c-0.18-build/json-c-0.18/build/config.h -- Wrote /home/pterjan/rpmbuild/BUILD/json-c-0.18-build/json-c-0.18/build/json_config.h -- Performing Test REENTRANT_WORKS -- Performing Test REENTRANT_WORKS - Success -- Performing Test BSYMBOLIC_WORKS -- Performing Test BSYMBOLIC_WORKS - Success -- Performing Test VERSION_SCRIPT_WORKS -- Performing Test VERSION_SCRIPT_WORKS - Success -- Found Doxygen: /usr/bin/doxygen (found version "1.14.0") found components: doxygen dot -- Wrote /home/pterjan/rpmbuild/BUILD/json-c-0.18-build/json-c-0.18/build/doc/Doxyfile CMake Error at apps/CMakeLists.txt:2 (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.nrTfzx (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nrTfzx (%build) I: [iurt_root_command] ERROR: chroot