Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-5697-310/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.0.7-1.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/dist-c8-build-5697-310/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SPTLIB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.0.7-ga-src + /usr/bin/gzip -dc /builddir/build/SOURCES/mariadb-connector-odbc-3.0.7-ga-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.0.7-ga-src + /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 -p1 --fuzz=0 patching file ma_odbc.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aQSsU1 + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.7-ga-src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON ./ -DMARIADB_LINK_DYNAMIC=/usr/lib/libmariadb.so -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR=/usr/include -DLIB_INSTALL_DIR=/usr/lib -DSHARE_INSTALL_PREFIX=/usr/share -DSYSCONF_INSTALL_DIR=/etc -- The C compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- There is no Connector/C sub-project folder, 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/lib /usr/lib -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Configuring to build without SSL support -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/maodbc.def -- linux -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/README -- Source Package Filename: mariadb-connector-odbc-3.0.7-ga-src.TGZ -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src + cmake -L -- There is no Connector/C sub-project folder, linking against libmariadb installed on the system -- Found odbc_config: /usr/bin/odbc_config -- Found ODBC Driver Manager libraries: /usr/lib /usr/lib -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Configuring to build without SSL support -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/maodbc.def -- linux -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/README -- Source Package Filename: mariadb-connector-odbc-3.0.7-ga-src.TGZ -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -- Cache values CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG CMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG CMAKE_INSTALL_PREFIX:PATH=/usr ODBC_CONFIG:FILEPATH=/usr/bin/odbc_config + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pK4fyu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 + cd mariadb-connector-odbc-3.0.7-ga-src + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 'INSTALL=/usr/bin/install -p' /usr/bin/cmake -H/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' /usr/bin/make -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' cd /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/CMakeFiles/maodbc.dir/DependInfo.cmake --color= Scanning dependencies of target maodbc make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' /usr/bin/make -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/build make[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' [ 4%] Building C object CMakeFiles/maodbc.dir/odbc_3_api.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/odbc_3_api.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c: In function 'MA_SQLAllocHandle': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c:36:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*OutputHandlePtr = (SQLHANDLE)MADB_DbcInit((MADB_Env *)InputHandle)) ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c:43:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (*OutputHandlePtr = (SQLHANDLE)MADB_DescInit((MADB_Dbc *)InputHandle, MADB_DESC_UNKNOWN, TRUE)) ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c: In function 'SQLConnectCommon': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c:665:11: warning: variable 'DsnFound' set but not used [-Wunused-but-set-variable] my_bool DsnFound; ^~~~~~~~ /usr/include/sql.h: In function 'SQLFreeHandle': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/odbc_3_api.c:1438:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] SQLRETURN ret; ^~~ [ 9%] Building C object CMakeFiles/maodbc.dir/ma_error.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_error.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] { ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c:147:5: { 0,0,0, -1} { } /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] { ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c:147:5: { 0,0,0, -1} { } /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c: In function 'MADB_GetDiagRec': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.c:263:15: warning: variable 'Length' set but not used [-Wunused-but-set-variable] SQLSMALLINT Length= 0; ^~~~~~ [ 14%] Building C object CMakeFiles/maodbc.dir/ma_connection.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_connection.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:36, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c: In function 'MADB_Dbc_GetCurrentDB': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:515:54: warning: pointer targets in passing argument 2 of 'Stmt->Methods->ExecDirect' differ in signedness [-Wpointer-sign] if (!SQL_SUCCEEDED(Stmt->Methods->ExecDirect(Stmt, (SQLCHAR *)"SELECT IF(DATABASE() IS NOT NULL,DATABASE(),'null')", SQL_NTS)) || ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:515:54: note: expected 'char *' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c: In function 'MADB_DriverConnect': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:1799:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] StringLength1= (SQLSMALLINT)strlen(InConnectionString); ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:41, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:19: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:25, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.h:67:40: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] #define strncpy_s(a,b,c,d) strncpy((a),(c),(b)) ^~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:1804:7: note: in expansion of macro 'strncpy_s' strncpy_s((char *)OutConnectionString, BufferLength, InConnectionString, StringLength1); ^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.h:32, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:25, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:19: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_connection.c:1792:20: warning: 'PreservePwd' may be used uninitialized in this function [-Wmaybe-uninitialized] Dsn->Password= PreservePwd; ~~~~~~~~~~~~~^~~~~~~~~~~~~ [ 19%] Building C object CMakeFiles/maodbc.dir/ma_helper.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_helper.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c: In function 'MADB_KeyTypeCount': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:157:7: warning: the address of 'Database' will always evaluate as 'true' [-Waddress] if (Database) ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:163:37: warning: pointer targets in passing argument 2 of 'Stmt->Methods->ExecDirect' differ in signedness [-Wpointer-sign] Stmt->Methods->ExecDirect(Stmt, (SQLCHAR *)StmtStr, SQL_NTS) == SQL_ERROR || ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:163:37: note: expected 'char *' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c: In function 'MADB_CharToSQLNumeric': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:993:9: warning: unused variable 'leading_zeros' [-Wunused-variable] int leading_zeros= 0; ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:992:9: warning: unused variable 'tmp_digit' [-Wunused-variable] int tmp_digit= 0; ^~~~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:36, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c: In function 'MADB_DaeStmt': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:1198:69: warning: pointer targets in passing argument 2 of 'Stmt->DaeStmt->Methods->Prepare' differ in signedness [-Wpointer-sign] if (!SQL_SUCCEEDED(Stmt->DaeStmt->Methods->Prepare(Stmt->DaeStmt, (SQLCHAR *)DynStmt.str, SQL_NTS, FALSE))) ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.c:1198:69: note: expected 'char *' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} [ 23%] Building C object CMakeFiles/maodbc.dir/ma_debug.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_debug.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_debug.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_debug.c: In function 'ma_debug_printw': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_debug.c:47:5: warning: implicit declaration of function 'fwprintf'; did you mean 'fprintf'? [-Wimplicit-function-declaration] fwprintf(fp, format, va); ^~~~~~~~ fprintf [ 28%] Building C object CMakeFiles/maodbc.dir/ma_dsn.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_dsn.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:444, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_DSN_Free': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.h:99:3: warning: macro expands to multiple statements [-Wmultistatement-macros] free((a));\ ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:150:5: note: in expansion of macro 'MADB_FREE' MADB_FREE(Dsn); ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:149:3: note: some parts of macro expansion are not guarded by this 'if' clause if (Dsn->FreeMe) ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_ReadDSN': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:300:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (Value= strchr(KeyValue, '=')) ^~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_SaveDSN': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:378:7: warning: enumeration value 'DSN_TYPE_OPTION' not handled in switch [-Wswitch] switch(DsnKeys[i].Type){ ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_ParseConnString': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:440:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] my_bool ret; ^~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_DsnToString': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:566:7: warning: enumeration value 'DSN_TYPE_OPTION' not handled in switch [-Wswitch] switch (DsnKeys[i].Type) { ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:551:12: warning: unused variable 'p' [-Wunused-variable] char *p= OutString; ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c: In function 'MADB_DsnSwitchDependents': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_dsn.c:216:95: warning: 'KeySet' may be used uninitialized in this function [-Wmaybe-uninitialized] MADB_SetOptionValue(Dsn, &DsnKeys[DsnKeysSwitch[i].Dependent], DsnKeysSwitch[i].Same == KeySet ? 1 : 0); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ [ 33%] Building C object CMakeFiles/maodbc.dir/ma_driver.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_driver.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_driver.c [ 38%] Building C object CMakeFiles/maodbc.dir/ma_info.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_info.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_info.c [ 42%] Building C object CMakeFiles/maodbc.dir/ma_environment.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_environment.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_environment.c [ 47%] Building C object CMakeFiles/maodbc.dir/ma_parse.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_parse.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_parse.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_parse.c: In function 'ParseQuery': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_parse.c:440:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] Query->AnsiQuotes && Quote == '"')/* In indetifier quotation backslash does not escape anything - CLI has error with that */ ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_parse.c:383:51: warning: unused variable 'LastSemicolon' [-Wunused-variable] char *end= p + Length, *CurQuery= NULL, *LastSemicolon= NULL; ^~~~~~~~~~~~~ [ 52%] Building C object CMakeFiles/maodbc.dir/ma_statement.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_statement.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c: In function 'MADB_EDPrepare': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:452:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (Stmt->ParamCount= Stmt->Apd->Header.Count + (MADB_POSITIONED_COMMAND(Stmt) ? MADB_POS_COMM_IDX_FIELD_COUNT(Stmt) : 0)) ^~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:444, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.h:99:3: warning: macro expands to multiple statements [-Wmultistatement-macros] free((a));\ ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:455:7: note: in expansion of macro 'MADB_FREE' MADB_FREE(Stmt->params); ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:454:5: note: some parts of macro expansion are not guarded by this 'if' clause if (Stmt->params) ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c: In function 'MADB_StmtPrepare': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:513:17: warning: unused variable 'HasParameters' [-Wunused-variable] BOOL HasParameters= 0; ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c: In function 'MADB_GetOutParams': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:894:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (IpdRecord= MADB_DescGetInternalRecord(Stmt->Ipd, i, MADB_DESC_READ)) ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c: In function 'MADB_DoExecute': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_statement.c:963:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ExecDirect && mariadb_stmt_execute_direct(Stmt->stmt, STMT_STRING(Stmt), strlen(STMT_STRING(Stmt))) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 57%] Building C object CMakeFiles/maodbc.dir/ma_desc.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_desc.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_desc.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:444, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_desc.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_desc.c: In function 'MADB_DescFree': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.h:99:3: warning: macro expands to multiple statements [-Wmultistatement-macros] free((a));\ ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_desc.c:165:5: note: in expansion of macro 'MADB_FREE' MADB_FREE(Desc); ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_desc.c:164:3: note: some parts of macro expansion are not guarded by this 'if' clause if (!RecordsOnly) ^~ [ 61%] Building C object CMakeFiles/maodbc.dir/ma_string.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_string.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c: In function 'MADB_DynStrGetWhere': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:239:47: warning: pointer targets in passing argument 2 of 'CountStmt->Methods->ExecDirect' differ in signedness [-Wpointer-sign] CountStmt->Methods->ExecDirect(CountStmt, (SQLCHAR *)StmtStr, SQL_NTS); ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:239:47: note: expected 'char *' but argument is of type 'SQLCHAR *' {aka 'unsigned char *'} In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:444, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c: In function 'MADB_GetInsertStatement': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_helper.h:99:3: warning: macro expands to multiple statements [-Wmultistatement-macros] free((a));\ ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:383:5: note: in expansion of macro 'MADB_FREE' MADB_FREE(StmtStr); ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:382:3: note: some parts of macro expansion are not guarded by this 'if' clause if (StmtStr) ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c: In function 'MbstrOctetLen': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_string.c:463:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (inChars > 0 || inChars < 0 && *str) ~~~~~~~~~~~~^~~~~~~ [ 66%] Building C object CMakeFiles/maodbc.dir/ma_result.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_result.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_result.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_result.c: In function 'MADB_StmtDataSeek': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_result.c:40:15: warning: unused variable 'tmp' [-Wunused-variable] MYSQL_ROWS *tmp= NULL; ^~~ [ 71%] Building C object CMakeFiles/maodbc.dir/ma_common.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_common.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_common.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_common.c: In function 'ltrim': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_common.c:32:17: warning: implicit declaration of function 'iswspace' [-Wimplicit-function-declaration] while (Str && iswspace(Str[0])) ^~~~~~~~ [ 76%] Building C object CMakeFiles/maodbc.dir/ma_server.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_server.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_server.c [ 80%] Building C object CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_legacy_helpers.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_legacy_helpers.c:129:1: warning: "/*" within comment [-Wcomment] /* [ 85%] Building C object CMakeFiles/maodbc.dir/ma_typeconv.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_typeconv.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c: In function 'MADB_Str2Ts': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:73:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (Frac= strchr(Start, '.')) /* fractional seconds */ ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:77:38: warning: format '%u' expects argument of type 'unsigned int *', but argument 6 has type 'SQLUINTEGER *' {aka 'long unsigned int *'} [-Wformat=] if (sscanf(Start, "%hd:%hu:%hu.%9u", &Ts->hour, &Ts->minute, ~~^ %9lu &Ts->second, &Ts->fraction) < 4) ~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c: In function 'MADB_ConvertNumericToChar': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:176:11: warning: unused variable 'hasDot' [-Wunused-variable] my_bool hasDot= FALSE; ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:172:7: warning: unused variable 'ppos' [-Wunused-variable] int ppos= 0; ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:170:31: warning: unused variable 'Right' [-Wunused-variable] unsigned long long Left= 0, Right= 0; ^~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c: In function 'MADB_TsConversionIsPossible': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_typeconv.c:457:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (isTime == 0 && ts->year == 0 || ts->month == 0 || ts->day == 0) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ [ 90%] Building C object CMakeFiles/maodbc.dir/ma_bulk.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_bulk.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c: In function 'MADB_CleanBulkOperData': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c:78:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (CRec= MADB_DescGetInternalRecord(Stmt->Apd, i, MADB_DESC_READ)) ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c: In function 'MADB_SetBulkOperLengthArr': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c:166:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (OctetLengthPtr != NULL && OctetLengthPtr[row] == SQL_NULL_DATA ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_bulk.c:172:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (OctetLengthPtr != NULL && OctetLengthPtr[row] == SQL_COLUMN_IGNORE ^ [ 95%] Building C object CMakeFiles/maodbc.dir/ma_platform_posix.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_platform_posix.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c: In function 'SqlwcsOctetLen': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c:128:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (inChars > 0 || inChars < 0 && *str) ~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_odbc.h:434, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c:26: /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c: In function 'MADB_ConvertAnsi2Unicode': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_error.h:163:3: warning: macro expands to multiple statements [-Wmultistatement-macros] strcpy_s((a)->SqlState, SQL_SQLSTATE_SIZE+1, MADB_ErrorList[MADB_ERR_00000].SqlState); \ ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c:257:5: note: in expansion of macro 'MADB_CLEAR_ERROR' MADB_CLEAR_ERROR(Error); ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c:256:3: note: some parts of macro expansion are not guarded by this 'if' clause if (Error) ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c: In function 'MADB_DSN_PossibleConnect': /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/ma_platform_posix.c:392:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses] return Dsn->Socket || Dsn->ServerName && Dsn->Port > 0 && Dsn->IsTcpIp; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ [100%] Linking C shared library libmaodbc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/maodbc.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -Wl,--version-script=/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/maodbc.def -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libmaodbc.so -o libmaodbc.so CMakeFiles/maodbc.dir/odbc_3_api.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_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 -lmariadb -lodbcinst -lm make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' [100%] Built target maodbc make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/./lib/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/./share/doc/mariadb_connector_odbc/COPYING -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/./share/doc/mariadb_connector_odbc/README + rm /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/doc/mariadb_connector_odbc/COPYING + rm /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/doc/mariadb_connector_odbc/README + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 3.0.7-1.el8 --unique-debug-suffix -3.0.7-1.el8.i386 --unique-debug-src-base mariadb-connector-odbc-3.0.7-1.el8.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mariadb-connector-odbc-3.0.7-ga-src extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/lib/libmaodbc.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1234 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mariadb-connector-odbc-3.0.7-1.el8.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.otaCjf + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.7-ga-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/doc/mariadb-connector-odbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/doc/mariadb-connector-odbc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aIcB5Z + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.7-ga-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/licenses/mariadb-connector-odbc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386/usr/share/licenses/mariadb-connector-odbc + exit 0 Provides: libmaodbc.so mariadb-connector-odbc = 3.0.7-1.el8 mariadb-connector-odbc(x86-32) = 3.0.7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) libmariadb.so.3 libmariadb.so.3(libmariadb_3) libmariadb.so.3(libmysqlclient_18) libodbcinst.so.2 rtld(GNU_HASH) Processing files: mariadb-connector-odbc-debugsource-3.0.7-1.el8.i686 Provides: mariadb-connector-odbc-debugsource = 3.0.7-1.el8 mariadb-connector-odbc-debugsource(x86-32) = 3.0.7-1.el8 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.0.7-1.el8.i686 Provides: debuginfo(build-id) = 3c8b1b70209a2da481f0d5570eda2cb9b3cddd18 mariadb-connector-odbc-debuginfo = 3.0.7-1.el8 mariadb-connector-odbc-debuginfo(x86-32) = 3.0.7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mariadb-connector-odbc-debugsource(x86-32) = 3.0.7-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.0.7-1.el8.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.0.7-1.el8.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.0.7-1.el8.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PFsJIL + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.7-ga-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.7-1.el8.i386 + exit 0 Child return code was: 0