=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pgpool-3.4.1 --- all --- /opt/pkg/bin/bmake all-am --- main.o --- --- child.o --- --- pool_auth.o --- --- pool_error.o --- --- pool_process_query.o --- --- pool_stream.o --- --- pool_connection_pool.o --- --- pool_params.o --- --- main.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi --- child.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT child.o -MD -MP -MF ".deps/child.Tpo" -c -o child.o child.c; then mv -f ".deps/child.Tpo" ".deps/child.Po"; else rm -f ".deps/child.Tpo"; exit 1; fi --- pool_auth.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_auth.o -MD -MP -MF ".deps/pool_auth.Tpo" -c -o pool_auth.o pool_auth.c; then mv -f ".deps/pool_auth.Tpo" ".deps/pool_auth.Po"; else rm -f ".deps/pool_auth.Tpo"; exit 1; fi --- pool_error.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_error.o -MD -MP -MF ".deps/pool_error.Tpo" -c -o pool_error.o pool_error.c; then mv -f ".deps/pool_error.Tpo" ".deps/pool_error.Po"; else rm -f ".deps/pool_error.Tpo"; exit 1; fi --- pool_process_query.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_process_query.o -MD -MP -MF ".deps/pool_process_query.Tpo" -c -o pool_process_query.o pool_process_query.c; then mv -f ".deps/pool_process_query.Tpo" ".deps/pool_process_query.Po"; else rm -f ".deps/pool_process_query.Tpo"; exit 1; fi --- pool_stream.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_stream.o -MD -MP -MF ".deps/pool_stream.Tpo" -c -o pool_stream.o pool_stream.c; then mv -f ".deps/pool_stream.Tpo" ".deps/pool_stream.Po"; else rm -f ".deps/pool_stream.Tpo"; exit 1; fi --- pool_connection_pool.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_connection_pool.o -MD -MP -MF ".deps/pool_connection_pool.Tpo" -c -o pool_connection_pool.o pool_connection_pool.c; then mv -f ".deps/pool_connection_pool.Tpo" ".deps/pool_connection_pool.Po"; else rm -f ".deps/pool_connection_pool.Tpo"; exit 1; fi --- pool_params.o --- if clang -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/opt/pkg/etc\" -I. -I. -I. -Wall -Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -O2 -MT pool_params.o -MD -MP -MF ".deps/pool_params.Tpo" -c -o pool_params.o pool_params.c; then mv -f ".deps/pool_params.Tpo" ".deps/pool_params.Po"; else rm -f ".deps/pool_params.Tpo"; exit 1; fi --- pool_process_query.o --- In file included from pool_process_query.c:40: ./pool.h:369:15: error: expected parameter declarator extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from pool_process_query.c:40: ./pool.h:369:15: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./pool.h:369:15: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_process_query.c:40: ./pool.h:369:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_process_query.c:40: ./pool.h:369:15: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./pool.h:369:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- pool_stream.o --- In file included from pool_stream.c:33: ./pool.h:369:15: error: expected parameter declarator extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' --- child.o --- In file included from child.c:49: ./pool.h:369:15: error: expected parameter declarator extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 --- pool_stream.o --- __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from pool_stream.c:33: ./pool.h:369:15: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' --- child.o --- ^ In file included from child.c:49: ./pool.h:369:15: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ --- pool_stream.o --- __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./pool.h:369:15: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) --- child.o --- ./pool.h:369:15: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from child.c:49: ./pool.h:369:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ --- pool_stream.o --- ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_stream.c:33: ./pool.h:369:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- child.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from child.c:49: ./pool.h:369:15: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- pool_stream.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_stream.c:33: ./pool.h:369:15: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./pool.h:369:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' --- child.o --- ./pool.h:369:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- pool_stream.o --- __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- pool_process_query.o --- pool_process_query.c:1398:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (size1 != size1) ^ --- pool_stream.o --- 1 warning and 3 errors generated. --- pool_params.o --- In file included from pool_params.c:29: ./pool.h:369:15: error: expected parameter declarator extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- main.o --- main.c:681:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(addr.sun_path, sizeof(addr.sun_path), un_addr.sun_path); ^~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ main.c:681:49: note: treat the string as an argument to avoid this snprintf(addr.sun_path, sizeof(addr.sun_path), un_addr.sun_path); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' --- child.o --- 1 warning and 3 errors generated. --- pool_params.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from pool_params.c:29: ./pool.h:369:15: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ --- main.o --- __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^ --- pool_params.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./pool.h:369:15: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_params.c:29: ./pool.h:369:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_params.c:29: ./pool.h:369:15: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./pool.h:369:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ 1 warning and 3 errors generated. --- pool_connection_pool.o --- In file included from pool_connection_pool.c:41: ./pool.h:369:15: error: expected parameter declarator extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ In file included from pool_connection_pool.c:41: ./pool.h:369:15: error: expected ')' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:62: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:30:32: note: expanded from macro '_USE_FORTIFY_LEVEL' # define _USE_FORTIFY_LEVEL 2 ^ ./pool.h:369:15: note: to match this '(' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:53: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_connection_pool.c:41: ./pool.h:369:15: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern size_t strlcpy(char *dst, const char *src, size_t siz); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:47: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_common.h:39:31: note: expanded from macro '__darwin_obsz' #define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_LEVEL > 1 ? 1 : 0) ^ In file included from pool_connection_pool.c:41: ./pool.h:369:15: error: conflicting types for '__builtin___strlcpy_chk' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ ./pool.h:369:15: note: '__builtin___strlcpy_chk' is a builtin with type 'unsigned long (char *, const char *, unsigned long, unsigned long)' /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:112:3: note: expanded from macro 'strlcpy' __builtin___strlcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^ --- pool_process_query.o --- 2 warnings and 3 errors generated. --- pool_params.o --- *** [pool_params.o] Error code 1 bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 --- pool_stream.o --- *** [pool_stream.o] Error code 1 bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 --- pool_connection_pool.o --- 1 warning and 3 errors generated. --- child.o --- *** [child.o] Error code 1 bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 --- pool_connection_pool.o --- *** [pool_connection_pool.o] Error code 1 bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 --- pool_process_query.o --- *** [pool_process_query.o] Error code 1 bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 --- main.o --- 1 warning generated. 5 errors bmake[1]: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 *** [all] Error code 2 bmake: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 1 error bmake: stopped in /opt/work/databases/pgpool/work/pgpool-3.4.1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/databases/pgpool *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/databases/pgpool