>>> repmgr: Building community/repmgr 5.4.1-r1 (using abuild 3.11.21-r0) started Tue, 03 Oct 2023 23:17:12 +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/48) Installing doas (6.8.2-r6) (2/48) Installing postgresql-common (1.2-r0) Executing postgresql-common-1.2-r0.pre-install (3/48) Installing libpq (16.0-r1) (4/48) Installing readline (8.2.1-r2) (5/48) Installing postgresql16-client (16.0-r1) (6/48) Installing brotli (1.0.9-r15) (7/48) Installing brotli-dev (1.0.9-r15) (8/48) Installing c-ares-dev (1.19.1-r1) (9/48) Installing libidn2-dev (2.3.4-r4) (10/48) Installing nghttp2-dev (1.56.0-r0) (11/48) Installing openssl-dev (3.1.3-r0) (12/48) Installing zlib-dev (1.3-r0) (13/48) Installing curl-dev (8.3.0-r1) (14/48) Installing m4 (1.4.19-r3) (15/48) Installing flex (2.6.4-r6) (16/48) Installing json-c (0.17-r0) (17/48) Installing json-c-dev (0.17-r0) (18/48) Installing xz (5.4.4-r0) (19/48) Installing xz-dev (5.4.4-r0) (20/48) Installing libxml2 (2.11.5-r0) (21/48) Installing libxml2-utils (2.11.5-r0) (22/48) Installing libxml2-dev (2.11.5-r0) (23/48) Installing libpq-dev (16.0-r1) (24/48) Installing libecpg (16.0-r1) (25/48) Installing libecpg-dev (16.0-r1) (26/48) Installing clang15-headers (15.0.7-r18) (27/48) Installing libffi (3.4.4-r3) (28/48) Installing llvm15-libs (15.0.7-r12) (29/48) Installing clang15-libs (15.0.7-r18) (30/48) Installing clang15-libclang (15.0.7-r18) (31/48) Installing clang15 (15.0.7-r18) (32/48) Installing icu-data-en (73.2-r2) Executing icu-data-en-73.2-r2.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (33/48) Installing icu-libs (73.2-r2) (34/48) Installing icu (73.2-r2) (35/48) Installing icu-dev (73.2-r2) (36/48) Installing llvm15 (15.0.7-r12) (37/48) Installing lz4-dev (1.9.4-r5) (38/48) Installing zstd (1.5.5-r7) (39/48) Installing zstd-dev (1.5.5-r7) (40/48) Installing postgresql16-dev (16.0-r1) (41/48) Installing libhistory (8.2.1-r2) (42/48) Installing libformw (6.4_p20230918-r0) (43/48) Installing libmenuw (6.4_p20230918-r0) (44/48) Installing libpanelw (6.4_p20230918-r0) (45/48) Installing libncurses++ (6.4_p20230918-r0) (46/48) Installing ncurses-dev (6.4_p20230918-r0) (47/48) Installing readline-dev (8.2.1-r2) (48/48) Installing .makedepends-repmgr (20231003.231714) Executing busybox-1.36.1-r9.trigger Executing postgresql-common-1.2-r0.trigger * Setting postgresql16 as the default version OK: 729 MiB in 158 packages >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Cleaning up tmpdir >>> repmgr: Fetching https://distfiles.alpinelinux.org/distfiles/edge/repmgr-5.4.1.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 100 450k 100 450k 0 0 3368k 0 --:--:-- --:--:-- --:--:-- 3389k >>> repmgr: Fetching https://distfiles.alpinelinux.org/distfiles/edge/repmgr-5.4.1.tar.gz >>> repmgr: Checking sha512sums... repmgr-5.4.1.tar.gz: OK repmgr.conf.patch: OK repmgrd.initd: OK repmgr.doasd: OK >>> repmgr: Unpacking /var/cache/distfiles/edge/repmgr-5.4.1.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 16.0 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 16 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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr.o repmgr.c sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2023-10-03"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 160000/' 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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-physical.o repmgrd-physical.c clang-15 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -Xclang -no-opaque-pointers -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/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o configfile-scan.o configfile-scan.c repmgr-action-node.c: In function 'do_node_status': repmgr-action-node.c:397:43: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] 397 | KeyValueListCell *cell = NULL; | ^~~~ repmgr-action-node.c:82:27: note: shadowed declaration is here 82 | KeyValueListCell *cell = NULL; | ^~~~ repmgr-action-node.c:527:43: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] 527 | KeyValueListCell *cell = NULL; | ^~~~ repmgr-action-node.c:82:27: note: shadowed declaration is here 82 | KeyValueListCell *cell = NULL; | ^~~~ repmgr-action-standby.c: In function 'do_standby_clone': repmgr-action-standby.c:538:49: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] 538 | int r; | ^ repmgr-action-standby.c:171:33: note: shadowed declaration is here 171 | int r = 0; | ^ repmgr-action-standby.c:765:21: warning: declaration of 'r' shadows a previous local [-Wshadow=compatible-local] 765 | int r; | ^ repmgr-action-standby.c:171:33: note: shadowed declaration is here 171 | int r = 0; | ^ repmgr-action-node.c: In function 'do_node_rejoin': repmgr-action-node.c:2961:61: warning: declaration of 'statbuf' shadows a previous local [-Wshadow=compatible-local] 2961 | struct stat statbuf; | ^~~~~~~ repmgr-action-node.c:2545:21: note: shadowed declaration is here 2545 | struct stat statbuf; | ^~~~~~~ repmgr-action-primary.c: In function 'do_primary_unregister': repmgr-action-primary.c:439:37: 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:21: note: shadowed declaration is here 252 | t_node_info primary_node_info = T_NODE_INFO_INITIALIZER; | ^~~~~~~~~~~~~~~~~ repmgrd-physical.c: In function 'monitor_streaming_standby': repmgrd-physical.c:1774:41: warning: declaration of 'upstream_check_result' shadows a previous local [-Wshadow=compatible-local] 1774 | bool upstream_check_result; | ^~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1550:22: note: shadowed declaration is here 1550 | bool upstream_check_result; | ^~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1897:73: warning: declaration of 'degraded_monitoring_elapsed' shadows a previous local [-Wshadow=compatible-local] 1897 | int degraded_monitoring_elapsed; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c: In function 'do_standby_switchover': repmgrd-physical.c:1773:49: note: shadowed declaration is here 1773 | int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c:3930:33: warning: declaration of 'replication_info' shadows a previous local [-Wshadow=compatible-local] 3930 | ReplInfo replication_info; | ^~~~~~~~~~~~~~~~ repmgr-action-standby.c:3679:25: note: shadowed declaration is here 3679 | ReplInfo replication_info; | ^~~~~~~~~~~~~~~~ repmgrd-physical.c:1956:73: 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:49: note: shadowed declaration is here 1773 | int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c:4787:21: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] 4787 | int i = 0; | ^ repmgr-action-standby.c:3670:33: note: shadowed declaration is here 3670 | i; | ^ dbutils.c: In function 'get_ready_archive_files': dbutils.c:1627:29: warning: declaration of 'statbuf' shadows a previous local [-Wshadow=compatible-local] 1627 | struct stat statbuf; | ^~~~~~~ dbutils.c:1585:21: note: shadowed declaration is here 1585 | struct stat statbuf; | ^~~~~~~ repmgr-action-standby.c:5102:41: warning: declaration of 'command_success' shadows a previous local [-Wshadow=compatible-local] 5102 | bool command_success; | ^~~~~~~~~~~~~~~ repmgr-action-standby.c:3671:25: note: shadowed declaration is here 3671 | bool command_success = false; | ^~~~~~~~~~~~~~~ repmgr-action-standby.c:5672:29: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] 5672 | int i = 0; | ^ repmgr-action-standby.c:3670:33: note: shadowed declaration is here 3670 | i; | ^ repmgr-action-standby.c: In function 'check_upstream_config': repmgr-action-standby.c:6508:41: warning: declaration of 'i' shadows a previous local [-Wshadow=compatible-local] 6508 | int i; | ^ repmgr-action-standby.c:6224:33: note: shadowed declaration is here 6224 | int i; | ^ repmgr-action-standby.c: In function 'check_sibling_nodes': repmgr-action-standby.c:8474:43: warning: declaration of 'cell' shadows a previous local [-Wshadow=compatible-local] 8474 | NodeInfoListCell *cell; | ^~~~ repmgr-action-standby.c:8461:27: note: shadowed declaration is here 8461 | NodeInfoListCell *cell; | ^~~~ 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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib/llvm15/lib -Wl,--as-needed -fvisibility=hidden -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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -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/lib/postgresql16 -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib/llvm15/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 -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -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/lib/postgresql16 -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib/llvm15/lib -Wl,--as-needed -lpgcommon -lpgport -lzstd -llz4 -lxml2 -lssl -lcrypto -lz -lreadline -lm -o repmgr repmgr 5.4.1 repmgrd 5.4.1 >>> repmgr: Entering fakeroot... Building against PostgreSQL 16 /bin/sh /usr/lib/postgresql16/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16' /bin/sh /usr/lib/postgresql16/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql16/extension' /usr/bin/install -c -m 755 repmgr.so '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16/repmgr.so' /bin/sh /usr/lib/postgresql16/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql16/extension' /bin/sh /usr/lib/postgresql16/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/postgresql16/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/postgresql16/extension/' /usr/bin/install -c -m 755 repmgr repmgrd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/bin/' /bin/sh /usr/lib/postgresql16/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16/bitcode/repmgr' /bin/sh /usr/lib/postgresql16/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16/bitcode'/repmgr/ /usr/bin/install -c -m 644 repmgr.bc '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16/bitcode'/repmgr/./ cd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql16/bitcode' && /usr/lib/llvm15/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.1-r1 so:libc.musl-x86_64.so.1 so:libpq.so.5 >>> repmgr-daemon*: Package size: 320.0 KB >>> repmgr-daemon*: Compressing data... >>> repmgr-daemon*: Create checksum... >>> repmgr-daemon*: Create repmgr-daemon-5.4.1-r1.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.1-r1.apk >>> repmgr*: Tracing dependencies... cmd:ssh doas postgresql-client postgresql16 so:libc.musl-x86_64.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr*: Package size: 796.0 KB >>> repmgr*: Compressing data... >>> repmgr*: Create checksum... >>> repmgr*: Create repmgr-5.4.1-r1.apk >>> repmgr: Build complete at Tue, 03 Oct 2023 23:17:22 +0000 elapsed time 0h 0m 10s >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Uninstalling dependencies... (1/48) Purging .makedepends-repmgr (20231003.231714) (2/48) Purging doas (6.8.2-r6) (3/48) Purging curl-dev (8.3.0-r1) (4/48) Purging brotli-dev (1.0.9-r15) (5/48) Purging brotli (1.0.9-r15) (6/48) Purging c-ares-dev (1.19.1-r1) (7/48) Purging libidn2-dev (2.3.4-r4) (8/48) Purging nghttp2-dev (1.56.0-r0) (9/48) Purging flex (2.6.4-r6) (10/48) Purging m4 (1.4.19-r3) (11/48) Purging json-c-dev (0.17-r0) (12/48) Purging json-c (0.17-r0) (13/48) Purging libxml2-dev (2.11.5-r0) (14/48) Purging zlib-dev (1.3-r0) (15/48) Purging xz-dev (5.4.4-r0) (16/48) Purging xz (5.4.4-r0) (17/48) Purging libxml2-utils (2.11.5-r0) (18/48) Purging readline-dev (8.2.1-r2) (19/48) Purging libhistory (8.2.1-r2) (20/48) Purging ncurses-dev (6.4_p20230918-r0) (21/48) Purging libncurses++ (6.4_p20230918-r0) (22/48) Purging libpanelw (6.4_p20230918-r0) (23/48) Purging postgresql16-client (16.0-r1) (24/48) Purging postgresql-common (1.2-r0) Executing postgresql-common-1.2-r0.pre-deinstall (25/48) Purging postgresql16-dev (16.0-r1) (26/48) Purging libecpg-dev (16.0-r1) (27/48) Purging libecpg (16.0-r1) (28/48) Purging clang15 (15.0.7-r18) (29/48) Purging icu-dev (73.2-r2) (30/48) Purging llvm15 (15.0.7-r12) (31/48) Purging lz4-dev (1.9.4-r5) (32/48) Purging zstd-dev (1.5.5-r7) (33/48) Purging zstd (1.5.5-r7) (34/48) Purging readline (8.2.1-r2) (35/48) Purging clang15-libclang (15.0.7-r18) (36/48) Purging clang15-headers (15.0.7-r18) (37/48) Purging clang15-libs (15.0.7-r18) (38/48) Purging icu (73.2-r2) (39/48) Purging icu-libs (73.2-r2) (40/48) Purging icu-data-en (73.2-r2) (41/48) Purging llvm15-libs (15.0.7-r12) (42/48) Purging libffi (3.4.4-r3) (43/48) Purging libformw (6.4_p20230918-r0) (44/48) Purging libmenuw (6.4_p20230918-r0) (45/48) Purging libpq-dev (16.0-r1) (46/48) Purging libpq (16.0-r1) (47/48) Purging libxml2 (2.11.5-r0) (48/48) Purging openssl-dev (3.1.3-r0) Executing busybox-1.36.1-r9.trigger OK: 379 MiB in 110 packages >>> repmgr: Updating the community/x86_64 repository index... >>> repmgr: Signing the index...