>>> Building on exopi-1 under databases/repmgr BDEPENDS = [net/curl;databases/postgresql,-server;devel/json-c;devel/gmake;databases/postgresql] DIST = [databases/repmgr:repmgr-pg17-fix.patch;databases/repmgr:repmgr-5.4.1.tar.gz] FULLPKGNAME = repmgr-5.4.1p1 RDEPENDS = [net/curl;databases/postgresql;net/rsync;devel/json-c] (Junk lock failure for exopi-1 at 1764621419.28318) Received IO (Junk lock obtained for exopi-1 at 1764621421.54) Received IO Woken up databases/repmgr Woken up databases/repmgr Woken up databases/repmgr >>> Running depends in databases/repmgr at 1764621423.13 last junk was in net/p5-Filesys-Virtual-DAAP /usr/sbin/pkg_add -aI -Drepair json-c-0.18 postgresql-client-18.1 postgresql-server-18.1 was: /usr/sbin/pkg_add -aI -Drepair curl-8.17.0 gmake-4.4.1p0 json-c-0.18 postgresql-client-18.1 postgresql-server-18.1 /usr/sbin/pkg_add -aI -Drepair json-c-0.18 postgresql-client-18.1 postgresql-server-18.1 The following new rcscripts were installed: /etc/rc.d/postgresql See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/postgresql-server >>> Running show-prepare-results in databases/repmgr at 1764621430.36 ===> databases/repmgr ===> Building from scratch repmgr-5.4.1p1 ===> repmgr-5.4.1p1 depends on: postgresql-server-* -> postgresql-server-18.1 ===> repmgr-5.4.1p1 depends on: gmake-* -> gmake-4.4.1p0 ===> repmgr-5.4.1p1 depends on: postgresql-client-* -> postgresql-client-18.1 ===> repmgr-5.4.1p1 depends on: curl-* -> curl-8.17.0 ===> repmgr-5.4.1p1 depends on: json-c-* -> json-c-0.18 ===> Verifying specs: c crypto curl curses execinfo json-c m pq readline ssl xml2 z pthread ===> found c.102.2 crypto.57.2 curl.26.34 curses.16.0 execinfo.4.0 json-c.2.1 m.10.1 pq.6.17 readline.6.0 ssl.60.2 xml2.22.1 z.7.1 pthread.28.1 curl-8.17.0 gmake-4.4.1p0 json-c-0.18 postgresql-client-18.1 postgresql-server-18.1 (Junk lock released for exopi-1 at 1764621431.77) Woken up audio/espeak distfiles size=462419 >>> Running build in databases/repmgr at 1764621431.81 ===> databases/repmgr ===> Checking files for repmgr-5.4.1p1 `/exopi-cvs/ports/distfiles/repmgr-5.4.1.tar.gz' is up to date. `/exopi-cvs/ports/distfiles/repmgr-pg17-fix.patch' is up to date. >> (SHA256) all files: OK ===> Extracting for repmgr-5.4.1p1 ===> Patching for repmgr-5.4.1p1 ===> Applying distribution patches for repmgr-5.4.1p1 ===> Applying distribution patch repmgr-pg17-fix.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 5abdbb0d39e77b9463857c60a53707fd6f2abc45 Mon Sep 17 00:00:00 2001 |From: Francisco Miguel Biete Banon |Date: Fri, 27 Sep 2024 07:53:28 +0100 |Subject: [PATCH] Definition moved to a different header | |--- | repmgr-client.c | 4 ++++ | 1 file changed, 4 insertions(+) | |diff --git a/repmgr-client.c b/repmgr-client.c |index 6fa8edd2..022ccec9 100644 |--- a/repmgr-client.c |+++ b/repmgr-client.c -------------------------- Patching file repmgr-client.c using Plan A... Hunk #1 succeeded at 70. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for repmgr-5.4.1p1 ===> Configuring for repmgr-5.4.1p1 Using /exopi-obj/pobj/repmgr-5.4.1/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /exopi-obj/pobj/repmgr-5.4.1/config.site checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pg_config... /usr/local/bin/pg_config ./configure[1837]: PostgreSQL 18.1: unexpected `18' configure: building against PostgreSQL PostgreSQL 18.1 checking for gnused... no checking for gsed... no checking for sed... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.global config.status: creating config.h configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc ===> Building for repmgr-5.4.1p1 Building against PostgreSQL 18 cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr.o repmgr.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -fvisibility=hidden -L/usr/local/lib -lpq -lc sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2025-12-01"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 180001/' repmgr_version.h cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-client.o repmgr-client.c repmgr-client.c:4257:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 4256 | log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), | ~~~ | %llu 4257 | local_system_identifier, | ^~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:4259:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 4256 | log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), | ~~~ | %llu 4257 | local_system_identifier, 4258 | action, 4259 | follow_target_identification.system_identifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:4266:45: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 4266 | log_detail(_("system identifier is %lu"), local_system_identifier); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %llu 3 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-primary.o repmgr-action-primary.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-standby.o repmgr-action-standby.c repmgr-action-standby.c:5934:14: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5933 | log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), | ~~~ | %llu 5934 | source_system_identifier, | ^~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c:5936:14: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5933 | log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), | ~~~ | %llu 5934 | source_system_identifier, 5935 | cell->node_info->node_name, 5936 | test_system_identifier); | ^~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-witness.o repmgr-action-witness.c repmgr-action-witness.c:176:9: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 175 | log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"), | ~~~ | %llu 176 | primary_system_identifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-cluster.o repmgr-action-cluster.c repmgr-action-cluster.c:55:18: warning: no previous extern declaration for non-static variable 'headers_show' [-Wmissing-variable-declarations] 55 | struct ColHeader headers_show[SHOW_HEADER_COUNT]; | ^ repmgr-action-cluster.c:55:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit 55 | struct ColHeader headers_show[SHOW_HEADER_COUNT]; | ^ repmgr-action-cluster.c:56:18: warning: no previous extern declaration for non-static variable 'headers_event' [-Wmissing-variable-declarations] 56 | struct ColHeader headers_event[EVENT_HEADER_COUNT]; | ^ repmgr-action-cluster.c:56:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit 56 | struct ColHeader headers_event[EVENT_HEADER_COUNT]; | ^ 2 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-node.o repmgr-action-node.c repmgr-action-node.c:154:19: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 154 | "%lu", local_system_identifier); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %llu 1 warning generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-service.o repmgr-action-service.c repmgr-action-service.c:403:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] 403 | int i; | ^ repmgr-action-service.c:55:18: warning: no previous extern declaration for non-static variable 'headers_status' [-Wmissing-variable-declarations] 55 | struct ColHeader headers_status[STATUS_HEADER_COUNT]; | ^ repmgr-action-service.c:55:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit 55 | struct ColHeader headers_status[STATUS_HEADER_COUNT]; | ^ 2 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgr-action-daemon.o repmgr-action-daemon.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o configdata.o configdata.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o configfile.o configfile.c flex -o'configfile-scan.c' configfile-scan.l cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o configfile-scan.o configfile-scan.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o log.o log.c log.c:46:7: warning: no previous extern declaration for non-static variable 'last_log_level' [-Wmissing-variable-declarations] 46 | int last_log_level = LOG_INFO; | ^ log.c:46:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit 46 | int last_log_level = LOG_INFO; | ^ 1 warning generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o strutil.o strutil.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o controldata.o controldata.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o dirutil.o dirutil.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o compat.o compat.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o dbutils.o dbutils.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o sysutils.o sysutils.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pgbackupapi.o pgbackupapi.c pgbackupapi.c:67:2: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with 'warning' attribute: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 67 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operations_cb); | ^ /usr/local/include/curl/typecheck-gcc.h:60:15: note: expanded from macro 'curl_easy_setopt' 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^ pgbackupapi.c:110:2: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with 'warning' attribute: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 110 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_id); | ^ /usr/local/include/curl/typecheck-gcc.h:60:15: note: expanded from macro 'curl_easy_setopt' 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^ pgbackupapi.c:140:2: warning: call to 'Wcurl_easy_setopt_err_write_callback' declared with 'warning' attribute: curl_easy_setopt expects a curl_write_callback argument [-Wattribute-warning] 140 | curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_status); | ^ /usr/local/include/curl/typecheck-gcc.h:60:15: note: expanded from macro 'curl_easy_setopt' 60 | Wcurl_easy_setopt_err_write_callback(); \ | ^ 3 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -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 pgbackupapi.o -L/usr/local/lib -lpq -lcurl -ljson-c -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lcurses -lpthread -lexecinfo -lm -o repmgr ld: warning: pgbackupapi.c:138(pgbackupapi.o:(get_status_of_operation)): warning: strcat() is almost always misused, please use strlcat() ld: warning: repmgr-action-standby.c:7810(repmgr-action-standby.o:(run_pg_backupapi)): warning: strcpy() is almost always misused, please use strlcpy() cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgrd.o repmgrd.c cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -fPIC -DPIC -fvisibility=hidden -std=gnu89 -I/usr/local/include/postgresql/internal -I/usr/local/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o repmgrd-physical.o repmgrd-physical.c repmgrd-physical.c:5203:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5202 | log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), | ~~~ | %llu 5203 | local_identification.system_identifier, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5204:8: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5202 | log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), | ~~~ | %llu 5203 | local_identification.system_identifier, 5204 | follow_target_identification.system_identifier); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5291:9: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5290 | log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), | ~~~ | %llu 5291 | local_identification.system_identifier + 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5292:9: warning: format specifies type 'unsigned long' but the argument has type 'uint64' (aka 'unsigned long long') [-Wformat] 5290 | log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), | ~~~ | %llu 5291 | local_identification.system_identifier + 1, 5292 | local_identification.system_identifier, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Werror=unguarded-availability-new -Wendif-labels -Wmissing-format-attribute -Wcast-function-type -Wformat-security -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -Wno-cast-function-type-strict -O2 -pipe -g -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/local/lib -lpq -lcurl -ljson-c -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -Wl,-Bdynamic -lpgcommon -lpgport -lxml2 -lssl -lcrypto -lz -lreadline -lcurses -lpthread -lexecinfo -lm -o repmgrd >>> Running package in databases/repmgr at 1764621445.58 ===> databases/repmgr ===> Faking installation for repmgr-5.4.1p1 Building against PostgreSQL 18 mkdir -p '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/lib/postgresql' mkdir -p '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/postgresql/extension' mkdir -p '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/postgresql/extension' mkdir -p '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/bin' /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 755 repmgr.so '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/lib/postgresql/repmgr.so' /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 644 .//repmgr.control '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/postgresql/extension/' /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 644 .//repmgr--unpackaged--4.0.sql .//repmgr--unpackaged--5.1.sql .//repmgr--unpackaged--5.2.sql .//repmgr--unpackaged--5.3.sql .//repmgr--4.0.sql .//repmgr--4.0--4.1.sql .//repmgr--4.1.sql .//repmgr--4.1--4.2.sql .//repmgr--4.2.sql .//repmgr--4.2--4.3.sql .//repmgr--4.3.sql .//repmgr--4.3--4.4.sql .//repmgr--4.4.sql .//repmgr--4.4--5.0.sql .//repmgr--5.0.sql .//repmgr--5.0--5.1.sql .//repmgr--5.1.sql .//repmgr--5.1--5.2.sql .//repmgr--5.2.sql .//repmgr--5.2--5.3.sql .//repmgr--5.3.sql .//repmgr--5.3--5.4.sql .//repmgr--5.4.sql '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/postgresql/extension/' /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 755 repmgr repmgrd '/exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/bin/' /exopi-obj/pobj/repmgr-5.4.1/bin/install -d -m 755 /exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/doc/repmgr /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 644 /exopi-obj/pobj/repmgr-5.4.1/repmgr-5.4.1/README.md /exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/doc/repmgr /exopi-obj/pobj/repmgr-5.4.1/bin/install -d -m 755 /exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/examples/repmgr /exopi-obj/pobj/repmgr-5.4.1/bin/install -c -m 644 /exopi-obj/pobj/repmgr-5.4.1/repmgr-5.4.1/repmgr.conf.sample /exopi-obj/pobj/repmgr-5.4.1/fake-amd64/usr/local/share/examples/repmgr/repmgr.conf ===> Building package for repmgr-5.4.1p1 Create /exopi-cvs/ports/packages/amd64/all/repmgr-5.4.1p1.tgz Creating package repmgr-5.4.1p1 reading plist| checking dependencies| checking dependencies|databases/postgresql,-main checking dependencies|devel/json-c checking dependencies|net/curl checking dependencies|net/rsync checksumming| checksumming| | 0% checksumming|* | 2% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 16% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************* | 21% checksumming|************** | 23% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 35% checksumming|********************** | 37% checksumming|************************ | 39% checksumming|************************* | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************ | 60% checksumming|************************************* | 61% checksumming|*************************************** | 63% checksumming|**************************************** | 65% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|*********************************************** | 77% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************************ | 56% archiving|*********************************************************** | 92% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************* | 96% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/repmgr-5.4.1p1.tgz >>> Running clean in databases/repmgr at 1764621451.53 ===> databases/repmgr ===> Cleaning for repmgr-5.4.1p1 >>> Ended at 1764621451.81 max_stuck=2.08/waiting-for-lock #100=3.86/depends=7.22/show-prepare-results=1.45/build=13.78/package=5.93/clean=0.32