=> 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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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-23"/' 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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 log.c: In function '_stderr_log_with_level': log.c:96:3: warning: function '_stderr_log_with_level' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] vfprintf(stderr, fmt, ap); ^~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 strutil.c: In function 'xvsnprintf': strutil.c:40:2: warning: function 'xvsnprintf' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] retval = vsnprintf(str, size, format, ap); ^~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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] retval = vsnprintf(buf, MAXLEN, fmt, ap); ^~~~~~ dbutils.c: In function 'get_ready_archive_files': dbutils.c:1627:15: warning: declaration of 'statbuf' shadows a previous local [-Wshadow=compatible-local] struct stat statbuf; ^~~~~~~ dbutils.c:1585:14: note: shadowed declaration is here struct stat statbuf; ^~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 repmgrd-physical.c: In function 'monitor_streaming_standby': repmgrd-physical.c:1774:10: warning: declaration of 'upstream_check_result' shadows a previous local [-Wshadow=compatible-local] bool upstream_check_result; ^~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1550:8: note: shadowed declaration is here bool upstream_check_result; ^~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1897:13: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local] int degraded_monitoring_elapsed; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1773:10: note: shadowed declaration is here int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1956:13: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local] int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1773:10: note: shadowed declaration is here int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25:0, from repmgr.h:65, from repmgrd-physical.c:22: repmgrd-physical.c: In function 'check_node_can_follow': repmgrd-physical.c:5191:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd-physical.c:5191:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd-physical.c:5279:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd-physical.c:5279:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 In file included from /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25:0, from repmgr.h:65, from repmgr-client.c:60: repmgr-client.c: In function 'main': repmgr-client.c:379:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] _("value for \"--node-name\" must contain fewer than %lu characters"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-client.c: In function 'check_node_can_attach': repmgr-client.c:4247:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-client.c:4247:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-client.c:4257:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("system identifier is %lu"), local_system_identifier); ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 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] t_node_info primary_node_info = T_NODE_INFO_INITIALIZER; ^~~~~~~~~~~~~~~~~ repmgr-action-primary.c:252:14: note: shadowed declaration is here t_node_info primary_node_info = T_NODE_INFO_INITIALIZER; ^~~~~~~~~~~~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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-standby.c: In function 'do_standby_clone': repmgr-action-standby.c:536:10: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] int r; ^ repmgr-action-standby.c:169:8: note: shadowed declaration is here int r = 0; ^ repmgr-action-standby.c:761:7: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] int r; ^ repmgr-action-standby.c:169:8: note: shadowed declaration is here int r = 0; ^ repmgr-action-standby.c: In function 'do_standby_switchover': repmgr-action-standby.c:3921:13: warning: declaration of 'replication_info' shadows a previous local [-Wshadow=compatible-local] ReplInfo replication_info; ^~~~~~~~~~~~~~~~ repmgr-action-standby.c:3670:11: note: shadowed declaration is here ReplInfo replication_info; ^~~~~~~~~~~~~~~~ repmgr-action-standby.c:4778:7: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] int i = 0; ^ repmgr-action-standby.c:3661:5: note: shadowed declaration is here i; ^ repmgr-action-standby.c:5093:10: warning: declaration of 'command_success' shadows a previous local [-Wshadow=compatible-local] bool command_success; ^~~~~~~~~~~~~~~ repmgr-action-standby.c:3662:8: note: shadowed declaration is here bool command_success = false; ^~~~~~~~~~~~~~~ repmgr-action-standby.c:5663:8: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] int i = 0; ^ repmgr-action-standby.c:3661:5: note: shadowed declaration is here i; ^ In file included from /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25:0, from repmgr.h:65, from repmgr-action-standby.c:25: repmgr-action-standby.c: In function 'check_source_server': repmgr-action-standby.c:5924:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c:5924:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c: In function 'check_upstream_config': repmgr-action-standby.c:6499:9: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] int i; ^ repmgr-action-standby.c:6215:8: note: shadowed declaration is here int i; ^ 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] NodeInfoListCell *cell; ^~~~ repmgr-action-standby.c:8341:20: note: shadowed declaration is here NodeInfoListCell *cell; ^~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 In file included from /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25:0, from repmgr.h:65, from repmgr-action-witness.c:23: repmgr-action-witness.c: In function 'do_witness_register': repmgr-action-witness.c:175:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64 {aka long long unsigned int}' [-Wformat=] log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"), ^ /scratch/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1196:22: note: in definition of macro '_' #define _(x) gettext(x) ^ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 repmgr-action-node.c: In function 'do_node_status': repmgr-action-node.c:154:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64 {aka long long unsigned int}' [-Wformat=] "%lu", local_system_identifier); ~~^ %llu repmgr-action-node.c:397:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] KeyValueListCell *cell = NULL; ^~~~ repmgr-action-node.c:82:20: note: shadowed declaration is here KeyValueListCell *cell = NULL; ^~~~ repmgr-action-node.c:527:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] KeyValueListCell *cell = NULL; ^~~~ repmgr-action-node.c:82:20: note: shadowed declaration is here KeyValueListCell *cell = NULL; ^~~~ 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] struct stat statbuf; ^~~~~~~ repmgr-action-node.c:2545:14: note: shadowed declaration is here struct stat statbuf; ^~~~~~~ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-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 ld: cannot find -lgssapi_krb5 gmake: *** [Makefile:85: repmgrd] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2 Stop. make[1]: stopped in /tree/pkgsrc/databases/repmgr *** Error code 1 Stop. make: stopped in /tree/pkgsrc/databases/repmgr