>>> repmgr: Building community/repmgr 5.4.1-r1 (using abuild 3.13.0-r5) started Sun, 25 Aug 2024 09:04:33 +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/50) Installing doas (6.8.2-r7) (2/50) Installing postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-install (3/50) Installing libpq (16.3-r1) (4/50) Installing postgresql16-client (16.3-r1) (5/50) Installing brotli (1.1.0-r2) (6/50) Installing brotli-dev (1.1.0-r2) (7/50) Installing c-ares-dev (1.33.1-r0) (8/50) Installing libidn2-dev (2.3.7-r0) (9/50) Installing libpsl-utils (0.21.5-r2) (10/50) Installing libpsl-dev (0.21.5-r2) (11/50) Installing nghttp2-dev (1.62.1-r0) (12/50) Installing openssl-dev (3.3.1-r3) (13/50) Installing zlib-dev (1.3.1-r1) (14/50) Installing zstd (1.5.6-r1) (15/50) Installing zstd-dev (1.5.6-r1) (16/50) Installing curl-dev (8.9.1-r1) (17/50) Installing m4 (1.4.19-r3) (18/50) Installing flex (2.6.4-r6) (19/50) Installing json-c (0.17-r0) (20/50) Installing json-c-dev (0.17-r0) (21/50) Installing xz-libs (5.6.2-r0) (22/50) Installing xz (5.6.2-r0) (23/50) Installing xz-dev (5.6.2-r0) (24/50) Installing libxml2 (2.12.8-r0) (25/50) Installing libxml2-utils (2.12.8-r0) (26/50) Installing libxml2-dev (2.12.8-r0) (27/50) Installing libpq-dev (16.3-r1) (28/50) Installing libecpg (16.3-r1) (29/50) Installing libecpg-dev (16.3-r1) (30/50) Installing clang16-headers (16.0.6-r6) (31/50) Installing libffi (3.4.6-r0) (32/50) Installing llvm16-libs (16.0.6-r8) (33/50) Installing clang16-libs (16.0.6-r6) (34/50) Installing llvm16-linker-tools (16.0.6-r8) (35/50) Installing clang16 (16.0.6-r6) (36/50) Installing icu-data-en (74.2-r0) Executing icu-data-en-74.2-r0.post-install * * If you need ICU with non-English locales and legacy charset support, install * package icu-data-full. * (37/50) Installing icu-libs (74.2-r0) (38/50) Installing icu (74.2-r0) (39/50) Installing icu-dev (74.2-r0) (40/50) Installing llvm16 (16.0.6-r8) (41/50) Installing lz4-dev (1.10.0-r0) (42/50) Installing postgresql16-dev (16.3-r1) (43/50) Installing libhistory (8.2.13-r0) (44/50) Installing libformw (6.5_p20240601-r0) (45/50) Installing libmenuw (6.5_p20240601-r0) (46/50) Installing libpanelw (6.5_p20240601-r0) (47/50) Installing libncurses++ (6.5_p20240601-r0) (48/50) Installing ncurses-dev (6.5_p20240601-r0) (49/50) Installing readline-dev (8.2.13-r0) (50/50) Installing .makedepends-repmgr (20240825.090509) Executing busybox-1.36.1-r31.trigger Executing postgresql-common-1.2-r1.trigger * Setting postgresql16 as the default version OK: 658 MiB in 151 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 3491k 0 --:--:-- --:--:-- --:--:-- 3522k >>> 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/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.3 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 -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 "2024-08-25"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 160003/' 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 -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 -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-16 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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-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; | ^~~~~~~~~~~~~~~~~ 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; | ^~~~ 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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1773:49: note: shadowed declaration is here 1773 | int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dbutils.c: In function 'get_ready_archive_files': repmgrd-physical.c:1773:49: note: shadowed declaration is here 1773 | int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 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-standby.c: In function 'do_standby_switchover': 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; | ^~~~~~~~~~~~~~~~ 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; | ^ 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 -fPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -L/usr/lib/llvm16/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 -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 -L/usr/lib/llvm16/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 -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 -L/usr/lib/llvm16/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/llvm16/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-loongarch64.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr-daemon*: Package size: 332.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-loongarch64.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr*: Package size: 808.0 KB >>> repmgr*: Compressing data... >>> repmgr*: Create checksum... >>> repmgr*: Create repmgr-5.4.1-r1.apk >>> repmgr: Build complete at Sun, 25 Aug 2024 09:05:18 +0000 elapsed time 0h 0m 45s >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Uninstalling dependencies... (1/50) Purging .makedepends-repmgr (20240825.090509) (2/50) Purging doas (6.8.2-r7) (3/50) Purging curl-dev (8.9.1-r1) (4/50) Purging flex (2.6.4-r6) (5/50) Purging m4 (1.4.19-r3) (6/50) Purging json-c-dev (0.17-r0) (7/50) Purging json-c (0.17-r0) (8/50) Purging libxml2-dev (2.12.8-r0) (9/50) Purging libxml2-utils (2.12.8-r0) (10/50) Purging readline-dev (8.2.13-r0) (11/50) Purging libhistory (8.2.13-r0) (12/50) Purging brotli-dev (1.1.0-r2) (13/50) Purging brotli (1.1.0-r2) (14/50) Purging c-ares-dev (1.33.1-r0) (15/50) Purging libpsl-dev (0.21.5-r2) (16/50) Purging libpsl-utils (0.21.5-r2) (17/50) Purging ncurses-dev (6.5_p20240601-r0) (18/50) Purging libncurses++ (6.5_p20240601-r0) (19/50) Purging libpanelw (6.5_p20240601-r0) (20/50) Purging nghttp2-dev (1.62.1-r0) (21/50) Purging postgresql16-client (16.3-r1) (22/50) Purging postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-deinstall (23/50) Purging postgresql16-dev (16.3-r1) (24/50) Purging libecpg-dev (16.3-r1) (25/50) Purging libecpg (16.3-r1) (26/50) Purging clang16 (16.0.6-r6) (27/50) Purging clang16-headers (16.0.6-r6) (28/50) Purging icu-dev (74.2-r0) (29/50) Purging llvm16 (16.0.6-r8) (30/50) Purging llvm16-linker-tools (16.0.6-r8) (31/50) Purging lz4-dev (1.10.0-r0) (32/50) Purging zstd-dev (1.5.6-r1) (33/50) Purging zstd (1.5.6-r1) (34/50) Purging xz-dev (5.6.2-r0) (35/50) Purging xz (5.6.2-r0) (36/50) Purging zlib-dev (1.3.1-r1) (37/50) Purging clang16-libs (16.0.6-r6) (38/50) Purging icu (74.2-r0) (39/50) Purging icu-libs (74.2-r0) (40/50) Purging icu-data-en (74.2-r0) (41/50) Purging llvm16-libs (16.0.6-r8) (42/50) Purging libffi (3.4.6-r0) (43/50) Purging libformw (6.5_p20240601-r0) (44/50) Purging libidn2-dev (2.3.7-r0) (45/50) Purging libmenuw (6.5_p20240601-r0) (46/50) Purging libpq-dev (16.3-r1) (47/50) Purging libpq (16.3-r1) (48/50) Purging libxml2 (2.12.8-r0) (49/50) Purging openssl-dev (3.3.1-r3) (50/50) Purging xz-libs (5.6.2-r0) Executing busybox-1.36.1-r31.trigger OK: 250 MiB in 101 packages >>> repmgr: Updating the community/loongarch64 repository index... >>> repmgr: Signing the index...