D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/mysql-connector-c++-8.0.26-2.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FzVHBr + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mysql-connector-c++-8.0.26-src + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/mysql-connector-c++-8.0.26-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql-connector-c++-8.0.26-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mysql-connector-cpp-libmysql_dynamic_proxy_typos.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mysql-connector-cpp-mariadb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mysql-connector-cpp-use-system-protobuf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/mysql-connector-cpp-test-feature.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x jdbc/examples/connect.cpp jdbc/examples/connection_meta_schemaobj.cpp jdbc/examples/debug_output.cpp jdbc/examples/dynamic_load.cpp jdbc/examples/exceptions.cpp jdbc/examples/prepared_statement.cpp jdbc/examples/pthreads.cpp jdbc/examples/resultset.cpp jdbc/examples/resultset_binary.cpp jdbc/examples/resultset_meta.cpp jdbc/examples/resultset_types.cpp jdbc/examples/standalone_example.cpp jdbc/examples/standalone_example_docs1.cpp jdbc/examples/standalone_example_docs2.cpp jdbc/examples/statement.cpp jdbc/examples/CMakeLists.txt + cp -apr jdbc/examples examples + rm -rf examples/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.J2P7Mr + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mysql-connector-c++-8.0.26-src + '[' 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 -DMYSQL_INCLUDE_DIR=/usr/include/mysql -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DMYSQL_LIB=/usr/lib64/libmysqlclient.so -DWITH_SSL=system -DWITH_JDBC=ON -DMYSQLCLIENT_STATIC_BINDING=OFF -DMYSQLCLIENT_STATIC_LINKING=OFF -DDEBUG_PREFIX_MAP=OFF -- The C compiler identification is GNU 11.2.1 -- The CXX compiler identification is GNU 11.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 -- BIG_ENDIAN: 0 Building version 8.0.26 Building on system: Linux-5.10.16-server-1.mga8 (aarch64) Using cmake generator: Unix Makefiles Using toolset: Building 64bit code Building shared connector library Configuring CDK as part of MySQL_CONCPP project -- Looking for SSL library. -- found OpenSSL headers at: /usr/include -- OpenSSL library: /usr/lib64/libssl.so -- OpenSSL crypto library: /usr/lib64/libcrypto.so CMake Error at cdk/cmake/DepFindSSL.cmake:92 (message): OpenSSL version 1.x is required but version 3.0.0 was found Call Stack (most recent call first): cdk/cmake/DepFindSSL.cmake:354 (main) cdk/cmake/dependency.cmake:42 (include) cdk/CMakeLists.txt:96 (find_dependency) -- Looking for SHA512_DIGEST_LENGTH -- Looking for SHA512_DIGEST_LENGTH - found -- Looking for X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS -- Looking for X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS - found -- Looking for SSL_get0_param -- Looking for SSL_get0_param - found -- Looking for X509_VERIFY_PARAM_set_hostflags -- Looking for X509_VERIFY_PARAM_set_hostflags - found -- Looking for X509_VERIFY_PARAM_set1_host -- Looking for X509_VERIFY_PARAM_set1_host - found -- found required X509 extensions -- Setting up RapidJSON. -- Found Protobuf: /usr/lib64/libprotobuf.so (found version "3.14.0") Skipping second declaration of config option: THROW_AS_ASSERT (found in: /home/iurt/rpmbuild/BUILD/mysql-connector-c++-8.0.26-src/cdk/CMakeLists.txt) -- Performing Test HAVE_STATIC_ASSERT -- Performing Test HAVE_STATIC_ASSERT - Success -- Performing Test HAVE_IS_SAME -- Performing Test HAVE_IS_SAME - Failed -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - done -- Looking for fseeko -- Looking for fseeko - found -- Looking for unistd.h -- Looking for unistd.h - found -- ZSTD_LEGACY_SUPPORT not defined! -- Performing Test HAVE_SHARED_PTR -- Performing Test HAVE_SHARED_PTR - Success -- Performing Test HAVE_SYSTEM_ERROR -- Performing Test HAVE_SYSTEM_ERROR - Success -- Check size of wchar_t -- Check size of wchar_t - done -- Looking for sys/endian.h -- Looking for sys/endian.h - not found -- Looking for sys/byteorder.h -- Looking for sys/byteorder.h - not found Wrote configuration header: /home/iurt/rpmbuild/BUILD/mysql-connector-c++-8.0.26-src/build/cdk/include/mysql/cdk/config.h Legacy library soversion: 9 Looking for MySQL Client library: -- libs: -lmariadb -- libs search path: version: 10.6.5 include path: /usr/include/mysql library location: /usr/lib64/libmysqlclient.so dependencies search path: -L/usr/lib64 -L/usr/lib64/private dependencies: mariadb -- Found Boost: /usr/include (found version "1.77.0") -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Check size of int8_t -- Check size of int8_t - done -- Check size of uint8_t -- Check size of uint8_t - done -- Check size of int16_t -- Check size of int16_t - done -- Check size of uint16_t -- Check size of uint16_t - done -- Check size of int32_t -- Check size of int32_t - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of int64_t -- Check size of int64_t - done -- Check size of uint64_t -- Check size of uint64_t - done -- Check size of __int8 -- Check size of __int8 - failed -- Check size of unsigned __int8 -- Check size of unsigned __int8 - failed -- Check size of __int16 -- Check size of __int16 - failed -- Check size of unsigned __int16 -- Check size of unsigned __int16 - failed -- Check size of __int32 -- Check size of __int32 - failed -- Check size of unsigned __int32 -- Check size of unsigned __int32 - failed -- Check size of __int64 -- Check size of __int64 - failed -- Check size of unsigned __int64 -- Check size of unsigned __int64 - failed -- Looking for strtold -- Looking for strtold - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoul -- Looking for strtoul - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for strtoimax -- Looking for strtoimax - found -- Looking for strtoumax -- Looking for strtoumax - found -- Using dynamic libmysql binding -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found Preparing to merge SHARED library: connector-jdbc (jdbc) Connector legacy library name: mysqlcppconn Preparing to merge SHARED library: connector (xapi;devapi) Connector library name: mysqlcppconn8 Building version 8.0.26 Generating INFO_SRC Generating INFO_BIN Install location: /usr Connector libraries will be installed at: /usr/lib64 Project configuration options: : BUILD_STATIC: OFF Build static version of connector library : WITH_SSL: system Either 'system' to use system-wide OpenSSL library, or custom OpenSSL location. (default : system) : WITH_JDBC: ON Whether to build a variant of connector library which implements legacy JDBC API : WITH_MYSQL: Base location of (monolithic) MySQL installation. : WITH_BOOST: Boost install location -- Configuring incomplete, errors occurred! See also "/home/iurt/rpmbuild/BUILD/mysql-connector-c++-8.0.26-src/build/CMakeFiles/CMakeOutput.log". See also "/home/iurt/rpmbuild/BUILD/mysql-connector-c++-8.0.26-src/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.J2P7Mr (%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.J2P7Mr (%build) I: [iurt_root_command] ERROR: chroot