D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/json-3.9.1-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DxWdwD + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf json-3.9.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/json-3.9.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd json-3.9.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VcSsMU + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd json-3.9.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + /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_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -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,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -G Ninja -- The CXX compiler identification is GNU 11.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Using the single-header code from /home/iurt/rpmbuild/BUILD/json-3.9.1/single_include/ -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Operating system: Linux-5.10.16-server-1.mga8; LSB Version: *; Distributor ID: Mageia; Description: Mageia 9; Release: 9; Codename: mga9; Linux pktaa1.mageia.org 5.10.16-server-1.mga8 #1 SMP PREEMPT Sat Feb 13 16:59:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux -- Compiler: c++ (Mageia 11.2.1-0.20211120.1.mga9) 11.2.1 20211120; Copyright (C) 2021 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- Configuring done -- Generating done 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_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/json-3.9.1/build + /usr/bin/cmake --build build -j8 --verbose [1/99] /usr/bin/c++ -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -MD -MT test/CMakeFiles/doctest_main.dir/src/unit.cpp.o -MF test/CMakeFiles/doctest_main.dir/src/unit.cpp.o.d -o test/CMakeFiles/doctest_main.dir/src/unit.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit.cpp FAILED: test/CMakeFiles/doctest_main.dir/src/unit.cpp.o /usr/bin/c++ -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -MD -MT test/CMakeFiles/doctest_main.dir/src/unit.cpp.o -MF test/CMakeFiles/doctest_main.dir/src/unit.cpp.o.d -o test/CMakeFiles/doctest_main.dir/src/unit.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit.cpp In file included from /home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest/doctest_compatibility.h:6, from /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit.cpp:31: /home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest/doctest.h:4021:47: error: size of array 'altStackMem' is not an integral constant-expression 4021 | static char altStackMem[4 * SIGSTKSZ]; | ^ [2/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o -MF test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o.d -o test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-assert_macro.cpp [3/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o -MF test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o.d -o test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-allocator.cpp [4/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o -MF test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o.d -o test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-capacity.cpp [5/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o -MF test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o.d -o test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-alt-string.cpp [6/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o -MF test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o.d -o test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-algorithms.cpp [7/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o -MF test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o.d -o test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-bson.cpp [8/99] /usr/bin/c++ -DDOCTEST_CONFIG_SUPER_FAST_ASSERTS -DJSON_USE_IMPLICIT_CONVERSIONS=1 -I/home/iurt/rpmbuild/BUILD/json-3.9.1/build/include -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/doctest -I/home/iurt/rpmbuild/BUILD/json-3.9.1/test/thirdparty/fifo_map -I/home/iurt/rpmbuild/BUILD/json-3.9.1/single_include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DNDEBUG -Wno-deprecated -Wno-float-equal -Wno-deprecated-declarations -MD -MT test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o -MF test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o.d -o test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o -c /home/iurt/rpmbuild/BUILD/json-3.9.1/test/src/unit-cbor.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VcSsMU (%build) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VcSsMU (%build) I: [iurt_root_command] ERROR: chroot