=> 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.1nb7 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-24"/' repmgr_version.h.in >repmgr_version.h; \ gsed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170001/' 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 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-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-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; | ^ 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_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; | ^~~~~~~~~~~~~~~~ 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; | ^ 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; | ^~~~~~~~~~~~~~~ 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; | ^ 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; | ^ gmake: *** [: repmgr-client.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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