Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f31-build-86184-31650/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564531200 Wrote: /builddir/build/SRPMS/mariadb-connector-odbc-3.1.2-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'], chrootPath='/var/lib/mock/f31-build-86184-31650/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mariadb-connector-odbc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qT6phv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-odbc-3.1.2-ga-src + /usr/bin/gzip -dc /builddir/build/SOURCES/mariadb-connector-odbc-3.1.2-ga-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-odbc-3.1.2-ga-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (libraries_include_path.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (libraries_include_path.patch): patching file ma_odbc.h Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2i67Hu + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.2-ga-src + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS CXXFLAGS + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + /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/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DMARIADB_LINK_DYNAMIC=/usr/lib64/libmariadb.so -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR=/usr/include -DINSTALL_LIB_SUFFIX=lib64 -DSHARE_INSTALL_PREFIX=/usr/share -DSYSCONF_INSTALL_DIR=/etc -DINSTALL_DOC_DIR=/usr/share/doc/mariadb-connector-odbc -DINSTALL_LICENSE_DIR=/usr/share/licenses/mariadb-connector-odbc . BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX + cmake -L . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -- The C compiler identification is GNU 9.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 -- Libraries installation dir: lib64 -- Autentication Plugins installation dir: lib64/mariadb/plugin -- 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 -- Configuring to build without SSL support -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/maodbc.def -- Documetnation installed to /usr/share/doc/mariadb-connector-odbc -- License file installed to /usr/share/licenses/mariadb-connector-odbc -- linux -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/README -- Source Package Filename: mariadb-connector-odbc-3.1.2-ga-src.TGZ -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -- Libraries installation dir: lib64 -- Autentication Plugins installation dir: lib64/mariadb/plugin -- There is no Connector/C sub-project folder, linking against libmariadb installed on the system -- Found odbc_config: /usr/bin/odbc_config -- Found ODBC Driver Manager libraries: /usr/lib64 -- Checking if SQLColAttribute expects SQLPOINTER FALSE -- Configuring to build without SSL support -- Linking Connector/C library dynamically(mariadb) -- Version script: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/maodbc.def -- Documetnation installed to /usr/share/doc/mariadb-connector-odbc -- License file installed to /usr/share/licenses/mariadb-connector-odbc -- linux -- License File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/COPYING -- ReadMe File: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/README -- Source Package Filename: mariadb-connector-odbc-3.1.2-ga-src.TGZ -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -- Cache values CMAKE_BUILD_TYPE:STRING=RelWithDebInfo CMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG CMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG CMAKE_INSTALL_PREFIX:PATH=/usr LIB_INSTALL_DIR:PATH=/usr/lib64 ODBC_CONFIG:FILEPATH=/usr/bin/odbc_config WITH_IODBC:BOOL=OFF Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.x4kXkt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 + cd mariadb-connector-odbc-3.1.2-ga-src + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 'INSTALL=/usr/bin/install -p' BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/odbc_3_api.c: In function 'SQLConnectCommon': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/odbc_3_api.c:669:11: warning: variable 'DsnFound' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 669 | my_bool DsnFound; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /usr/include/sql.h: In function 'SQLFreeHandle': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/odbc_3_api.c:1444:13: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1444 | SQLRETURN ret; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 25 | { BUILDSTDERR: | ^ BUILDSTDERR: ...... BUILDSTDERR: 147 | { 0,0,0, -1} BUILDSTDERR: | { } BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_error.c:25:1: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 25 | { BUILDSTDERR: | ^ BUILDSTDERR: ...... BUILDSTDERR: 147 | { 0,0,0, -1} BUILDSTDERR: | { } BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_error.c: In function 'MADB_GetDiagRec': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_error.c:263:15: warning: variable 'Length' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 263 | SQLSMALLINT Length= 0; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_connection.c: In function 'MADB_DriverConnect': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_connection.c:1904:20: warning: 'PreservePwd' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1904 | Dsn->Password= PreservePwd; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/bin/cmake -S/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -B/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/CMakeFiles /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' /usr/bin/make -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/depend make[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' cd /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/CMakeFiles/maodbc.dir/DependInfo.cmake --color= Scanning dependencies of target maodbc make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' /usr/bin/make -f CMakeFiles/maodbc.dir/build.make CMakeFiles/maodbc.dir/build make[2]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' [ 4%] Building C object CMakeFiles/maodbc.dir/odbc_3_api.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/odbc_3_api.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_error.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_connection.c [ 19%] Building C object CMakeFiles/maodbc.dir/ma_helper.c.o BUILDSTDERR: /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-ta/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.c: In function 'MADB_CharToSQLNumeric': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.c:1012:9: warning: unused variable 'leading_zeros' [-Wunused-variable] BUILDSTDERR: 1012 | int leading_zeros= 0; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.c:1011:9: warning: unused variable 'tmp_digit' [-Wunused-variable] BUILDSTDERR: 1011 | int tmp_digit= 0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_debug.c: In function 'ma_debug_printw': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_debug.c:47:5: warning: implicit declaration of function 'fwprintf'; did you mean 'fprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 47 | fwprintf(fp, format, va); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | fprintf BUILDSTDERR: In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_odbc.h:449, BUILDSTDERR: from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:19: BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c: In function 'MADB_DSN_Free': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] BUILDSTDERR: 97 | free((a));\ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:154:5: note: in expansion of macro 'MADB_FREE' BUILDSTDERR: 154 | MADB_FREE(Dsn); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:153:3: note: some parts of macro expansion are not guarded by this 'if' clause BUILDSTDERR: 153 | if (Dsn->FreeMe) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c: In function 'MADB_DsnStoreValue': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:276:15: warning: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] BUILDSTDERR: 276 | if (strcasestr(Value, TlsVersionName[i]) != NULL) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | strcasecmp BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:276:52: warning: comparison between pointer and integer BUILDSTDERR: 276 | if (strcasestr(Value, TlsVersionName[i]) != NULL) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c: In function 'MADB_ParseConnString': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:481:11: warning: variable 'ret' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 481 | my_bool ret; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c: In function 'MADB_DsnToString': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:592:12: warning: unused variable 'p' [-Wunused-variable] BUILDSTDERR: 592 | char *p= OutString; BUILDSTDERR: | ^ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c: In function 'MADB_DsnSwitchDependents': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_dsn.c:218:99: warning: 'KeySet' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 218 | *GET_FIELD_PTR(Dsn, &DsnKeys[DsnKeysSwitch[i].Dependent], my_bool)= DsnKeysSwitch[i].Same == KeySet ? 1 : 0; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ bles -fstack-clash-protection -O2 -g -DNDEBUG -fPIC -o CMakeFiles/maodbc.dir/ma_helper.c.o -c /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_debug.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_dsn.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_driver.c [ 38%] Building C object CMakeFiles/maodbc.dir/ma_info.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_info.c [ 42%] Building C object CMakeFiles/maodbc.dir/ma_environment.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_environment.c [ 47%] Building C object CMakeFiles/maodbc.dir/ma_parse.c.o BUILDSTDERR: /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-pr/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_parse.c: In function 'ParseQuery': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_parse.c:383:51: warning: unused variable 'LastSemicolon' [-Wunused-variable] BUILDSTDERR: 383 | char *end= p + Length, *CurQuery= NULL, *LastSemicolon= NULL; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_statement.c: In function 'MADB_StmtPrepare': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_statement.c:520:17: warning: unused variable 'HasParameters' [-Wunused-variable] BUILDSTDERR: 520 | BOOL HasParameters= 0; BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_odbc.h:449, BUILDSTDERR: from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_desc.c:19: BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_desc.c: In function 'MADB_DescFree': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] BUILDSTDERR: 97 | free((a));\ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_desc.c:168:5: note: in expansion of macro 'MADB_FREE' BUILDSTDERR: 168 | MADB_FREE(Desc); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_desc.c:167:3: note: some parts of macro expansion are not guarded by this 'if' clause BUILDSTDERR: 167 | if (!RecordsOnly) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_odbc.h:449, BUILDSTDERR: from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_string.c:19: BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_string.c: In function 'MADB_GetInsertStatement': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_helper.h:97:3: warning: macro expands to multiple statements [-Wmultistatement-macros] BUILDSTDERR: 97 | free((a));\ BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_string.c:383:5: note: in expansion of macro 'MADB_FREE' BUILDSTDERR: 383 | MADB_FREE(StmtStr); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_string.c:382:3: note: some parts of macro expansion are not guarded by this 'if' clause BUILDSTDERR: 382 | if (StmtStr) BUILDSTDERR: | ^~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_result.c: In function 'MADB_StmtDataSeek': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_result.c:40:15: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 40 | MYSQL_ROWS *tmp= NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_common.c: In function 'ltrim': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_common.c:45:17: warning: implicit declaration of function 'iswspace' [-Wimplicit-function-declaration] BUILDSTDERR: 45 | while (Str && iswspace(Str[0])) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-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] BUILDSTDERR: 45 | while (Str && iswspace(Str[0])) BUILDSTDERR: | ~~~^~~ BUILDSTDERR: : note: built-in 'iswspace' declared here BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_common.c: In function 'trim': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-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] BUILDSTDERR: 59 | while (iswspace(*end)) BUILDSTDERR: | ^~~~ BUILDSTDERR: : note: built-in 'iswspace' declared here otector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_parse.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_statement.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_string.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_result.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_common.c [ 76%] Building C object CMakeFiles/maodbc.dir/ma_server.c.o BUILDSTDERR: /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-conne/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_typeconv.c: In function 'MADB_ConvertNumericToChar': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_typeconv.c:176:11: warning: unused variable 'hasDot' [-Wunused-variable] BUILDSTDERR: 176 | my_bool hasDot= FALSE; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_typeconv.c:172:7: warning: unused variable 'ppos' [-Wunused-variable] BUILDSTDERR: 172 | int ppos= 0; BUILDSTDERR: | ^~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_typeconv.c:170:31: warning: unused variable 'Right' [-Wunused-variable] BUILDSTDERR: 170 | unsigned long long Left= 0, Right= 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_odbc.h:439, BUILDSTDERR: from /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_platform_posix.c:26: BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_platform_posix.c: In function 'MADB_ConvertAnsi2Unicode': BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_error.h:163:3: warning: macro expands to multiple statements [-Wmultistatement-macros] BUILDSTDERR: 163 | strcpy_s((a)->SqlState, SQL_SQLSTATE_SIZE+1, MADB_ErrorList[MADB_ERR_00000].SqlState); \ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_platform_posix.c:256:5: note: in expansion of macro 'MADB_CLEAR_ERROR' BUILDSTDERR: 256 | MADB_CLEAR_ERROR(Error); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/ma_platform_posix.c:255:3: note: some parts of macro expansion are not guarded by this 'if' clause BUILDSTDERR: 255 | if (Error) BUILDSTDERR: | ^~ ctor-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_server.c [ 80%] Building C object CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o /usr/bin/cc -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_legacy_helpers.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_typeconv.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_bulk.c [ 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.1.2-ga-src -I/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/libmariadb/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.2-ga-src/ma_platform_posix.c [100%] Linking C shared library libmaodbc.so /usr/bin/cmake -E cmake_link_script CMakeFiles/maodbc.dir/link.txt --verbose=1 BUILDSTDERR: /usr/bin/cc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g -DNDEBUG -Wl,--version-script=/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-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+ /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1.2-1.fc31 --unique-debug-suffix -3.1.2-1.fc31.riscv64 --unique-debug-src-base mariadb-connector-odbc-3.1.2-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src BUILDSTDERR: 1261 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /maodbc.dir/ma_error.c.o CMakeFiles/maodbc.dir/ma_connection.c.o CMakeFiles/maodbc.dir/ma_helper.c.o CMakeFiles/maodbc.dir/ma_debug.c.o CMakeFiles/maodbc.dir/ma_dsn.c.o CMakeFiles/maodbc.dir/ma_driver.c.o CMakeFiles/maodbc.dir/ma_info.c.o CMakeFiles/maodbc.dir/ma_environment.c.o CMakeFiles/maodbc.dir/ma_parse.c.o CMakeFiles/maodbc.dir/ma_statement.c.o CMakeFiles/maodbc.dir/ma_desc.c.o CMakeFiles/maodbc.dir/ma_string.c.o CMakeFiles/maodbc.dir/ma_result.c.o CMakeFiles/maodbc.dir/ma_common.c.o CMakeFiles/maodbc.dir/ma_server.c.o CMakeFiles/maodbc.dir/ma_legacy_helpers.c.o CMakeFiles/maodbc.dir/ma_typeconv.c.o CMakeFiles/maodbc.dir/ma_bulk.c.o CMakeFiles/maodbc.dir/ma_platform_posix.c.o -lmariadb -lodbcinst -lm make[2]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' [100%] Built target maodbc make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src/CMakeFiles 0 /usr/bin/make -f CMakeFiles/Makefile2 preinstall make[1]: Entering directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' make[1]: Nothing to be done for 'preinstall'. make[1]: Leaving directory '/builddir/build/BUILD/mariadb-connector-odbc-3.1.2-ga-src' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/./lib64/libmaodbc.so -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/share/doc/mariadb-connector-odbc/README -- Installing: /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/share/licenses/mariadb-connector-odbc/COPYING explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/lib64/libmaodbc.so extracting debug info from /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/lib64/libmaodbc.so original debug info size: 1088kB, size after compression: 796kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: mariadb-connector-odbc-3.1.2-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Kd4iHs + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.2-ga-src + DOCDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/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.2-1.fc31.riscv64/usr/share/doc/mariadb-connector-odbc + cp -pr README /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/share/doc/mariadb-connector-odbc + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pwjXju + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.2-ga-src + LICENSEDIR=/builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/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.2-1.fc31.riscv64/usr/share/licenses/mariadb-connector-odbc + cp -pr COPYING /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64/usr/share/licenses/mariadb-connector-odbc + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: libmaodbc.so()(64bit) mariadb-connector-odbc = 3.1.2-1.fc31 mariadb-connector-odbc(riscv-64) = 3.1.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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.2-1.fc31.riscv64 Provides: mariadb-connector-odbc-debugsource = 3.1.2-1.fc31 mariadb-connector-odbc-debugsource(riscv-64) = 3.1.2-1.fc31 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.2-1.fc31.riscv64 Provides: debuginfo(build-id) = 25295d544314b3e8c928f9435010df788fd98f06 mariadb-connector-odbc-debuginfo = 3.1.2-1.fc31 mariadb-connector-odbc-debuginfo(riscv-64) = 3.1.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mariadb-connector-odbc-debugsource(riscv-64) = 3.1.2-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 Wrote: /builddir/build/RPMS/mariadb-connector-odbc-3.1.2-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debuginfo-3.1.2-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/mariadb-connector-odbc-debugsource-3.1.2-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.jXLZgu + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-odbc-3.1.2-ga-src + /usr/bin/rm -rf /builddir/build/BUILDROOT/mariadb-connector-odbc-3.1.2-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0