Mock Version: 1.4.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/596538-fedora-rawhide-i386/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5952dedfa07942d2bb3f937132c3bef7', '-D', '/var/lib/mock/596538-fedora-rawhide-i386/root', '-a', '--private-network', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.0.1-1.fc28.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/596538-fedora-rawhide-i386/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--private-network', '--private-network']printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cfe9a34a3e9549518b15ed3d54ae24e1', '-D', '/var/lib/mock/596538-fedora-rawhide-i386/root', '-a', '--private-network', '--private-network', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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': 'en_US.UTF-8'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qxQfhM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.0.1-beta-src + /usr/bin/gzip -dc /builddir/build/SOURCES/mariadb-connector-odbc-3.0.1-beta-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.0.1-beta-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch (cmake.patch):' Patch (cmake.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .backup --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 230 (offset 15 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.knKih8 + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.1-beta-src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -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_DYNAMIC_LIB=/usr/lib/mariadb/libmariadb.so -- The C compiler identification is GNU 7.1.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 -- Looking for floor -- Looking for floor - not found -- Looking for floor in m -- Looking for floor in m - found -- Found MariaDB includes: /usr/include -- Found MariaDB libraries: /usr/lib/mariadb/ -- Found odbc_config: /usr/bin/odbc_config -- Found ODBC Driver Manager libraries: /usr/lib -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Configuring to build without SSL support -- linux -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/README -- Source Package Filename: mariadb-connector-odbc-3.0.1-beta-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 INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oqP8Rw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 + cd mariadb-connector-odbc-3.0.1-beta-src + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 'INSTALL=/usr/bin/install -p' DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 /usr/bin/cmake -H/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src' cd /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/CMakeFiles/maodbc.dir/DependInfo.cmake --color= Scanning dependencies of target maodbc make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/odbc_3_api.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/odbc_3_api.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/odbc_3_api.c: In function 'MA_SQLAllocHandle': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-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.1-beta-src/odbc_3_api.c: In function 'SQLConnectCommon': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/odbc_3_api.c:653: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.1-beta-src/odbc_3_api.c:1424: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_error.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] { ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c:147:5: { 0,0,0, -1} { } /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] { ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c:147:5: { 0,0,0, -1} { } /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_error.c: In function 'MADB_GetDiagRec': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_connection.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_odbc.h:36:0, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c: In function 'MADB_Dbc_GetCurrentDB': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c:501: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.1-beta-src/ma_connection.c:501:54: note: expected 'char *' but argument is of type 'SQLCHAR * {aka unsigned char *}' /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c: In function 'MADB_DriverConnect': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c:1756: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.1-beta-src/ma_odbc.h:41:0, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src/ma_odbc.h:25:0, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_connection.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src/ma_connection.c:1761:7: note: in expansion of macro 'strncpy_s' strncpy_s((char *)OutConnectionString, BufferLength, InConnectionString, StringLength1); ^~~~~~~~~ In file included from /usr/include/features.h:423:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_platform_posix.h:32, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_odbc.h:25, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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, ^ [ 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_helper.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c: In function 'MADB_KeyTypeCount': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:243:7: warning: the address of 'Database' will always evaluate as 'true' [-Waddress] if (Database) ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:249: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.1-beta-src/ma_helper.c:249:37: note: expected 'char *' but argument is of type 'SQLCHAR * {aka unsigned char *}' /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c: In function 'MADB_CharToSQLNumeric': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:1005:9: warning: unused variable 'leading_zeros' [-Wunused-variable] int leading_zeros= 0; ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:1004:9: warning: unused variable 'tmp_digit' [-Wunused-variable] int tmp_digit= 0; ^~~~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_odbc.h:36:0, from /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c: In function 'MADB_DaeStmt': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_helper.c:1211: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.1-beta-src/ma_helper.c:1211: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_debug.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_debug.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_debug.c: In function 'ma_debug_printw': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_dsn.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c: In function 'MADB_ReadDSN': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:291:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (Value= strchr(KeyValue, '=')) ^~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c: In function 'MADB_SaveDSN': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:369:7: warning: enumeration value 'DSN_TYPE_OPTION' not handled in switch [-Wswitch] switch(DsnKeys[i].Type){ ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c: In function 'MADB_ParseConnString': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:412:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] my_bool ret; ^~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c: In function 'MADB_DsnToString': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:528:7: warning: enumeration value 'DSN_TYPE_OPTION' not handled in switch [-Wswitch] switch (DsnKeys[i].Type) { ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:514:18: warning: unused variable 'p' [-Wunused-variable] char *p= OutString; ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c: In function 'MADB_DsnSwitchDependents': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_dsn.c:204:113: warning: 'KeySet' may be used uninitialized in this function [-Wmaybe-uninitialized] *GET_FIELD_PTR(Dsn, &DsnKeys[DsnKeysSwitch[i].Dependent], my_bool)= 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_driver.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_info.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_environment.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_parse.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_parse.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_parse.c: In function 'MADB_GetToken': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_parse.c:25:10: warning: implicit declaration of function 'iswspace' [-Wimplicit-function-declaration] while (iswspace(*Pos) && Pos < End) ^~~~~~~~ [ 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_statement.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c: In function 'MADB_StmtReset': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c:413:3: warning: enumeration value 'MADB_SS_INITED' not handled in switch [-Wswitch] switch (Stmt->State) ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c: In function 'MADB_EDPrepare': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c:443: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)) ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c: In function 'MADB_GetOutParams': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c:882: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.1-beta-src/ma_statement.c: In function 'MADB_DoExecute': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c:951:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (ExecDirect && mariadb_stmt_execute_direct(Stmt->stmt, Stmt->StmtString, strlen(Stmt->StmtString)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c: In function 'MADB_StmtFetch': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_statement.c:1843:22: warning: unused variable 'ArdDesc' [-Wunused-variable] MADB_Desc *ArdDesc= Stmt->Ard; ^~~~~~~ [ 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_desc.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_desc.c [ 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_string.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c: In function 'MADB_DynStrGetWhere': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src/ma_string.c:239:47: note: expected 'char *' but argument is of type 'SQLCHAR * {aka unsigned char *}' /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c: In function 'StripComments': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c:391:10: warning: unused variable 'len' [-Wunused-variable] size_t len = strlen(s) + 1; ^~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c: In function 'MbstrOctetLen': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_string.c:503: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_result.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_result.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_result.c: In function 'MADB_StmtDataSeek': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_result.c:24: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_common.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_common.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_common.c: In function 'trim': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_common.c:34: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_server.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_legacy_helpers.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_legacy_helpers.c:128: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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_typeconv.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c: In function 'MADB_ConvertNumericToChar': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c:81:11: warning: unused variable 'hasDot' [-Wunused-variable] my_bool hasDot= FALSE; ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c:77:7: warning: unused variable 'ppos' [-Wunused-variable] int ppos= 0; ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c:75:31: warning: unused variable 'Right' [-Wunused-variable] unsigned long long Left= 0, Right= 0; ^~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c: In function 'MADB_Time2Sql': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_typeconv.c:422:117: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((SqlRec->ConciseType == SQL_TYPE_TIME || SqlRec->ConciseType == SQL_TYPE_TIMESTAMP || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SqlRec->ConciseType == SQL_TIME || SqlRec->ConciseType == SQL_TIMESTAMP || SqlRec->ConciseType == SQL_DATETIME) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ts->hour > 23|| ts->minute > 59 || ts->second > 59) ~~~~~~~~~~~~~ [ 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_bulk.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_bulk.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_bulk.c: In function 'MADB_CleanBulkOperData': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_bulk.c:94: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.1-beta-src/ma_bulk.c: In function 'MADB_SetBulkOperLengthArr': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_bulk.c:182:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (OctetLengthPtr != NULL && OctetLengthPtr[i] == SQL_NULL_DATA ^ /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_bulk.c:188:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (OctetLengthPtr != NULL && OctetLengthPtr[i] == 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.1-beta-src -I"/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/-I/usr/include -I/usr/include/mysql" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -fPIC -I/usr/include -I/usr/include/mysql -o CMakeFiles/maodbc.dir/ma_platform_posix.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_platform_posix.c /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_platform_posix.c: In function 'SqlwcsOctetLen': /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/ma_platform_posix.c:128:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] while (inChars > 0 || inChars < 0 && *str) ~~~~~~~~~~~~^~~~~~~ [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 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -O2 -g -DNDEBUG -Wl,-z,relro -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 -Wl,-rpath,/usr/lib/mariadb: /usr/lib/mariadb/libmariadb.so -lodbcinst -lm make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src' [100%] Built target maodbc make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.0.1-beta-src' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/lib/libmaodbc.so -- Set runtime path of "/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/lib/libmaodbc.so" to "" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/./share/doc/mariadb_connector_odbc/COPYING -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/./share/doc/mariadb_connector_odbc/README + rm //builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/share/doc/mariadb_connector_odbc/COPYING + rm //builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/share/doc/mariadb_connector_odbc/README + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.0.1-1.fc28 --unique-debug-suffix -3.0.1-1.fc28.i386 --unique-debug-src-base mariadb-connector-odbc-3.0.1-1.fc28.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.1-beta-src extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/lib/libmaodbc.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1181 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: mariadb-connector-odbc-3.0.1-1.fc28.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GXGKfj + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.1-beta-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.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.1-1.fc28.i386/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/share/doc/mariadb-connector-odbc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MvjAE5 + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.1-beta-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.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.1-1.fc28.i386/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386/usr/share/licenses/mariadb-connector-odbc + exit 0 Provides: libmaodbc.so mariadb-connector-odbc = 3.0.1-1.fc28 mariadb-connector-odbc(x86-32) = 3.0.1-1.fc28 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) 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.1-1.fc28.i686 Provides: mariadb-connector-odbc-debugsource = 3.0.1-1.fc28 mariadb-connector-odbc-debugsource(x86-32) = 3.0.1-1.fc28 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.1-1.fc28.i686 Provides: debuginfo(build-id) = f94df537e01374bd45a4935aee8d8e93b35bea52 mariadb-connector-odbc-debuginfo = 3.0.1-1.fc28 mariadb-connector-odbc-debuginfo(x86-32) = 3.0.1-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.0.1-1.fc28.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.0.1-1.fc28.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.0.1-1.fc28.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.S2e9hT + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.0.1-beta-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.0.1-1.fc28.i386 + exit 0 Child return code was: 0