=> 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 postgresql16-repmgr-5.3.3nb2 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o repmgr.o repmgr.c gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2023-11-05"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 160000/' 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o dbutils.o dbutils.c log.c: In function '_stderr_log_with_level': log.c:96:17: warning: function '_stderr_log_with_level' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o strutil.o strutil.c repmgrd-physical.c: In function 'monitor_streaming_standby': repmgrd-physical.c:1774:9: warning: declaration of 'upstream_check_result' shadows a previous local [-Wshadow=compatible-local] repmgrd-physical.c:1550:7: note: shadowed declaration is here repmgrd-physical.c:1897:11: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local] repmgrd-physical.c:1773:8: note: shadowed declaration is here repmgrd-physical.c:1956:11: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local] repmgrd-physical.c:1773:8: note: shadowed declaration is here 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o controldata.o controldata.c strutil.c: In function 'xvsnprintf': strutil.c:40:2: warning: function 'xvsnprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] strutil.c: In function 'trim': strutil.c:493:9: warning: array subscript has type 'char' [-Wchar-subscripts] strutil.c:502:9: warning: array subscript has type 'char' [-Wchar-subscripts] 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o sysutils.o sysutils.c dbutils.c: In function 'log_db_error': dbutils.c:80:2: warning: function 'log_db_error' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] dbutils.c: In function 'get_ready_archive_files': dbutils.c:1627:15: warning: declaration of 'statbuf' shadows a previous local [-Wshadow=compatible-local] dbutils.c:1585:14: note: shadowed declaration is here 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o repmgr-action-primary.o repmgr-action-primary.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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o repmgr-action-standby.o repmgr-action-standby.c repmgr-action-primary.c: In function 'do_primary_unregister': repmgr-action-primary.c:439:16: warning: declaration of 'primary_node_info' shadows a previous local [-Wshadow=compatible-local] repmgr-action-primary.c:252:14: note: shadowed declaration is here 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/include -c -o repmgr-action-service.o repmgr-action-service.c repmgr-action-node.c: In function 'do_node_status': repmgr-action-node.c:397:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] repmgr-action-node.c:82:20: note: shadowed declaration is here repmgr-action-node.c:527:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] repmgr-action-node.c:82:20: note: shadowed declaration is here repmgr-action-node.c: In function 'do_node_rejoin': repmgr-action-node.c:2961:19: warning: declaration of 'statbuf' shadows a previous local [-Wshadow=compatible-local] repmgr-action-node.c:2545:14: note: shadowed declaration is here 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include/readline -I/usr/pkg/include/libxml2 -I/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -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/usr/pkg/lib -lpgcommon -lpgport -L/usr/pkg/lib -lpq -lintl -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/pkg/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -lpgcommon -lpgport -llz4 -lxml2 -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lcurses -lpthread -lexecinfo -lrt -lm -lintl -o repmgrd repmgr-action-standby.c: In function 'do_standby_clone': repmgr-action-standby.c:536:8: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:169:6: note: shadowed declaration is here repmgr-action-standby.c:761:7: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:169:6: note: shadowed declaration is here repmgr-action-standby.c: In function 'do_standby_switchover': repmgr-action-standby.c:3921:12: warning: declaration of 'replication_info' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:3670:11: note: shadowed declaration is here repmgr-action-standby.c:4778:7: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:3661:5: note: shadowed declaration is here repmgr-action-standby.c:5093:9: warning: declaration of 'command_success' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:3662:7: note: shadowed declaration is here repmgr-action-standby.c:5663:8: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:3661:5: note: shadowed declaration is here repmgr-action-standby.c: In function 'check_upstream_config': repmgr-action-standby.c:6499:7: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:6215:6: note: shadowed declaration is here repmgr-action-standby.c: In function 'check_sibling_nodes': repmgr-action-standby.c:8354:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] repmgr-action-standby.c:8341:20: note: shadowed declaration is here 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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -fvisibility=hidden -shared -o repmgr.so repmgr.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/pkg/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -fvisibility=hidden -L/usr/pkg/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 -O2 -I/usr/include -I/usr/pkg/include -I/usr/include/readline -fPIC -DPIC -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 -L/usr/pkg/lib -lpgcommon -lpgport -L/usr/pkg/lib -lpq -lintl -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/pkg/lib -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -lpgcommon -lpgport -llz4 -lxml2 -lssl -lcrypto -lgssapi_krb5 -lz -ledit -lcurses -lpthread -lexecinfo -lrt -lm -lintl -o repmgr ld: cannot find -lgssapi_krb5 distcc[13767] ERROR: compile (null) on localhost failed gmake: *** [Makefile:85: repmgrd] Error 1 gmake: *** Waiting for unfinished jobs.... ld: cannot find -lgssapi_krb5 distcc[5983] ERROR: compile (null) on localhost failed gmake: *** [Makefile:82: repmgr] Error 1 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/repmgr *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/repmgr