=> 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 postgresql17-repmgr-5.5.0nb5 Building against PostgreSQL 17 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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -c -o repmgr.o repmgr.c gsed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2026-05-17"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170009/' 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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -c -o repmgrd-physical.o repmgrd-physical.c repmgrd.c: In function 'main': repmgrd.c:163:35: error: 'REPMGR_VERSION' undeclared (first use in this function); did you mean 'PG_VERSION'? printf("%s %s\n", progname(), REPMGR_VERSION); ^~~~~~~~~~~~~~ PG_VERSION repmgrd.c:163:35: note: each undeclared identifier is reported only once for each function it appears in 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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -O2 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -O2 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -c -o repmgr-action-standby.o repmgr-action-standby.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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -O2 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -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 -Dz_off_t=long -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -c -o repmgr-action-cluster.o repmgr-action-cluster.c repmgrd.c:400:6: error: 'REPMGR_EXTENSION_NUM' undeclared (first use in this function); did you mean 'REPMGR_VERSION'? REPMGR_EXTENSION_NUM, extversions.installed_version_num); ^~~~~~~~~~~~~~~~~~~~ REPMGR_VERSION In file included from /pbulk/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:5201: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd-physical.c:5201: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd.c:406:9: error: 'REPMGR_EXTENSION_VERSION' undeclared (first use in this function); did you mean 'REPMGR_EXTENSION_NUM'? REPMGR_EXTENSION_VERSION, ^~~~~~~~~~~~~~~~~~~~~~~~ REPMGR_EXTENSION_NUM repmgrd-physical.c:5289: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgrd-physical.c:5289: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ gmake: *** [: repmgrd.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from /pbulk/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)"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ In file included from /pbulk/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:383: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c: In function 'do_standby_clone': repmgr-action-standby.c:539:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] PQExpBufferData msg; ^~~~~~~~~~~~~~~ repmgr-action-standby.c:766:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct stat st; ^~~~~~ repmgr-client.c: In function 'check_node_can_attach': repmgr-client.c:4256: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-client.c:4256: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-client.c:4266: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); ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c: In function 'do_standby_switchover': repmgr-action-standby.c:4787:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int unreachable_node_count = 0; ^~~ repmgr-action-standby.c:5679:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int error_node_count = 0; ^~~ In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25:0, from repmgr.h:65, from repmgr-action-standby.c:26: repmgr-action-standby.c: In function 'check_source_server': repmgr-action-standby.c:5939: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c:5939: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"), ^ /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/c.h:1188:22: note: in definition of macro '_' #define _(x) gettext(x) ^ repmgr-action-standby.c: In function 'check_upstream_config': repmgr-action-standby.c:6518:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] t_conninfo_param_list repl_conninfo = T_CONNINFO_PARAM_LIST_INITIALIZER; ^~~~~~~~~~~~~~~~~~~~~ *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/repmgr *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/repmgr