<86>Dec 4 17:44:03 userdel[2567378]: delete user 'rooter' <86>Dec 4 17:44:03 groupadd[2567410]: group added to /etc/group: name=rooter, GID=687 <86>Dec 4 17:44:03 groupadd[2567410]: group added to /etc/gshadow: name=rooter <86>Dec 4 17:44:03 groupadd[2567410]: new group: name=rooter, GID=687 <86>Dec 4 17:44:03 useradd[2567429]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Dec 4 17:44:03 userdel[2567454]: delete user 'builder' <86>Dec 4 17:44:03 userdel[2567454]: removed group 'builder' owned by 'builder' <86>Dec 4 17:44:03 userdel[2567454]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 17:44:03 groupadd[2567474]: group added to /etc/group: name=builder, GID=688 <86>Dec 4 17:44:03 groupadd[2567474]: group added to /etc/gshadow: name=builder <86>Dec 4 17:44:03 groupadd[2567474]: new group: name=builder, GID=688 <86>Dec 4 17:44:03 useradd[2567485]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/psqlodbc-10.03.0000-alt1.src.rpm: The use of such a license name is ambiguous: LGPL warning: user mike does not exist - using root warning: group mike does not exist - using root warning: user mike does not exist - using root warning: group mike does not exist - using root <13>Dec 4 17:44:05 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 17:44:05 rpmi: libcom_err-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Dec 4 17:44:05 rpmi: libcom_err-devel-1.45.6.0.24.af1a-alt1 sisyphus+262279.100.1.1 1606088229 installed <13>Dec 4 17:44:05 rpmi: libverto-devel-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Dec 4 17:44:05 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Dec 4 17:44:05 rpmi: libunixODBC2-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Dec 4 17:44:05 rpmi: libunixODBC-devel-compat-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed <13>Dec 4 17:44:05 rpmi: liblmdb-0.9.23-alt1 sisyphus+225277.100.2.1 1553001679 installed <13>Dec 4 17:44:05 rpmi: libkeyutils-1.6.1-alt1 sisyphus+256015.100.1.1 1596820124 installed <13>Dec 4 17:44:05 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:44:05 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Dec 4 17:44:05 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:44:05 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Dec 4 17:44:05 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Dec 4 17:44:05 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 4 17:44:05 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274901 installed <13>Dec 4 17:44:05 rpmi: libcrypto1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <13>Dec 4 17:44:05 rpmi: libssl1.1-1.1.1g-alt1 sisyphus+249982.60.8.1 1587743711 installed <86>Dec 4 17:44:06 groupadd[2578285]: group added to /etc/group: name=_keytab, GID=499 <86>Dec 4 17:44:06 groupadd[2578285]: group added to /etc/gshadow: name=_keytab <86>Dec 4 17:44:06 groupadd[2578285]: new group: name=_keytab, GID=499 <13>Dec 4 17:44:06 rpmi: libkrb5-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <86>Dec 4 17:44:06 groupadd[2579195]: group added to /etc/group: name=sasl, GID=498 <86>Dec 4 17:44:06 groupadd[2579195]: group added to /etc/gshadow: name=sasl <86>Dec 4 17:44:06 groupadd[2579195]: new group: name=sasl, GID=498 <13>Dec 4 17:44:06 rpmi: libsasl2-3-2.1.27-alt2.1 sisyphus+255909.100.2.1 1597199456 installed <13>Dec 4 17:44:06 rpmi: libldap-2.4.54-alt1 sisyphus+260267.100.2.1 1603571517 installed <13>Dec 4 17:44:06 rpmi: libpq5-13.1-alt2 sisyphus+262093.100.1.1 1605801031 installed <13>Dec 4 17:44:06 rpmi: libecpg6-13.1-alt2 sisyphus+262093.100.1.1 1605801031 installed <13>Dec 4 17:44:06 rpmi: libkrb5-ldap-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 17:44:06 rpmi: libkrb5-devel-1.18.3-alt1 sisyphus+262109.100.1.1 1605777180 installed <13>Dec 4 17:44:06 rpmi: postgresql-devel-13.1-alt2 sisyphus+262093.100.1.1 1605801031 installed <13>Dec 4 17:44:06 rpmi: libunixODBC-devel-2.3.7-alt1 sisyphus+228027.100.1.1 1556027338 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/psqlodbc-10.03.0000-alt1.nosrc.rpm Installing psqlodbc-10.03.0000-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.69666 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf psqlodbc-10.03.0000 + echo 'Source #0 (psqlodbc-10.03.0000.tar.gz):' Source #0 (psqlodbc-10.03.0000.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/psqlodbc-10.03.0000.tar.gz + cd psqlodbc-10.03.0000 + /bin/chmod -c -Rf u+rwX,go-w . mode of './config/ltmain.sh' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './config/lt~obsolete.m4' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './config/ltversion.m4' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './config/ltsugar.m4' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './config/ltoptions.m4' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './config/libtool.m4' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.69666 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd psqlodbc-10.03.0000 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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 i586-alt-linux-gcc... i586-alt-linux-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of i586-alt-linux-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... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i586-alt-linux-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i586-alt-linux-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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... yes 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 configure: WARNING: unrecognized options: --without-included-gettext + make -j8 make all-am make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-drvconn.lo `test -f 'drvconn.c' || echo './'`drvconn.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c drvconn.c -fPIC -DPIC -o .libs/psqlodbcw_la-drvconn.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-columninfo.lo `test -f 'columninfo.c' || echo './'`columninfo.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c columninfo.c -fPIC -DPIC -o .libs/psqlodbcw_la-columninfo.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-bind.lo `test -f 'bind.c' || echo './'`bind.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c bind.c -fPIC -DPIC -o .libs/psqlodbcw_la-bind.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-environ.lo `test -f 'environ.c' || echo './'`environ.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c environ.c -fPIC -DPIC -o .libs/psqlodbcw_la-environ.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-lobj.lo `test -f 'lobj.c' || echo './'`lobj.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c lobj.c -fPIC -DPIC -o .libs/psqlodbcw_la-lobj.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-misc.lo `test -f 'misc.c' || echo './'`misc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c misc.c -fPIC -DPIC -o .libs/psqlodbcw_la-misc.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 119 | MYLOG(0, "invalid length=%d\n", len); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-options.lo `test -f 'options.c' || echo './'`options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c options.c -fPIC -DPIC -o .libs/psqlodbcw_la-options.o 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=] 54 | #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) | ^~~~~ options.c:550:4: note: in expansion of macro 'MYPRINTF' 550 | 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 555 | MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 716 | MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 721 | MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-psqlodbc.lo `test -f 'psqlodbc.c' || echo './'`psqlodbc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c psqlodbc.c -fPIC -DPIC -o .libs/psqlodbcw_la-psqlodbc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-execute.lo `test -f 'execute.c' || echo './'`execute.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c execute.c -fPIC -DPIC -o .libs/psqlodbcw_la-execute.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1227 | MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-pgtypes.lo `test -f 'pgtypes.c' || echo './'`pgtypes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c pgtypes.c -fPIC -DPIC -o .libs/psqlodbcw_la-pgtypes.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-tuple.lo `test -f 'tuple.c' || echo './'`tuple.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c tuple.c -fPIC -DPIC -o .libs/psqlodbcw_la-tuple.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-connection.lo `test -f 'connection.c' || echo './'`connection.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c connection.c -fPIC -DPIC -o .libs/psqlodbcw_la-connection.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1324 | MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1324 | MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1351 | MYLOG(0, "isolation=%d\n", isolation); | ^~~~~ connection.c: In function 'CC_send_query_append': connection.c:2130:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2130 | if (cancel = PQgetCancel(self->pqconn)) | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-qresult.lo `test -f 'qresult.c' || echo './'`qresult.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c qresult.c -fPIC -DPIC -o .libs/psqlodbcw_la-qresult.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 817 | MYLOG(0, "REALLOC: old_count = " FORMAT_LEN ", size = " FORMAT_SIZE_T "\n", tuple_size, self->num_fields * sizeof(TupleField) * tuple_size); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-multibyte.lo `test -f 'multibyte.c' || echo './'`multibyte.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c multibyte.c -fPIC -DPIC -o .libs/psqlodbcw_la-multibyte.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-parse.lo `test -f 'parse.c' || echo './'`parse.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parse.c -fPIC -DPIC -o .libs/psqlodbcw_la-parse.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-info.lo `test -f 'info.c' || echo './'`info.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c info.c -fPIC -DPIC -o .libs/psqlodbcw_la-info.o In file included from info.c:38: info.c: In function 'PGAPI_Columns': info.c:2674:26: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 32 [-Wformat-truncation=] 2674 | SPRINTF_FIXED(tmp, "%s identity", field_type_name); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ info.c:2674:27: note: format string is defined here 2674 | SPRINTF_FIXED(tmp, "%s identity", field_type_name); | ^~ In file included from /usr/include/stdio.h:867, 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 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-descriptor.lo `test -f 'descriptor.c' || echo './'`descriptor.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c descriptor.c -fPIC -DPIC -o .libs/psqlodbcw_la-descriptor.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=] 54 | #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) | ^~~~~ descriptor.c:565:1: note: in expansion of macro 'MYPRINTF' 565 | MYPRINTF(DETAIL_LOG_LEVEL, " rowset_size=" FORMAT_LEN " bind_size=%d ope_ptr=%p off_ptr=%p\n", | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-odbcapi30.lo `test -f 'odbcapi30.c' || echo './'`odbcapi30.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapi30.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi30.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 356 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 390 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 409 | MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 429 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 477 | MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 538 | MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-mylog.lo `test -f 'mylog.c' || echo './'`mylog.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c mylog.c -fPIC -DPIC -o .libs/psqlodbcw_la-mylog.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-dlg_specific.lo `test -f 'dlg_specific.c' || echo './'`dlg_specific.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c dlg_specific.c -fPIC -DPIC -o .libs/psqlodbcw_la-dlg_specific.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-results.lo `test -f 'results.c' || echo './'`results.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c results.c -fPIC -DPIC -o .libs/psqlodbcw_la-results.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 3754 | MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 3781 | MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-statement.lo `test -f 'statement.c' || echo './'`statement.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c statement.c -fPIC -DPIC -o .libs/psqlodbcw_la-statement.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1969 | 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: 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=] 55 | #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' 2366 | 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=] 55 | #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' 2366 | 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 55 | #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' 2366 | 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 '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 55 | #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' 2366 | 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); | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-odbcapi30w.lo `test -f 'odbcapi30w.c' || echo './'`odbcapi30w.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapi30w.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi30w.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-odbcapi.lo `test -f 'odbcapi.c' || echo './'`odbcapi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapi.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapi.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-odbcapiw.lo `test -f 'odbcapiw.c' || echo './'`odbcapiw.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapiw.c -fPIC -DPIC -o .libs/psqlodbcw_la-odbcapiw.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-pgapi30.lo `test -f 'pgapi30.c' || echo './'`pgapi30.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c pgapi30.c -fPIC -DPIC -o .libs/psqlodbcw_la-pgapi30.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 404 | MYLOG(0, "entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1555 | MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1658 | MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1815 | MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1865 | 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: 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1916 | MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o columninfo.lo columninfo.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c columninfo.c -fPIC -DPIC -o .libs/columninfo.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-win_unicode.lo `test -f 'win_unicode.c' || echo './'`win_unicode.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c win_unicode.c -fPIC -DPIC -o .libs/psqlodbcw_la-win_unicode.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 898 | MYLOG(0, " c16dt=%p size=%lu\n", c16dt, n); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 932 | MYLOG(0, " c8dt=%p size=%lu\n", c8dt, n); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o bind.lo bind.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c bind.c -fPIC -DPIC -o .libs/bind.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbcw_la-convert.lo `test -f 'convert.c' || echo './'`convert.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c convert.c -fPIC -DPIC -o .libs/psqlodbcw_la-convert.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 2950 | MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 2950 | MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); | ^~~~~ 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=] 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ convert.c:1622:39: note: format string is defined here 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~ In file included from convert.c:22: convert.c:1622:35: note: using the range [0, 2147483647] for directive argument 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:867, 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 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o drvconn.lo drvconn.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c drvconn.c -fPIC -DPIC -o .libs/drvconn.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o lobj.lo lobj.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c lobj.c -fPIC -DPIC -o .libs/lobj.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o misc.lo misc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c misc.c -fPIC -DPIC -o .libs/misc.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 119 | MYLOG(0, "invalid length=%d\n", len); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o environ.lo environ.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c environ.c -fPIC -DPIC -o .libs/environ.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o options.lo options.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c options.c -fPIC -DPIC -o .libs/options.o 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=] 54 | #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) | ^~~~~ options.c:550:4: note: in expansion of macro 'MYPRINTF' 550 | 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 555 | MYLOG(0, "ANSI_APP val=%d\n", *((SQLUINTEGER *) pvParam)); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 716 | MYLOG(0, "SQL_CONCURRENCY %d\n", stmt->options.scroll_concurrency); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 721 | MYLOG(0, "SQL_CURSOR_TYPE %d\n", stmt->options.cursor_type); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o execute.lo execute.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c execute.c -fPIC -DPIC -o .libs/execute.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1227 | MYLOG(0, "entering...cbSqlStrIn=%d\n", cbSqlStrIn); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o psqlodbc.lo psqlodbc.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c psqlodbc.c -fPIC -DPIC -o .libs/psqlodbc.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o connection.lo connection.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c connection.c -fPIC -DPIC -o .libs/connection.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1324 | MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1324 | MYLOG(0, "isolation %d to be %d\n", conn->server_isolation, conn->isolation); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1351 | MYLOG(0, "isolation=%d\n", isolation); | ^~~~~ connection.c: In function 'CC_send_query_append': connection.c:2130:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2130 | if (cancel = PQgetCancel(self->pqconn)) | ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o qresult.lo qresult.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c qresult.c -fPIC -DPIC -o .libs/qresult.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 817 | MYLOG(0, "REALLOC: old_count = " FORMAT_LEN ", size = " FORMAT_SIZE_T "\n", tuple_size, self->num_fields * sizeof(TupleField) * tuple_size); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pgtypes.lo pgtypes.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c pgtypes.c -fPIC -DPIC -o .libs/pgtypes.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o tuple.lo tuple.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c tuple.c -fPIC -DPIC -o .libs/tuple.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o multibyte.lo multibyte.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c multibyte.c -fPIC -DPIC -o .libs/multibyte.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o info.lo info.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c info.c -fPIC -DPIC -o .libs/info.o In file included from info.c:38: info.c: In function 'PGAPI_Columns': info.c:2674:26: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 32 [-Wformat-truncation=] 2674 | SPRINTF_FIXED(tmp, "%s identity", field_type_name); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ info.c:2674:27: note: format string is defined here 2674 | SPRINTF_FIXED(tmp, "%s identity", field_type_name); | ^~ In file included from /usr/include/stdio.h:867, 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 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o odbcapi.lo odbcapi.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapi.c -fPIC -DPIC -o .libs/odbcapi.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o dlg_specific.lo dlg_specific.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c dlg_specific.c -fPIC -DPIC -o .libs/dlg_specific.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o odbcapi30.lo odbcapi30.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c odbcapi30.c -fPIC -DPIC -o .libs/odbcapi30.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 356 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 390 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 409 | MYLOG(0, "Entering Handle=%p %d\n", StatementHandle, Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 429 | MYLOG(0, "Entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 477 | MYLOG(0, "Entering att=%d," FORMAT_ULEN "\n", Attribute, (SQLULEN) Value); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 538 | MYLOG(0, "Entering Handle=%p %d," FORMAT_ULEN "\n", StatementHandle, Attribute, (SQLULEN) Value); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o descriptor.lo descriptor.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c descriptor.c -fPIC -DPIC -o .libs/descriptor.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=] 54 | #define MYPRINTF(level, fmt, ...) (level < get_mylog() ? myprintf((fmt), ##__VA_ARGS__) : 0) | ^~~~~ descriptor.c:565:1: note: in expansion of macro 'MYPRINTF' 565 | MYPRINTF(DETAIL_LOG_LEVEL, " rowset_size=" FORMAT_LEN " bind_size=%d ope_ptr=%p off_ptr=%p\n", | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o parse.lo parse.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c parse.c -fPIC -DPIC -o .libs/parse.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o results.lo results.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c results.c -fPIC -DPIC -o .libs/results.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 3754 | MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " <> backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 3781 | MYLOG(DETAIL_LOG_LEVEL, "total " FORMAT_LEN " == backend " FORMAT_LEN " - base " FORMAT_LEN " + start " FORMAT_LEN " cursor_type=%d\n", | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o mylog.lo mylog.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c mylog.c -fPIC -DPIC -o .libs/mylog.o make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o statement.lo statement.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c statement.c -fPIC -DPIC -o .libs/statement.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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1969 | 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: 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=] 55 | #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' 2366 | 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=] 55 | #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' 2366 | 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 55 | #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' 2366 | 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 '%d' expects argument of type 'int', but argument 9 has type 'SQLUINTEGER' {aka 'const long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 55 | #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' 2366 | 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); | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=link i586-alt-linux-gcc -DUNICODE_SUPPORT -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -module -no-undefined -avoid-version -export-symbols-regex '^SQL' -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' | /bin/sed 's/.* //' | sort | uniq > .libs/psqlodbcw.exp libtool: link: /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: i586-alt-linux-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 -O2 -march=i586 -mtune=generic -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" ) make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o pgapi30.lo pgapi30.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c pgapi30.c -fPIC -DPIC -o .libs/pgapi30.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 404 | MYLOG(0, "entering %d\n", Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1555 | MYLOG(0, "entering Handle=%p %d\n", StatementHandle, Attribute); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1658 | MYLOG(0, "entering for %p: %d %p\n", ConnectionHandle, Attribute, Value); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1815 | MYLOG(0, "entering h=%p rec=%d field=%d blen=%d\n", DescriptorHandle, RecNumber, FieldIdentifier, BufferLength); | ^~~~~ 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1865 | 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: 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 1916 | MYLOG(0, "entering Handle=%p %d," FORMAT_ULEN "(%p)\n", StatementHandle, Attribute, (SQLULEN) Value, Value); | ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c -o convert.lo convert.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/pgsql -I/usr/include/pgsql/internal -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -c convert.c -fPIC -DPIC -o .libs/convert.o 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=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 2950 | MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); | ^~~~~ mylog.h:48:21: warning: format '%d' expects argument of type 'int', but argument 6 has type 'SQLUINTEGER' {aka 'long unsigned int'} [-Wformat=] 48 | #define PREPEND_FMT "%10.10s[%s]%d: " | ^~~~~~~~~~~~~~~~~ mylog.h:53:61: note: in expansion of macro 'PREPEND_FMT' 53 | #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' 2950 | MYLOG(DETAIL_LOG_LEVEL, "type=%d concur=%d\n", stmt->options.cursor_type, stmt->options.scroll_concurrency); | ^~~~~ 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=] 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ convert.c:1622:39: note: format string is defined here 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~ In file included from convert.c:22: convert.c:1622:35: note: using the range [0, 2147483647] for directive argument 1622 | len = SPRINTF_FIXED(midtemp, "%s.%0*d", midtemp, wdt, fr); | ^~~~~~~~~ misc.h:84:29: note: in definition of macro 'SPRINTF_FIXED' 84 | snprintf((to), sizeof(to), __VA_ARGS__) \ | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:867, 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 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/sh ./libtool --tag=CC --mode=link i586-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -module -no-undefined -avoid-version -export-symbols-regex '^SQL' -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' | /bin/sed 's/.* //' | sort | uniq > .libs/psqlodbca.exp libtool: link: /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: i586-alt-linux-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 -O2 -march=i586 -mtune=generic -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 '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.67807 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/psqlodbc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/psqlodbc-buildroot + cd psqlodbc-10.03.0000 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/psqlodbc-buildroot make: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make[1]: Entering directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' /bin/mkdir -p '/usr/src/tmp/psqlodbc-buildroot/usr/lib' /bin/sh ./libtool --mode=install /bin/install -p psqlodbcw.la psqlodbca.la '/usr/src/tmp/psqlodbc-buildroot/usr/lib' libtool: install: /bin/install -p .libs/psqlodbcw.so /usr/src/tmp/psqlodbc-buildroot/usr/lib/psqlodbcw.so libtool: install: /bin/install -p .libs/psqlodbcw.lai /usr/src/tmp/psqlodbc-buildroot/usr/lib/psqlodbcw.la libtool: install: /bin/install -p .libs/psqlodbca.so /usr/src/tmp/psqlodbc-buildroot/usr/lib/psqlodbca.so libtool: install: /bin/install -p .libs/psqlodbca.lai /usr/src/tmp/psqlodbc-buildroot/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 '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' make: Leaving directory '/usr/src/RPM/BUILD/psqlodbc-10.03.0000' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/psqlodbc-buildroot (auto) mode of './usr/lib/psqlodbca.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/psqlodbcw.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/psqlodbc-buildroot (binconfig,pkgconfig,libtool,desktop) /usr/lib/psqlodbca.la: dependency_libs: ' -L/usr/lib -lpq -lpthread -lodbcinst' --> '-lpq -lpthread -lodbcinst' /usr/lib/psqlodbcw.la: dependency_libs: ' -L/usr/lib -lpq -lpthread -lodbcinst' --> '-lpq -lpthread -lodbcinst' Checking contents of files in /usr/src/tmp/psqlodbc-buildroot/ (default) Compressing files in /usr/src/tmp/psqlodbc-buildroot (auto) Adjusting library links in /usr/src/tmp/psqlodbc-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/psqlodbc-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/psqlodbca.so: uses non-LFS functions: fopen verify-elf: WARNING: ./usr/lib/psqlodbcw.so: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: libpsqlodbc-10.03.0000-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25207 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd psqlodbc-10.03.0000 + DOCDIR=/usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + export DOCDIR + rm -rf /usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + /bin/mkdir -p /usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + cp -prL 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 /usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + chmod -R go-w /usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + chmod -R a+rX /usr/src/tmp/psqlodbc-buildroot/usr/share/doc/libpsqlodbc-10.03.0000 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iox072 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/psqlodbc-buildroot/usr/lib/psqlodbca.so: 63 symbols, 16 bpp lib.prov: /usr/src/tmp/psqlodbc-buildroot/usr/lib/psqlodbcw.so: 96 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cjc0D4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) warning: libpsqlodbc provides another subpackage: psqlodbc Provides: psqlodbc, psqlodbca.so = set:jd8ZsKJYVNYbksGitwJsVob4mjpDoLDlIAMifym8nGlkdivyFZJWMh8x1kEPctX5fu9P0db8hNEP4vPfZCHtlIJjCOjI153zHFm3yUtINPU6WO9odtABY7wwYXdi2, psqlodbcw.so = set:kdaSPlpZ9rFJqBHVteEHlUZcam1ZxxaPiBgPD9wbh7e29cqDI3wfZGodHrkOSDnXNFWOuSidmHrw0vjZGySMgKuuaUI0ff3yUtIh15F0YlwjrAYyy1QBsTmNQNksyjJQ9Qm8ICOMwFwqbqszZpZ5gfhOLs6fu9wA4h1anLetams2WI153zH8PHVbop5Wf01pyi Requires: libc.so.6 >= set:pojkwe, libc.so.6(ALT_2.24), 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.2.5), 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 >= set:lji2mQwH0, libpq.so.5 >= set:lfTJJdZkQlTJTPUpwyzvdkd26cW1mSZ1GxdthjodjOOembyB5VotgfEhtFRBCxgsLufZngYfy8bAqbJzwhklE3Z9h3y6FVcl8Mic6SQIZq457pSyhhuTBs2, libpthread.so.0(GLIBC_2.0), libpthread.so.0(GLIBC_2.1), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.48f121 Creating libpsqlodbc-debuginfo package Processing files: libpsqlodbc-debuginfo-10.03.0000-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZBVdU0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.j85uz3 find-requires: running scripts (debuginfo) Provides: debug(psqlodbca.so), debug(psqlodbcw.so) Requires: libpsqlodbc = 10.03.0000-alt1, debug(libc.so.6), debug(libodbcinst.so.2), debug(libpq.so.5), debug(libpthread.so.0) Wrote: /usr/src/RPM/RPMS/i586/libpsqlodbc-10.03.0000-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/libpsqlodbc-debuginfo-10.03.0000-alt1.i586.rpm 37.10user 3.26system 0:18.27elapsed 220%CPU (0avgtext+0avgdata 56864maxresident)k 0inputs+0outputs (0major+1323147minor)pagefaults 0swaps /.out/libpsqlodbc-10.03.0000-alt1.i586.rpm: The use of such a license name is ambiguous: LGPL /.out/libpsqlodbc-debuginfo-10.03.0000-alt1.i586.rpm: The use of such a license name is ambiguous: LGPL 41.39user 5.88system 0:25.98elapsed 181%CPU (0avgtext+0avgdata 109268maxresident)k 0inputs+0outputs (0major+1642667minor)pagefaults 0swaps