Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1601545301.580649/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.4huz6kvs:/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.4huz6kvs:/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', '3774adbe23444a98824094a7117f5131', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1601545301.580649/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4huz6kvs:/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1601545301.580649/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.4huz6kvs:/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.4huz6kvs:/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', '539c423a414d4964b04b033d04940516', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1601545301.580649/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4huz6kvs:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1596672000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qszWnu + 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 . 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 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.DKioBt + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B x86_64-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/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DMARIADB_LINK_DYNAMIC=/usr/lib64/libmariadb.so -DINSTALL_LAYOUT=RPM -DINSTALL_LIBDIR=lib64 -DINSTALL_LIB_SUFFIX=lib64 -DINSTALL_DOCDIR=/usr/share/doc/mariadb-connector-odbc -DINSTALL_LICENSEDIR=/usr/share/licenses/mariadb-connector-odbc -- 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: lib64 -- Authentication Plugins installation dir: lib64/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/lib64 -- 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-x86_64 -- 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 LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu + /usr/bin/cmake --build x86_64-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/x86_64-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/x86_64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-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/x86_64-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/x86_64-redhat-linux-gnu' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-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/x86_64-redhat-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu/CMakeFiles/maodbc.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu/CMakeFiles/maodbc.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu/CMakeFiles/maodbc.dir/depend.internal". Dependee "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-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/x86_64-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/x86_64-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-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/x86_64-redhat-linux-gnu' [100%] Built target maodbc gmake[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.9-ga-src/x86_64-redhat-linux-gnu/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p5EFat + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64 ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64 + cd mariadb-connector-odbc-3.1.9-ga-src + DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64 + /usr/bin/cmake --install x86_64-redhat-linux-gnu -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/usr/lib64/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/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.x86_64 --unique-debug-src-base mariadb-connector-odbc-3.1.9-4.fc34.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -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.x86_64/usr/lib64/libmaodbc.so extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/usr/lib64/libmaodbc.so original debug info size: 1220kB, size after compression: 952kB /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.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wLYomu + 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.x86_64/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.x86_64/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mTpngx + 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.x86_64/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.x86_64/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.9-4.fc34.x86_64/usr/share/licenses/mariadb-connector-odbc + RPM_EC=0 ++ jobs -p + exit 0 Provides: libmaodbc.so()(64bit) mariadb-connector-odbc = 3.1.9-4.fc34 mariadb-connector-odbc(x86-64) = 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()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmariadb_3)(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libodbcinst.so.2()(64bit) rtld(GNU_HASH) Processing files: mariadb-connector-odbc-debugsource-3.1.9-4.fc34.x86_64 Provides: mariadb-connector-odbc-debugsource = 3.1.9-4.fc34 mariadb-connector-odbc-debugsource(x86-64) = 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.x86_64 Provides: debuginfo(build-id) = 3f22cdc3e2900684df82cc9e1e4e9dfb7d4ee168 mariadb-connector-odbc-debuginfo = 3.1.9-4.fc34 mariadb-connector-odbc-debuginfo(x86-64) = 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-64) = 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.x86_64 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.1.9-4.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.1.9-4.fc34.x86_64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.1.9-4.fc34.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nXR1gu + 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.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0