>>> repmgr: Building community/repmgr 5.4.1-r2 (using abuild 3.14.1-r1) started Fri, 01 Nov 2024 13:22:26 +0000 >>> repmgr: Validating /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/49) Installing doas (6.8.2-r8) (2/49) Installing postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-install (3/49) Installing libpq (17.0-r0) (4/49) Installing postgresql17-client (17.0-r0) (5/49) Installing brotli (1.1.0-r2) (6/49) Installing brotli-dev (1.1.0-r2) (7/49) Installing c-ares-dev (1.34.2-r0) (8/49) Installing libidn2-dev (2.3.7-r0) (9/49) Installing libpsl-utils (0.21.5-r3) (10/49) Installing libpsl-dev (0.21.5-r3) (11/49) Installing nghttp2-dev (1.64.0-r0) (12/49) Installing openssl-dev (3.3.2-r3) (13/49) Installing zlib-dev (1.3.1-r2) (14/49) Installing zstd (1.5.6-r1) (15/49) Installing zstd-dev (1.5.6-r1) (16/49) Installing curl-dev (8.10.1-r0) (17/49) Installing m4 (1.4.19-r3) (18/49) Installing flex (2.6.4-r6) (19/49) Installing json-c (0.18-r0) (20/49) Installing json-c-dev (0.18-r0) (21/49) Installing xz (5.6.3-r0) (22/49) Installing xz-dev (5.6.3-r0) (23/49) Installing libxml2 (2.13.4-r3) (24/49) Installing libxml2-utils (2.13.4-r3) (25/49) Installing libxml2-dev (2.13.4-r3) (26/49) Installing libpq-dev (17.0-r0) (27/49) Installing libecpg (17.0-r0) (28/49) Installing libecpg-dev (17.0-r0) (29/49) Installing clang18-headers (18.1.8-r2) (30/49) Installing libffi (3.4.6-r0) (31/49) Installing llvm18-libs (18.1.8-r1) (32/49) Installing clang18-libs (18.1.8-r2) (33/49) Installing llvm18-linker-tools (18.1.8-r1) (34/49) Installing clang18 (18.1.8-r2) (35/49) 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. * (36/49) Installing icu-libs (74.2-r0) (37/49) Installing icu (74.2-r0) (38/49) Installing icu-dev (74.2-r0) (39/49) Installing llvm18 (18.1.8-r1) (40/49) Installing lz4-dev (1.10.0-r0) (41/49) Installing postgresql17-dev (17.0-r0) (42/49) Installing libhistory (8.2.13-r0) (43/49) Installing libformw (6.5_p20241006-r2) (44/49) Installing libmenuw (6.5_p20241006-r2) (45/49) Installing libpanelw (6.5_p20241006-r2) (46/49) Installing libncurses++ (6.5_p20241006-r2) (47/49) Installing ncurses-dev (6.5_p20241006-r2) (48/49) Installing readline-dev (8.2.13-r0) (49/49) Installing .makedepends-repmgr (20241101.132227) Executing busybox-1.37.0-r5.trigger Executing postgresql-common-1.2-r1.trigger * Setting postgresql17 as the default version OK: 821 MiB in 160 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> repmgr: Fetching repmgr-5.4.1.tar.gz::https://github.com/2ndQuadrant/repmgr/archive/v5.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 450k 0 450k 0 0 729k 0 --:--:-- --:--:-- --:--:-- 2188k >>> repmgr: Fetching https://distfiles.alpinelinux.org/distfiles/edge/repmgr-5.4.1.tar.gz >>> repmgr: Checking sha512sums... repmgr-5.4.1.tar.gz: OK fix-pg17-compat.patch: OK repmgr.conf.patch: OK repmgrd.initd: OK repmgr.doasd: OK >>> repmgr: Unpacking /var/cache/distfiles/edge/repmgr-5.4.1.tar.gz... >>> repmgr: fix-pg17-compat.patch patching file repmgr-client.c >>> 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 17.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 17 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -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/17/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-11-01"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 170000/' 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/17/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/17/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-physical.o repmgrd-physical.c clang-18 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -std=gnu89 -I/usr/include/postgresql/internal -I/usr/include/postgresql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/postgresql/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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/17/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-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; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:1773:49: note: shadowed declaration is here 1773 | int degraded_monitoring_elapsed = calculate_elapsed(degraded_monitoring_start); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~~~~ 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: 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-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 -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/llvm18/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 -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib/llvm18/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 -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib/llvm18/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 17 /bin/sh /usr/lib/postgresql17/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17' /bin/sh /usr/lib/postgresql17/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql17/extension' /usr/bin/install -c -m 755 repmgr.so '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17/repmgr.so' /bin/sh /usr/lib/postgresql17/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/share/postgresql17/extension' /bin/sh /usr/lib/postgresql17/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/postgresql17/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/postgresql17/extension/' /usr/bin/install -c -m 755 repmgr repmgrd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/bin/' /bin/sh /usr/lib/postgresql17/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17/bitcode/repmgr' /bin/sh /usr/lib/postgresql17/pgxs/src/makefiles/../../config/install-sh -c -d '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17/bitcode'/repmgr/ /usr/bin/install -c -m 644 repmgr.bc '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17/bitcode'/repmgr/./ cd '/home/buildozer/aports/community/repmgr/pkg/repmgr/usr/lib/postgresql17/bitcode' && /usr/lib/llvm18/bin/llvm-lto -thinlto -thinlto-action=thinlink -o repmgr.index.bc repmgr/repmgr.bc >>> repmgr-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/repmgr/pkg/repmgr-doc/usr/share/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-r2 so:libc.musl-x86_64.so.1 so:libpq.so.5 >>> repmgr-daemon*: Package size: 299.6 KB >>> repmgr-daemon*: Compressing data... >>> repmgr-daemon*: Create checksum... >>> repmgr-daemon*: Create repmgr-daemon-5.4.1-r2.apk >>> repmgr-doc*: Tracing dependencies... >>> repmgr-doc*: Package size: 15.5 KB >>> repmgr-doc*: Compressing data... >>> repmgr-doc*: Create checksum... >>> repmgr-doc*: Create repmgr-doc-5.4.1-r2.apk >>> repmgr*: Tracing dependencies... cmd:ssh doas postgresql-client postgresql17 so:libc.musl-x86_64.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr*: Package size: 682.3 KB >>> repmgr*: Compressing data... >>> repmgr*: Create checksum... >>> repmgr*: Create repmgr-5.4.1-r2.apk >>> repmgr: Build complete at Fri, 01 Nov 2024 13:22:34 +0000 elapsed time 0h 0m 8s >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Uninstalling dependencies... (1/49) Purging .makedepends-repmgr (20241101.132227) (2/49) Purging doas (6.8.2-r8) (3/49) Purging curl-dev (8.10.1-r0) (4/49) Purging flex (2.6.4-r6) (5/49) Purging m4 (1.4.19-r3) (6/49) Purging json-c-dev (0.18-r0) (7/49) Purging json-c (0.18-r0) (8/49) Purging libxml2-dev (2.13.4-r3) (9/49) Purging libxml2-utils (2.13.4-r3) (10/49) Purging readline-dev (8.2.13-r0) (11/49) Purging libhistory (8.2.13-r0) (12/49) Purging brotli-dev (1.1.0-r2) (13/49) Purging brotli (1.1.0-r2) (14/49) Purging c-ares-dev (1.34.2-r0) (15/49) Purging libpsl-dev (0.21.5-r3) (16/49) Purging libpsl-utils (0.21.5-r3) (17/49) Purging ncurses-dev (6.5_p20241006-r2) (18/49) Purging libncurses++ (6.5_p20241006-r2) (19/49) Purging libpanelw (6.5_p20241006-r2) (20/49) Purging nghttp2-dev (1.64.0-r0) (21/49) Purging postgresql17-client (17.0-r0) (22/49) Purging postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-deinstall (23/49) Purging postgresql17-dev (17.0-r0) (24/49) Purging libecpg-dev (17.0-r0) (25/49) Purging libecpg (17.0-r0) (26/49) Purging clang18 (18.1.8-r2) (27/49) Purging clang18-headers (18.1.8-r2) (28/49) Purging icu-dev (74.2-r0) (29/49) Purging llvm18 (18.1.8-r1) (30/49) Purging llvm18-linker-tools (18.1.8-r1) (31/49) Purging lz4-dev (1.10.0-r0) (32/49) Purging zstd-dev (1.5.6-r1) (33/49) Purging zstd (1.5.6-r1) (34/49) Purging xz-dev (5.6.3-r0) (35/49) Purging xz (5.6.3-r0) (36/49) Purging zlib-dev (1.3.1-r2) (37/49) Purging clang18-libs (18.1.8-r2) (38/49) Purging icu (74.2-r0) (39/49) Purging icu-libs (74.2-r0) (40/49) Purging icu-data-en (74.2-r0) (41/49) Purging llvm18-libs (18.1.8-r1) (42/49) Purging libffi (3.4.6-r0) (43/49) Purging libformw (6.5_p20241006-r2) (44/49) Purging libidn2-dev (2.3.7-r0) (45/49) Purging libmenuw (6.5_p20241006-r2) (46/49) Purging libpq-dev (17.0-r0) (47/49) Purging libpq (17.0-r0) (48/49) Purging libxml2 (2.13.4-r3) (49/49) Purging openssl-dev (3.3.2-r3) Executing busybox-1.37.0-r5.trigger OK: 401 MiB in 111 packages >>> repmgr: Updating the community/x86_64 repository index... >>> repmgr: Signing the index...