>>> repmgr: Building community/repmgr 5.4.1-r2 (using abuild 3.14.1-r1) started Fri, 01 Nov 2024 19:34:59 +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/50) Installing doas (6.8.2-r8) (2/50) Installing postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-install (3/50) Installing libpq (17.0-r0) (4/50) Installing postgresql17-client (17.0-r0) (5/50) Installing brotli (1.1.0-r2) (6/50) Installing brotli-dev (1.1.0-r2) (7/50) Installing c-ares-dev (1.34.2-r0) (8/50) Installing libidn2-dev (2.3.7-r0) (9/50) Installing libpsl-utils (0.21.5-r3) (10/50) Installing libpsl-dev (0.21.5-r3) (11/50) Installing nghttp2-dev (1.64.0-r0) (12/50) Installing openssl-dev (3.3.2-r3) (13/50) Installing zlib-dev (1.3.1-r2) (14/50) Installing zstd (1.5.6-r1) (15/50) Installing zstd-dev (1.5.6-r1) (16/50) Installing curl-dev (8.10.1-r0) (17/50) Installing m4 (1.4.19-r3) (18/50) Installing flex (2.6.4-r6) (19/50) Installing json-c (0.18-r0) (20/50) Installing json-c-dev (0.18-r0) (21/50) Installing xz-libs (5.6.3-r0) (22/50) Installing xz (5.6.3-r0) (23/50) Installing xz-dev (5.6.3-r0) (24/50) Installing libxml2 (2.13.4-r3) (25/50) Installing libxml2-utils (2.13.4-r3) (26/50) Installing libxml2-dev (2.13.4-r3) (27/50) Installing libpq-dev (17.0-r0) (28/50) Installing libecpg (17.0-r0) (29/50) Installing libecpg-dev (17.0-r0) (30/50) Installing clang18-headers (18.1.8-r2) (31/50) Installing libffi (3.4.6-r0) (32/50) Installing llvm18-libs (18.1.8-r1) (33/50) Installing clang18-libs (18.1.8-r2) (34/50) Installing llvm18-linker-tools (18.1.8-r1) (35/50) Installing clang18 (18.1.8-r2) (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 llvm18 (18.1.8-r1) (41/50) Installing lz4-dev (1.10.0-r0) (42/50) Installing postgresql17-dev (17.0-r0) (43/50) Installing libhistory (8.2.13-r0) (44/50) Installing libformw (6.5_p20241006-r2) (45/50) Installing libmenuw (6.5_p20241006-r2) (46/50) Installing libpanelw (6.5_p20241006-r2) (47/50) Installing libncurses++ (6.5_p20241006-r2) (48/50) Installing ncurses-dev (6.5_p20241006-r2) (49/50) Installing readline-dev (8.2.13-r0) (50/50) Installing .makedepends-repmgr (20241101.193500) Executing busybox-1.37.0-r5.trigger Executing postgresql-common-1.2-r1.trigger * Setting postgresql17 as the default version OK: 812 MiB in 155 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 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 302k 0 --:--:-- 0:00:01 --:--:-- 781k >>> 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 -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 -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 -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 -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 -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 -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 -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 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-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 -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 -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 -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 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-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; | ^~~~~~~ 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/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 -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 -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 -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 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/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 -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 -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 -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 -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 -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 -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 -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 -fPIC -fvisibility=hidden -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -L/usr/lib/llvm18/lib -Wl,--as-needed -fvisibility=hidden -L/usr/lib -lpq 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; | ^~~~~~~ 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 -lpq -lcurl -ljson-c -L/usr/lib -Wl,--as-needed,-O1,--sort-common -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 -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 -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-s390x.so.1 so:libpq.so.5 >>> repmgr-daemon*: Package size: 311.2 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-s390x.so.1 so:libcurl.so.4 so:libjson-c.so.5 so:libpq.so.5 >>> repmgr*: Package size: 685.7 KB >>> repmgr*: Compressing data... >>> repmgr*: Create checksum... >>> repmgr*: Create repmgr-5.4.1-r2.apk >>> repmgr: Build complete at Fri, 01 Nov 2024 19:35:07 +0000 elapsed time 0h 0m 8s >>> repmgr: Cleaning up srcdir >>> repmgr: Cleaning up pkgdir >>> repmgr: Uninstalling dependencies... (1/50) Purging .makedepends-repmgr (20241101.193500) (2/50) Purging doas (6.8.2-r8) (3/50) Purging curl-dev (8.10.1-r0) (4/50) Purging flex (2.6.4-r6) (5/50) Purging m4 (1.4.19-r3) (6/50) Purging json-c-dev (0.18-r0) (7/50) Purging json-c (0.18-r0) (8/50) Purging libxml2-dev (2.13.4-r3) (9/50) Purging libxml2-utils (2.13.4-r3) (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.34.2-r0) (15/50) Purging libpsl-dev (0.21.5-r3) (16/50) Purging libpsl-utils (0.21.5-r3) (17/50) Purging ncurses-dev (6.5_p20241006-r2) (18/50) Purging libncurses++ (6.5_p20241006-r2) (19/50) Purging libpanelw (6.5_p20241006-r2) (20/50) Purging nghttp2-dev (1.64.0-r0) (21/50) Purging postgresql17-client (17.0-r0) (22/50) Purging postgresql-common (1.2-r1) Executing postgresql-common-1.2-r1.pre-deinstall (23/50) Purging postgresql17-dev (17.0-r0) (24/50) Purging libecpg-dev (17.0-r0) (25/50) Purging libecpg (17.0-r0) (26/50) Purging clang18 (18.1.8-r2) (27/50) Purging clang18-headers (18.1.8-r2) (28/50) Purging icu-dev (74.2-r0) (29/50) Purging llvm18 (18.1.8-r1) (30/50) Purging llvm18-linker-tools (18.1.8-r1) (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.3-r0) (35/50) Purging xz (5.6.3-r0) (36/50) Purging zlib-dev (1.3.1-r2) (37/50) Purging clang18-libs (18.1.8-r2) (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 llvm18-libs (18.1.8-r1) (42/50) Purging libffi (3.4.6-r0) (43/50) Purging libformw (6.5_p20241006-r2) (44/50) Purging libidn2-dev (2.3.7-r0) (45/50) Purging libmenuw (6.5_p20241006-r2) (46/50) Purging libpq-dev (17.0-r0) (47/50) Purging libpq (17.0-r0) (48/50) Purging libxml2 (2.13.4-r3) (49/50) Purging openssl-dev (3.3.2-r3) (50/50) Purging xz-libs (5.6.3-r0) Executing busybox-1.37.0-r5.trigger OK: 360 MiB in 105 packages >>> repmgr: Updating the community/s390x repository index... >>> repmgr: Signing the index...