Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f39-build-2244127-53699/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704585600 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.1.20-1.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f39-build-2244127-53699/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1704585600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.awEnKN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.1.20-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mariadb-connector-odbc-3.1.20-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.1.20-src + rm -rf /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (libraries_include_path.patch): + echo 'Patch #1 (libraries_include_path.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ma_odbc.h patching file ma_conv_charset.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qyKZxw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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.20-src + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 redhat-linux-build -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:28 (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 13.2.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 CMake Deprecation Warning at CMakeLists.txt:30 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- MariaDB Connector ODBC: INSTALL_BINDIR=bin -- MariaDB Connector ODBC: INSTALL_LIBDIR=lib64 -- MariaDB Connector ODBC: INSTALL_PCDIR=lib64/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=lib64/mariadb/plugin -- MariaDB Connector ODBC: INSTALL_PLUGINDIR_CLIENT=lib64/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 -- Found DM header: /usr/include/sql.h -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- C/C library found here /usr/lib64/libmariadb.so -- C/C headers have been found here /usr/include/mysql -- Linking Connector/C library dynamically(/usr/lib64/libmariadb.so) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/maodbc.def -- All linked targets/external dependencies: /usr/lib64/libmariadb.so odbcinst m -- Configuring to install libmaodbc.pc -- Package Name: mariadb-connector-odbc-3.1.20-linux-riscv64 -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/README -- Source Package Filename: mariadb-connector-odbc-3.1.20-src.TGZ -- Configuring done (113.1s) -- Generating done (1.2s) 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.20-src/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 /usr/bin/cmake -S/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build' /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.20-src/redhat-linux-build' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build/CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build' /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.20-src/redhat-linux-build' 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.20-src/redhat-linux-build' [ 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.20-src/redhat-linux-build' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build/CMakeFiles/maodbc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build' /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.20-src/redhat-linux-build' [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/odbc_3_api.c [ 8%] Building C object CMakeFiles/maodbc.dir/ma_connection.c.o [ 12%] 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_connection.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_helper.c [ 16%] Building C object CMakeFiles/maodbc.dir/ma_error.c.o [ 25%] Building C object CMakeFiles/maodbc.dir/ma_driver.c.o [ 25%] 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_error.c [ 29%] Building C object CMakeFiles/maodbc.dir/ma_dsn.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_api_internal.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_dsn.c [ 33%] 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_debug.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_driver.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_error.c: In function ‘MADB_GetDiagRec’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_error.c:259:15: warning: variable ‘Length’ set but not used [-Wunused-but-set-variable] 259 | SQLSMALLINT Length= 0; | ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c: In function ‘MADB_DbcSetAttr’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:301: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 301 | #pragma warning(disable:4995) | /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:302: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 302 | #pragma warning(push) | /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:308: warning: ignoring ‘#pragma warning ’ [-Wunknown-pragmas] 308 | #pragma warning(pop) | /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/odbc_3_api.c: In function ‘SQLConnectCommon’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/odbc_3_api.c:546:11: warning: variable ‘DsnFound’ set but not used [-Wunused-but-set-variable] 546 | my_bool DsnFound; | ^~~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_odbc.h:445, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c: In function ‘MADB_DbcTrackSession’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:2234:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 2234 | Dbc->AutoCommit= test(length > 1 && (value[1] == 'N' || value[1] == 'n') || length == 1 && *value == '1'); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_helper.h:97:27: note: in definition of macro ‘test’ 97 | #define test(a) ((a) ? 1 : 0) | ^ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_helper.c: In function ‘MADB_CharToSQLNumeric’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_helper.c:1027:9: warning: unused variable ‘leading_zeros’ [-Wunused-variable] 1027 | int leading_zeros= 0; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_dsn.c: In function ‘MADB_DsnToString’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_dsn.c:661:12: warning: unused variable ‘p’ [-Wunused-variable] 661 | char *p= OutString; | ^ [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_info.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_dsn.c: In function ‘MADB_DsnSwitchDependents’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_dsn.c:241:99: warning: ‘KeySet’ may be used uninitialized [-Wmaybe-uninitialized] 241 | *GET_FIELD_PTR(Dsn, &DsnKeys[DsnKeysSwitch[i].Dependent], my_bool)= DsnKeysSwitch[i].Same == KeySet ? 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_dsn.c:208:15: note: ‘KeySet’ was declared here 208 | my_bool KeySet; | ^~~~~~ [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_environment.c [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_parse.c [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_catalog.c [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_statement.c [ 58%] Building C object CMakeFiles/maodbc.dir/ma_desc.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_desc.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_parse.c: In function ‘ParseQuery’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_parse.c:395:51: warning: unused variable ‘LastSemicolon’ [-Wunused-variable] 395 | char *end= p + Length, *CurQuery= NULL, *LastSemicolon= NULL; | ^~~~~~~~~~~~~ [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_string.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_statement.c: In function ‘MADB_StmtPrepare’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c: In function ‘MADB_DriverConnect’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_statement.c:662:17: warning: unused variable ‘HasParameters’ [-Wunused-variable] 662 | BOOL HasParameters= 0; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:2183:20: warning: ‘PreservePwd’ may be used uninitialized [-Wmaybe-uninitialized] 2183 | Dsn->Password= PreservePwd; | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_connection.c:2170:11: note: ‘PreservePwd’ was declared here 2170 | char *PreservePwd; | ^~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_string.c: In function ‘MADB_DynStrGetWhere’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-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.20-src/ma_statement.c: In function ‘MADB_StmtFetch’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_statement.c:2219:20: warning: unused variable ‘Streaming’ [-Wunused-variable] 2219 | BOOL Streaming= FALSE; /* Also means the lock has been obtained */ | ^~~~~~~~~ [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_server.c [ 79%] Building C object CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_legacy_helpers.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_result.c: In function ‘MADB_StmtDataSeek’: /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/ma_result.c:84:15: warning: unused variable ‘tmp’ [-Wunused-variable] 84 | MYSQL_ROWS *tmp= NULL; | ^~~ [ 83%] 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_typeconv.c [ 87%] Building C object CMakeFiles/maodbc.dir/ma_bulk.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_bulk.c [ 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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_platform_posix.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.20-src -I/usr/include/mariadb -I/usr/local/include/mariadb -I/usr/include/mysql -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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.20-src/ma_conv_charset.c [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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -O2 -g -DNDEBUG -Wl,--version-script=/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/maodbc.def -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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.20-src/redhat-linux-build' [100%] Built target maodbc gmake[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YHlEoj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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.20-src + DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/lib64/pkgconfig/libmaodbc.pc -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/doc/mariadb-connector-odbc/maodbc.ini -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/lib64/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/licenses/mariadb-connector-odbc/COPYING + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.1.20-1.fc39 --unique-debug-suffix -3.1.20-1.fc39.riscv64 --unique-debug-src-base mariadb-connector-odbc-3.1.20-1.fc39.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 1397 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mariadb-connector-odbc-3.1.20-1.fc39.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EuRYUv + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.20-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/doc/mariadb-connector-odbc + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/doc/mariadb-connector-odbc + cp -pr /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VOpMxV + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.20-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/licenses/mariadb-connector-odbc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/licenses/mariadb-connector-odbc + cp -pr /builddir/build/BUILD/mariadb-connector-odbc-3.1.20-src/COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64/usr/share/licenses/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmaodbc.so()(64bit) mariadb-connector-odbc = 3.1.20-1.fc39 mariadb-connector-odbc(riscv-64) = 3.1.20-1.fc39 pkgconfig(libmaodbc) = 3.1.20 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmariadb_3)(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libodbcinst.so.2()(64bit) rtld(GNU_HASH) Processing files: mariadb-connector-odbc-debugsource-3.1.20-1.fc39.riscv64 Provides: mariadb-connector-odbc-debugsource = 3.1.20-1.fc39 mariadb-connector-odbc-debugsource(riscv-64) = 3.1.20-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mariadb-connector-odbc-debuginfo-3.1.20-1.fc39.riscv64 Provides: debuginfo(build-id) = c8cb4198349a70a2ff03c233383fcccab2fa292d libmaodbc.so-3.1.20-1.fc39.riscv64.debug()(64bit) mariadb-connector-odbc-debuginfo = 3.1.20-1.fc39 mariadb-connector-odbc-debuginfo(riscv-64) = 3.1.20-1.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mariadb-connector-odbc-debugsource(riscv-64) = 3.1.20-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.20-1.fc39.riscv64 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.1.20-1.fc39.riscv64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.1.20-1.fc39.riscv64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.1.20-1.fc39.riscv64.rpm Child return code was: 0