Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/postgresql-odbc.spec'], chrootPath='/var/lib/mock/dist-circle8_6-updates-build-68693-23636/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/postgresql-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'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/postgresql-odbc-10.03.0000-3.el8_6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/postgresql-odbc.spec'], chrootPath='/var/lib/mock/dist-circle8_6-updates-build-68693-23636/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/postgresql-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'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2IJ7rK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf psqlodbc-10.03.0000 + /usr/bin/gzip -dc /builddir/build/SOURCES/psqlodbc-10.03.0000.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd psqlodbc-10.03.0000 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/postgresql-odbc-09.06.0200-revert-money-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/postgresql-odbc-09.05.0400-revert-money-testsuite-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/postgresql-odbc-10.03.0000-pg12-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + cat + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LZCDHv + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-10.03.0000 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-unixodbc --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for odbc_config... /usr/bin/odbc_config configure: using /usr/include /usr/lib checking last argument to SQLColAttribute is SQLLEN *... yes checking for pg_config... /usr/bin/pg_config checking for prove... no checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-redhat-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for i686-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for library containing SQLGetPrivateProfileString... -lodbcinst checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking for PQsetSingleRowMode in -lpq... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking uchar.h usability... yes checking uchar.h presence... yes checking for uchar.h... yes checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking whether time.h and sys/time.h may both be included... yes checking size of long... 4 checking size of void *... 4 checking for long long... yes checking for signed char... yes checking for ssize_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for an ANSI C-conforming const... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for strtoul... yes checking for strtoll... yes checking for strlcat... no checking for mbstowcs... yes checking for wcstombs... yes checking for mbrtoc16... yes checking for c16rtomb... yes checking for localtime_r... yes checking for strtok_r... yes checking for pthread_mutexattr_settype... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j16 make all-am make[1]: Entering directory '/builddir/build/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-info.lo `test -f 'info.c' || echo './'`info.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-bind.lo `test -f 'bind.c' || echo './'`bind.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-columninfo.lo `test -f 'columninfo.c' || echo './'`columninfo.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-connection.lo `test -f 'connection.c' || echo './'`connection.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-convert.lo `test -f 'convert.c' || echo './'`convert.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-drvconn.lo `test -f 'drvconn.c' || echo './'`drvconn.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-environ.lo `test -f 'environ.c' || echo './'`environ.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-execute.lo `test -f 'execute.c' || echo './'`execute.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-lobj.lo `test -f 'lobj.c' || echo './'`lobj.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-misc.lo `test -f 'misc.c' || echo './'`misc.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-options.lo `test -f 'options.c' || echo './'`options.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-pgtypes.lo `test -f 'pgtypes.c' || echo './'`pgtypes.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-psqlodbc.lo `test -f 'psqlodbc.c' || echo './'`psqlodbc.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-qresult.lo `test -f 'qresult.c' || echo './'`qresult.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-results.lo `test -f 'results.c' || echo './'`results.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-parse.lo `test -f 'parse.c' || echo './'`parse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c info.c -fPIC -DPIC -o .libs/psqlodbcw_la-info.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c drvconn.c -fPIC -DPIC -o .libs/psqlodbcw_la-drvconn.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c bind.c -fPIC -DPIC -o .libs/psqlodbcw_la-bind.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c environ.c -fPIC -DPIC -o .libs/psqlodbcw_la-environ.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c execute.c -fPIC -DPIC -o .libs/psqlodbcw_la-execute.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c connection.c -fPIC -DPIC -o .libs/psqlodbcw_la-connection.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lobj.c -fPIC -DPIC -o .libs/psqlodbcw_la-lobj.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c convert.c -fPIC -DPIC -o .libs/psqlodbcw_la-convert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pgtypes.c -fPIC -DPIC -o .libs/psqlodbcw_la-pgtypes.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c columninfo.c -fPIC -DPIC -o .libs/psqlodbcw_la-columninfo.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c options.c -fPIC -DPIC -o .libs/psqlodbcw_la-options.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c results.c -fPIC -DPIC -o .libs/psqlodbcw_la-results.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c misc.c -fPIC -DPIC -o .libs/psqlodbcw_la-misc.o In file included from psqlodbc.h:691, from execute.c:16: execute.c: In function 'PGAPI_NativeSql': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ execute.c:1227:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); ^~~~~ execute.c:1227:35: note: format string is defined here MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c psqlodbc.c -fPIC -DPIC -o .libs/psqlodbcw_la-psqlodbc.o In file included from psqlodbc.h:691, from misc.c:15: misc.c: In function 'make_string': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ misc.c:119:3: note: in expansion of macro 'MYLOG' MYLOG(0, "invalid length=%d\n", len); ^~~~~ misc.c:119:29: note: format string is defined here MYLOG(0, "invalid length=%d\n", len); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c parse.c -fPIC -DPIC -o .libs/psqlodbcw_la-parse.o In file included from convert.c:22: convert.c: In function 'copy_and_convert_field': misc.h:84:11: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~ convert.c:1622:12: note: in expansion of macro 'SPRINTF_FIXED' len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~~~~~ In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: connection.c: In function 'handle_show_results': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1324:4: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ^~~~~ connection.c:1324:25: note: format string is defined here MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ~^ %ld In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1324:4: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ^~~~~ connection.c:1324:34: note: format string is defined here MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ~^ %ld In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: connection.c: In function 'CC_get_isolation': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1351:1: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation=%d\n", isolation); ^~~~~ connection.c:1351:22: note: format string is defined here MYLOG(0, "isolation=%d\n", isolation); ~^ %ld In file included from psqlodbc.h:691, from results.c:18: results.c: In function 'SC_pos_newload': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ results.c:3754:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ^~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c qresult.c -fPIC -DPIC -o .libs/psqlodbcw_la-qresult.o results.c:3754:131: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ~^ %ld In file included from psqlodbc.h:691, from results.c:18: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ results.c:3781:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ^~~~~ results.c:3781:131: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ~^ %ld connection.c: In function 'CC_send_query_append': connection.c:2130:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cancel = PQgetCancel(self->pqconn)) ^~~~~~ In file included from psqlodbc.h:691, from convert.h:12, from convert.c:20: convert.c: In function 'copy_statement_with_parameters': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ convert.c:2950:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ^~~~~ convert.c:2950:32: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from convert.h:12, from convert.c:20: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ convert.c:2950:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ^~~~~ convert.c:2950:42: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from options.c:16: options.c: In function 'PGAPI_GetConnectOption': mylog.h:54:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) ^~~~~ options.c:550:4: note: in expansion of macro 'MYPRINTF' MYPRINTF(0, " val=%d\n", *((SQLUINTEGER *) pvParam)); ^~~~~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:555:4: note: in expansion of macro 'MYLOG' MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); ^~~~~ options.c:555:28: note: format string is defined here MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); ~^ %ld In file included from psqlodbc.h:691, from options.c:16: options.c: In function 'PGAPI_GetStmtOption': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:716:4: note: in expansion of macro 'MYLOG' MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); ^~~~~ options.c:716:31: note: format string is defined here MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from options.c:16: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:721:4: note: in expansion of macro 'MYLOG' MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); ^~~~~ options.c:721:31: note: format string is defined here MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-statement.lo `test -f 'statement.c' || echo './'`statement.c In file included from psqlodbc.h:691, from qresult.h:12, from qresult.c:19: qresult.c: In function 'QR_prepare_for_tupledata': mylog.h:48:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ qresult.c:817:4: note: in expansion of macro 'MYLOG' MYLOG(0, "REALLOC: old_count = " FORMAT_LEN ", size = " FORMAT_SIZE_T "\n", tuple_size, self->num_fields * sizeof(TupleField) * tuple_size); ^~~~~ In file included from qresult.h:12, from qresult.c:19: psqlodbc.h:178:26: note: format string is defined here #define FORMAT_SIZE_T "%zu" /* size_t */ ~~^ %lu /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-tuple.lo `test -f 'tuple.c' || echo './'`tuple.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-dlg_specific.lo `test -f 'dlg_specific.c' || echo './'`dlg_specific.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-multibyte.lo `test -f 'multibyte.c' || echo './'`multibyte.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-odbcapi.lo `test -f 'odbcapi.c' || echo './'`odbcapi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c statement.c -fPIC -DPIC -o .libs/psqlodbcw_la-statement.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c multibyte.c -fPIC -DPIC -o .libs/psqlodbcw_la-multibyte.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c dlg_specific.c -fPIC -DPIC -o .libs/psqlodbcw_la-dlg_specific.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-descriptor.lo `test -f 'descriptor.c' || echo './'`descriptor.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuple.c -fPIC -DPIC -o .libs/psqlodbcw_la-tuple.o In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: statement.c: In function 'SC_execute': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ statement.c:1969:3: note: in expansion of macro 'MYLOG' MYLOG(0, " Sending SELECT statement on stmt=%p, cursor_name='%s' qflag=%d,%d\n", self, SC_cursor_name(self), qflag, self->options.scroll_concurrency); ^~~~~ statement.c:1969:84: note: format string is defined here MYLOG(0, " Sending SELECT statement on stmt=%p, cursor_name='%s' qflag=%d,%d\n", self, SC_cursor_name(self), qflag, self->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: statement.c: In function 'SC_log_error': mylog.h:55:59: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ mylog.h:55:59: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ mylog.h:48:21: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ mylog.h:55:87: note: in expansion of macro 'MYLOG' #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ statement.c:2366:127: note: format string is defined here QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ~^ %lu In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ mylog.h:55:87: note: in expansion of macro 'MYLOG' #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ statement.c:2366:150: note: format string is defined here QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapi.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-odbcapi30.lo `test -f 'odbcapi30.c' || echo './'`odbcapi30.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-pgapi30.lo `test -f 'pgapi30.c' || echo './'`pgapi30.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c descriptor.c -fPIC -DPIC -o .libs/psqlodbcw_la-descriptor.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-mylog.lo `test -f 'mylog.c' || echo './'`mylog.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-odbcapi30w.lo `test -f 'odbcapi30w.c' || echo './'`odbcapi30w.c In file included from psqlodbc.h:691, from environ.h:16, from descriptor.c:14: descriptor.c: In function 'PGAPI_CopyDesc': mylog.h:54:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) ^~~~~ descriptor.c:565:1: note: in expansion of macro 'MYPRINTF' MYPRINTF(DETAIL_LOG_LEVEL, " rowset_size=" FORMAT_LEN " bind_size=%d ope_ptr=%p off_ptr=%p\n", ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapi30.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi30.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pgapi30.c -fPIC -DPIC -o .libs/psqlodbcw_la-pgapi30.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapi30w.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi30w.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-odbcapiw.lo `test -f 'odbcapiw.c' || echo './'`odbcapiw.c In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetEnvAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:356:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:356:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:390:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:390:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:409:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); ^~~~~ odbcapi30.c:409:32: note: format string is defined here MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:429:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:429:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetEnvAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:477:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); ^~~~~ odbcapi30.c:477:26: note: format string is defined here MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:538:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); ^~~~~ odbcapi30.c:538:32: note: format string is defined here MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mylog.c -fPIC -DPIC -o .libs/psqlodbcw_la-mylog.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbcw_la-win_unicode.lo `test -f 'win_unicode.c' || echo './'`win_unicode.c In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:404:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering %d\n", Attribute); ^~~~~ pgapi30.c:404:22: note: format string is defined here MYLOG(0, "entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1555:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); ^~~~~ pgapi30.c:1555:32: note: format string is defined here MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1658:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); ^~~~~ pgapi30.c:1658:30: note: format string is defined here MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetDescField': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1815:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); ^~~~~ pgapi30.c:1815:48: note: format string is defined here MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetDescField': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 10 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1865:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering h=%p(%d) rec=%d field=%d val=%p,%d\n", DescriptorHandle, DC_get_desc_type(desc), RecNumber, FieldIdentifier, Value, BufferLength); ^~~~~ pgapi30.c:1865:54: note: format string is defined here MYLOG(0, "entering h=%p(%d) rec=%d field=%d val=%p,%d\n", DescriptorHandle, DC_get_desc_type(desc), RecNumber, FieldIdentifier, Value, BufferLength); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1916:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); ^~~~~ pgapi30.c:1916:32: note: format string is defined here MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o info.lo info.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapiw.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapiw.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c win_unicode.c -fPIC -DPIC -o .libs/psqlodbcw_la-win_unicode.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o bind.lo bind.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o columninfo.lo columninfo.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o connection.lo connection.c In file included from convert.c:22: convert.c: In function 'copy_and_convert_field': convert.c:1622:35: warning: '%0*d' directive output may be truncated writing between 1 and 2147483648 bytes into a region of size between 0 and 63 [-Wformat-truncation=] len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ convert.c:1622:35: note: using the range [0, 2147483647] for directive argument len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from psqlodbc.h:21, from convert.h:12, from convert.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 2147483713 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from psqlodbc.h:691, from unicode_support.h:12, from win_unicode.c:12: win_unicode.c: In function 'mbstoc16_lf': mylog.h:48:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ win_unicode.c:898:1: note: in expansion of macro 'MYLOG' MYLOG(0, " c16dt=%p size=%lu\n", c16dt, n); ^~~~~ win_unicode.c:898:28: note: format string is defined here MYLOG(0, " c16dt=%p size=%lu\n", c16dt, n); ~~^ %u In file included from psqlodbc.h:691, from unicode_support.h:12, from win_unicode.c:12: win_unicode.c: In function 'c16tombs': mylog.h:48:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ win_unicode.c:932:1: note: in expansion of macro 'MYLOG' MYLOG(0, " c8dt=%p size=%lu\n", c8dt, n); ^~~~~ win_unicode.c:932:27: note: format string is defined here MYLOG(0, " c8dt=%p size=%lu\n", c8dt, n); ~~^ %u libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c bind.c -fPIC -DPIC -o .libs/bind.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o convert.lo convert.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c info.c -fPIC -DPIC -o .libs/info.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c connection.c -fPIC -DPIC -o .libs/connection.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c convert.c -fPIC -DPIC -o .libs/convert.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c columninfo.c -fPIC -DPIC -o .libs/columninfo.o In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: connection.c: In function 'handle_show_results': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1324:4: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ^~~~~ connection.c:1324:25: note: format string is defined here MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ~^ %ld In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1324:4: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ^~~~~ connection.c:1324:34: note: format string is defined here MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); ~^ %ld In file included from psqlodbc.h:691, from connection.h:12, from connection.c:22: connection.c: In function 'CC_get_isolation': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ connection.c:1351:1: note: in expansion of macro 'MYLOG' MYLOG(0, "isolation=%d\n", isolation); ^~~~~ connection.c:1351:22: note: format string is defined here MYLOG(0, "isolation=%d\n", isolation); ~^ %ld connection.c: In function 'CC_send_query_append': connection.c:2130:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (cancel = PQgetCancel(self->pqconn)) ^~~~~~ In file included from convert.c:22: convert.c: In function 'copy_and_convert_field': misc.h:84:11: warning: passing argument 1 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~ convert.c:1622:12: note: in expansion of macro 'SPRINTF_FIXED' len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~~~~~ In file included from psqlodbc.h:691, from convert.h:12, from convert.c:20: convert.c: In function 'copy_statement_with_parameters': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ convert.c:2950:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ^~~~~ convert.c:2950:32: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from convert.h:12, from convert.c:20: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ convert.c:2950:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ^~~~~ convert.c:2950:42: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o drvconn.lo drvconn.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o environ.lo environ.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c drvconn.c -fPIC -DPIC -o .libs/drvconn.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c environ.c -fPIC -DPIC -o .libs/environ.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o execute.lo execute.c In file included from info.c:38: info.c: In function 'PGAPI_Columns': info.c:2676:26: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 32 [-Wformat-truncation=] SPRINTF_FIXED(tmp, "%s identity", field_type_name); ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from psqlodbc.h:21, from info.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 137 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lobj.lo lobj.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c execute.c -fPIC -DPIC -o .libs/execute.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o misc.lo misc.c In file included from psqlodbc.h:691, from execute.c:16: execute.c: In function 'PGAPI_NativeSql': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ execute.c:1227:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); ^~~~~ execute.c:1227:35: note: format string is defined here MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o options.lo options.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lobj.c -fPIC -DPIC -o .libs/lobj.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pgtypes.lo pgtypes.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c misc.c -fPIC -DPIC -o .libs/misc.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o psqlodbc.lo psqlodbc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pgtypes.c -fPIC -DPIC -o .libs/pgtypes.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c options.c -fPIC -DPIC -o .libs/options.o In file included from psqlodbc.h:691, from misc.c:15: misc.c: In function 'make_string': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ misc.c:119:3: note: in expansion of macro 'MYLOG' MYLOG(0, "invalid length=%d\n", len); ^~~~~ misc.c:119:29: note: format string is defined here MYLOG(0, "invalid length=%d\n", len); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o qresult.lo qresult.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o results.lo results.c In file included from psqlodbc.h:691, from options.c:16: options.c: In function 'PGAPI_GetConnectOption': mylog.h:54:67: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) ^~~~~ options.c:550:4: note: in expansion of macro 'MYPRINTF' MYPRINTF(0, " val=%d\n", *((SQLUINTEGER *) pvParam)); ^~~~~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:555:4: note: in expansion of macro 'MYLOG' MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); ^~~~~ options.c:555:28: note: format string is defined here MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); ~^ %ld In file included from psqlodbc.h:691, from options.c:16: options.c: In function 'PGAPI_GetStmtOption': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:716:4: note: in expansion of macro 'MYLOG' MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); ^~~~~ options.c:716:31: note: format string is defined here MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from options.c:16: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ options.c:721:4: note: in expansion of macro 'MYLOG' MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); ^~~~~ options.c:721:31: note: format string is defined here MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o parse.lo parse.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o statement.lo statement.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c psqlodbc.c -fPIC -DPIC -o .libs/psqlodbc.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c qresult.c -fPIC -DPIC -o .libs/qresult.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tuple.lo tuple.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c parse.c -fPIC -DPIC -o .libs/parse.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o dlg_specific.lo dlg_specific.c In file included from psqlodbc.h:691, from qresult.h:12, from qresult.c:19: qresult.c: In function 'QR_prepare_for_tupledata': mylog.h:48:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ qresult.c:817:4: note: in expansion of macro 'MYLOG' MYLOG(0, "REALLOC: old_count = " FORMAT_LEN ", size = " FORMAT_SIZE_T "\n", tuple_size, self->num_fields * sizeof(TupleField) * tuple_size); ^~~~~ In file included from qresult.h:12, from qresult.c:19: psqlodbc.h:178:26: note: format string is defined here #define FORMAT_SIZE_T "%zu" /* size_t */ ~~^ %lu libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c results.c -fPIC -DPIC -o .libs/results.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c statement.c -fPIC -DPIC -o .libs/statement.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o multibyte.lo multibyte.c In file included from convert.c:22: convert.c: In function 'copy_and_convert_field': convert.c:1622:35: warning: '%0*d' directive output may be truncated writing between 1 and 2147483648 bytes into a region of size between 0 and 63 [-Wformat-truncation=] len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ convert.c:1622:35: note: using the range [0, 2147483647] for directive argument len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from psqlodbc.h:21, from convert.h:12, from convert.c:20: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 2147483713 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c dlg_specific.c -fPIC -DPIC -o .libs/dlg_specific.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o odbcapi.lo odbcapi.c In file included from info.c:38: info.c: In function 'PGAPI_Columns': info.c:2676:26: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 32 [-Wformat-truncation=] SPRINTF_FIXED(tmp, "%s identity", field_type_name); ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' snprintf((to), sizeof(to), __VA_ARGS__) \ ^~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from psqlodbc.h:21, from info.c:19: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 10 and 137 bytes into a destination of size 32 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: statement.c: In function 'SC_execute': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ statement.c:1969:3: note: in expansion of macro 'MYLOG' MYLOG(0, " Sending SELECT statement on stmt=%p, cursor_name='%s' qflag=%d,%d\n", self, SC_cursor_name(self), qflag, self->options.scroll_concurrency); ^~~~~ statement.c:1969:84: note: format string is defined here MYLOG(0, " Sending SELECT statement on stmt=%p, cursor_name='%s' qflag=%d,%d\n", self, SC_cursor_name(self), qflag, self->options.scroll_concurrency); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c multibyte.c -fPIC -DPIC -o .libs/multibyte.o In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: statement.c: In function 'SC_log_error': mylog.h:55:59: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ mylog.h:55:59: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ mylog.h:48:21: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ mylog.h:55:87: note: in expansion of macro 'MYLOG' #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ statement.c:2366:127: note: format string is defined here QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ~^ %lu In file included from psqlodbc.h:691, from statement.h:12, from statement.c:21: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ mylog.h:55:87: note: in expansion of macro 'MYLOG' #define QLOG(level, fmt, ...) ((level < get_qlog() ? qlog((fmt), ##__VA_ARGS__) : 0), MYLOG(level, QLOG_MARK fmt, ##__VA_ARGS__)) ^~~~~ statement.c:2366:4: note: in expansion of macro 'QLOG' QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ^~~~ statement.c:2366:150: note: format string is defined here QLOG(level, " maxRows=" FORMAT_LEN ", rowset_size=" FORMAT_LEN ", keyset_size=" FORMAT_LEN ", cursor_type=%u, scroll_concurrency=%d\n", self->options.maxRows, rowsetSize, self->options.keyset_size, self->options.cursor_type, self->options.scroll_concurrency); ~^ %ld In file included from psqlodbc.h:691, from results.c:18: results.c: In function 'SC_pos_newload': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ results.c:3754:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ^~~~~ results.c:3754:131: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ~^ %ld In file included from psqlodbc.h:691, from results.c:18: mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ results.c:3781:1: note: in expansion of macro 'MYLOG' MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ^~~~~ results.c:3781:131: note: format string is defined here MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c tuple.c -fPIC -DPIC -o .libs/tuple.o /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o descriptor.lo descriptor.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o odbcapi30.lo odbcapi30.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pgapi30.lo pgapi30.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c descriptor.c -fPIC -DPIC -o .libs/descriptor.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapi30.c -fPIC -DPIC -o .libs/odbcapi30.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c odbcapi.c -fPIC -DPIC -o .libs/odbcapi.o In file included from psqlodbc.h:691, from environ.h:16, from descriptor.c:14: descriptor.c: In function 'PGAPI_CopyDesc': mylog.h:54:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) ^~~~~ descriptor.c:565:1: note: in expansion of macro 'MYPRINTF' MYPRINTF(DETAIL_LOG_LEVEL, " rowset_size=" FORMAT_LEN " bind_size=%d ope_ptr=%p off_ptr=%p\n", ^~~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pgapi30.c -fPIC -DPIC -o .libs/pgapi30.o In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetEnvAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:356:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:356:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:390:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:390:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLGetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:409:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); ^~~~~ odbcapi30.c:409:32: note: format string is defined here MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:429:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering %d\n", Attribute); ^~~~~ odbcapi30.c:429:22: note: format string is defined here MYLOG(0, "Entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetEnvAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:477:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); ^~~~~ odbcapi30.c:477:26: note: format string is defined here MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); ~^ %ld In file included from psqlodbc.h:691, from odbcapi30.c:21: odbcapi30.c: In function 'SQLSetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ odbcapi30.c:538:2: note: in expansion of macro 'MYLOG' MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); ^~~~~ odbcapi30.c:538:32: note: format string is defined here MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); ~^ %ld /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mylog.lo mylog.c In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:404:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering %d\n", Attribute); ^~~~~ pgapi30.c:404:22: note: format string is defined here MYLOG(0, "entering %d\n", Attribute); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1555:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); ^~~~~ pgapi30.c:1555:32: note: format string is defined here MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetConnectAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1658:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); ^~~~~ pgapi30.c:1658:30: note: format string is defined here MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_GetDescField': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 8 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1815:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); ^~~~~ pgapi30.c:1815:48: note: format string is defined here MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetDescField': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 10 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1865:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering h=%p(%d) rec=%d field=%d val=%p,%d\n", DescriptorHandle, DC_get_desc_type(desc), RecNumber, FieldIdentifier, Value, BufferLength); ^~~~~ pgapi30.c:1865:54: note: format string is defined here MYLOG(0, "entering h=%p(%d) rec=%d field=%d val=%p,%d\n", DescriptorHandle, DC_get_desc_type(desc), RecNumber, FieldIdentifier, Value, BufferLength); ~^ %ld In file included from psqlodbc.h:691, from pgapi30.c:17: pgapi30.c: In function 'PGAPI_SetStmtAttr': mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] #define PREPEND_FMT "%10.10s[%s]%d: " ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' #define MYLOG(level, fmt, ...) (level < get_mylog() ? mylog(PREPEND_FMT fmt PREPEND_ITEMS, ##__VA_ARGS__) : 0) ^~~~~~~~~~~ pgapi30.c:1916:2: note: in expansion of macro 'MYLOG' MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); ^~~~~ pgapi30.c:1916:32: note: format string is defined here MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); ~^ %ld libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mylog.c -fPIC -DPIC -o .libs/mylog.o /bin/sh ./libtool --tag=CC --mode=link gcc -DUNICODE_SUPPORT -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -module -no-undefined -avoid-version -export-symbols-regex '^SQL' -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib -o psqlodbcw.la -rpath /usr/lib psqlodbcw_la-info.lo psqlodbcw_la-bind.lo psqlodbcw_la-columninfo.lo psqlodbcw_la-connection.lo psqlodbcw_la-convert.lo psqlodbcw_la-drvconn.lo psqlodbcw_la-environ.lo psqlodbcw_la-execute.lo psqlodbcw_la-lobj.lo psqlodbcw_la-misc.lo psqlodbcw_la-options.lo psqlodbcw_la-pgtypes.lo psqlodbcw_la-psqlodbc.lo psqlodbcw_la-qresult.lo psqlodbcw_la-results.lo psqlodbcw_la-parse.lo psqlodbcw_la-statement.lo psqlodbcw_la-tuple.lo psqlodbcw_la-dlg_specific.lo psqlodbcw_la-multibyte.lo psqlodbcw_la-odbcapi.lo psqlodbcw_la-descriptor.lo psqlodbcw_la-odbcapi30.lo psqlodbcw_la-pgapi30.lo psqlodbcw_la-mylog.lo psqlodbcw_la-odbcapi30w.lo psqlodbcw_la-odbcapiw.lo psqlodbcw_la-win_unicode.lo -lpq -lpthread -lodbcinst libtool: link: /usr/bin/nm -B .libs/psqlodbcw_la-info.o .libs/psqlodbcw_la-bind.o .libs/psqlodbcw_la-columninfo.o .libs/psqlodbcw_la-connection.o .libs/psqlodbcw_la-convert.o .libs/psqlodbcw_la-drvconn.o .libs/psqlodbcw_la-environ.o .libs/psqlodbcw_la-execute.o .libs/psqlodbcw_la-lobj.o .libs/psqlodbcw_la-misc.o .libs/psqlodbcw_la-options.o .libs/psqlodbcw_la-pgtypes.o .libs/psqlodbcw_la-psqlodbc.o .libs/psqlodbcw_la-qresult.o .libs/psqlodbcw_la-results.o .libs/psqlodbcw_la-parse.o .libs/psqlodbcw_la-statement.o .libs/psqlodbcw_la-tuple.o .libs/psqlodbcw_la-dlg_specific.o .libs/psqlodbcw_la-multibyte.o .libs/psqlodbcw_la-odbcapi.o .libs/psqlodbcw_la-descriptor.o .libs/psqlodbcw_la-odbcapi30.o .libs/psqlodbcw_la-pgapi30.o .libs/psqlodbcw_la-mylog.o .libs/psqlodbcw_la-odbcapi30w.o .libs/psqlodbcw_la-odbcapiw.o .libs/psqlodbcw_la-win_unicode.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/psqlodbcw.exp libtool: link: /usr/bin/grep -E -e "^SQL" ".libs/psqlodbcw.exp" > ".libs/psqlodbcw.expT" libtool: link: mv -f ".libs/psqlodbcw.expT" ".libs/psqlodbcw.exp" libtool: link: echo "{ global:" > .libs/psqlodbcw.ver libtool: link: cat .libs/psqlodbcw.exp | sed -e "s/\(.*\)/\1;/" >> .libs/psqlodbcw.ver libtool: link: echo "local: *; };" >> .libs/psqlodbcw.ver libtool: link: gcc -shared -fPIC -DPIC .libs/psqlodbcw_la-info.o .libs/psqlodbcw_la-bind.o .libs/psqlodbcw_la-columninfo.o .libs/psqlodbcw_la-connection.o .libs/psqlodbcw_la-convert.o .libs/psqlodbcw_la-drvconn.o .libs/psqlodbcw_la-environ.o .libs/psqlodbcw_la-execute.o .libs/psqlodbcw_la-lobj.o .libs/psqlodbcw_la-misc.o .libs/psqlodbcw_la-options.o .libs/psqlodbcw_la-pgtypes.o .libs/psqlodbcw_la-psqlodbc.o .libs/psqlodbcw_la-qresult.o .libs/psqlodbcw_la-results.o .libs/psqlodbcw_la-parse.o .libs/psqlodbcw_la-statement.o .libs/psqlodbcw_la-tuple.o .libs/psqlodbcw_la-dlg_specific.o .libs/psqlodbcw_la-multibyte.o .libs/psqlodbcw_la-odbcapi.o .libs/psqlodbcw_la-descriptor.o .libs/psqlodbcw_la-odbcapi30.o .libs/psqlodbcw_la-pgapi30.o .libs/psqlodbcw_la-mylog.o .libs/psqlodbcw_la-odbcapi30w.o .libs/psqlodbcw_la-odbcapiw.o .libs/psqlodbcw_la-win_unicode.o -L/usr/lib -lpq -lpthread -lodbcinst -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,psqlodbcw.so -Wl,-version-script -Wl,.libs/psqlodbcw.ver -o .libs/psqlodbcw.so libtool: link: ( cd ".libs" && rm -f "psqlodbcw.la" && ln -s "../psqlodbcw.la" "psqlodbcw.la" ) /bin/sh ./libtool --tag=CC --mode=link gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -module -no-undefined -avoid-version -export-symbols-regex '^SQL' -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib -o psqlodbca.la -rpath /usr/lib info.lo bind.lo columninfo.lo connection.lo convert.lo drvconn.lo environ.lo execute.lo lobj.lo misc.lo options.lo pgtypes.lo psqlodbc.lo qresult.lo results.lo parse.lo statement.lo tuple.lo dlg_specific.lo multibyte.lo odbcapi.lo descriptor.lo odbcapi30.lo pgapi30.lo mylog.lo -lpq -lpthread -lodbcinst libtool: link: /usr/bin/nm -B .libs/info.o .libs/bind.o .libs/columninfo.o .libs/connection.o .libs/convert.o .libs/drvconn.o .libs/environ.o .libs/execute.o .libs/lobj.o .libs/misc.o .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/qresult.o .libs/results.o .libs/parse.o .libs/statement.o .libs/tuple.o .libs/dlg_specific.o .libs/multibyte.o .libs/odbcapi.o .libs/descriptor.o .libs/odbcapi30.o .libs/pgapi30.o .libs/mylog.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/psqlodbca.exp libtool: link: /usr/bin/grep -E -e "^SQL" ".libs/psqlodbca.exp" > ".libs/psqlodbca.expT" libtool: link: mv -f ".libs/psqlodbca.expT" ".libs/psqlodbca.exp" libtool: link: echo "{ global:" > .libs/psqlodbca.ver libtool: link: cat .libs/psqlodbca.exp | sed -e "s/\(.*\)/\1;/" >> .libs/psqlodbca.ver libtool: link: echo "local: *; };" >> .libs/psqlodbca.ver libtool: link: gcc -shared -fPIC -DPIC .libs/info.o .libs/bind.o .libs/columninfo.o .libs/connection.o .libs/convert.o .libs/drvconn.o .libs/environ.o .libs/execute.o .libs/lobj.o .libs/misc.o .libs/options.o .libs/pgtypes.o .libs/psqlodbc.o .libs/qresult.o .libs/results.o .libs/parse.o .libs/statement.o .libs/tuple.o .libs/dlg_specific.o .libs/multibyte.o .libs/odbcapi.o .libs/descriptor.o .libs/odbcapi30.o .libs/pgapi30.o .libs/mylog.o -L/usr/lib -lpq -lpthread -lodbcinst -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,psqlodbca.so -Wl,-version-script -Wl,.libs/psqlodbca.ver -o .libs/psqlodbca.so libtool: link: ( cd ".libs" && rm -f "psqlodbca.la" && ln -s "../psqlodbca.la" "psqlodbca.la" ) make[1]: Leaving directory '/builddir/build/BUILD/psqlodbc-10.03.0000' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bq4Vsr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 ++ dirname /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 + cd psqlodbc-10.03.0000 + make DESTDIR=/builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 install make[1]: Entering directory '/builddir/build/BUILD/psqlodbc-10.03.0000' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c psqlodbcw.la psqlodbca.la '/builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib' libtool: install: /usr/bin/install -c .libs/psqlodbcw.so /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbcw.so libtool: install: /usr/bin/install -c .libs/psqlodbcw.lai /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbcw.la libtool: install: /usr/bin/install -c .libs/psqlodbca.so /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbca.so libtool: install: /usr/bin/install -c .libs/psqlodbca.lai /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbca.la libtool: install: warning: remember to run `libtool --finish /usr/lib' make[1]: Nothing to be done for 'install-data-am'. make[1]: Leaving directory '/builddir/build/BUILD/psqlodbc-10.03.0000' + install -d -m 755 /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386//usr/lib/postgresql-odbc + cp -R test /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386//usr/lib/postgresql-odbc + sed -i 's~^drvr=.*~drvr=/usr/lib/psqlodbc~' /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386//usr/lib/postgresql-odbc/test/odbcini-gen.sh + pushd /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib ~/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib ~/build/BUILD/psqlodbc-10.03.0000 + ln -s psqlodbcw.so psqlodbc.so + rm psqlodbcw.la psqlodbca.la + popd ~/build/BUILD/psqlodbc-10.03.0000 + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 10.03.0000-3.el8_6 --unique-debug-suffix -10.03.0000-3.el8_6.i386 --unique-debug-src-base postgresql-odbc-10.03.0000-3.el8_6.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psqlodbc-10.03.0000 extracting debug info from /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbca.so extracting debug info from /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/lib/psqlodbcw.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2625 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.As6PQD + umask 022 + cd /builddir/build/BUILD WARN: macro pgtests_init will be removed, use postgresql_tests_init + cd psqlodbc-10.03.0000 + echo WARN: macro pgtests_init will be removed, use postgresql_tests_init + . /usr/share/postgresql-setup/postgresql_pkg_tests.sh +++ pwd ++ : /builddir/build/BUILD/psqlodbc-10.03.0000/datadir +++ id -u -n ++ : mockbuild ++ : mockbuild ++ : mockbuild +++ try_random_port +++ _port=21673 +++ test -n 21673 +++ eval '_port=$(( $_port + 32000 ))' +++ echo 53673 ++ : 53673 ++ : /tmp ++ : test:test ++ : test:test WARN: macro pgtests_start will be removed, use postgresql_tests_start ++ : : ++ : : ++ : : ++ export PGPORT=53673 ++ PGPORT=53673 ++ export PGHOST=/tmp ++ PGHOST=/tmp ++ : ++ trap __trap_cb EXIT + echo WARN: macro pgtests_start will be removed, use postgresql_tests_start + pgtests_start + unset __TRAP_ACTIONS + : + test -f /builddir/build/BUILD/psqlodbc-10.03.0000/datadir/postmaster.pid + test -e /builddir/build/BUILD/psqlodbc-10.03.0000/datadir + __pgtests_initdb + initdb /builddir/build/BUILD/psqlodbc-10.03.0000/datadir -U mockbuild --auth-local=peer --auth-host=md5 The files belonging to this database system will be owned by user "mockbuild". This user must also own the server process. The database cluster will be initialized with locale "C". The default database encoding has accordingly been set to "SQL_ASCII". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /builddir/build/BUILD/psqlodbc-10.03.0000/datadir ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default timezone ... Asia/Shanghai selecting dynamic shared memory implementation ... posix creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok Success. You can now start the database server using: pg_ctl -D /builddir/build/BUILD/psqlodbc-10.03.0000/datadir -l logfile start + __TRAP_ACTIONS='pgtests_cleanup ' + __pgtests_start + pg_ctl -D /builddir/build/BUILD/psqlodbc-10.03.0000/datadir -l /builddir/build/BUILD/psqlodbc-10.03.0000/datadir/start.log start -o '-k /tmp -p 53673' -w waiting for server to start.... done server started + __TRAP_ACTIONS='pgtests_stop pgtests_cleanup ' + __pgtests_create_admins_db + createdb -h /tmp mockbuild --owner mockbuild -p 53673 + __pgtests_passwd mockbuild mockbuild + psql -d postgres --set=user=mockbuild --set=pass=mockbuild -tA ALTER ROLE + for _pgt_user in $PGTESTS_USERS + save_IFS=' ' + IFS=: + _user= + _pass= + for _part in $_pgt_user + test -z '' + _user=test + for _part in $_pgt_user + test -z test + _pass=test + createuser test + __pgtests_passwd test test + psql -d postgres --set=user=test --set=pass=test -tA ALTER ROLE + IFS=' ' + for _pgt_db in $PGTESTS_DATABASES + save_IFS=' ' + IFS=: + _db= + _user= + for _part in $_pgt_db + test -z '' + _user=test + for _part in $_pgt_db + test -z test + _db=test + createdb test --owner test + IFS=' ' + cd test + make installcheck -j16 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -c -c src/common.c -o exe/common.o cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib runsuite.c -o runsuite ./odbcini-gen.sh creating odbcinst.ini creating odbc.ini: runsuite.c: In function 'main': runsuite.c:163:5: warning: '%s' directive output may be truncated writing up to 999 bytes into a region of size 965 [-Wformat-truncation=] runsuite.c:135:7: if (runtest(binname, testname, i, inputdir) != 0) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ runsuite.c:163:5: "ODBCSYSINI=. ODBCINSTINI=./odbcinst.ini ODBCINI=./odbc.ini " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ runsuite.c:164:6: note: format string is defined here "%s > results/%s.out", ^~ In file included from /usr/include/stdio.h:873, from runsuite.c:8: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 75 and 1173 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/connect-test.c exe/common.o -o exe/connect-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/stmthandles-test.c exe/common.o -o exe/stmthandles-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/select-test.c exe/common.o -o exe/select-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/update-test.c exe/common.o -o exe/update-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/commands-test.c exe/common.o -o exe/commands-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/multistmt-test.c exe/common.o -o exe/multistmt-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/getresult-test.c exe/common.o -o exe/getresult-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/colattribute-test.c exe/common.o -o exe/colattribute-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/result-conversions-test.c exe/common.o -o exe/result-conversions-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/prepare-test.c exe/common.o -o exe/prepare-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/premature-test.c exe/common.o -o exe/premature-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/params-test.c exe/common.o -o exe/params-test -L/usr/lib -lodbc src/result-conversions-test.c: In function 'print_sql_type': src/result-conversions-test.c:252:18: warning: variable 'tim' set but not used [-Wunused-but-set-variable] struct tm *tim; ^~~ cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/param-conversions-test.c exe/common.o -o exe/param-conversions-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/parse-test.c exe/common.o -o exe/parse-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/identity-test.c exe/common.o -o exe/identity-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/notice-test.c exe/common.o -o exe/notice-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/arraybinding-test.c exe/common.o -o exe/arraybinding-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/insertreturning-test.c exe/common.o -o exe/insertreturning-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/dataatexecution-test.c exe/common.o -o exe/dataatexecution-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/boolsaschar-test.c exe/common.o -o exe/boolsaschar-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cvtnulldate-test.c exe/common.o -o exe/cvtnulldate-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/alter-test.c exe/common.o -o exe/alter-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/quotes-test.c exe/common.o -o exe/quotes-test -L/usr/lib -lodbc src/param-conversions-test.c: In function 'test_convert': src/param-conversions-test.c:133:48: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf("Testing \"%s\" with %s -> %s param %d...\n", ~^ %ld sql, c_type_str, sql_type_str, *((SQLINTEGER *) value)); ~~~~~~~~~~~~~~~~~~~~~~~ cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cursors-test.c exe/common.o -o exe/cursors-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cursor-movement-test.c exe/common.o -o exe/cursor-movement-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cursor-commit-test.c exe/common.o -o exe/cursor-commit-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cursor-name-test.c exe/common.o -o exe/cursor-name-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cursor-block-delete-test.c exe/common.o -o exe/cursor-block-delete-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/bookmark-test.c exe/common.o -o exe/bookmark-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/declare-fetch-commit-test.c exe/common.o -o exe/declare-fetch-commit-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/declare-fetch-block-test.c exe/common.o -o exe/declare-fetch-block-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/positioned-update-test.c exe/common.o -o exe/positioned-update-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/bulkoperations-test.c exe/common.o -o exe/bulkoperations-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/catalogfunctions-test.c exe/common.o -o exe/catalogfunctions-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/bindcol-test.c exe/common.o -o exe/bindcol-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/lfconversion-test.c exe/common.o -o exe/lfconversion-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/cte-test.c exe/common.o -o exe/cte-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/deprecated-test.c exe/common.o -o exe/deprecated-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/errors-test.c exe/common.o -o exe/errors-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/error-rollback-test.c exe/common.o -o exe/error-rollback-test -L/usr/lib -lodbc src/bulkoperations-test.c: In function 'main': src/bulkoperations-test.c:174:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("row no #2: %d - %d\n", colvalues1[0], colvalues2[0]); ~^ ~~~~~~~~~~~~~ %ld src/bulkoperations-test.c:174:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("row no #2: %d - %d\n", colvalues1[0], colvalues2[0]); ~^ ~~~~~~~~~~~~~ %ld src/bulkoperations-test.c:175:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("updated row: %d - %d\n", colvalues1[1], colvalues2[1]); ~^ ~~~~~~~~~~~~~ %ld src/bulkoperations-test.c:175:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("updated row: %d - %d\n", colvalues1[1], colvalues2[1]); ~^ ~~~~~~~~~~~~~ %ld src/bulkoperations-test.c:176:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("inserted row: %d - %d\n", colvalues1[2], colvalues2[2]); ~^ ~~~~~~~~~~~~~ %ld src/bulkoperations-test.c:176:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf ("inserted row: %d - %d\n", colvalues1[2], colvalues2[2]); ~^ ~~~~~~~~~~~~~ %ld src/positioned-update-test.c: In function 'main': src/positioned-update-test.c:76:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] printf("exec cursor_type=%d\n", cursor_type); ~^ ~~~~~~~~~~~ %ld cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/diagnostic-test.c exe/common.o -o exe/diagnostic-test -L/usr/lib -lodbc src/deprecated-test.c: In function 'print_cursor_type': src/deprecated-test.c:25:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'SQLINTEGER' {aka 'long int'} [-Wformat=] printf("unknown type of cursor: %d\n", cursor_type); ~^ ~~~~~~~~~~~ %ld cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/numeric-test.c exe/common.o -o exe/numeric-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/large-object-test.c exe/common.o -o exe/large-object-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/large-object-data-at-exec-test.c exe/common.o -o exe/large-object-data-at-exec-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/odbc-escapes-test.c exe/common.o -o exe/odbc-escapes-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib src/wchar-char-test.c exe/common.o -o exe/wchar-char-test -L/usr/lib -lodbc cc -I/usr/include -I/usr/include -I/usr/include/pgsql/internal -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-pointer-sign -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -L/usr/lib reset-db.c exe/common.o -o reset-db -L/usr/lib -lodbc rm -f regression.diffs ODBCSYSINI=. ODBCINSTINI=./odbcinst.ini ODBCINI=./odbc.ini ./reset-db < ./sampletables.sql connected to DSN=psqlodbc_test_dsn;Database=postgres Dropping and creating database contrib_regression... connected to DSN=psqlodbc_test_dsn;Database=contrib_regression Running initialization script... Done! ./runsuite connect stmthandles select update commands multistmt getresult colattribute result-conversions prepare premature params param-conversions parse identity notice arraybinding insertreturning dataatexecution boolsaschar cvtnulldate alter quotes cursors cursor-movement cursor-commit cursor-name cursor-block-delete bookmark declare-fetch-commit declare-fetch-block positioned-update bulkoperations catalogfunctions bindcol lfconversion cte deprecated errors error-rollback diagnostic numeric large-object large-object-data-at-exec odbc-escapes wchar-char --inputdir=. TAP version 13 1..46 ok 1 - connect ok 2 - stmthandles ok 3 - select ok 4 - update ok 5 - commands ok 6 - multistmt ok 7 - getresult ok 8 - colattribute ok 9 - result-conversions ok 10 - prepare ok 11 - premature ok 12 - params ok 13 - param-conversions ok 14 - parse ok 15 - identity ok 16 - notice ok 17 - arraybinding ok 18 - insertreturning ok 19 - dataatexecution ok 20 - boolsaschar ok 21 - cvtnulldate ok 22 - alter ok 23 - quotes ok 24 - cursors ok 25 - cursor-movement ok 26 - cursor-commit ok 27 - cursor-name ok 28 - cursor-block-delete ok 29 - bookmark ok 30 - declare-fetch-commit ok 31 - declare-fetch-block ok 32 - positioned-update ok 33 - bulkoperations ok 34 - catalogfunctions ok 35 - bindcol ok 36 - lfconversion ok 37 - cte ok 38 - deprecated ok 39 - errors ok 40 - error-rollback ok 41 - diagnostic ok 42 - numeric ok 43 - large-object ok 44 - large-object-data-at-exec ok 45 - odbc-escapes ok 46 - wchar-char + exit 0 + __trap_cb + IFS=' ' + for __func in $__TRAP_ACTIONS + pgtests_stop + pg_ctl stop -D /builddir/build/BUILD/psqlodbc-10.03.0000/datadir -w waiting for server to shut down..... done server stopped + __clean_trap_action pgtests_stop + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_stop = pgtests_stop + : + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_stop + __new_actions='pgtests_cleanup ' + __TRAP_ACTIONS='pgtests_cleanup ' + for __func in $__TRAP_ACTIONS + pgtests_cleanup + : + rm -r /builddir/build/BUILD/psqlodbc-10.03.0000/datadir + __clean_trap_action pgtests_cleanup + __new_actions= + for __action in $__TRAP_ACTIONS + test pgtests_cleanup = pgtests_cleanup + : + __TRAP_ACTIONS= Processing files: postgresql-odbc-10.03.0000-3.el8_6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wrwbXk + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-10.03.0000 + DOCDIR=/builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + cp -pr license.txt /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + cp -pr readme.txt /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + cp -pr docs/README.txt docs/config-opt.html docs/config.html docs/editConfiguration.jpg docs/msdtc_pgxalib_tracing_README.txt docs/msdtc_pgxalib_tracing_disable.reg docs/msdtc_pgxalib_tracing_enable.reg docs/release-7.3.html docs/release.html docs/unix-compilation.html docs/win32-compilation.html /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + cp -pr README.rpmdist /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc + exit 0 Provides: postgresql-odbc = 10.03.0000-3.el8_6 postgresql-odbc(x86-32) = 10.03.0000-3.el8_6 psqlodbc = 10.03.0000-3.el8_6 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libodbcinst.so.2 libpq.so.5 libpq.so.5(RHPG_9.6) libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) rtld(GNU_HASH) Processing files: postgresql-odbc-debugsource-10.03.0000-3.el8_6.i686 Provides: postgresql-odbc-debugsource = 10.03.0000-3.el8_6 postgresql-odbc-debugsource(x86-32) = 10.03.0000-3.el8_6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: postgresql-odbc-tests-10.03.0000-3.el8_6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sc2WkV + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-10.03.0000 + DOCDIR=/builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc-tests + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc-tests + cp -pr license.txt /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386/usr/share/doc/postgresql-odbc-tests + exit 0 Provides: postgresql-odbc-tests = 10.03.0000-3.el8_6 postgresql-odbc-tests(x86-32) = 10.03.0000-3.el8_6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: postgresql-odbc-debuginfo-10.03.0000-3.el8_6.i686 Provides: debuginfo(build-id) = 5ab7f645273437ec36677e0d9f712f102146fb88 debuginfo(build-id) = dbab19b96dc602ad508327ba586a4f0c06f28cc0 postgresql-odbc-debuginfo = 10.03.0000-3.el8_6 postgresql-odbc-debuginfo(x86-32) = 10.03.0000-3.el8_6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: postgresql-odbc-debugsource(x86-32) = 10.03.0000-3.el8_6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 Wrote: /builddir/build/RPMS/postgresql-odbc-10.03.0000-3.el8_6.i686.rpm Wrote: /builddir/build/RPMS/postgresql-odbc-debugsource-10.03.0000-3.el8_6.i686.rpm Wrote: /builddir/build/RPMS/postgresql-odbc-tests-10.03.0000-3.el8_6.i686.rpm Wrote: /builddir/build/RPMS/postgresql-odbc-debuginfo-10.03.0000-3.el8_6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ue0YAk + umask 022 + cd /builddir/build/BUILD + cd psqlodbc-10.03.0000 + /usr/bin/rm -rf /builddir/build/BUILDROOT/postgresql-odbc-10.03.0000-3.el8_6.i386 + exit 0 Child return code was: 0