Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175948-11036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.1.19-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/dist-ocs23-loongarch64-build-175948-11036/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9lwkLj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.1.19-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mariadb-connector-odbc-3.1.19-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.1.19-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/libraries_include_path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JM3eNM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mariadb-connector-odbc-3.1.19-src + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B loongarch64-OpenCloudOS-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMARIADB_LINK_DYNAMIC=/usr/lib64/libmariadb.so -DINSTALL_LAYOUT=RPM -DINSTALL_LIBDIR=lib64 -DINSTALL_LIB_SUFFIX=lib64 -DINSTALL_DOCDIR=/usr/share/doc/mariadb-connector-odbc -DINSTALL_LICENSEDIR=/usr/share/licenses/mariadb-connector-odbc CMake Warning (dev) at CMakeLists.txt:23 (PROJECT): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 12.3.1 -- 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 -- MariaDB Connector ODBC: INSTALL_BINDIR=bin -- MariaDB Connector ODBC: INSTALL_LIBDIR=lib64 -- MariaDB Connector ODBC: INSTALL_PCDIR=lib/pkgconfig -- MariaDB Connector ODBC: INSTALL_INCLUDEDIR=include/mariadb -- MariaDB Connector ODBC: INSTALL_DOCDIR=/usr/share/doc/mariadb-connector-odbc -- MariaDB Connector ODBC: INSTALL_LICENSEDIR=/usr/share/licenses/mariadb-connector-odbc -- MariaDB Connector ODBC: INSTALL_PLUGINDIR=lib/mariadb/plugin -- MariaDB Connector ODBC: INSTALL_PLUGINDIR_CLIENT=lib/mariadb/plugin -- Libraries installation dir: lib64 -- Authentication Plugins installation dir: lib/mariadb/plugin -- Configuring to build without SSL support -- Linking against libmariadb installed on the system -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- Found odbc_config: /usr/bin/odbc_config -- Found ODBC Driver Manager libraries: /usr/lib64 -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/maodbc.def -- All linked targets/external dependencies: mariadb odbcinst m -- Package Name: mariadb-connector-odbc-3.1.19-linux-loongarch64 -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/README -- Source Package Filename: mariadb-connector-odbc-3.1.19-src.TGZ -- Configuring done (1.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu + /usr/bin/cmake --build loongarch64-OpenCloudOS-linux-gnu -j32 --verbose /usr/bin/cmake -S/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build.make CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build.make CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' gmake[2]: Nothing to be done for 'CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' [ 0%] Built target DEPENDENCIES_FOR_PACKAGE /usr/bin/gmake -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles/maodbc.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/gmake -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' [ 4%] Building C object CMakeFiles/maodbc.dir/odbc_3_api.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/odbc_3_api.c.o -MF CMakeFiles/maodbc.dir/odbc_3_api.c.o.d -o CMakeFiles/maodbc.dir/odbc_3_api.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/odbc_3_api.c [ 8%] Building C object CMakeFiles/maodbc.dir/ma_api_internal.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_api_internal.c.o -MF CMakeFiles/maodbc.dir/ma_api_internal.c.o.d -o CMakeFiles/maodbc.dir/ma_api_internal.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_api_internal.c [ 12%] Building C object CMakeFiles/maodbc.dir/ma_error.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_error.c.o -MF CMakeFiles/maodbc.dir/ma_error.c.o.d -o CMakeFiles/maodbc.dir/ma_error.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_error.c [ 16%] Building C object CMakeFiles/maodbc.dir/ma_connection.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_connection.c.o -MF CMakeFiles/maodbc.dir/ma_connection.c.o.d -o CMakeFiles/maodbc.dir/ma_connection.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c [ 20%] Building C object CMakeFiles/maodbc.dir/ma_helper.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_helper.c.o -MF CMakeFiles/maodbc.dir/ma_helper.c.o.d -o CMakeFiles/maodbc.dir/ma_helper.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_helper.c [ 25%] Building C object CMakeFiles/maodbc.dir/ma_dsn.c.o [ 29%] Building C object CMakeFiles/maodbc.dir/ma_debug.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_debug.c.o -MF CMakeFiles/maodbc.dir/ma_debug.c.o.d -o CMakeFiles/maodbc.dir/ma_debug.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_debug.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_dsn.c.o -MF CMakeFiles/maodbc.dir/ma_dsn.c.o.d -o CMakeFiles/maodbc.dir/ma_dsn.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c [ 33%] Building C object CMakeFiles/maodbc.dir/ma_driver.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_driver.c.o -MF CMakeFiles/maodbc.dir/ma_driver.c.o.d -o CMakeFiles/maodbc.dir/ma_driver.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_driver.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_error.c: In function 'MADB_GetDiagRec': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_error.c:259:15: warning: variable 'Length' set but not used [-Wunused-but-set-variable] 259 | SQLSMALLINT Length= 0; | ^~~~~~ [ 37%] Building C object CMakeFiles/maodbc.dir/ma_info.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_info.c.o -MF CMakeFiles/maodbc.dir/ma_info.c.o.d -o CMakeFiles/maodbc.dir/ma_info.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_info.c [ 41%] Building C object CMakeFiles/maodbc.dir/ma_environment.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_environment.c.o -MF CMakeFiles/maodbc.dir/ma_environment.c.o.d -o CMakeFiles/maodbc.dir/ma_environment.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_environment.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/odbc_3_api.c: In function 'SQLConnectCommon': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/odbc_3_api.c:546:11: warning: variable 'DsnFound' set but not used [-Wunused-but-set-variable] 546 | my_bool DsnFound; | ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_helper.c: In function 'MADB_CharToSQLNumeric': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_helper.c:1026:9: warning: unused variable 'leading_zeros' [-Wunused-variable] 1026 | int leading_zeros= 0; | ^~~~~~~~~~~~~ [ 45%] Building C object CMakeFiles/maodbc.dir/ma_parse.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_parse.c.o -MF CMakeFiles/maodbc.dir/ma_parse.c.o.d -o CMakeFiles/maodbc.dir/ma_parse.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_parse.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c: In function 'MADB_DbcSetAttr': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:300: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 300 | #pragma warning(disable:4995) | /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:301: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 301 | #pragma warning(push) | /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:307: warning: ignoring '#pragma warning ' [-Wunknown-pragmas] 307 | #pragma warning(pop) | [ 50%] Building C object CMakeFiles/maodbc.dir/ma_catalog.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_catalog.c.o -MF CMakeFiles/maodbc.dir/ma_catalog.c.o.d -o CMakeFiles/maodbc.dir/ma_catalog.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_catalog.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_odbc.h:445, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c: In function 'MADB_DbcTrackSession': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c: In function 'MADB_DsnToString': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c:660:12: warning: unused variable 'p' [-Wunused-variable] 660 | char *p= OutString; | ^ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:2222:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2222 | Dbc->AutoCommit= test(length > 1 && (value[1] == 'N' || value[1] == 'n') || length == 1 && *value == '1'); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_helper.h:97:27: note: in definition of macro 'test' 97 | #define test(a) ((a) ? 1 : 0) | ^ [ 54%] Building C object CMakeFiles/maodbc.dir/ma_statement.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_statement.c.o -MF CMakeFiles/maodbc.dir/ma_statement.c.o.d -o CMakeFiles/maodbc.dir/ma_statement.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c [ 58%] Building C object CMakeFiles/maodbc.dir/ma_desc.c.o [ 62%] Building C object CMakeFiles/maodbc.dir/ma_string.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_desc.c.o -MF CMakeFiles/maodbc.dir/ma_desc.c.o.d -o CMakeFiles/maodbc.dir/ma_desc.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_desc.c [ 66%] Building C object CMakeFiles/maodbc.dir/ma_result.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_string.c.o -MF CMakeFiles/maodbc.dir/ma_string.c.o.d -o CMakeFiles/maodbc.dir/ma_string.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_string.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_result.c.o -MF CMakeFiles/maodbc.dir/ma_result.c.o.d -o CMakeFiles/maodbc.dir/ma_result.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_result.c [ 70%] Building C object CMakeFiles/maodbc.dir/ma_common.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_common.c.o -MF CMakeFiles/maodbc.dir/ma_common.c.o.d -o CMakeFiles/maodbc.dir/ma_common.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_common.c [ 75%] Building C object CMakeFiles/maodbc.dir/ma_server.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_server.c.o -MF CMakeFiles/maodbc.dir/ma_server.c.o.d -o CMakeFiles/maodbc.dir/ma_server.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_server.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_parse.c: In function 'ParseQuery': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_parse.c:395:51: warning: unused variable 'LastSemicolon' [-Wunused-variable] 395 | char *end= p + Length, *CurQuery= NULL, *LastSemicolon= NULL; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c: In function 'MADB_DsnSwitchDependents': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c:240:99: warning: 'KeySet' may be used uninitialized [-Wmaybe-uninitialized] 240 | *GET_FIELD_PTR(Dsn, &DsnKeys[DsnKeysSwitch[i].Dependent], my_bool)= DsnKeysSwitch[i].Same == KeySet ? 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_dsn.c:207:15: note: 'KeySet' was declared here 207 | my_bool KeySet; | ^~~~~~ [ 79%] Building C object CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o [ 83%] Building C object CMakeFiles/maodbc.dir/ma_bulk.c.o [ 87%] Building C object CMakeFiles/maodbc.dir/ma_typeconv.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o -MF CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o.d -o CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_legacy_helpers.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_catalog.c: In function 'MADB_StmtTables': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_catalog.c:317:94: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 317 | && (strcmp(SchemaName, SQL_ALL_SCHEMAS) || CatalogName == NULL || CatalogNameLength != 0 && TableName == NULL || TableNameLength != 0) | ^ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_catalog.c:358:97: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 358 | (!strcmp(SchemaName,SQL_ALL_SCHEMAS) && CatalogName && CatalogNameLength == 0 && TableName && TableNameLength == 0 || *SchemaName == '\0')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ [ 91%] Building C object CMakeFiles/maodbc.dir/ma_platform_posix.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_typeconv.c.o -MF CMakeFiles/maodbc.dir/ma_typeconv.c.o.d -o CMakeFiles/maodbc.dir/ma_typeconv.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_typeconv.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_bulk.c.o -MF CMakeFiles/maodbc.dir/ma_bulk.c.o.d -o CMakeFiles/maodbc.dir/ma_bulk.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_bulk.c [ 95%] Building C object CMakeFiles/maodbc.dir/ma_conv_charset.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_platform_posix.c.o -MF CMakeFiles/maodbc.dir/ma_platform_posix.c.o.d -o CMakeFiles/maodbc.dir/ma_platform_posix.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_platform_posix.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_result.c: In function 'MADB_StmtDataSeek': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_result.c:84:15: warning: unused variable 'tmp' [-Wunused-variable] 84 | MYSQL_ROWS *tmp= NULL; | ^~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c: In function 'MADB_StmtPrepare': /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -std=gnu99 -fPIC -MD -MT CMakeFiles/maodbc.dir/ma_conv_charset.c.o -MF CMakeFiles/maodbc.dir/ma_conv_charset.c.o.d -o CMakeFiles/maodbc.dir/ma_conv_charset.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_conv_charset.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c:674:17: warning: unused variable 'HasParameters' [-Wunused-variable] 674 | BOOL HasParameters= 0; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c: In function 'MADB_StmtFetch': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c:2231:20: warning: unused variable 'Streaming' [-Wunused-variable] 2231 | BOOL Streaming= FALSE; /* Also means the lock has been obtained */ | ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_string.c: In function 'MADB_DynStrGetWhere': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_string.c:217:17: warning: variable 'EscapedLength' set but not used [-Wunused-but-set-variable] 217 | unsigned long EscapedLength; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c: In function 'MADB_StmtFetchScroll': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c:4296:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4296 | if (Position < 0 || !MADB_STMT_SHOULD_STREAM(Stmt) && (my_ulonglong)Position > mysql_stmt_num_rows(Stmt->stmt) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c: In function 'MADB_DriverConnect': /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:2171:20: warning: 'PreservePwd' may be used uninitialized [-Wmaybe-uninitialized] 2171 | Dsn->Password= PreservePwd; | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_connection.c:2158:11: note: 'PreservePwd' was declared here 2158 | char *PreservePwd; | ^~~~~~~~~~~ [100%] Linking C shared library libmaodbc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/maodbc.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,--version-script=/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/maodbc.def -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libmaodbc.so -o libmaodbc.so CMakeFiles/maodbc.dir/odbc_3_api.c.o CMakeFiles/maodbc.dir/ma_api_internal.c.o CMakeFiles/maodbc.dir/ma_error.c.o CMakeFiles/maodbc.dir/ma_connection.c.o CMakeFiles/maodbc.dir/ma_helper.c.o CMakeFiles/maodbc.dir/ma_debug.c.o CMakeFiles/maodbc.dir/ma_dsn.c.o CMakeFiles/maodbc.dir/ma_driver.c.o CMakeFiles/maodbc.dir/ma_info.c.o CMakeFiles/maodbc.dir/ma_environment.c.o CMakeFiles/maodbc.dir/ma_parse.c.o CMakeFiles/maodbc.dir/ma_catalog.c.o CMakeFiles/maodbc.dir/ma_statement.c.o CMakeFiles/maodbc.dir/ma_desc.c.o CMakeFiles/maodbc.dir/ma_string.c.o CMakeFiles/maodbc.dir/ma_result.c.o CMakeFiles/maodbc.dir/ma_common.c.o CMakeFiles/maodbc.dir/ma_server.c.o CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o CMakeFiles/maodbc.dir/ma_typeconv.c.o CMakeFiles/maodbc.dir/ma_bulk.c.o CMakeFiles/maodbc.dir/ma_platform_posix.c.o CMakeFiles/maodbc.dir/ma_conv_charset.c.o -lmariadb -lodbcinst -lm gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' [100%] Built target maodbc gmake[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/loongarch64-OpenCloudOS-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Q1DSs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 + cd mariadb-connector-odbc-3.1.19-src + DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 + /usr/bin/cmake --install loongarch64-OpenCloudOS-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/lib/pkgconfig/libmaodbc.pc -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/lib64/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/licenses/mariadb-connector-odbc/COPYING + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.1.19-1.ocs23 --unique-debug-suffix -3.1.19-1.ocs23.loongarch64 --unique-debug-src-base mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/lib64/libmaodbc.so 1395 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64 error: File not found: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/lib64/pkgconfig/libmaodbc.pc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PjxrHo + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.19-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/doc/mariadb-connector-odbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vihjxM + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.19-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/licenses/mariadb-connector-odbc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/share/licenses/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.ocs23.loongarch64/usr/lib64/pkgconfig/libmaodbc.pc Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec