=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for postgresql13-pgpool2-4.3.2nb1 Making all in src gmake[1]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src' Making all in parser gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/parser' gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o copyfuncs.o copyfuncs.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o gram.o gram.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o gram_minimal.o gram_minimal.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o keywords.o keywords.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o kwlookup.o kwlookup.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o list.o list.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o makefuncs.o makefuncs.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o nodes.o nodes.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o outfuncs.o outfuncs.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o parser.o parser.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_string.o pool_string.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o scansup.o scansup.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o stringinfo.o stringinfo.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o value.o value.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wchar.o wchar.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o scan.o scan.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../src/utils/mmgr/mcxt.o ../../src/utils/mmgr/mcxt.c gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../src/utils/mmgr/aset.o ../../src/utils/mmgr/aset.c scan.l: In function 'scanner_init': scan.l:1212:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1212 | | ^ gcc -DHAVE_CONFIG_H -I. -I../../src/include -D_GNU_SOURCE -I ../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../src/utils/error/elog.o ../../src/utils/error/elog.c rm -f libsql-parser.a ar cr libsql-parser.a copyfuncs.o gram.o gram_minimal.o keywords.o kwlookup.o list.o makefuncs.o nodes.o outfuncs.o parser.o pool_string.o scansup.o stringinfo.o value.o ../../src/utils/mmgr/mcxt.o ../../src/utils/mmgr/aset.o ../../src/utils/error/elog.o wchar.o scan.o ranlib libsql-parser.a gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/parser' Making all in libs gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs' Making all in pcp gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs/pcp' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp.lo pcp.c rm -f pcp_stream.c && ln -s ../../../src/utils/pcp/pcp_stream.c . rm -f md5.c && ln -s ../../../src/auth/md5.c . rm -f json.c && ln -s ../../../src/utils/json.c . /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp_stream.lo pcp_stream.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o md5.lo md5.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o json.lo json.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../utils/pool_path.lo ../../utils/pool_path.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../tools/fe_port.lo ../../tools/fe_port.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../tools/fe_memutils.lo ../../tools/fe_memutils.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../utils/strlcpy.lo ../../utils/strlcpy.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c pcp.c -fPIC -DPIC -o .libs/pcp.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c pcp_stream.c -fPIC -DPIC -o .libs/pcp_stream.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c json.c -fPIC -DPIC -o .libs/json.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c md5.c -fPIC -DPIC -o .libs/md5.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c pcp.c -o pcp.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../tools/fe_memutils.c -fPIC -DPIC -o ../../tools/.libs/fe_memutils.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/pool_path.c -fPIC -DPIC -o ../../utils/.libs/pool_path.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/strlcpy.c -fPIC -DPIC -o ../../utils/.libs/strlcpy.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../tools/fe_port.c -fPIC -DPIC -o ../../tools/.libs/fe_port.o ../../utils/strlcpy.c:59:1: warning: no previous prototype for 'strlcpy' [-Wmissing-prototypes] 59 | strlcpy(char *dst, const char *src, size_t siz) | ^~~~~~~ ../../utils/pool_path.c: In function 'get_current_working_dir': ../../utils/pool_path.c:316:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 316 | ereport(ERROR, | ^~~~~~~ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../tools/fe_port.c -o ../../tools/fe_port.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/strlcpy.c -o ../../utils/strlcpy.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../tools/fe_memutils.c -o ../../tools/fe_memutils.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c pcp_stream.c -o pcp_stream.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/pool_path.c -o ../../utils/pool_path.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c md5.c -o md5.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../utils/pool_health_check_stats.lo ../../utils/pool_health_check_stats.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c json.c -o json.o >/dev/null 2>&1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/pool_health_check_stats.c -fPIC -DPIC -o ../../utils/.libs/pool_health_check_stats.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c ../../utils/pool_health_check_stats.c -o ../../utils/pool_health_check_stats.o >/dev/null 2>&1 /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -version-info 2:0:0 -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libpcp.la -rpath /usr/pkg/lib pcp.lo ../../utils/pool_path.lo ../../tools/fe_port.lo ../../tools/fe_memutils.lo ../../utils/strlcpy.lo ../../utils/pool_health_check_stats.lo pcp_stream.lo md5.lo json.lo -lcrypt -lresolv -lm libtool: link: gcc -shared -fPIC -DPIC .libs/pcp.o ../../utils/.libs/pool_path.o ../../tools/.libs/fe_port.o ../../tools/.libs/fe_memutils.o ../../utils/.libs/strlcpy.o ../../utils/.libs/pool_health_check_stats.o .libs/pcp_stream.o .libs/md5.o .libs/json.o -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lcrypt -lresolv -lm -O2 -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libpcp.so.2 -o .libs/libpcp.so.2.0.0 libtool: link: (cd ".libs" && rm -f "libpcp.so.2" && ln -s "libpcp.so.2.0.0" "libpcp.so.2") libtool: link: (cd ".libs" && rm -f "libpcp.so" && ln -s "libpcp.so.2.0.0" "libpcp.so") libtool: link: ar cr .libs/libpcp.a pcp.o ../../utils/pool_path.o ../../tools/fe_port.o ../../tools/fe_memutils.o ../../utils/strlcpy.o ../../utils/pool_health_check_stats.o pcp_stream.o md5.o json.o libtool: link: ranlib .libs/libpcp.a libtool: link: ( cd ".libs" && rm -f "libpcp.la" && ln -s "../libpcp.la" "libpcp.la" ) gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs/pcp' gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs' gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/libs' Making all in watchdog gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/watchdog' gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o watchdog.o watchdog.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_if.o wd_if.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_lifecheck.o wd_lifecheck.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_commands.o wd_commands.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_internal_commands.o wd_internal_commands.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_ipc_conn.o wd_ipc_conn.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_json_data.o wd_json_data.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_ping.o wd_ping.c wd_ping.c: In function 'wd_is_ip_exists': wd_ping.c:82:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 82 | ereport(WARNING, | ^~~~~~~ wd_ping.c: In function 'wd_issue_ping_command': wd_ping.c:113:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 113 | ereport(WARNING, | ^~~~~~~ wd_ping.c:128:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 128 | ereport(WARNING, | ^~~~~~~ wd_ping.c:146:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 146 | ereport(FATAL, | ^~~~~~~ wd_ping.c: In function 'get_result': wd_ping.c:259:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 259 | ereport(WARNING, | ^~~~~~~ wd_json_data.c: In function 'get_watchdog_node_from_json': wd_json_data.c:474:59: warning: passing argument 3 of 'json_get_long_value_for_key' from incompatible pointer type [-Wincompatible-pointer-types] 474 | if (json_get_long_value_for_key(root, "StartupTimeSecs", &wdNode->startup_time.tv_sec)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t * {aka long long int *} In file included from wd_json_data.c:28: ../../src/include/utils/json.h:316:79: note: expected 'long int *' but argument is of type 'time_t *' {aka 'long long int *'} 316 | int json_get_long_value_for_key(json_value * source, const char *key, long *value); | ~~~~~~^~~~~ In file included from /usr/include/ctype.h:100, from watchdog.c:44: watchdog.c: In function 'wd_initialize_monitoring_interfaces': watchdog.c:716:31: warning: array subscript has type 'char' [-Wchar-subscripts] 716 | while (*if_name && isspace(*if_name)) | ^ watchdog.c: In function 'wd_create_recv_socket': watchdog.c:868:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 868 | ereport(ERROR, | ^~~~~~~ watchdog.c: In function 'wd_create_client_socket': watchdog.c:951:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 951 | ereport(LOG, | ^~~~~~~ watchdog.c:960:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 960 | ereport(LOG, | ^~~~~~~ watchdog.c:967:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 967 | ereport(LOG, | ^~~~~~~ watchdog.c:1008:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1008 | ereport(LOG, | ^~~~~~~ wd_ipc_conn.c: In function 'issue_command_to_watchdog': wd_ipc_conn.c:182:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 182 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:193:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 193 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:202:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 202 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:221:7: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 221 | ereport(DEBUG1, | ^~~~~~~ watchdog.c: In function 'fork_watchdog_child': wd_ipc_conn.c: In function 'open_wd_command_sock': wd_ipc_conn.c:256:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 256 | ereport(throw_error ? ERROR : LOG, | ^~~~~~~ watchdog.c:1143:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1143 | ereport(FATAL, | ^~~~~~~ wd_ipc_conn.c:270:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 270 | ereport(throw_error ? ERROR : LOG, | ^~~~~~~ watchdog.c: In function 'wd_create_command_server_socket': watchdog.c:1339:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1339 | ereport(FATAL, | ^~~~~~~ wd_lifecheck.c: In function 'lifecheck_exit_handler': wd_lifecheck.c:319:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 319 | ereport(WARNING, | ^~~~~~~ wd_lifecheck.c: In function 'fork_lifecheck_child': wd_lifecheck.c:368:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 368 | ereport(FATAL, | ^~~~~~~ watchdog.c: In function 'read_ipc_socket_and_process': watchdog.c:1927:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1927 | ereport(WARNING, | ^~~~~~~ watchdog.c:1937:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1937 | ereport(WARNING, | ^~~~~~~ watchdog.c:1957:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1957 | ereport(LOG, | ^~~~~~~ wd_lifecheck.c: In function 'wd_ping_all_server': wd_lifecheck.c:1158:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1158 | ereport(WARNING, | ^~~~~~~ wd_if.c: In function 'exec_if_cmd': wd_if.c:269:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 269 | ereport(WARNING, | ^~~~~~~ wd_if.c:308:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 308 | ereport(FATAL, | ^~~~~~~ wd_if.c:336:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 336 | ereport(DEBUG1, | ^~~~~~~ wd_if.c: In function 'create_monitoring_socket': wd_if.c:374:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 374 | ereport(ERROR, | ^~~~~~~ wd_if.c: In function 'read_interface_change_event': wd_if.c:485:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 485 | ereport(DEBUG1, | ^~~~~~~ watchdog.c: In function 'update_successful_outgoing_cons': watchdog.c:3491:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3491 | ereport(DEBUG1, | ^~~~~~~ watchdog.c: In function 'write_packet_to_socket': watchdog.c:3523:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3523 | ereport(LOG, | ^~~~~~~ watchdog.c:3534:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3534 | ereport(LOG, | ^~~~~~~ watchdog.c:3544:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3544 | ereport(LOG, | ^~~~~~~ watchdog.c:3559:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3559 | ereport(LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_heartbeat.o wd_heartbeat.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_utils.o wd_utils.c gcc -DHAVE_CONFIG_H -DWATCHDOG_DEBUG_OPTS=0 -I. -I../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_escalation.o wd_escalation.c wd_heartbeat.c: In function 'wd_create_hb_send_socket': wd_heartbeat.c:96:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 96 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c:106:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 106 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c:153:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 153 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c: In function 'wd_create_hb_recv_socket': wd_heartbeat.c:180:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 180 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c:188:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 188 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c:238:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 238 | ereport(LOG, | ^~~~~~~ wd_heartbeat.c:254:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 254 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c:262:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 262 | ereport(ERROR, | ^~~~~~~ wd_heartbeat.c: In function 'wd_hb_send': wd_heartbeat.c:299:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 299 | ereport(ERROR, | ^~~~~~~ In file included from /usr/include/stdio.h:595, from wd_heartbeat.c:24: wd_heartbeat.c: In function 'packet_to_string_hb': wd_heartbeat.c:656:30: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=] 656 | len = snprintf(str, maxlen, "tv_sec=%ld tv_usec=%ld from=%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 657 | pkt->send_time.tv_sec, pkt->send_time.tv_usec, pkt->from); | ~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} wd_heartbeat.c:656:40: note: format string is defined here 656 | len = snprintf(str, maxlen, "tv_sec=%ld tv_usec=%ld from=%s", | ~~^ | | | long int | %lld In file included from /usr/include/stdio.h:595, from wd_heartbeat.c:24: wd_heartbeat.c:656:30: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'suseconds_t' {aka 'int'} [-Wformat=] 656 | len = snprintf(str, maxlen, "tv_sec=%ld tv_usec=%ld from=%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 657 | pkt->send_time.tv_sec, pkt->send_time.tv_usec, pkt->from); | ~~~~~~~~~~~~~~~~~~~~~~ | | | suseconds_t {aka int} wd_heartbeat.c:656:52: note: format string is defined here 656 | len = snprintf(str, maxlen, "tv_sec=%ld tv_usec=%ld from=%s", | ~~^ | | | long int | %d wd_heartbeat.c: In function 'wd_set_reuseport': wd_heartbeat.c:677:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 677 | ereport(LOG, | ^~~~~~~ wd_heartbeat.c:684:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 684 | ereport(ERROR, | ^~~~~~~ rm -f lib-watchdog.a ar cr lib-watchdog.a watchdog.o wd_if.o wd_lifecheck.o wd_commands.o wd_internal_commands.o wd_ipc_conn.o wd_json_data.o wd_ping.o wd_heartbeat.o wd_utils.o wd_escalation.o ranlib lib-watchdog.a gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/watchdog' Making all in . gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src' gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_select_walker.o utils/pool_select_walker.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/psprintf.o utils/psprintf.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_params.o utils/pool_params.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/ps_status.o utils/ps_status.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_shmem.o utils/pool_shmem.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_sema.o utils/pool_sema.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_signal.o utils/pool_signal.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_ip.o utils/pool_ip.c In file included from /usr/include/stdio.h:595, from /pbulk/work/databases/pgpool2/work/.buildlink/include/libpq-fe.h:23, from ../src/include/pool_type.h:33, from ../src/include/pool.h:28, from ../src/include/utils/ps_status.h:24, from utils/ps_status.c:41: utils/ps_status.c: In function 'init_ps_display': utils/ps_status.c:269:38: warning: zero-length gnu_printf format string [-Wformat-zero-length] 269 | snprintf(ps_buffer, ps_buffer_size, ""); | ^~ utils/psprintf.c: In function 'pvsnprintf': utils/psprintf.c:137:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 137 | elog(ERROR, "vsnprintf failed: %m"); | ^~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_relcache.o utils/pool_relcache.c utils/pool_sema.c: In function 'IpcSemaphoreKill': utils/pool_sema.c:69:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 69 | ereport(LOG, | ^~~~~~~ utils/pool_sema.c: In function 'pool_semaphore_create': utils/pool_sema.c:86:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 86 | ereport(FATAL, | ^~~~~~~ utils/pool_sema.c:99:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 99 | ereport(FATAL, | ^~~~~~~ utils/pool_shmem.c: In function 'pool_shared_memory_create': utils/pool_shmem.c:111:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 111 | ereport(FATAL, | ^~~~~~~ utils/pool_sema.c: In function 'pool_semaphore_lock': utils/pool_sema.c:129:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 129 | ereport(WARNING, | ^~~~~~~ utils/pool_sema.c: In function 'pool_semaphore_lock_allow_interrupt': utils/pool_sema.c:168:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 168 | ereport(WARNING, | ^~~~~~~ In file included from utils/pool_shmem.c:24: utils/pool_shmem.c:123:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 123 | (errmsg("could not create shared memory for request size: %ld", size), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | size_t {aka unsigned int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ utils/pool_shmem.c:122:3: note: in expansion of macro 'ereport' 122 | ereport(FATAL, | ^~~~~~~ utils/pool_shmem.c:123:65: note: format string is defined here 123 | (errmsg("could not create shared memory for request size: %ld", size), | ~~^ | | | long int | %d utils/pool_shmem.c:122:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 122 | ereport(FATAL, | ^~~~~~~ utils/pool_sema.c: In function 'pool_semaphore_unlock': utils/pool_sema.c:202:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 202 | ereport(WARNING, | ^~~~~~~ utils/pool_shmem.c: In function 'IpcMemoryDetach': utils/pool_shmem.c:141:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 141 | ereport(LOG, | ^~~~~~~ utils/pool_shmem.c: In function 'IpcMemoryDelete': utils/pool_shmem.c:168:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 168 | ereport(LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_process_reporting.o utils/pool_process_reporting.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_ssl.o utils/pool_ssl.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pool_stream.o utils/pool_stream.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/socket_stream.o utils/socket_stream.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/getopt_long.o utils/getopt_long.c In file included from utils/pool_relcache.c:38: utils/pool_relcache.c: In function 'pool_search_relcache': utils/pool_relcache.c:190:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 190 | errdetail("relcache for database:%s table:%s expired. now:%ld expiration time:%ld", dbname, table, now, relcache->cache[i].expire))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ utils/pool_relcache.c:188:6: note: in expansion of macro 'ereport' 188 | ereport(DEBUG1, | ^~~~~~~ utils/pool_relcache.c:190:69: note: format string is defined here 190 | errdetail("relcache for database:%s table:%s expired. now:%ld expiration time:%ld", dbname, table, now, relcache->cache[i].expire))); | ~~^ | | | long int | %lld In file included from utils/pool_relcache.c:38: utils/pool_relcache.c:190:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=] 190 | errdetail("relcache for database:%s table:%s expired. now:%ld expiration time:%ld", dbname, table, now, relcache->cache[i].expire))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ utils/pool_relcache.c:188:6: note: in expansion of macro 'ereport' 188 | ereport(DEBUG1, | ^~~~~~~ utils/pool_relcache.c:190:89: note: format string is defined here 190 | errdetail("relcache for database:%s table:%s expired. now:%ld expiration time:%ld", dbname, table, now, relcache->cache[i].expire))); | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/error/assert.o utils/error/assert.c utils/pool_stream.c: In function 'pool_read': utils/pool_stream.c:184:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 184 | ereport(ERROR, | ^~~~~~~ utils/pool_stream.c:219:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 219 | ereport(DEBUG5, | ^~~~~~~ utils/pool_stream.c:246:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 246 | ereport(ERROR, | ^~~~~~~ utils/pool_stream.c:252:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 252 | ereport(ERROR, | ^~~~~~~ utils/pool_stream.c:259:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 259 | ereport(FRONTEND_ERROR, | ^~~~~~~ utils/pool_stream.c: In function 'pool_read2': utils/pool_stream.c:352:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 352 | ereport(ERROR, | ^~~~~~~ utils/pool_stream.c:375:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 375 | ereport(DEBUG5, | ^~~~~~~ utils/pool_stream.c:401:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 401 | ereport(ERROR, | ^~~~~~~ utils/pool_stream.c: In function 'pool_write_flush': utils/pool_stream.c:623:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 623 | ereport(WARNING, | ^~~~~~~ utils/pool_stream.c:627:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 627 | ereport(DEBUG5, | ^~~~~~~ utils/pool_stream.c: In function 'pool_flush_it': utils/pool_stream.c:714:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 714 | ereport(WARNING, | ^~~~~~~ utils/pool_stream.c:718:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 718 | ereport(DEBUG5, | ^~~~~~~ utils/socket_stream.c: In function 'socket_set_nonblock': utils/socket_stream.c:60:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 60 | ereport(FATAL, | ^~~~~~~ utils/pool_stream.c: In function 'pool_read_string': utils/socket_stream.c:67:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 67 | ereport(FATAL, | ^~~~~~~ utils/socket_stream.c: In function 'socket_unset_nonblock': utils/pool_stream.c:956:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 956 | ereport(ERROR, | ^~~~~~~ utils/socket_stream.c:85:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 85 | ereport(FATAL, | ^~~~~~~ utils/socket_stream.c:91:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 91 | ereport(FATAL, | ^~~~~~~ utils/socket_stream.c: In function 'socket_write': utils/socket_stream.c:125:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 125 | ereport(DEBUG5, | ^~~~~~~ utils/socket_stream.c:130:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 130 | ereport(LOG, | ^~~~~~~ utils/socket_stream.c: In function 'socket_read': utils/socket_stream.c:165:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 165 | ereport(WARNING, | ^~~~~~~ utils/socket_stream.c:179:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 179 | ereport(DEBUG5, | ^~~~~~~ utils/socket_stream.c:184:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 184 | ereport(LOG, | ^~~~~~~ utils/pool_stream.c: In function 'pool_check_fd': utils/pool_stream.c:1384:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1384 | ereport(WARNING, | ^~~~~~~ In file included from /usr/include/stdio.h:595, from /pbulk/work/databases/pgpool2/work/.buildlink/include/libpq-fe.h:23, from ../src/include/pool_type.h:33, from ../src/include/pool.h:28, from utils/pool_process_reporting.c:23: utils/pool_process_reporting.c: In function 'get_config': utils/pool_process_reporting.c:717:50: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64' {aka 'long long int'} [-Wformat=] 717 | snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%ld", pool_config->relcache_expire); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64 {aka long long int} utils/pool_process_reporting.c:717:53: note: format string is defined here 717 | snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%ld", pool_config->relcache_expire); | ~~^ | | | long int | %lld In file included from /usr/include/stdio.h:595, from /pbulk/work/databases/pgpool2/work/.buildlink/include/libpq-fe.h:23, from ../src/include/pool_type.h:33, from ../src/include/pool.h:28, from utils/pool_process_reporting.c:23: utils/pool_process_reporting.c:984:50: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int64' {aka 'long long int'} [-Wformat=] 984 | snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%ld", pool_config->memqcache_total_size); | ^~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64 {aka long long int} utils/pool_process_reporting.c:984:53: note: format string is defined here 984 | snprintf(status[i].value, POOLCONFIG_MAXVALLEN, "%ld", pool_config->memqcache_total_size); | ~~^ | | | long int | %lld In file included from utils/pool_process_reporting.c:27: utils/pool_process_reporting.c: In function 'get_health_check_stats': utils/pool_process_reporting.c:1934:23: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 1934 | ereport(LOG,(errmsg("status_changed_time %ld", t))); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ utils/pool_process_reporting.c:1934:3: note: in expansion of macro 'ereport' 1934 | ereport(LOG,(errmsg("status_changed_time %ld", t))); | ^~~~~~~ utils/pool_process_reporting.c:1934:46: note: format string is defined here 1934 | ereport(LOG,(errmsg("status_changed_time %ld", t))); | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/regex_array.o utils/regex_array.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/json_writer.o utils/json_writer.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/json.o utils/json.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/scram-common.o utils/scram-common.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/base64.o utils/base64.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/sha2.o utils/sha2.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/ssl_utils.o utils/ssl_utils.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/statistics.o utils/statistics.c sed -e 's#[@][@]PGPOOL_INSTALL_DIR[@][@]#/usr/pkg#g' \ -e 's#[@][@]PGPOOL_CONFIG_DIR[@][@]#/usr/pkg/share/examples/pgpool2#g' \ -e 's#[@][@]PGSQL_BIN_DIR[@][@]#/usr/pkg/bin#g' \ -e 's#[@][@]PGSQL_LIB_DIR[@][@]#/usr/pkg/lib#g' test/pgpool_setup.in > test/pgpool_setup sed -e 's#[@][@]PGPOOL_INSTALL_DIR[@][@]#/usr/pkg#g' \ -e 's#[@][@]PGPOOL_CONFIG_DIR[@][@]#/usr/pkg/share/examples/pgpool2#g' \ -e 's#[@][@]PGSQL_BIN_DIR[@][@]#/usr/pkg/bin#g' \ -e 's#[@][@]PGSQL_LIB_DIR[@][@]#/usr/pkg/lib#g' test/watchdog_setup.in > test/watchdog_setup chmod +x test/pgpool_setup chmod +x test/watchdog_setup gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/main.o main/main.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/pool_globals.o main/pool_globals.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/pgpool_main.o main/pgpool_main.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/health_check.o main/health_check.c main/main.c: In function 'main': main/main.c:260:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 260 | ereport(FATAL, | ^~~~~~~ main/main.c: In function 'daemonize': main/main.c:466:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 466 | ereport(FATAL, | ^~~~~~~ main/main.c:478:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 478 | ereport(FATAL, | ^~~~~~~ main/main.c:488:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 488 | ereport(WARNING, | ^~~~~~~ main/main.c:496:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 496 | ereport(WARNING, | ^~~~~~~ main/main.c: In function 'stop_me': main/main.c:541:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 541 | ereport(FATAL, | ^~~~~~~ main/main.c: In function 'get_pid_file_path': main/main.c:588:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 588 | ereport(LOG, | ^~~~~~~ main/main.c: In function 'read_pid_file': main/main.c:640:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 640 | ereport(FATAL, | ^~~~~~~ main/main.c:649:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 649 | ereport(FATAL, | ^~~~~~~ main/main.c: In function 'write_pid_file': main/main.c:680:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 680 | ereport(FATAL, | ^~~~~~~ main/main.c:690:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 690 | ereport(FATAL, | ^~~~~~~ main/main.c:699:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 699 | ereport(FATAL, | ^~~~~~~ main/main.c:707:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 707 | ereport(FATAL, | ^~~~~~~ main/main.c: In function 'FileUnlink': main/main.c:749:2: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 749 | ereport(LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/pool_internal_comms.o main/pool_internal_comms.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main/pgpool_logger.o main/pgpool_logger.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o config/pool_config.o config/pool_config.c main/pgpool_main.c: In function 'pcp_fork_a_child': main/pgpool_main.c:642:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 642 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'fork_a_child': main/pgpool_main.c:688:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 688 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'worker_fork_a_child': main/pgpool_main.c:737:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 737 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'create_inet_domain_sockets': main/pgpool_main.c:771:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 771 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:820:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 820 | ereport(LOG, | ^~~~~~~ main/pgpool_main.c:829:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 829 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:845:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 845 | ereport(LOG, | ^~~~~~~ main/pgpool_main.c:853:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 853 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:865:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 865 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'create_inet_domain_socket': main/pgpool_main.c:900:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 900 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:907:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 907 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:965:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 965 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'create_unix_domain_socket': main/pgpool_main.c:989:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 989 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:1000:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1000 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:1007:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1007 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:1015:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1015 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c: In function 'terminate_all_childrens': main/pgpool_main.c:1116:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1116 | ereport(LOG, | ^~~~~~~ main/pgpool_main.c: In function 'exit_handler': main/pgpool_main.c:1212:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1212 | elog(LOG, "kill(%ld,%d) failed: %m", (long) (-follow_pid), sig); | ^~~~ main/pgpool_main.c: In function 'failover': main/pgpool_main.c:2177:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 2177 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c: In function 'pool_pause': main/pgpool_main.c:2765:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 2765 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c: In function 'fork_follow_child': main/pgpool_main.c:3459:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3459 | ereport(FATAL, | ^~~~~~~ main/pgpool_main.c:3496:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3496 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c: In function 'read_status_file': main/pgpool_main.c:3698:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3698 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c: In function 'write_status_file': main/pgpool_main.c:3865:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3865 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c:3886:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3886 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c:3896:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3896 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c:3905:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3905 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c:3913:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3913 | ereport(WARNING, | ^~~~~~~ main/pgpool_main.c: In function 'FileUnlink': main/pgpool_main.c:3959:2: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 3959 | ereport(LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o config/pool_config_variables.o config/pool_config_variables.c main/health_check.c: In function 'health_check_stats_shared_memory_size': main/health_check.c:541:70: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 541 | elog(LOG, "health_check_stats_shared_memory_size: requested size: %lu", size); | ~~^ ~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u main/health_check.c: In function 'check_backend_down_request': main/health_check.c:604:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 604 | ereport(WARNING, | ^~~~~~~ main/pgpool_logger.c: In function 'SysLoggerMain': main/pgpool_logger.c:279:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 279 | ereport(LOG, | ^~~~~~~ main/pgpool_logger.c:401:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 401 | ereport(LOG, | ^~~~~~~ main/pgpool_logger.c: In function 'SysLogger_Start': main/pgpool_logger.c:478:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 478 | ereport(FATAL, | ^~~~~~~ main/pgpool_logger.c:525:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 525 | ereport(LOG, | ^~~~~~~ main/pgpool_logger.c:556:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 556 | ereport(FATAL, | ^~~~~~~ main/pgpool_logger.c:560:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 560 | ereport(FATAL, | ^~~~~~~ main/pgpool_logger.c: In function 'logfile_open': main/pgpool_logger.c:906:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 906 | ereport(allow_errors ? LOG : FATAL, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp_con/pcp_child.o pcp_con/pcp_child.c In file included from /usr/include/ctype.h:100, from config/pool_config_variables.c:28: config/pool_config_variables.c: In function 'get_index_in_var_name': config/pool_config_variables.c:3074:15: warning: array subscript has type 'char' [-Wchar-subscripts] 3074 | if (isdigit(*ptr) == 0) | ^ In file included from config/pool_config_variables.c:39: config/pool_config_variables.c: In function 'setConfigOptionVar': config/pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, | ~~~~~~ | | | int64 {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ config/pool_config_variables.c:3691:6: note: in expansion of macro 'ereport' 3691 | ereport(elevel, | ^~~~~~~ config/pool_config_variables.c:3692:19: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from config/pool_config_variables.c:39: config/pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ config/pool_config_variables.c:3691:6: note: in expansion of macro 'ereport' 3691 | ereport(elevel, | ^~~~~~~ config/pool_config_variables.c:3692:72: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from config/pool_config_variables.c:39: config/pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ config/pool_config_variables.c:3691:6: note: in expansion of macro 'ereport' 3691 | ereport(elevel, | ^~~~~~~ config/pool_config_variables.c:3692:79: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp_con/pcp_worker.o pcp_con/pcp_worker.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp_con/recovery.o pcp_con/recovery.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o auth/md5.o auth/md5.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o auth/pool_auth.o auth/pool_auth.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o auth/pool_passwd.o auth/pool_passwd.c auth/pool_passwd.c: In function 'pool_init_pool_passwd': auth/pool_passwd.c:84:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 84 | ereport(ERROR, | ^~~~~~~ auth/pool_passwd.c: In function 'read_pool_key': auth/pool_passwd.c:634:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 634 | ereport(WARNING, | ^~~~~~~ pcp_con/pcp_child.c: In function 'pcp_do_accept': pcp_con/pcp_child.c:202:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 202 | ereport(ERROR, | ^~~~~~~ pcp_con/pcp_child.c:226:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 226 | ereport(ERROR, | ^~~~~~~ pcp_con/pcp_child.c:249:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 249 | ereport(ERROR, | ^~~~~~~ pcp_con/pcp_child.c:258:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 258 | ereport(ERROR, | ^~~~~~~ pcp_con/pcp_child.c: In function 'start_pcp_command_processor_process': pcp_con/pcp_child.c:291:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 291 | ereport(FATAL, | ^~~~~~~ pcp_con/pcp_child.c: In function 'pcp_child_will_die': pcp_con/pcp_child.c:451:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 451 | ereport(WARNING, | ^~~~~~~ pcp_con/pcp_worker.c: In function 'unset_nonblock': pcp_con/pcp_worker.c:406:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 406 | ereport(FATAL, | ^~~~~~~ pcp_con/pcp_worker.c:413:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 413 | ereport(FATAL, | ^~~~~~~ pcp_con/pcp_worker.c: In function 'user_authenticate': pcp_con/pcp_worker.c:451:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 451 | ereport(FATAL, | ^~~~~~~ pcp_con/pcp_worker.c: In function 'do_pcp_flush': pcp_con/pcp_worker.c:1510:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1510 | ereport(FATAL, | ^~~~~~~ pcp_con/pcp_worker.c: In function 'do_pcp_read': pcp_con/pcp_worker.c:1522:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1522 | ereport(FATAL, | ^~~~~~~ auth/pool_auth.c: In function 'connection_do_auth': auth/pool_auth.c:168:20: warning: implicit declaration of function 'crypt'; did you mean 'do_crypt'? [-Wimplicit-function-declaration] 168 | crypt_password = crypt(password, salt); | ^~~~~ | do_crypt auth/pool_auth.c:168:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 168 | crypt_password = crypt(password, salt); | ^ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o auth/pool_hba.o auth/pool_hba.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o auth/auth-scram.o auth/auth-scram.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/pool_proto2.o protocol/pool_proto2.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/child.o protocol/child.c auth/pool_hba.c: In function 'load_hba': auth/pool_hba.c:220:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 220 | ereport(LOG, | ^~~~~~~ auth/pool_hba.c: In function 'check_same_host_or_net': auth/pool_hba.c:1801:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1801 | elog(LOG, "error enumerating network interfaces: %m"); | ^~~~ auth/pool_hba.c: In function 'tokenize_inc_file': auth/pool_hba.c:1937:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1937 | ereport(elevel, | ^~~~~~~ auth/pool_hba.c: In function 'tokenize_file': auth/pool_hba.c:2038:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 2038 | ereport(elevel, | ^~~~~~~ pcp_con/pcp_worker.c: In function 'pcp_worker_main': pcp_con/pcp_worker.c:1350:20: warning: 'authenticated' may be used uninitialized in this function [-Wmaybe-uninitialized] 1350 | if (!*random_salt || !authenticated) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/pool_pg_utils.o protocol/pool_pg_utils.c pcp_con/pcp_worker.c:1344:8: note: 'authenticated' was declared here 1344 | int authenticated; | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/pool_process_query.o protocol/pool_process_query.c protocol/child.c: In function 'wait_for_new_connections': protocol/child.c:1603:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1603 | ereport(ERROR, | ^~~~~~~ protocol/child.c:1656:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1656 | ereport(ERROR, | ^~~~~~~ protocol/child.c:1674:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1674 | ereport(WARNING, | ^~~~~~~ protocol/child.c: In function 'get_connection': protocol/child.c:1842:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1842 | ereport(ERROR, | ^~~~~~~ protocol/child.c:1847:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1847 | ereport(FATAL, | ^~~~~~~ protocol/child.c:1856:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1856 | ereport(ERROR, | ^~~~~~~ In file included from /usr/include/ctype.h:100, from protocol/pool_process_query.c:40: protocol/pool_process_query.c: In function 'is_select_query': protocol/pool_process_query.c:1124:26: warning: array subscript has type 'char' [-Wchar-subscripts] 1124 | while (*sql && isspace(*sql)) | ^ protocol/pool_process_query.c: In function 'need_insert_lock': protocol/pool_process_query.c:2478:28: warning: array subscript has type 'char' [-Wchar-subscripts] 2478 | while (*query && isspace(*query)) | ^ protocol/pool_process_query.c: In function 'query_ps_status': protocol/pool_process_query.c:3900:27: warning: array subscript has type 'char' [-Wchar-subscripts] 3900 | while (*query && isspace(*query)) | ^ protocol/pool_process_query.c:3905:26: warning: array subscript has type 'char' [-Wchar-subscripts] 3905 | if (!*query || isspace(*query)) | ^ protocol/pool_process_query.c:3908:22: warning: array subscript has type 'char' [-Wchar-subscripts] 3908 | psbuf[i] = toupper(*query++); | ^ protocol/pool_process_query.c: In function 'read_packets_and_process': protocol/pool_process_query.c:4796:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 4796 | ereport(FATAL, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/pool_connection_pool.o protocol/pool_connection_pool.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/pool_proto_modules.o protocol/pool_proto_modules.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o query_cache/pool_memqcache.o query_cache/pool_memqcache.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o protocol/CommandComplete.o protocol/CommandComplete.c In file included from protocol/pool_connection_pool.c:49: protocol/pool_connection_pool.c: In function 'pool_create_cp': protocol/pool_connection_pool.c:287:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t' {aka 'long long int'} [-Wformat=] 287 | errdetail("user: %s database: %s closetime: %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ protocol/pool_connection_pool.c:285:3: note: in expansion of macro 'ereport' 285 | ereport(DEBUG1, | ^~~~~~~ protocol/pool_connection_pool.c:287:52: note: format string is defined here 287 | errdetail("user: %s database: %s closetime: %ld", | ~~^ | | | long int | %lld In file included from protocol/pool_connection_pool.c:49: protocol/pool_connection_pool.c: In function 'pool_connection_pool_timer': protocol/pool_connection_pool.c:348:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 348 | errdetail("close time %ld", time(NULL)))); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ protocol/pool_connection_pool.c:346:2: note: in expansion of macro 'ereport' 346 | ereport(DEBUG1, | ^~~~~~~ protocol/pool_connection_pool.c:348:29: note: format string is defined here 348 | errdetail("close time %ld", time(NULL)))); | ~~^ | | | long int | %lld In file included from protocol/pool_connection_pool.c:49: protocol/pool_connection_pool.c: In function 'pool_backend_timer': protocol/pool_connection_pool.c:408:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 408 | (errmsg("backend timer handler called at %ld", now))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ protocol/pool_connection_pool.c:407:2: note: in expansion of macro 'ereport' 407 | ereport(DEBUG1, | ^~~~~~~ protocol/pool_connection_pool.c:408:47: note: format string is defined here 408 | (errmsg("backend timer handler called at %ld", now))); | ~~^ | | | long int | %lld In file included from protocol/pool_connection_pool.c:49: protocol/pool_connection_pool.c:426:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 426 | errdetail("expire time: %ld", | ^~~~~~~~~~~~~~~~~~ ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ protocol/pool_connection_pool.c:424:4: note: in expansion of macro 'ereport' 424 | ereport(DEBUG1, | ^~~~~~~ protocol/pool_connection_pool.c:426:33: note: format string is defined here 426 | errdetail("expire time: %ld", | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o context/pool_session_context.o context/pool_session_context.c protocol/pool_connection_pool.c: In function 'connect_unix_domain_socket_by_port': protocol/pool_connection_pool.c:522:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 522 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c:549:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 549 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c: In function 'connect_with_timeout': protocol/pool_connection_pool.c:620:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 620 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c:681:7: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 681 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c:691:7: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 691 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c:738:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 738 | ereport(LOG, | ^~~~~~~ protocol/pool_connection_pool.c: In function 'connect_inet_domain_socket_by_port': protocol/pool_connection_pool.c:774:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 774 | ereport(WARNING, | ^~~~~~~ protocol/pool_connection_pool.c:801:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 801 | ereport(WARNING, | ^~~~~~~ protocol/pool_connection_pool.c:812:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 812 | ereport(WARNING, | ^~~~~~~ In file included from protocol/pool_proto_modules.c:54: protocol/pool_proto_modules.c: In function 'pool_discard_except_sync_and_ready_for_query': protocol/pool_proto_modules.c:4105:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 4105 | (errmsg("pool_discard_except_sync_and_ready_for_query: discarding packet %c (len:%lu) of backend:%d", kind, ntohl(len) - sizeof(len), i))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ protocol/pool_proto_modules.c:4104:6: note: in expansion of macro 'ereport' 4104 | ereport(DEBUG1, | ^~~~~~~ protocol/pool_proto_modules.c:4105:91: note: format string is defined here 4105 | (errmsg("pool_discard_except_sync_and_ready_for_query: discarding packet %c (len:%lu) of backend:%d", kind, ntohl(len) - sizeof(len), i))); | ~~^ | | | long unsigned int | %u gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o context/pool_process_context.o context/pool_process_context.c In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_commit_cache': query_cache/pool_memqcache.c:279:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 279 | errdetail("memqcache_expire = %ld", memqcache_expire))); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:277:2: note: in expansion of macro 'ereport' 277 | ereport(DEBUG1, | ^~~~~~~ query_cache/pool_memqcache.c:279:37: note: format string is defined here 279 | errdetail("memqcache_expire = %ld", memqcache_expire))); | ~~^ | | | long int | %lld In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_catalog_commit_cache': query_cache/pool_memqcache.c:389:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 389 | errdetail("memqcache_expire = %ld", memqcache_expire))); | ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:387:2: note: in expansion of macro 'ereport' 387 | ereport(DEBUG1, | ^~~~~~~ query_cache/pool_memqcache.c:389:37: note: format string is defined here 389 | errdetail("memqcache_expire = %ld", memqcache_expire))); | ~~^ | | | long int | %lld In file included from /usr/include/ctype.h:100, from query_cache/pool_memqcache.c:37: query_cache/pool_memqcache.c: In function 'pool_is_likely_select': query_cache/pool_memqcache.c:846:28: warning: array subscript has type 'char' [-Wchar-subscripts] 846 | while (*query && isspace(*query)) | ^ query_cache/pool_memqcache.c:863:28: warning: array subscript has type 'char' [-Wchar-subscripts] 863 | while (*query && isspace(*query)) | ^ query_cache/pool_memqcache.c: In function 'pool_add_table_oid_map': query_cache/pool_memqcache.c:1589:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1589 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1616:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1616 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1645:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1645 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1659:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1659 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1712:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1712 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1725:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1725 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c: In function 'pool_discard_oid_maps': query_cache/pool_memqcache.c:1747:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1747 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c: In function 'pool_discard_oid_maps_by_db': query_cache/pool_memqcache.c:1769:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1769 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c: In function 'pool_invalidate_query_cache': query_cache/pool_memqcache.c:1798:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1798 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1828:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1828 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1862:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1862 | ereport(DEBUG1, | ^~~~~~~ query_cache/pool_memqcache.c:1876:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1876 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:1887:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 1887 | ereport(WARNING, | ^~~~~~~ In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_shared_memory_cache_size': query_cache/pool_memqcache.c:2055:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 2055 | errdetail("memqcache_total_size %ld should be greater or equal to memqcache_cache_block_size %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2056 | pool_config->memqcache_total_size, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int64 {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2053:3: note: in expansion of macro 'ereport' 2053 | ereport(FATAL, | ^~~~~~~ query_cache/pool_memqcache.c:2055:40: note: format string is defined here 2055 | errdetail("memqcache_total_size %ld should be greater or equal to memqcache_cache_block_size %d", | ~~^ | | | long int | %lld In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c:2061:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 2061 | errdetail("memcache blocks :%ld", num_blocks))); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | int64 {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2059:2: note: in expansion of macro 'ereport' 2059 | ereport(LOG, | ^~~~~~~ query_cache/pool_memqcache.c:2061:35: note: format string is defined here 2061 | errdetail("memcache blocks :%ld", num_blocks))); | ~~^ | | | long int | %lld In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_get_block': query_cache/pool_memqcache.c:2294:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 2294 | errdetail("requested free space: %zd is more than maximum allowed space:%lu", free_space, POOL_MAX_FREE_SPACE))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2292:3: note: in expansion of macro 'ereport' 2292 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:2294:80: note: format string is defined here 2294 | errdetail("requested free space: %zd is more than maximum allowed space:%lu", free_space, POOL_MAX_FREE_SPACE))); | ~~^ | | | long unsigned int | %u In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_update_fsmm': query_cache/pool_memqcache.c:2349:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 2349 | errdetail("requested free space: %zd is more than maximum allowed space:%lu", free_space, POOL_MAX_FREE_SPACE))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2347:3: note: in expansion of macro 'ereport' 2347 | ereport(WARNING, | ^~~~~~~ query_cache/pool_memqcache.c:2349:80: note: format string is defined here 2349 | errdetail("requested free space: %zd is more than maximum allowed space:%lu", free_space, POOL_MAX_FREE_SPACE))); | ~~^ | | | long unsigned int | %u In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c: In function 'pool_find_item_on_shmem_cache': query_cache/pool_memqcache.c:2724:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=] 2724 | errdetail("cache expired: now: %ld timestamp: %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2725 | now, cih->timestamp + cih->expire))); | ~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2722:4: note: in expansion of macro 'ereport' 2722 | ereport(DEBUG1, | ^~~~~~~ query_cache/pool_memqcache.c:2724:40: note: format string is defined here 2724 | errdetail("cache expired: now: %ld timestamp: %ld", | ~~^ | | | long int | %lld In file included from query_cache/pool_memqcache.c:57: query_cache/pool_memqcache.c:2724:17: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Wformat=] 2724 | errdetail("cache expired: now: %ld timestamp: %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2725 | now, cih->timestamp + cih->expire))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | time_t {aka long long int} ../src/include/utils/elog.h:197:14: note: in definition of macro 'ereport_domain' 197 | errfinish rest; \ | ^~~~ query_cache/pool_memqcache.c:2722:4: note: in expansion of macro 'ereport' 2722 | ereport(DEBUG1, | ^~~~~~~ query_cache/pool_memqcache.c:2724:55: note: format string is defined here 2724 | errdetail("cache expired: now: %ld timestamp: %ld", | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o context/pool_query_context.o context/pool_query_context.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o streaming_replication/pool_worker_child.o streaming_replication/pool_worker_child.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o rewrite/pool_timestamp.o rewrite/pool_timestamp.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o rewrite/pool_lobj.o rewrite/pool_lobj.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPGSQL_BIN_DIR=\"/usr/pkg/bin\" -I. -I../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o utils/pcp/pcp_stream.o utils/pcp/pcp_stream.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -rpath /usr/pkg/lib -rpath /usr/pkg/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pgpool main/main.o main/pool_globals.o main/pgpool_main.o main/health_check.o main/pool_internal_comms.o main/pgpool_logger.o config/pool_config.o config/pool_config_variables.o pcp_con/pcp_child.o pcp_con/pcp_worker.o pcp_con/recovery.o auth/md5.o auth/pool_auth.o auth/pool_passwd.o auth/pool_hba.o auth/auth-scram.o protocol/pool_proto2.o protocol/child.o protocol/pool_pg_utils.o protocol/pool_process_query.o protocol/pool_connection_pool.o protocol/pool_proto_modules.o query_cache/pool_memqcache.o protocol/CommandComplete.o context/pool_session_context.o context/pool_process_context.o context/pool_query_context.o streaming_replication/pool_worker_child.o rewrite/pool_timestamp.o rewrite/pool_lobj.o utils/pool_select_walker.o utils/strlcpy.o utils/psprintf.o utils/pool_params.o utils/ps_status.o utils/pool_shmem.o utils/pool_sema.o utils/pool_signal.o utils/pool_path.o utils/pool_ip.o utils/pool_relcache.o utils/pool_process_reporting.o utils/pool_ssl.o utils/pool_stream.o utils/socket_stream.o utils/getopt_long.o utils/mmgr/mcxt.o utils/mmgr/aset.o utils/error/elog.o utils/error/assert.o utils/pcp/pcp_stream.o utils/regex_array.o utils/json_writer.o utils/json.o utils/scram-common.o utils/base64.o utils/sha2.o utils/ssl_utils.o utils/statistics.o utils/pool_health_check_stats.o -L/usr/pkg/lib -lpq parser/libsql-parser.a parser/nodes.o watchdog/lib-watchdog.a -lpthread -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o pgpool main/main.o main/pool_globals.o main/pgpool_main.o main/health_check.o main/pool_internal_comms.o main/pgpool_logger.o config/pool_config.o config/pool_config_variables.o pcp_con/pcp_child.o pcp_con/pcp_worker.o pcp_con/recovery.o auth/md5.o auth/pool_auth.o auth/pool_passwd.o auth/pool_hba.o auth/auth-scram.o protocol/pool_proto2.o protocol/child.o protocol/pool_pg_utils.o protocol/pool_process_query.o protocol/pool_connection_pool.o protocol/pool_proto_modules.o query_cache/pool_memqcache.o protocol/CommandComplete.o context/pool_session_context.o context/pool_process_context.o context/pool_query_context.o streaming_replication/pool_worker_child.o rewrite/pool_timestamp.o rewrite/pool_lobj.o utils/pool_select_walker.o utils/strlcpy.o utils/psprintf.o utils/pool_params.o utils/ps_status.o utils/pool_shmem.o utils/pool_sema.o utils/pool_signal.o utils/pool_path.o utils/pool_ip.o utils/pool_relcache.o utils/pool_process_reporting.o utils/pool_ssl.o utils/pool_stream.o utils/socket_stream.o utils/getopt_long.o utils/mmgr/mcxt.o utils/mmgr/aset.o utils/error/elog.o utils/error/assert.o utils/pcp/pcp_stream.o utils/regex_array.o utils/json_writer.o utils/json.o utils/scram-common.o utils/base64.o utils/sha2.o utils/ssl_utils.o utils/statistics.o utils/pool_health_check_stats.o parser/nodes.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lpq parser/libsql-parser.a watchdog/lib-watchdog.a -lpthread -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src' Making all in tools gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools' Making all in pcp gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pcp' gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pcp_frontend_client.o pcp_frontend_client.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ../../utils/sprompt.o ../../utils/sprompt.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_stop_pgpool pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_node_count pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_health_check_stats pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../utils/pool_health_check_stats.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_node_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_proc_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_proc_count pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_detach_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_attach_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_node_count pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_node_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_health_check_stats pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../utils/pool_health_check_stats.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_proc_count pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_attach_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_detach_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_proc_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_recovery_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_promote_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_pool_status pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_watchdog_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pcp_reload_config pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o ../../../src/libs/pcp/libpcp.la -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_stop_pgpool pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_recovery_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_pool_status pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_promote_node pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_watchdog_info pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o .libs/pcp_reload_config pcp_frontend_client.o ../fe_memutils.o ../../utils/sprompt.o ../../utils/pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -L../../../src/libs/pcp/.libs -lpcp -lcrypt -lresolv -lm -Wl,-rpath,/usr/pkg/lib gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pcp' Making all in pgmd5 gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgmd5' gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pg_md5.o pg_md5.c rm -f md5.c && ln -s ../../../src/auth/md5.c . rm -f pool_passwd.c && ln -s ../../../src/auth/pool_passwd.c . rm -f strlcpy.c && ln -s ../../../src/utils/strlcpy.c . rm -f regex_array.c && ln -s ../../../src/utils/regex_array.c . rm -f pool_config_variables.c && ln -s ../../../src/config/pool_config_variables.c . rm -f pool_config.c && ln -s ../../../src/config/pool_config.c . rm -f fe_memutils.c && ln -s ../../../src/tools/fe_memutils.c . rm -f pool_path.c && ln -s ../../../src/utils/pool_path.c . gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o md5.o md5.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_passwd.o pool_passwd.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config_variables.o pool_config_variables.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o regex_array.o regex_array.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o strlcpy.o strlcpy.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config.o pool_config.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o fe_memutils.o fe_memutils.c pg_md5.c: In function 'update_pool_passwd_from_file': pg_md5.c:231:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 231 | fprintf(stderr, "failed to open input_file \"%s\" (%m)\n\n", input_file); | ^~~~~~~ pool_passwd.c: In function 'pool_init_pool_passwd': pool_passwd.c:84:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 84 | ereport(ERROR, | ^~~~~~~ pool_passwd.c: In function 'read_pool_key': pool_passwd.c:634:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 634 | ereport(WARNING, | ^~~~~~~ In file included from /usr/include/ctype.h:100, from pool_config_variables.c:28: pool_config_variables.c: In function 'get_index_in_var_name': pool_config_variables.c:3074:15: warning: array subscript has type 'char' [-Wchar-subscripts] 3074 | if (isdigit(*ptr) == 0) | ^ In file included from pool_config_variables.c:48: pool_config_variables.c: In function 'setConfigOptionVar': pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, | ~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:19: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:72: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:79: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld strlcpy.c:59:1: warning: no previous prototype for 'strlcpy' [-Wmissing-prototypes] 59 | strlcpy(char *dst, const char *src, size_t siz) | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_path.o pool_path.c pool_path.c: In function 'get_current_working_dir': pool_path.c:316:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 316 | ereport(ERROR, | ^~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pg_md5 pg_md5.o ../fe_port.o md5.o pool_passwd.o strlcpy.o regex_array.o pool_config_variables.o pool_config.o fe_memutils.o pool_path.o -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o pg_md5 pg_md5.o ../fe_port.o md5.o pool_passwd.o strlcpy.o regex_array.o pool_config_variables.o pool_config.o fe_memutils.o pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lcrypt -lresolv -lm gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgmd5' Making all in pgenc gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgenc' gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pg_enc.o pg_enc.c rm -f ssl_utils.c && ln -s ../../../src/utils/ssl_utils.c . rm -f md5.c && ln -s ../../../src/auth/md5.c . rm -f base64.c && ln -s ../../../src/utils/base64.c . rm -f pool_passwd.c && ln -s ../../../src/auth/pool_passwd.c . rm -f strlcpy.c && ln -s ../../../src/utils/strlcpy.c . rm -f regex_array.c && ln -s ../../../src/utils/regex_array.c . rm -f pool_config_variables.c && ln -s ../../../src/config/pool_config_variables.c . rm -f pool_config.c && ln -s ../../../src/config/pool_config.c . rm -f fe_memutils.c && ln -s ../../../src/tools/fe_memutils.c . rm -f pool_path.c && ln -s ../../../src/utils/pool_path.c . gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ssl_utils.o ssl_utils.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o md5.o md5.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o base64.o base64.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_passwd.o pool_passwd.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o strlcpy.o strlcpy.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o regex_array.o regex_array.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config_variables.o pool_config_variables.c pg_enc.c: In function 'process_input_file': pg_enc.c:339:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 339 | fprintf(stderr, "failed to open input_file \"%s\" (%m)\n\n", input_file); | ^~~~~~~ strlcpy.c:59:1: warning: no previous prototype for 'strlcpy' [-Wmissing-prototypes] 59 | strlcpy(char *dst, const char *src, size_t siz) | ^~~~~~~ pool_passwd.c: In function 'pool_init_pool_passwd': pool_passwd.c:84:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 84 | ereport(ERROR, | ^~~~~~~ pool_passwd.c: In function 'read_pool_key': pool_passwd.c:634:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 634 | ereport(WARNING, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config.o pool_config.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o fe_memutils.o fe_memutils.c In file included from /usr/include/ctype.h:100, from pool_config_variables.c:28: pool_config_variables.c: In function 'get_index_in_var_name': pool_config_variables.c:3074:15: warning: array subscript has type 'char' [-Wchar-subscripts] 3074 | if (isdigit(*ptr) == 0) | ^ In file included from pool_config_variables.c:48: pool_config_variables.c: In function 'setConfigOptionVar': pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, | ~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:19: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:72: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:79: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_path.o pool_path.c pool_path.c: In function 'get_current_working_dir': pool_path.c:316:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 316 | ereport(ERROR, | ^~~~~~~ /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pg_enc pg_enc.o ../fe_port.o ssl_utils.o md5.o base64.o pool_passwd.o strlcpy.o regex_array.o pool_config_variables.o pool_config.o fe_memutils.o pool_path.o -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o pg_enc pg_enc.o ../fe_port.o ssl_utils.o md5.o base64.o pool_passwd.o strlcpy.o regex_array.o pool_config_variables.o pool_config.o fe_memutils.o pool_path.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lcrypt -lresolv -lm gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgenc' Making all in pgproto gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgproto' gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o main.o main.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o read.o read.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o send.o send.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o extended_query.o extended_query.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o buffer.o buffer.c gcc -DHAVE_CONFIG_H -I. -I../../../src/include -D_GNU_SOURCE -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o fe_memutils.o fe_memutils.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o pgproto main.o read.o send.o extended_query.o buffer.o fe_memutils.o -L/usr/pkg/lib -lpq -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o pgproto main.o read.o send.o extended_query.o buffer.o fe_memutils.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lpq -lcrypt -lresolv -lm gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/pgproto' Making all in watchdog gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/watchdog' gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_cli.o wd_cli.c rm -f ssl_utils.c && ln -s ../../../src/utils/ssl_utils.c . rm -f wd_ipc_conn.c && ln -s ../../../src/watchdog/wd_ipc_conn.c . rm -f wd_commands.c && ln -s ../../../src/watchdog/wd_commands.c . rm -f json_writer.c && ln -s ../../../src/utils/json_writer.c . rm -f json.c && ln -s ../../../src/utils/json.c . rm -f pool_config_variables.c && ln -s ../../../src/config/pool_config_variables.c . rm -f pool_config.c && ln -s ../../../src/config/pool_config.c . rm -f pool_path.c && ln -s ../../../src/utils/pool_path.c . rm -f fe_memutils.c && ln -s ../../../src/tools/fe_memutils.c . rm -f stringinfo.c && ln -s ../../../src/parser/stringinfo.c . rm -f strlcpy.c && ln -s ../../../src/utils/strlcpy.c . rm -f socket_stream.c && ln -s ../../../src/utils/socket_stream.c . rm -f regex_array.c && ln -s ../../../src/utils/regex_array.c . rm -f psprintf.c && ln -s ../../../src/utils/psprintf.c . rm -f md5.c && ln -s ../../../src/auth/md5.c . ln -s ../../test/watchdog_setup . gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o ssl_utils.o ssl_utils.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_ipc_conn.o wd_ipc_conn.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o wd_commands.o wd_commands.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o json_writer.o json_writer.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o json.o json.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config_variables.o pool_config_variables.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_config.o pool_config.c In file included from /usr/include/ctype.h:100, from wd_cli.c:25: wd_cli.c: In function 'validate_number': wd_cli.c:456:15: warning: array subscript has type 'char' [-Wchar-subscripts] 456 | if (isdigit(*ptr) == 0) | ^ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o pool_path.o pool_path.c In file included from /usr/include/ctype.h:100, from pool_config_variables.c:28: pool_config_variables.c: In function 'get_index_in_var_name': pool_config_variables.c:3074:15: warning: array subscript has type 'char' [-Wchar-subscripts] 3074 | if (isdigit(*ptr) == 0) | ^ In file included from pool_config_variables.c:48: pool_config_variables.c: In function 'setConfigOptionVar': pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, | ~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:19: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:72: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld In file included from pool_config_variables.c:48: pool_config_variables.c:3692:16: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'int64' {aka 'long long int'} [-Wformat=] 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | newval, name, 3694 | conf->min, conf->max))); | ~~~~~~~~~ | | | int64 {aka long long int} ../../../src/include/utils/fe_ports.h:135:3: note: in definition of macro 'ereport' 135 | rest; \ | ^~~~ pool_config_variables.c:3692:79: note: format string is defined here 3692 | (errmsg("%ld is outside the valid range for parameter \"%s\" (%ld .. %ld)", | ~~^ | | | long int | %lld wd_ipc_conn.c: In function 'issue_command_to_watchdog': wd_ipc_conn.c:182:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 182 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:193:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 193 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:202:6: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 202 | ereport(WARNING, | ^~~~~~~ wd_ipc_conn.c:221:7: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 221 | ereport(DEBUG1, | ^~~~~~~ wd_ipc_conn.c: In function 'open_wd_command_sock': wd_ipc_conn.c:256:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 256 | ereport(throw_error ? ERROR : LOG, | ^~~~~~~ wd_ipc_conn.c:270:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 270 | ereport(throw_error ? ERROR : LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o fe_memutils.o fe_memutils.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o stringinfo.o stringinfo.c pool_path.c: In function 'get_current_working_dir': pool_path.c:316:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 316 | ereport(ERROR, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o strlcpy.o strlcpy.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o socket_stream.o socket_stream.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o regex_array.o regex_array.c gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o psprintf.o psprintf.c strlcpy.c:59:1: warning: no previous prototype for 'strlcpy' [-Wmissing-prototypes] 59 | strlcpy(char *dst, const char *src, size_t siz) | ^~~~~~~ socket_stream.c: In function 'socket_set_nonblock': socket_stream.c:60:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 60 | ereport(FATAL, | ^~~~~~~ socket_stream.c:67:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 67 | ereport(FATAL, | ^~~~~~~ socket_stream.c: In function 'socket_unset_nonblock': socket_stream.c:85:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 85 | ereport(FATAL, | ^~~~~~~ socket_stream.c:91:3: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 91 | ereport(FATAL, | ^~~~~~~ socket_stream.c: In function 'socket_write': socket_stream.c:125:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 125 | ereport(DEBUG5, | ^~~~~~~ socket_stream.c:130:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 130 | ereport(LOG, | ^~~~~~~ socket_stream.c: In function 'socket_read': socket_stream.c:165:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 165 | ereport(WARNING, | ^~~~~~~ socket_stream.c:179:5: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 179 | ereport(DEBUG5, | ^~~~~~~ socket_stream.c:184:4: warning: %m is only allowed in syslog(3) like functions [-Wformat=] 184 | ereport(LOG, | ^~~~~~~ gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/pkg/etc/pgpool2\" -DPOOL_TOOLS -I. -I../../../src/include -D_GNU_SOURCE -DPOOL_PRIVATE -I ../../../src/include/parser -I /usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -c -o md5.o md5.c /bin/sh ../../../libtool --tag=CC --mode=link gcc -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o wd_cli wd_cli.o ../fe_port.o ssl_utils.o wd_ipc_conn.o wd_commands.o json_writer.o json.o pool_config_variables.o pool_config.o pool_path.o fe_memutils.o stringinfo.o strlcpy.o socket_stream.o regex_array.o psprintf.o md5.o -lcrypt -lresolv -lm libtool: link: gcc -O2 -I/pbulk/work/databases/pgpool2/work/.buildlink/include -I/usr/include/krb5 -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-format-truncation -Wno-stringop-truncation -fno-strict-aliasing -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -o wd_cli wd_cli.o ../fe_port.o ssl_utils.o wd_ipc_conn.o wd_commands.o json_writer.o json.o pool_config_variables.o pool_config.o pool_path.o fe_memutils.o stringinfo.o strlcpy.o socket_stream.o regex_array.o psprintf.o md5.o -pie -L/pbulk/work/databases/pgpool2/work/.buildlink/lib -lcrypt -lresolv -lm gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools/watchdog' gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools' ln -s ../test/pgpool_setup . gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools' gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/tools' Making all in include gmake[2]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/include' /usr/pkg/bin/gmake all-am gmake[3]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/include' gmake[3]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/include' gmake[2]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/include' gmake[1]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src' gmake[1]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2' gmake[1]: Nothing to be done for 'all-am'. gmake[1]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2' /usr/pkg/bin/gmake -C pgpool-recovery all /usr/pkg/bin/gmake -C pgpool-regclass all /usr/pkg/bin/gmake -C pgpool_adm all gmake[1]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool-recovery' gmake[1]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool_adm' gmake[1]: Entering directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool-regclass' sed 's,MODULE_PATHNAME,$libdir/pgpool-recovery,g' pgpool-recovery.sql.in >pgpool-recovery.sql gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -c -o pgpool-recovery.o pgpool-recovery.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC -I/usr/pkg/include -I../../include/pcp -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -c -o pgpool_adm.o pgpool_adm.c sed 's,MODULE_PATHNAME,$libdir/pgpool-regclass,g' pgpool-regclass.sql.in >pgpool-regclass.sql gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -I/usr/pkg/include/libxml2 -c -o pgpool-regclass.o pgpool-regclass.c pgpool-regclass.c: In function 'MystringToQualifiedNameList': pgpool-regclass.c:123:7: warning: implicit declaration of function 'SplitIdentifierString' [-Wimplicit-function-declaration] 123 | if (!SplitIdentifierString(rawname, '.', &namelist)) | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC pgpool-regclass.o -L/usr/pkg/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-z,now -Wl,-z,relro -L/usr/pkg/lib -L/usr/lib -L/usr/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -shared -o pgpool-regclass.so gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC pgpool-recovery.o -L/usr/pkg/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-z,now -Wl,-z,relro -L/usr/pkg/lib -L/usr/lib -L/usr/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -shared -o pgpool-recovery.so gmake[1]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool-regclass' gmake[1]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool-recovery' gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/include/krb5 -fPIC -DPIC -shared -o pgpool_adm.so pgpool_adm.o -L/usr/pkg/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-z,now -Wl,-z,relro -L/usr/pkg/lib -L/usr/lib -L/usr/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -L../../libs/pcp/.libs -lpcp -Wl,--as-needed -Wl,-rpath,'/lib',--enable-new-dtags gmake[1]: Leaving directory '/pbulk/work/databases/pgpool2/work/pgpool-II-4.3.2/src/sql/pgpool_adm' => Creating /pbulk/work/databases/pgpool2/work/.rc.d/pgpool2