>>> repmgr: Building community/repmgr 5.4.0-r0 (using abuild 3.11.0_rc13-r0) started Tue, 25 Apr 2023 12:27:52 +0000 >>> repmgr: Checking sanity of /home/buildozer/aports/community/repmgr/APKBUILD... >>> repmgr: Analyzing dependencies... >>> repmgr: Installing for build: build-base cmd:ssh doas postgresql-client curl-dev flex json-c-dev libxml2-dev postgresql-dev readline-dev (1/47) Installing doas (6.8.2-r4) Executing doas-6.8.2-r4.post-install (2/47) Installing postgresql-common (1.2-r0) Executing postgresql-common-1.2-r0.pre-install (3/47) Installing libpq (15.2-r3) (4/47) Installing readline (8.2.1-r1) (5/47) Installing postgresql15-client (15.2-r3) (6/47) Installing libidn2-dev (2.3.4-r1) (7/47) Installing openssl-dev (3.1.0-r4) (8/47) Installing nghttp2-dev (1.52.0-r1) (9/47) Installing zlib-dev (1.2.13-r1) (10/47) Installing brotli (1.0.9-r14) (11/47) Installing brotli-dev (1.0.9-r14) (12/47) Installing curl-dev (8.0.1-r2) (13/47) Installing m4 (1.4.19-r3) (14/47) Installing flex (2.6.4-r5) (15/47) Installing json-c (0.16-r3) (16/47) Installing json-c-dev (0.16-r3) (17/47) Installing xz-libs (5.4.2-r1) (18/47) Installing xz (5.4.2-r1) (19/47) Installing xz-dev (5.4.2-r1) (20/47) Installing libxml2 (2.10.4-r2) (21/47) Installing libxml2-utils (2.10.4-r2) (22/47) Installing libxml2-dev (2.10.4-r2) (23/47) Installing libpq-dev (15.2-r3) (24/47) Installing libecpg (15.2-r3) (25/47) Installing libecpg-dev (15.2-r3) (26/47) Installing libffi (3.4.4-r2) (27/47) Installing llvm14-libs (14.0.6-r13) (28/47) Installing clang14-libs (14.0.6-r6) (29/47) Installing clang14-libclang (14.0.6-r6) (30/47) Installing clang14 (14.0.6-r6) (31/47) Installing icu-data-en (73.1-r1) Executing icu-data-en-73.1-r1.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (32/47) Installing icu-libs (73.1-r1) (33/47) Installing icu (73.1-r1) (34/47) Installing icu-dev (73.1-r1) (35/47) Installing llvm14 (14.0.6-r13) (36/47) Installing lz4-dev (1.9.4-r3) (37/47) Installing zstd (1.5.5-r3) (38/47) Installing zstd-dev (1.5.5-r3) (39/47) Installing postgresql15-dev (15.2-r3) (40/47) Installing libhistory (8.2.1-r1) (41/47) Installing libformw (6.4_p20230401-r6) (42/47) Installing libmenuw (6.4_p20230401-r6) (43/47) Installing libpanelw (6.4_p20230401-r6) (44/47) Installing libncurses++ (6.4_p20230401-r6) (45/47) Installing ncurses-dev (6.4_p20230401-r6) (46/47) Installing readline-dev (8.2.1-r1) (47/47) Installing .makedepends-repmgr (20230425.122753) Executing busybox-1.36.0-r8.trigger Executing postgresql-common-1.2-r0.trigger * Setting postgresql15 as the default version OK: 600 MiB in 145 packages >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/repmgr-5.4.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 449k 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 449k 100 449k 0 0 423k 0 0:00:01 0:00:01 --:--:-- 423k >>> repmgr: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/repmgr-5.4.0.tar.gz >>> repmgr: Checking sha512sums... repmgr-5.4.0.tar.gz: OK repmgr.conf.patch: OK repmgrd.initd: OK repmgr.doasd: OK >>> repmgr: Unpacking /var/cache/distfiles/v3.18/repmgr-5.4.0.tar.gz... >>> repmgr: repmgr.conf.patch patching file repmgr.conf.sample checking for a sed that does not truncate output... /bin/sed checking for pg_config... /usr/bin/pg_config configure: building against PostgreSQL 15.2 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 Building against PostgreSQL 15 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr.o repmgr.c sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2023-04-25"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 150002/' 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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-physical.o repmgrd-physical.c clang-14 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o repmgr.bc repmgr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-node.o repmgr-action-node.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o log.o log.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o strutil.o strutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -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 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o sysutils.o sysutils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o pgbackupapi.o pgbackupapi.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/15/server -I/usr/include/postgresql/internal -O2 -Wformat -Werror=format-security -D_GNU_SOURCE -I/usr/include/libxml2 -c -o configfile-scan.o configfile-scan.c In file included from /usr/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': /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-action-witness.c:175:36: note: in expansion of macro '_' 175 | log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"), | ^ repmgr-action-node.c: In function 'do_node_status': repmgr-action-node.c:154:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 154 | "%lu", local_system_identifier); | ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | | uint64 {aka long long unsigned int} | long unsigned int | %llu In file included from /usr/include/postgresql/internal/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:60: repmgr-client.c: In function 'main': /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-client.c:379:89: note: in expansion of macro '_' 379 | _("value for \"--node-name\" must contain fewer than %lu characters"), | ^ repmgr-client.c: In function 'check_node_can_attach': /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-client.c:4252:28: note: in expansion of macro '_' 4252 | log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), | ^ In file included from /usr/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': /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-client.c:4252:28: note: in expansion of macro '_' 4252 | log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgrd-physical.c:5191:28: note: in expansion of macro '_' 5191 | log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-client.c:4262:28: note: in expansion of macro '_' 4262 | log_detail(_("system identifier is %lu"), local_system_identifier); | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgrd-physical.c:5191:28: note: in expansion of macro '_' 5191 | log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgrd-physical.c:5279:36: note: in expansion of macro '_' 5279 | log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgrd-physical.c:5279:36: note: in expansion of macro '_' 5279 | log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), | ^ In file included from /usr/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': /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-action-standby.c:5933:76: note: in expansion of macro '_' 5933 | log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), | ^ /usr/include/postgresql/internal/c.h:1208:20: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] 1208 | #define gettext(x) (x) | ^~~ /usr/include/postgresql/internal/c.h:1214:14: note: in expansion of macro 'gettext' 1214 | #define _(x) gettext(x) | ^~~~~~~ repmgr-action-standby.c:5933:76: note: in expansion of macro '_' 5933 | log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), | ^ gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -L/usr/lib/llvm14/lib -Wl,--as-needed -L/usr/lib -lpq gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC 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/lib/postgresql15 -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -L/usr/lib/llvm14/lib -Wl,--as-needed -lpgcommon -lpgport -lzstd -llz4 -lxml2 -lssl -lcrypto -lz -lreadline -lm -o repmgrd gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -Wformat -Werror=format-security -Werror=int-conversion -fPIC 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/lib/postgresql15 -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -L/usr/lib/llvm14/lib -Wl,--as-needed -lpgcommon -lpgport -lzstd -llz4 -lxml2 -lssl -lcrypto -lz -lreadline -lm -o repmgr repmgr 5.4dev repmgrd 5.4dev >>> repmgr: Entering fakeroot... Building against PostgreSQL 15 /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15' /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql15/extension' /usr/bin/install -c -m 755 repmgr.so '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15/repmgr.so' /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql15/extension' /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/bin' /usr/bin/install -c -m 644 .//repmgr.control '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql15/extension/' /usr/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 '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql15/extension/' /usr/bin/install -c -m 755 repmgr repmgrd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/bin/' /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15/bitcode/repmgr' /bin/sh /usr/lib/postgresql15/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15/bitcode'/repmgr/ /usr/bin/install -c -m 644 repmgr.bc '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15/bitcode'/repmgr/./ cd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql15/bitcode' && /usr/lib/llvm14/bin/llvm-lto -thinlto -thinlto-action=thinlink -o repmgr.index.bc repmgr/repmgr.bc >>> repmgr-doc*: Running split function doc... >>> repmgr-doc*: Preparing subpackage repmgr-doc... >>> repmgr-doc*: Running postcheck for repmgr-doc >>> repmgr-daemon*: Running split function daemon... >>> repmgr-daemon*: Preparing subpackage repmgr-daemon... >>> repmgr-daemon*: Stripping binaries >>> repmgr-daemon*: Running postcheck for repmgr-daemon >>> WARNING: repmgr-daemon*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc >>> repmgr*: Running postcheck for repmgr >>> repmgr*: Preparing package repmgr... >>> repmgr*: Stripping binaries >>> repmgr-daemon*: Scanning shared objects >>> repmgr-doc*: Scanning shared objects >>> repmgr*: Scanning shared objects >>> repmgr-daemon*: Tracing dependencies... repmgr=5.4.0-r0 so:libc.musl-armhf.so.1 so:libpq.so.5 >>> repmgr-daemon*: Package size: 288.0 KB >>> repmgr-daemon*: Compressing data... >>> repmgr-daemon*: Create checksum... >>> repmgr-daemon*: Create repmgr-daemon-5.4.0-r0.apk >>> repmgr-doc*: Tracing dependencies... >>> repmgr-doc*: Package size: 60.0 KB >>> repmgr-doc*: Compressing data... >>> repmgr-doc*: Create checksum... >>> repmgr-doc*: Create repmgr-doc-5.4.0-r0.apk >>> repmgr*: Tracing dependencies... cmd:ssh doas postgresql-client postgresql15 so:libc.musl-armhf.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr*: Package size: 760.0 KB >>> repmgr*: Compressing data... >>> repmgr*: Create checksum... >>> repmgr*: Create repmgr-5.4.0-r0.apk >>> repmgr: Build complete at Tue, 25 Apr 2023 12:28:00 +0000 elapsed time 0h 0m 8s >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Uninstalling dependencies... (1/47) Purging .makedepends-repmgr (20230425.122753) (2/47) Purging doas (6.8.2-r4) (3/47) Purging curl-dev (8.0.1-r2) (4/47) Purging libidn2-dev (2.3.4-r1) (5/47) Purging nghttp2-dev (1.52.0-r1) (6/47) Purging brotli-dev (1.0.9-r14) (7/47) Purging brotli (1.0.9-r14) (8/47) Purging flex (2.6.4-r5) (9/47) Purging m4 (1.4.19-r3) (10/47) Purging json-c-dev (0.16-r3) (11/47) Purging json-c (0.16-r3) (12/47) Purging libxml2-dev (2.10.4-r2) (13/47) Purging zlib-dev (1.2.13-r1) (14/47) Purging xz-dev (5.4.2-r1) (15/47) Purging xz (5.4.2-r1) (16/47) Purging libxml2-utils (2.10.4-r2) (17/47) Purging readline-dev (8.2.1-r1) (18/47) Purging libhistory (8.2.1-r1) (19/47) Purging ncurses-dev (6.4_p20230401-r6) (20/47) Purging libncurses++ (6.4_p20230401-r6) (21/47) Purging libpanelw (6.4_p20230401-r6) (22/47) Purging postgresql15-client (15.2-r3) (23/47) Purging postgresql-common (1.2-r0) Executing postgresql-common-1.2-r0.pre-deinstall (24/47) Purging postgresql15-dev (15.2-r3) (25/47) Purging libecpg-dev (15.2-r3) (26/47) Purging libecpg (15.2-r3) (27/47) Purging clang14 (14.0.6-r6) (28/47) Purging clang14-libclang (14.0.6-r6) (29/47) Purging icu-dev (73.1-r1) (30/47) Purging llvm14 (14.0.6-r13) (31/47) Purging lz4-dev (1.9.4-r3) (32/47) Purging zstd-dev (1.5.5-r3) (33/47) Purging zstd (1.5.5-r3) (34/47) Purging readline (8.2.1-r1) (35/47) Purging clang14-libs (14.0.6-r6) (36/47) Purging icu (73.1-r1) (37/47) Purging icu-libs (73.1-r1) (38/47) Purging icu-data-en (73.1-r1) (39/47) Purging llvm14-libs (14.0.6-r13) (40/47) Purging libffi (3.4.4-r2) (41/47) Purging libformw (6.4_p20230401-r6) (42/47) Purging libmenuw (6.4_p20230401-r6) (43/47) Purging libpq-dev (15.2-r3) (44/47) Purging libpq (15.2-r3) (45/47) Purging libxml2 (2.10.4-r2) (46/47) Purging openssl-dev (3.1.0-r4) (47/47) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r8.trigger OK: 326 MiB in 98 packages >>> repmgr: Updating the community/armhf repository index... >>> repmgr: Signing the index...