Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f40-build-769795-125734/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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=1690329600 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.1.19-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f40-build-769795-125734/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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=1690329600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H2a18t + 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 + rm -rf /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libraries_include_path.patch):' 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.U8pE7I + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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.19-src + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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: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 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:25 (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=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-riscv64 -- 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 (3.6s) -- 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/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /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/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.19-src/redhat-linux-build/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-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.19-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.19-src/redhat-linux-build' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build && /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/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build/CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-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.19-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.19-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.19-src/redhat-linux-build' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build && /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/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build/CMakeFiles/maodbc.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-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.19-src/redhat-linux-build' [ 16%] Building C object CMakeFiles/maodbc.dir/odbc_3_api.c.o [ 16%] Building C object CMakeFiles/maodbc.dir/ma_api_internal.c.o [ 16%] Building C object CMakeFiles/maodbc.dir/ma_connection.c.o [ 16%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/odbc_3_api.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_api_internal.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_connection.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_error.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/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) | /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_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; | ^~~~~~ 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_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) | ^ [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_helper.c /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; | ^~~~~~~~~~~~~ [ 25%] 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_debug.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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_dsn.c /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; | ^~~~~~~~~~~ /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_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; | ^~~~~~ [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_driver.c [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_statement.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_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')) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/ma_statement.c: In function ‘MADB_StmtPrepare’: /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_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) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_desc.c [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_string.c /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; | ^~~~~~~~~~~~~ [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_common.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; | ^~~ [ 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-src/ma_legacy_helpers.c [ 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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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.19-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.19-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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -fno-omit-frame-pointer -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/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.19-src/redhat-linux-build' [100%] Built target maodbc gmake[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uqW5t1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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.19-src + DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/lib/pkgconfig/libmaodbc.pc -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/lib64/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/share/licenses/mariadb-connector-odbc/COPYING + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 3.1.19-1.fc40 --unique-debug-suffix -3.1.19-1.fc40.riscv64 --unique-debug-src-base mariadb-connector-odbc-3.1.19-1.fc40.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.19-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.19-1.fc40.riscv64 1395 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 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mariadb-connector-odbc-3.1.19-1.fc40.riscv64 error: File not found: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/lib64/pkgconfig/libmaodbc.pc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3hM0mx + 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.fc40.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.19-1.fc40.riscv64/usr/share/doc/mariadb-connector-odbc + cp -pr /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.adnLze + 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.fc40.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.19-1.fc40.riscv64/usr/share/licenses/mariadb-connector-odbc + cp -pr /builddir/build/BUILD/mariadb-connector-odbc-3.1.19-src/COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.19-1.fc40.riscv64/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.fc40.riscv64/usr/lib64/pkgconfig/libmaodbc.pc Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec