=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/databases/repmgr", "all", "PGSQL_VERSION_REQD=16", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for postgresql16-repmgr-5.5.0nb6 Building against PostgreSQL 16 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr.o repmgr.c gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2026-09-04"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 160015/' repmgr_version.h flex -o'configfile-scan.c' configfile-scan.l gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgrd.o repmgrd.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgrd-physical.o repmgrd-physical.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o configdata.o configdata.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o configfile.o configfile.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o configfile-scan.o configfile-scan.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o log.o log.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o dbutils.o dbutils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o strutil.o strutil.c dbutils.c: In function 'can_disable_walsender': dbutils.c:1961:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 1961 | PQExpBufferData query; | ^~~~~~~~~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o controldata.o controldata.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o compat.o compat.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o sysutils.o sysutils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-client.o repmgr-client.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-primary.o repmgr-action-primary.c repmgr-action-primary.c: In function 'do_primary_unregister': repmgr-action-primary.c:472:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 472 | bool primary_record_found = false; | ^~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-standby.o repmgr-action-standby.c repmgr-action-standby.c: In function 'do_standby_clone': repmgr-action-standby.c:539:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 539 | PQExpBufferData msg; | ^~~~~~~~~~~~~~~ repmgr-action-standby.c:766:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 766 | struct stat st; | ^~~~~~ repmgr-action-standby.c: In function 'do_standby_switchover': repmgr-action-standby.c:4787:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 4787 | int unreachable_node_count = 0; | ^~~ repmgr-action-standby.c:5679:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 5679 | int error_node_count = 0; | ^~~ repmgr-action-standby.c: In function 'check_upstream_config': repmgr-action-standby.c:6518:17: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 6518 | t_conninfo_param_list repl_conninfo = T_CONNINFO_PARAM_LIST_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-witness.o repmgr-action-witness.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-cluster.o repmgr-action-cluster.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-node.o repmgr-action-node.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-service.o repmgr-action-service.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o repmgr-action-daemon.o repmgr-action-daemon.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o dirutil.o dirutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -std=gnu89 -I/opt/local/include/postgresql/internal -I/opt/local/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/local/include/postgresql/server -I/opt/local/include/postgresql/internal -I/opt/local/include/gettext -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -c -o pgbackupapi.o pgbackupapi.c In file included from pgbackupapi.c:21: pgbackupapi.c: In function 'get_operations_on_server': /tmp/work/databases/repmgr/work/.buildlink/include/curl/typecheck-gcc.h:60:13: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/databases/repmgr/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ pgbackupapi.c:67:9: note: in expansion of macro 'curl_easy_setopt' 67 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operations_cb); | ^~~~~~~~~~~~~~~~ pgbackupapi.c: In function 'create_new_task': /tmp/work/databases/repmgr/work/.buildlink/include/curl/typecheck-gcc.h:60:13: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/databases/repmgr/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ pgbackupapi.c:110:9: note: in expansion of macro 'curl_easy_setopt' 110 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_id); | ^~~~~~~~~~~~~~~~ pgbackupapi.c: In function 'get_status_of_operation': /tmp/work/databases/repmgr/work/.buildlink/include/curl/typecheck-gcc.h:60:13: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/databases/repmgr/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ pgbackupapi.c:140:9: note: in expansion of macro 'curl_easy_setopt' 140 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_status); | ^~~~~~~~~~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden repmgrd.o repmgrd-physical.o configdata.o configfile.o configfile-scan.o log.o dbutils.o strutil.o controldata.o compat.o sysutils.o -L/opt/local/lib -lpgcommon -lpgport -L/opt/local/lib -lpq -lintl -lcurl -ljson-c -L/opt/local/lib -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -L/opt/local/lib -L/opt/local/lib -Wl,-rpath,'/opt/local/lib' -lpgcommon -lpgport -llz4 -lxml2 -lpam -lssl -lcrypto -lz -lreadline -lm -lintl -liconv -o repmgrd gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/opt/local/lib -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -L/opt/local/lib -L/opt/local/lib -Wl,-rpath,'/opt/local/lib' -fvisibility=hidden -L/opt/local/lib -lpq -lintl gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -fPIC -fvisibility=hidden repmgr-client.o repmgr-action-primary.o repmgr-action-standby.o repmgr-action-witness.o repmgr-action-cluster.o repmgr-action-node.o repmgr-action-service.o repmgr-action-daemon.o configdata.o configfile.o configfile-scan.o log.o strutil.o controldata.o dirutil.o compat.o dbutils.o sysutils.o pgbackupapi.o -L/opt/local/lib -lpgcommon -lpgport -L/opt/local/lib -lpq -lintl -lcurl -ljson-c -L/opt/local/lib -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -L/opt/local/lib -L/opt/local/lib -Wl,-rpath,'/opt/local/lib' -lpgcommon -lpgport -llz4 -lxml2 -lpam -lssl -lcrypto -lz -lreadline -lm -lintl -liconv -o repmgr