Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1601545240.266710/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '646e12b5f7d742439725c6675ceb99e0', '-D', '/var/lib/mock/fedora-rawhide-i686-1601545240.266710/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1596672000 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.1.9-4.fc34.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1601545240.266710/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '85df6ff240ea43c6ac07256cf8f9b761', '-D', '/var/lib/mock/fedora-rawhide-i686-1601545240.266710/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7h4g4pc1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', '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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1596672000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y5zHlt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.1.9-ga-src + /usr/bin/gzip -dc /builddir/build/SOURCES/mariadb-connector-odbc-3.1.9-ga-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.1.9-ga-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libraries_include_path.patch):' Patch #1 (libraries_include_path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ma_odbc.h Patch #2 (add_docs_license_dir_option): + echo 'Patch #2 (add_docs_license_dir_option):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt patching file cmake/install.cmake + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0JAxJu + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.9-ga-src + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B i686-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_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 . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMARIADB_LINK_DYNAMIC=/usr/lib/libmariadb.so -DINSTALL_LAYOUT=RPM -DINSTALL_LIBDIR=lib -DINSTALL_LIB_SUFFIX=lib -DINSTALL_DOCDIR=/usr/share/doc/mariadb-connector-odbc -DINSTALL_LICENSEDIR=/usr/share/licenses/mariadb-connector-odbc -- The C compiler identification is GNU 10.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Libraries installation dir: lib -- Authentication Plugins installation dir: lib/mariadb/plugin -- Configuring to build without SSL support -- 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 -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/maodbc.def -- All linked targets/external dependencies: mariadb odbcinst m -- Documentation and License file are installed to /usr/share/doc/mariadb-connector-odbc and /usr/share/licenses/mariadb-connector-odbc -- Package Name: mariadb-connector-odbc-3.1.9-ga-linux-i686 -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/README -- Source Package Filename: mariadb-connector-odbc-3.1.9-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 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.1.9-ga-src/i686-redhat-linux-gnu + /usr/bin/cmake --build i686-redhat-linux-gnu -j2 --verbose /usr/bin/cmake -S/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles/maodbc.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles/maodbc.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles/maodbc.dir/depend.internal". Dependee "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles/maodbc.dir/depend.internal". Scanning dependencies of target maodbc gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' /usr/bin/gmake -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' [ 4%] Building C object CMakeFiles/maodbc.dir/odbc_3_api.c.o [ 9%] Building C object CMakeFiles/maodbc.dir/ma_error.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/odbc_3_api.c /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_error.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] 25 | { | ^ ...... 147 | { 0,0,0, -1} | { } /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] 25 | { | ^ ...... 147 | { 0,0,0, -1} | { } /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_error.c: In function 'MADB_GetDiagRec': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_error.c:263:15: warning: variable 'Length' set but not used [-Wunused-but-set-variable] 263 | SQLSMALLINT Length= 0; | ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/odbc_3_api.c: In function 'SQLConnectCommon': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/odbc_3_api.c:669:11: warning: variable 'DsnFound' set but not used [-Wunused-but-set-variable] 669 | my_bool DsnFound; | ^~~~~~~~ [ 14%] Building C object CMakeFiles/maodbc.dir/ma_connection.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_connection.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_connection.c: In function 'MADB_DriverConnect': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_connection.c:1928:20: warning: 'PreservePwd' may be used uninitialized in this function [-Wmaybe-uninitialized] 1928 | Dsn->Password= PreservePwd; | ~~~~~~~~~~~~~^~~~~~~~~~~~~ [ 19%] Building C object CMakeFiles/maodbc.dir/ma_helper.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_helper.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.c: In function 'MADB_CharToSQLNumeric': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.c:1011:9: warning: unused variable 'leading_zeros' [-Wunused-variable] 1011 | int leading_zeros= 0; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.c:1010:9: warning: unused variable 'tmp_digit' [-Wunused-variable] 1010 | int tmp_digit= 0; | ^~~~~~~~~ [ 23%] Building C object CMakeFiles/maodbc.dir/ma_debug.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_debug.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_debug.c: In function 'ma_debug_printw': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_debug.c:47:5: warning: implicit declaration of function 'fwprintf'; did you mean 'fprintf'? [-Wimplicit-function-declaration] 47 | fwprintf(fp, format, va); | ^~~~~~~~ | fprintf [ 28%] Building C object CMakeFiles/maodbc.dir/ma_dsn.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_dsn.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_odbc.h:450, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c: In function 'MADB_DSN_Free': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 97 | free((a));\ | ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:162:5: note: in expansion of macro 'MADB_FREE' 162 | MADB_FREE(Dsn); | ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:161:3: note: some parts of macro expansion are not guarded by this 'if' clause 161 | if (Dsn->FreeMe) | ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c: In function 'MADB_DsnStoreValue': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:284:15: warning: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] 284 | if (strcasestr(Value, TlsVersionName[i]) != NULL) | ^~~~~~~~~~ | strcasecmp /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:284:52: warning: comparison between pointer and integer 284 | if (strcasestr(Value, TlsVersionName[i]) != NULL) | ^~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c: In function 'MADB_DsnToString': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:641:12: warning: unused variable 'p' [-Wunused-variable] 641 | char *p= OutString; | ^ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c: In function 'MADB_DsnSwitchDependents': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_dsn.c:226:99: warning: 'KeySet' may be used uninitialized in this function [-Wmaybe-uninitialized] 226 | *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/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_driver.c [ 38%] Building C object CMakeFiles/maodbc.dir/ma_info.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_info.c [ 42%] Building C object CMakeFiles/maodbc.dir/ma_environment.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_environment.c [ 47%] Building C object CMakeFiles/maodbc.dir/ma_parse.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_parse.c [ 52%] Building C object CMakeFiles/maodbc.dir/ma_statement.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_statement.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_parse.c: In function 'ParseQuery': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_parse.c:387:51: warning: unused variable 'LastSemicolon' [-Wunused-variable] 387 | char *end= p + Length, *CurQuery= NULL, *LastSemicolon= NULL; | ^~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_statement.c: In function 'MADB_StmtPrepare': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_statement.c:520:17: warning: unused variable 'HasParameters' [-Wunused-variable] 520 | BOOL HasParameters= 0; | ^~~~~~~~~~~~~ [ 57%] Building C object CMakeFiles/maodbc.dir/ma_desc.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_desc.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_odbc.h:450, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_desc.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_desc.c: In function 'MADB_DescFree': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 97 | free((a));\ | ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_desc.c:168:5: note: in expansion of macro 'MADB_FREE' 168 | MADB_FREE(Desc); | ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_desc.c:167:3: note: some parts of macro expansion are not guarded by this 'if' clause 167 | if (!RecordsOnly) | ^~ [ 61%] Building C object CMakeFiles/maodbc.dir/ma_string.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_string.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c: In function 'MADB_DynStrGetWhere': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c:214:17: warning: variable 'EscapedLength' set but not used [-Wunused-but-set-variable] 214 | unsigned long EscapedLength; | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_odbc.h:450, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c:19: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c: In function 'MADB_GetInsertStatement': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 97 | free((a));\ | ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c:387:5: note: in expansion of macro 'MADB_FREE' 387 | MADB_FREE(StmtStr); | ^~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_string.c:386:3: note: some parts of macro expansion are not guarded by this 'if' clause 386 | if (StmtStr) | ^~ [ 66%] Building C object CMakeFiles/maodbc.dir/ma_result.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_result.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_result.c: In function 'MADB_StmtDataSeek': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_result.c:84:15: warning: unused variable 'tmp' [-Wunused-variable] 84 | MYSQL_ROWS *tmp= NULL; | ^~~ [ 71%] Building C object CMakeFiles/maodbc.dir/ma_common.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_common.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_common.c: In function 'ltrim': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_common.c:45:17: warning: implicit declaration of function 'iswspace' [-Wimplicit-function-declaration] 45 | while (Str && iswspace(Str[0])) | ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_common.c:45:29: warning: 'iswspace' argument 1 promotes to 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 45 | while (Str && iswspace(Str[0])) | ~~~^~~ : note: built-in 'iswspace' declared here /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_common.c: In function 'trim': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_common.c:59:19: warning: 'iswspace' argument 1 promotes to 'int' where 'unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 59 | while (iswspace(*end)) | ^~~~ : note: built-in 'iswspace' declared here [ 76%] Building C object CMakeFiles/maodbc.dir/ma_server.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_server.c [ 80%] Building C object CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_legacy_helpers.c [ 85%] Building C object CMakeFiles/maodbc.dir/ma_typeconv.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_typeconv.c /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_typeconv.c: In function 'MADB_ConvertNumericToChar': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_typeconv.c:178:11: warning: unused variable 'hasDot' [-Wunused-variable] 178 | my_bool hasDot= FALSE; | ^~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_typeconv.c:174:7: warning: unused variable 'ppos' [-Wunused-variable] 174 | int ppos= 0; | ^~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_typeconv.c:172:31: warning: unused variable 'Right' [-Wunused-variable] 172 | unsigned long long Left= 0, Right= 0; | ^~~~~ [ 90%] Building C object CMakeFiles/maodbc.dir/ma_bulk.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_bulk.c [ 95%] Building C object CMakeFiles/maodbc.dir/ma_platform_posix.c.o /usr/bin/gcc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src -I/usr/local/include/mariadb -I/usr/include/mariadb -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -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.1.9-ga-src/ma_platform_posix.c In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_odbc.h:440, from /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_platform_posix.c:26: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_platform_posix.c: In function 'MADB_ConvertAnsi2Unicode': /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_error.h:163:3: warning: macro expands to multiple statements [-Wmultistatement-macros] 163 | strcpy_s((a)->SqlState, SQL_SQLSTATE_SIZE+1, MADB_ErrorList[MADB_ERR_00000].SqlState); \ | ^~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_platform_posix.c:256:5: note: in expansion of macro 'MADB_CLEAR_ERROR' 256 | MADB_CLEAR_ERROR(Error); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/ma_platform_posix.c:255:3: note: some parts of macro expansion are not guarded by this 'if' clause 255 | if (Error) | ^~ [100%] Linking C shared library libmaodbc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/maodbc.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -DNDEBUG -Wl,--version-script=/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/maodbc.def -Wl,-z,relro -Wl,--as-needed -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 gmake[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' [100%] Built target maodbc gmake[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/i686-redhat-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BZH4Et + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 + cd mariadb-connector-odbc-3.1.9-ga-src + DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 + /usr/bin/cmake --install i686-redhat-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/lib/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/share/licenses/mariadb-connector-odbc/COPYING + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.1.9-4.fc34 --unique-debug-suffix -3.1.9-4.fc34.i386 --unique-debug-src-base mariadb-connector-odbc-3.1.9-4.fc34.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/lib/libmaodbc.so extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/lib/libmaodbc.so original debug info size: 944kB, size after compression: 676kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1271 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mariadb-connector-odbc-3.1.9-4.fc34.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wc1WQw + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.9-ga-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.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.1.9-4.fc34.i386/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IgSDmt + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.9-ga-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.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.1.9-4.fc34.i386/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386/usr/share/licenses/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmaodbc.so mariadb-connector-odbc = 3.1.9-4.fc34 mariadb-connector-odbc(x86-32) = 3.1.9-4.fc34 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.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.29) 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.1.9-4.fc34.i686 Provides: mariadb-connector-odbc-debugsource = 3.1.9-4.fc34 mariadb-connector-odbc-debugsource(x86-32) = 3.1.9-4.fc34 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mariadb-connector-odbc-debuginfo-3.1.9-4.fc34.i686 Provides: debuginfo(build-id) = a1c0f8660d7806edab38d1f5dbf03c047f3790d4 mariadb-connector-odbc-debuginfo = 3.1.9-4.fc34 mariadb-connector-odbc-debuginfo(x86-32) = 3.1.9-4.fc34 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.1.9-4.fc34 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.1.9-4.fc34.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.1.9-4.fc34.i686.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.1.9-4.fc34.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bMYWOt + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.9-ga-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0