=> 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.4.1nb6
Building against PostgreSQL 17
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 "2024-11-12"/' repmgr_version.h.in >repmgr_version.h; \
gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170000/' 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 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
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
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 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=]
  175 |    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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-action-witness.c:175:97: note: format string is defined here
  175 |    log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"),
      |                                                                                               ~~^
      |                                                                                                 |
      |                                                                                                 long unsigned int
      |                                                                                               %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 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=]
  379 |            _("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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-client.c:379:67: note: format string is defined here
  379 |            _("value for \"--node-name\" must contain fewer than %lu characters"),
      |                                                                 ~~^
      |                                                                   |
      |                                                                   long unsigned int
      |                                                                 %u
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]
  439 |    t_node_info primary_node_info = T_NODE_INFO_INITIALIZER;
      |                ^~~~~~~~~~~~~~~~~
repmgr-action-primary.c:252:14: note: shadowed declaration is here
  252 |  t_node_info primary_node_info = T_NODE_INFO_INITIALIZER;
      |              ^~~~~~~~~~~~~~~~~
repmgr-client.c: In function 'copy_remote_files':
repmgr-client.c:3185:9: error: 'PG_TEMP_FILE_PREFIX' undeclared (first use in this function)
 3185 |         PG_TEMP_FILE_PREFIX);
      |         ^~~~~~~~~~~~~~~~~~~
repmgr-client.c:3185:9: note: each undeclared identifier is reported only once for each function it appears in
repmgr-action-standby.c: In function 'do_standby_clone':
repmgr-action-standby.c:538:10: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local]
  538 |    int   r;
      |          ^
repmgr-action-standby.c:171:8: note: shadowed declaration is here
  171 |  int   r = 0;
      |        ^
repmgr-action-standby.c:765:7: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local]
  765 |   int r;
      |       ^
repmgr-action-standby.c:171:8: note: shadowed declaration is here
  171 |  int   r = 0;
      |        ^
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-client.c:60:
repmgr-client.c: In function 'check_node_can_attach':
repmgr-client.c:4252:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4252 |   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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-client.c:4252:52: note: format string is defined here
 4252 |   log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                                                  ~~^
      |                                                    |
      |                                                    long unsigned int
      |                                                  %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-client.c:60:
repmgr-client.c:4252:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4252 |   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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-client.c:4252:95: note: format string is defined here
 4252 |   log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                                                                                             ~~^
      |                                                                                               |
      |                                                                                               long unsigned int
      |                                                                                             %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-client.c:60:
repmgr-client.c:4262:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4262 |   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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-client.c:4262:40: note: format string is defined here
 4262 |   log_detail(_("system identifier is %lu"), local_system_identifier);
      |                                      ~~^
      |                                        |
      |                                        long unsigned int
      |                                      %llu
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]
 1774 |    bool  upstream_check_result;
      |          ^~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:1550:8: note: shadowed declaration is here
 1550 |   bool upstream_check_result;
      |        ^~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:1897:13: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local]
 1897 |       int   degraded_monitoring_elapsed;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:1773:10: note: shadowed declaration is here
 1773 |    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]
 1956 |       int   degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:1773:10: note: shadowed declaration is here
 1773 |    int   degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-action-standby.c: In function 'do_standby_switchover':
repmgr-action-standby.c:3930:13: warning: declaration of 'replication_info' shadows a previous local [-Wshadow=compatible-local]
 3930 |   ReplInfo  replication_info;
      |             ^~~~~~~~~~~~~~~~
repmgr-action-standby.c:3679:11: note: shadowed declaration is here
 3679 |  ReplInfo replication_info;
      |           ^~~~~~~~~~~~~~~~
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgrd-physical.c:22:
repmgrd-physical.c: In function 'check_node_can_follow':
repmgrd-physical.c:5202:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5202 |   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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-action-standby.c:4787:7: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local]
 4787 |   int i = 0;
      |       ^
repmgr-action-standby.c:3670:5: note: shadowed declaration is here
 3670 |     i;
      |     ^
repmgrd-physical.c:5202:52: note: format string is defined here
 5202 |   log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                                                  ~~^
      |                                                    |
      |                                                    long unsigned int
      |                                                  %llu
gmake: *** [<builtin>: repmgr-client.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,
                 from repmgr.h:65,
                 from repmgrd-physical.c:22:
repmgrd-physical.c:5202:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5202 |   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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgrd-physical.c:5202:99: note: format string is defined here
 5202 |   log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                                                                                                 ~~^
      |                                                                                                   |
      |                                                                                                   long unsigned int
      |                                                                                                 %llu
repmgr-action-standby.c:5102:10: warning: declaration of 'command_success' shadows a previous local [-Wshadow=compatible-local]
 5102 |    bool  command_success;
      |          ^~~~~~~~~~~~~~~
repmgr-action-standby.c:3671:8: note: shadowed declaration is here
 3671 |  bool  command_success = false;
      |        ^~~~~~~~~~~~~~~
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgrd-physical.c:22:
repmgrd-physical.c:5290:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5290 |    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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgrd-physical.c:5290:52: note: format string is defined here
 5290 |    log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                                  ~~^
      |                                                    |
      |                                                    long unsigned int
      |                                                  %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgrd-physical.c:22:
repmgrd-physical.c:5290:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5290 |    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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-action-standby.c:5672:8: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local]
 5672 |    int i = 0;
      |        ^
repmgr-action-standby.c:3670:5: note: shadowed declaration is here
 3670 |     i;
      |     ^
repmgrd-physical.c:5290:100: note: format string is defined here
 5290 |    log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                                                                                  ~~^
      |                                                                                                    |
      |                                                                                                    long unsigned int
      |                                                                                                  %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-standby.c:26:
repmgr-action-standby.c: In function 'check_source_server':
repmgr-action-standby.c:5933:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5933 |         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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-action-standby.c:5933:60: note: format string is defined here
 5933 |         log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                          ~~^
      |                                                            |
      |                                                            long unsigned int
      |                                                          %llu
In file included from /pbulk/work/databases/repmgr/work/.buildlink/include/postgresql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-standby.c:26:
repmgr-action-standby.c:5933:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5933 |         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 '_'
 1188 | #define _(x) gettext(x)
      |                      ^
repmgr-action-standby.c:5933:122: note: format string is defined here
 5933 |         log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                                                                        ~~^
      |                                                                                                                          |
      |                                                                                                                          long unsigned int
      |                                                                                                                        %llu
repmgr-action-standby.c: In function 'check_upstream_config':
repmgr-action-standby.c:6508:9: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local]
 6508 |   int   i;
      |         ^
repmgr-action-standby.c:6224:8: note: shadowed declaration is here
 6224 |  int   i;
      |        ^
repmgr-action-standby.c: In function 'check_sibling_nodes':
repmgr-action-standby.c:8474:22: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local]
 8474 |    NodeInfoListCell *cell;
      |                      ^~~~
repmgr-action-standby.c:8461:20: note: shadowed declaration is here
 8461 |  NodeInfoListCell *cell;
      |                    ^~~~
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/databases/repmgr
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/repmgr