==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: pg_auto_failover 2.2-2 (Fri Oct 31 14:23:44 2025)
==> Retrieving sources...
  -> Found pg_auto_failover-2.2.tar.gz
  -> Found postgresql-18.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    pg_auto_failover-2.2.tar.gz ... Passed
    postgresql-18.patch ... Passed
==> Making package: pg_auto_failover 2.2-2 (Fri Oct 31 14:23:51 2025)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (7) libedit-20250104_3.1-1  liburing-2.12-1  libxslt-1.1.43-2
             llvm-libs-21.1.4-1  numactl-2.0.19-1  postgresql-18.0-1
             postgresql-libs-18.0-1

Total Download Size:    20.02 MiB
Total Installed Size:  232.98 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 postgresql-18.0-1-aarch64 downloading...
 postgresql-libs-18.0-1-aarch64 downloading...
 liburing-2.12-1-aarch64 downloading...
 libxslt-1.1.43-2-aarch64 downloading...
 numactl-2.0.19-1-aarch64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing liburing...
installing libxslt...
Optional dependencies for libxslt
    python: Python bindings
installing libedit...
installing llvm-libs...
installing numactl...
installing postgresql-libs...
installing postgresql...
Optional dependencies for postgresql
    logrotate: rotates system logs automatically
    perl: for PL/Perl support [installed]
    postgresql-old-upgrade: upgrade from previous major version using pg_upgrade
    python: for PL/Python 3 support
    tcl: for PL/Tcl support
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'postgres' with GID 969.
Creating user 'postgres' (PostgreSQL user) with UID 969 and GID 969.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (3) compiler-rt-21.1.4-2  clang-21.1.4-2  llvm-21.1.4-1

Total Installed Size:  402.62 MiB

:: Proceed with installation? [Y/n] 
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing compiler-rt...
installing clang...
Optional dependencies for clang
    openmp: OpenMP support in clang with -fopenmp
    python: for scan-view and git-clang-format
    llvm: referenced by some clang headers [pending]
installing llvm...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[?25h==> Retrieving sources...
  -> Found pg_auto_failover-2.2.tar.gz
  -> Found postgresql-18.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting pg_auto_failover-2.2.tar.gz with bsdtar
==> Starting prepare()...
patching file .github/workflows/run-tests.yml
patching file Dockerfile
patching file Makefile
patching file README.md
patching file docs/azure-tutorial.rst
patching file docs/install.rst
patching file src/bin/pg_autoctl/azure.c
patching file src/bin/pg_autoctl/cli_common.c
patching file src/monitor/Makefile
patching file src/monitor/version_compat.h
==> Starting build()...
make: git: No such file or directory
/bin/sh: line 1: git: command not found
make -C src/monitor/ all
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
make -C src/bin/ all
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
make -C pg_autoctl pg_autoctl
make[2]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o conninfo.o conninfo.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o formation_metadata.o formation_metadata.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o group_state_machine.o group_state_machine.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o health_check_metadata.o health_check_metadata.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o health_check_worker.o health_check_worker.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/azure_config.Po -o azure_config.o azure_config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/azure.Po -o azure.o azure.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_common.Po -o cli_common.o cli_common.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o metadata.o metadata.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o node_active_protocol.o node_active_protocol.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o node_metadata.o node_metadata.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o notifications.o notifications.c
health_check_worker.c: In function 'ManageHealthCheck':
health_check_worker.c:861:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
health_check_worker.c:871:3: note: here
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o pg_auto_failover.o pg_auto_failover.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o replication_state.o replication_state.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2     -c -o version_compat.o version_compat.c
cat pgautofailover.sql > pgautofailover--2.2.sql
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o conninfo.bc conninfo.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_config.Po -o cli_config.o cli_config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_create_node.Po -o cli_create_node.o cli_create_node.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o formation_metadata.bc formation_metadata.c
pg_auto_failover.c:38:26: warning: no previous declaration for 'PreviousProcessUtility_hook' [-Wmissing-variable-declarations]
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o group_state_machine.bc group_state_machine.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_azure.Po -o cli_do_azure.o cli_do_azure.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o health_check_metadata.bc health_check_metadata.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_coordinator.Po -o cli_do_coordinator.o cli_do_coordinator.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_demoapp.Po -o cli_do_demoapp.o cli_do_demoapp.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o health_check_worker.bc health_check_worker.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_fsm.Po -o cli_do_fsm.o cli_do_fsm.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_misc.Po -o cli_do_misc.o cli_do_misc.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_monitor.Po -o cli_do_monitor.o cli_do_monitor.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_root.Po -o cli_do_root.o cli_do_root.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_service.Po -o cli_do_service.o cli_do_service.c
node_metadata.c:52:5: warning: no previous declaration for 'DrainTimeoutMs' [-Wmissing-variable-declarations]
node_metadata.c:53:5: warning: no previous declaration for 'UnhealthyTimeoutMs' [-Wmissing-variable-declarations]
node_metadata.c:54:5: warning: no previous declaration for 'StartupGracePeriodMs' [-Wmissing-variable-declarations]
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o metadata.bc metadata.c
cli_do_demoapp.c:91:14: warning: no previous declaration for 'do_demo_subcommands' [-Wmissing-variable-declarations]
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o node_active_protocol.bc node_active_protocol.c
cli_do_fsm.c:108:13: warning: no previous declaration for 'fsm_nodes' [-Wmissing-variable-declarations]
cli_do_fsm.c:124:13: warning: no previous declaration for 'do_fsm_commands' [-Wmissing-variable-declarations]
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o node_metadata.bc node_metadata.c
cli_do_root.c:132:13: warning: no previous declaration for 'do_standby_crash_recovery' [-Wmissing-variable-declarations]
cli_do_root.c:161:13: warning: no previous declaration for 'do_pgsetup_pg_ctl' [-Wmissing-variable-declarations]
cli_do_root.c:169:13: warning: no previous declaration for 'do_pgsetup_discover' [-Wmissing-variable-declarations]
cli_do_root.c:177:13: warning: no previous declaration for 'do_pgsetup_is_ready' [-Wmissing-variable-declarations]
cli_do_root.c:185:13: warning: no previous declaration for 'do_pgsetup_wait_until_ready' [-Wmissing-variable-declarations]
cli_do_root.c:193:13: warning: no previous declaration for 'do_pgsetup_startup_logs' [-Wmissing-variable-declarations]
cli_do_root.c:201:13: warning: no previous declaration for 'do_pgsetup_tune' [-Wmissing-variable-declarations]
cli_do_root.c:209:14: warning: no previous declaration for 'do_pgsetup' [-Wmissing-variable-declarations]
cli_do_root.c:224:13: warning: no previous declaration for 'do_tmux_compose_config' [-Wmissing-variable-declarations]
cli_do_root.c:240:13: warning: no previous declaration for 'do_tmux_compose_script' [-Wmissing-variable-declarations]
cli_do_root.c:256:13: warning: no previous declaration for 'do_tmux_compose_session' [-Wmissing-variable-declarations]
cli_do_root.c:272:14: warning: no previous declaration for 'do_tmux_compose' [-Wmissing-variable-declarations]
cli_do_root.c:279:13: warning: no previous declaration for 'do_tmux_compose_commands' [-Wmissing-variable-declarations]
cli_do_root.c:284:13: warning: no previous declaration for 'do_tmux_script' [-Wmissing-variable-declarations]
cli_do_root.c:303:13: warning: no previous declaration for 'do_tmux_session' [-Wmissing-variable-declarations]
cli_do_root.c:323:13: warning: no previous declaration for 'do_tmux_stop' [-Wmissing-variable-declarations]
cli_do_root.c:335:13: warning: no previous declaration for 'do_tmux_clean' [-Wmissing-variable-declarations]
cli_do_root.c:347:13: warning: no previous declaration for 'do_tmux_wait' [-Wmissing-variable-declarations]
cli_do_root.c:362:14: warning: no previous declaration for 'do_tmux' [-Wmissing-variable-declarations]
cli_do_root.c:383:13: warning: no previous declaration for 'do_azure_provision_region' [-Wmissing-variable-declarations]
cli_do_root.c:396:13: warning: no previous declaration for 'do_azure_provision_nodes' [-Wmissing-variable-declarations]
cli_do_root.c:409:14: warning: no previous declaration for 'do_azure_provision' [-Wmissing-variable-declarations]
cli_do_root.c:415:13: warning: no previous declaration for 'do_azure_provision_commands' [-Wmissing-variable-declarations]
cli_do_root.c:420:13: warning: no previous declaration for 'do_azure_create' [-Wmissing-variable-declarations]
cli_do_root.c:436:13: warning: no previous declaration for 'do_azure_drop' [-Wmissing-variable-declarations]
cli_do_root.c:449:13: warning: no previous declaration for 'do_azure_deploy' [-Wmissing-variable-declarations]
cli_do_root.c:457:13: warning: no previous declaration for 'do_azure_show_ips' [-Wmissing-variable-declarations]
cli_do_root.c:466:13: warning: no previous declaration for 'do_azure_show_state' [-Wmissing-variable-declarations]
cli_do_root.c:476:14: warning: no previous declaration for 'do_azure_show' [-Wmissing-variable-declarations]
cli_do_root.c:482:13: warning: no previous declaration for 'do_azure_show_commands' [-Wmissing-variable-declarations]
cli_do_root.c:487:13: warning: no previous declaration for 'do_azure_ls' [-Wmissing-variable-declarations]
cli_do_root.c:505:13: warning: no previous declaration for 'do_azure_sync' [-Wmissing-variable-declarations]
cli_do_root.c:516:13: warning: no previous declaration for 'do_azure_tmux_session' [-Wmissing-variable-declarations]
cli_do_root.c:527:13: warning: no previous declaration for 'do_azure_tmux_kill' [-Wmissing-variable-declarations]
cli_do_root.c:538:14: warning: no previous declaration for 'do_azure_tmux' [-Wmissing-variable-declarations]
cli_do_root.c:544:13: warning: no previous declaration for 'do_azure_tmux_commands' [-Wmissing-variable-declarations]
cli_do_root.c:549:14: warning: no previous declaration for 'do_azure' [-Wmissing-variable-declarations]
cli_do_root.c:562:13: warning: no previous declaration for 'do_azure_commands' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_show.Po -o cli_do_show.o cli_do_show.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_tmux.Po -o cli_do_tmux.o cli_do_tmux.c
cli_do_monitor.c:139:13: warning: no previous declaration for 'do_monitor_commands' [-Wmissing-variable-declarations]
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o notifications.bc notifications.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o pg_auto_failover.bc pg_auto_failover.c
cli_do_service.c:51:13: warning: no previous declaration for 'service_pgcontroller' [-Wmissing-variable-declarations]
cli_do_service.c:59:13: warning: no previous declaration for 'service_postgres' [-Wmissing-variable-declarations]
cli_do_service.c:67:13: warning: no previous declaration for 'service_monitor_listener' [-Wmissing-variable-declarations]
cli_do_service.c:75:13: warning: no previous declaration for 'service_node_active' [-Wmissing-variable-declarations]
cli_do_service.c:83:13: warning: no previous declaration for 'service_getpid_postgres' [-Wmissing-variable-declarations]
cli_do_service.c:91:13: warning: no previous declaration for 'service_getpid_listener' [-Wmissing-variable-declarations]
cli_do_service.c:99:13: warning: no previous declaration for 'service_getpid_node_active' [-Wmissing-variable-declarations]
cli_do_service.c:114:13: warning: no previous declaration for 'do_service_getpid_commands' [-Wmissing-variable-declarations]
cli_do_service.c:120:13: warning: no previous declaration for 'service_restart_postgres' [-Wmissing-variable-declarations]
cli_do_service.c:128:13: warning: no previous declaration for 'service_restart_listener' [-Wmissing-variable-declarations]
cli_do_service.c:136:13: warning: no previous declaration for 'service_restart_node_active' [-Wmissing-variable-declarations]
cli_do_service.c:151:13: warning: no previous declaration for 'do_service_restart_commands' [-Wmissing-variable-declarations]
cli_do_service.c:166:13: warning: no previous declaration for 'do_service_commands' [-Wmissing-variable-declarations]
cli_do_service.c:172:13: warning: no previous declaration for 'service_postgres_ctl_on' [-Wmissing-variable-declarations]
cli_do_service.c:181:13: warning: no previous declaration for 'service_postgres_ctl_off' [-Wmissing-variable-declarations]
cli_do_service.c:195:13: warning: no previous declaration for 'do_service_postgres_ctl_commands' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_tmux_azure.Po -o cli_do_tmux_azure.o cli_do_tmux_azure.c
cli_do_show.c:74:14: warning: no previous declaration for 'do_show_subcommands' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_do_tmux_compose.Po -o cli_do_tmux_compose.o cli_do_tmux_compose.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o replication_state.bc replication_state.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_drop_node.Po -o cli_drop_node.o cli_drop_node.c
node_active_protocol.c:789:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  789 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
node_active_protocol.c:789:32: note: remove extraneous parentheses around the comparison to silence this warning
  789 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |      ~                         ^            ~
node_active_protocol.c:789:32: note: use '=' to turn this equality comparison into an assignment
  789 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |                                ^~
      |                                =
node_active_protocol.c:904:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  904 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
node_active_protocol.c:904:32: note: remove extraneous parentheses around the comparison to silence this warning
  904 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |      ~                         ^            ~
node_active_protocol.c:904:32: note: use '=' to turn this equality comparison into an assignment
  904 |  if ((fcinfo->flinfo->fn_extra == ((void*)0)))
      |                                ^~
      |                                =
2 warnings generated.
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_enable_disable.Po -o cli_enable_disable.o cli_enable_disable.c
/usr/lib/distcc/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -mno-outline-atomics -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2  -std=c99 -Wall -Wno-unused-parameter -Iinclude -I/usr/include -g -I. -I./ -I/usr/include/postgresql/server -I/usr/include/postgresql/internal -D_GNU_SOURCE  -I/usr/include/libxml2    -flto=thin -emit-llvm -c -o version_compat.bc version_compat.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_formation.Po -o cli_formation.o cli_formation.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_get_set_properties.Po -o cli_get_set_properties.o cli_get_set_properties.c
gcc -std=c99 -D_GNU_SOURCE -g -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -Wno-missing-braces  -DHAVE_LONG_INT_64 -fPIC -fvisibility=hidden -shared -o pgautofailover.so conninfo.o formation_metadata.o group_state_machine.o health_check_metadata.o health_check_worker.o metadata.o node_active_protocol.o node_metadata.o notifications.o pg_auto_failover.o replication_state.o version_compat.o -L/usr/lib  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now  -Wl,--as-needed -fvisibility=hidden -L/usr/lib -lpq 
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_perform.Po -o cli_perform.o cli_perform.c
cli_do_tmux_compose.c:43:7: warning: no previous declaration for 'tmux_compose_banner' [-Wmissing-variable-declarations]
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_root.Po -o cli_root.o cli_root.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_service.Po -o cli_service.o cli_service.c
cli_do_tmux.c:51:7: warning: no previous declaration for 'xdg' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_show.Po -o cli_show.o cli_show.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_systemd.Po -o cli_systemd.o cli_systemd.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/cli_watch.Po -o cli_watch.o cli_watch.c
cli_get_set_properties.c:33:13: warning: no previous declaration for 'get_node_replication_quorum' [-Wmissing-variable-declarations]
cli_get_set_properties.c:44:13: warning: no previous declaration for 'get_node_candidate_priority' [-Wmissing-variable-declarations]
cli_get_set_properties.c:155:13: warning: no previous declaration for 'set_node_command' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/config.Po -o config.o config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/coordinator.Po -o coordinator.o coordinator.c
cli_perform.c:50:13: warning: no previous declaration for 'perform_promotion_command' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/debian.Po -o debian.o debian.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/demoapp.Po -o demoapp.o demoapp.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/env_utils.Po -o env_utils.o env_utils.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/file_utils.Po -o file_utils.o file_utils.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/fsm.Po -o fsm.o fsm.c
config.c: In function 'config_accept_new_ssloptions':
config.c:364:28: warning: the comparison will always evaluate as 'true' for the address of 'caFile' will never be NULL [-Waddress]
In file included from pgctl.h:23,
                 from config.h:16,
                 from config.c:15:
pgsetup.h:197:7: note: 'caFile' declared here
config.c:364:34: warning: the comparison will always evaluate as 'true' for the address of 'caFile' will never be NULL [-Waddress]
pgsetup.h:197:7: note: 'caFile' declared here
config.c:371:29: warning: the comparison will always evaluate as 'true' for the address of 'crlFile' will never be NULL [-Waddress]
pgsetup.h:198:7: note: 'crlFile' declared here
config.c:371:35: warning: the comparison will always evaluate as 'true' for the address of 'crlFile' will never be NULL [-Waddress]
pgsetup.h:198:7: note: 'crlFile' declared here
config.c:378:32: warning: the comparison will always evaluate as 'true' for the address of 'serverCert' will never be NULL [-Waddress]
pgsetup.h:199:7: note: 'serverCert' declared here
config.c:378:38: warning: the comparison will always evaluate as 'true' for the address of 'serverCert' will never be NULL [-Waddress]
pgsetup.h:199:7: note: 'serverCert' declared here
config.c:386:31: warning: the comparison will always evaluate as 'true' for the address of 'serverKey' will never be NULL [-Waddress]
pgsetup.h:200:7: note: 'serverKey' declared here
config.c:386:37: warning: the comparison will always evaluate as 'true' for the address of 'serverKey' will never be NULL [-Waddress]
pgsetup.h:200:7: note: 'serverKey' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/fsm_transition.Po -o fsm_transition.o fsm_transition.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/fsm_transition_citus.Po -o fsm_transition_citus.o fsm_transition_citus.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/ini_file.Po -o ini_file.o ini_file.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/ini_implementation.Po -o ini_implementation.o ini_implementation.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/ipaddr.Po -o ipaddr.o ipaddr.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/keeper.Po -o keeper.o keeper.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/keeper_config.Po -o keeper_config.o keeper_config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/keeper_pg_init.Po -o keeper_pg_init.o keeper_pg_init.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lock_utils.Po -o lock_utils.o lock_utils.c
fsm_transition.c: In function 'fsm_enable_sync_rep':
fsm_transition.c:579:41: warning: the comparison will always evaluate as 'true' for the address of 'synchronousStandbyNames' will never be NULL [-Waddress]
In file included from monitor.h:18,
                 from keeper.h:16,
                 from fsm.h:15,
                 from fsm_transition.c:34:
primary_standby.h:49:7: note: 'synchronousStandbyNames' declared here
fsm_transition.c:602:34: warning: the comparison will always evaluate as 'true' for the address of 'pgsrSyncState' will never be NULL [-Waddress]
primary_standby.h:42:7: note: 'pgsrSyncState' declared here
fsm_transition.c:603:31: warning: the comparison will always evaluate as 'true' for the address of 'pgsrSyncState' will never be NULL [-Waddress]
primary_standby.h:42:7: note: 'pgsrSyncState' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/main.Po -o main.o main.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/monitor.Po -o monitor.o monitor.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/monitor_config.Po -o monitor_config.o monitor_config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/monitor_pg_init.Po -o monitor_pg_init.o monitor_pg_init.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/nodestate_utils.Po -o nodestate_utils.o nodestate_utils.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/parsing.Po -o parsing.o parsing.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pgctl.Po -o pgctl.o pgctl.c
monitor_pg_init.c:38:5: warning: no previous declaration for 'monitor_default_settings' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pghba.Po -o pghba.o pghba.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pgsetup.Po -o pgsetup.o pgsetup.c
keeper.c: In function 'diff_nodesArray':
keeper.c:2290:25: warning: the comparison will always evaluate as 'true' for the address of 'host' will never be NULL [-Waddress]
In file included from pgctl.h:24,
                 from config.h:16,
                 from keeper_config.h:16,
                 from keeper.h:14,
                 from cli_common.h:16,
                 from keeper.c:18:
pgsql.h:169:7: note: 'host' declared here
keeper.c:2290:26: warning: the comparison will always evaluate as 'true' for the address of 'host' will never be NULL [-Waddress]
pgsql.h:169:7: note: 'host' declared here
keeper.c: In function 'keeper_set_node_metadata':
keeper.c:2423:23: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2423:21: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2424:24: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c:2424:22: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c:2452:24: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2452:24: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2458:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c:2458:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c: In function 'keeper_config_accept_new':
keeper.c:2556:34: warning: the comparison will always evaluate as 'true' for the address of 'pgdata' will never be NULL [-Waddress]
In file included from pgctl.h:23:
pgsetup.h:213:7: note: 'pgdata' declared here
keeper.c:2556:34: warning: the comparison will always evaluate as 'true' for the address of 'pgdata' will never be NULL [-Waddress]
pgsetup.h:213:7: note: 'pgdata' declared here
keeper.c:2572:33: warning: the comparison will always evaluate as 'true' for the address of 'monitor_pguri' will never be NULL [-Waddress]
keeper_config.h:43:7: note: 'monitor_pguri' declared here
keeper.c:2572:33: warning: the comparison will always evaluate as 'true' for the address of 'monitor_pguri' will never be NULL [-Waddress]
keeper_config.h:43:7: note: 'monitor_pguri' declared here
keeper.c:2611:29: warning: the comparison will always evaluate as 'true' for the address of 'formation' will never be NULL [-Waddress]
keeper_config.h:44:7: note: 'formation' declared here
keeper.c:2611:29: warning: the comparison will always evaluate as 'true' for the address of 'formation' will never be NULL [-Waddress]
keeper_config.h:44:7: note: 'formation' declared here
keeper.c:2622:24: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2622:24: warning: the comparison will always evaluate as 'true' for the address of 'name' will never be NULL [-Waddress]
keeper_config.h:46:7: note: 'name' declared here
keeper.c:2641:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c:2641:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
keeper_config.h:47:7: note: 'hostname' declared here
keeper.c:2667:40: warning: the comparison will always evaluate as 'true' for the address of 'replication_password' will never be NULL [-Waddress]
keeper_config.h:55:7: note: 'replication_password' declared here
keeper.c:2667:40: warning: the comparison will always evaluate as 'true' for the address of 'replication_password' will never be NULL [-Waddress]
keeper_config.h:55:7: note: 'replication_password' declared here
keeper.c:2680:39: warning: the comparison will always evaluate as 'true' for the address of 'maximum_backup_rate' will never be NULL [-Waddress]
keeper_config.h:56:7: note: 'maximum_backup_rate' declared here
keeper.c:2680:39: warning: the comparison will always evaluate as 'true' for the address of 'maximum_backup_rate' will never be NULL [-Waddress]
keeper_config.h:56:7: note: 'maximum_backup_rate' declared here
keeper.c:2695:35: warning: the comparison will always evaluate as 'true' for the address of 'backupDirectory' will never be NULL [-Waddress]
keeper_config.h:57:7: note: 'backupDirectory' declared here
keeper.c:2695:35: warning: the comparison will always evaluate as 'true' for the address of 'backupDirectory' will never be NULL [-Waddress]
keeper_config.h:57:7: note: 'backupDirectory' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pgsql.Po -o pgsql.o pgsql.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pgtuning.Po -o pgtuning.o pgtuning.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/pidfile.Po -o pidfile.o pidfile.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/primary_standby.Po -o primary_standby.o primary_standby.c
pidfile.c:38:6: warning: no previous declaration for 'service_pidfile' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_keeper.Po -o service_keeper.o service_keeper.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_keeper_init.Po -o service_keeper_init.o service_keeper_init.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_monitor.Po -o service_monitor.o service_monitor.c
pgctl.c: In function 'prepare_guc_settings_from_pgsetup':
pgctl.c:1007:30: warning: the comparison will always evaluate as 'true' for the address of 'authMethod' will never be NULL [-Waddress]
In file included from pgsql.h:26,
                 from monitor.h:15,
                 from parsing.h:15,
                 from pgctl.c:26:
pgsetup.h:222:7: note: 'authMethod' declared here
pgctl.c:1008:27: warning: the comparison will always evaluate as 'true' for the address of 'authMethod' will never be NULL [-Waddress]
pgsetup.h:222:7: note: 'authMethod' declared here
pgctl.c:1014:35: warning: the comparison will always evaluate as 'true' for the address of 'authMethod' will never be NULL [-Waddress]
pgsetup.h:222:7: note: 'authMethod' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_monitor_init.Po -o service_monitor_init.o service_monitor_init.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_postgres.Po -o service_postgres.o service_postgres.c
service_keeper.c:40:22: warning: no previous declaration for 'KeeperReloadHooksArray' [-Wmissing-variable-declarations]
service_keeper.c:49:33: warning: no previous declaration for 'KeeperNodesArrayRefreshArray' [-Wmissing-variable-declarations]
service_keeper.c: In function 'service_keeper_node_active':
service_keeper.c:755:35: warning: the comparison will always evaluate as 'true' for the address of 'replication_slot_name' will never be NULL [-Waddress]
In file included from keeper.h:14,
                 from cli_common.h:16,
                 from service_keeper.c:17:
keeper_config.h:54:7: note: 'replication_slot_name' declared here
service_keeper.c:755:25: warning: the comparison will always evaluate as 'true' for the address of 'expectedSlotName' will never be NULL [-Waddress]
service_keeper.c:748:7: note: 'expectedSlotName' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/service_postgres_ctl.Po -o service_postgres_ctl.o service_postgres_ctl.c
primary_standby.c:76:5: warning: no previous declaration for 'postgres_default_settings_pre_13' [-Wmissing-variable-declarations]
primary_standby.c:81:5: warning: no previous declaration for 'postgres_default_settings_13' [-Wmissing-variable-declarations]
primary_standby.c:86:5: warning: no previous declaration for 'citus_default_settings_pre_13' [-Wmissing-variable-declarations]
primary_standby.c:97:5: warning: no previous declaration for 'citus_default_settings_13' [-Wmissing-variable-declarations]
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/signals.Po -o signals.o signals.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/state.Po -o state.o state.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/string_utils.Po -o string_utils.o string_utils.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/supervisor.Po -o supervisor.o supervisor.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/system_utils.Po -o system_utils.o system_utils.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/systemd_config.Po -o systemd_config.o systemd_config.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/watch.Po -o watch.o watch.c
monitor_config.c: In function 'monitor_config_accept_new':
monitor_config.c:620:34: warning: the comparison will always evaluate as 'true' for the address of 'pgdata' will never be NULL [-Waddress]
In file included from pgctl.h:23,
                 from config.h:16,
                 from monitor_config.c:15:
pgsetup.h:213:7: note: 'pgdata' declared here
monitor_config.c:620:34: warning: the comparison will always evaluate as 'true' for the address of 'pgdata' will never be NULL [-Waddress]
pgsetup.h:213:7: note: 'pgdata' declared here
monitor_config.c:628:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
In file included from monitor.h:16,
                 from monitor_config.c:19:
monitor_config.h:27:7: note: 'hostname' declared here
monitor_config.c:628:28: warning: the comparison will always evaluate as 'true' for the address of 'hostname' will never be NULL [-Waddress]
monitor_config.h:27:7: note: 'hostname' declared here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lib-log.Po -MTlib-log.o -o lib-log.o /build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/log.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lib-commandline.Po -MTlib-commandline.o -o lib-commandline.o /build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/commandline.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lib-parson.Po -MTlib-parson.o -o lib-parson.o /build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/parson.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lib-snprintf.Po -MTlib-snprintf.o -o lib-snprintf.o /build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg/snprintf.c
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 -c -MMD -MP -MF/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl//.deps/lib-strerror.Po -MTlib-strerror.o -o lib-strerror.o /build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg/strerror.c
supervisor.c: In function 'supervisor_find_service_pid':
supervisor.c:952:23: warning: the comparison will always evaluate as 'true' for the pointer operand in 'separator + 1' must not be NULL [-Waddress]
In file included from watch.c:44:
watch_colspecs.h:58:11: warning: no previous declaration for 'ColumnPolicies' [-Wmissing-variable-declarations]
watch_colspecs.h:202:5: warning: no previous declaration for 'ColumnPoliciesCount' [-Wmissing-variable-declarations]
watch_colspecs.h:253:16: warning: no previous declaration for 'EventColumnPolicies' [-Wmissing-variable-declarations]
watch_colspecs.h:295:5: warning: no previous declaration for 'EventColumnPoliciesCount' [-Wmissing-variable-declarations]
watch.c:46:23: warning: no previous declaration for 'window_size_changed' [-Wmissing-variable-declarations]
/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg/snprintf.c: In function 'dopr':
/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg/snprintf.c:449:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg/snprintf.c:452:4: note: here
gcc -std=c99 -D_GNU_SOURCE -g -I /usr/include -I /usr/include/postgresql/server -I /usr/include/postgresql/internal -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 -Wmissing-variable-declarations -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -ffat-lto-objects -Wformat -Wall -Werror=implicit-int -Werror=implicit-function-declaration -Werror=return-type -Wno-declaration-after-statement -D_WANT_SEMUN -Wno-missing-braces -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/pg -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/log/src/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/subcommands.c/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/libs/ -I/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl/../lib/parson/  -DHAVE_LONG_INT_64 azure.o azure_config.o cli_common.o cli_config.o cli_create_node.o cli_do_azure.o cli_do_coordinator.o cli_do_demoapp.o cli_do_fsm.o cli_do_misc.o cli_do_monitor.o cli_do_root.o cli_do_service.o cli_do_show.o cli_do_tmux.o cli_do_tmux_azure.o cli_do_tmux_compose.o cli_drop_node.o cli_enable_disable.o cli_formation.o cli_get_set_properties.o cli_perform.o cli_root.o cli_service.o cli_show.o cli_systemd.o cli_watch.o config.o coordinator.o debian.o demoapp.o env_utils.o file_utils.o fsm.o fsm_transition.o fsm_transition_citus.o ini_file.o ini_implementation.o ipaddr.o keeper.o keeper_config.o keeper_pg_init.o lock_utils.o main.o monitor.o monitor_config.o monitor_pg_init.o nodestate_utils.o parsing.o pgctl.o pghba.o pgsetup.o pgsql.o pgtuning.o pidfile.o primary_standby.o service_keeper.o service_keeper_init.o service_monitor.o service_monitor_init.o service_postgres.o service_postgres_ctl.o signals.o state.o string_utils.o supervisor.o system_utils.o systemd_config.o watch.o lib-log.o lib-commandline.o lib-parson.o lib-snprintf.o lib-strerror.o  -L /usr/lib/postgresql -L /usr/lib -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -lpgcommon -lpgport -lzstd -llz4 -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm -lnuma  -lpq -lncurses -o pg_autoctl
make[2]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
==> Entering fakeroot environment...
==> Starting package()...
make -C src/monitor/ all
make -C src/bin/ all
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
make -C pg_autoctl pg_autoctl
make[2]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
make -C src/monitor/ install
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
make[2]: 'pg_autoctl' is up to date.
make[2]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
make -C src/bin/ install
make[1]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
make -C pg_autoctl install
/usr/bin/mkdir -p '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql'
rm -f /build/pg_auto_failover/pkg/pg_auto_failover//usr/share/postgresql/extension/pgautofailover*
/usr/bin/mkdir -p '/build/pg_auto_failover/pkg/pg_auto_failover//usr/share/postgresql/extension'
/usr/bin/install -c -m 755  pgautofailover.so '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/pgautofailover.so'
/usr/bin/mkdir -p '/build/pg_auto_failover/pkg/pg_auto_failover//usr/share/postgresql/extension'
make[2]: Entering directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
/usr/bin/install -c -m 644 .//pgautofailover.control '/build/pg_auto_failover/pkg/pg_auto_failover//usr/share/postgresql/extension/'
/usr/bin/install -c -m 644 .//pgautofailover--1.0.sql .//pgautofailover--1.0--1.1.sql .//pgautofailover--1.1--1.2.sql .//pgautofailover--1.2--1.3.sql .//pgautofailover--1.3--1.4.sql .//pgautofailover--1.4--1.5.sql .//pgautofailover--1.5--1.6.sql .//pgautofailover--1.6--2.0.sql .//pgautofailover--2.0--2.1.sql .//pgautofailover--2.1--2.2.sql .//pgautofailover--2.2--dummy.sql pgautofailover--2.2.sql '/build/pg_auto_failover/pkg/pg_auto_failover//usr/share/postgresql/extension/'
/usr/bin/mkdir -p '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode/pgautofailover'
/usr/bin/mkdir -p '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/
/usr/bin/install -c -m 644 conninfo.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 formation_metadata.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 group_state_machine.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 health_check_metadata.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 health_check_worker.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 metadata.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 node_active_protocol.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 node_metadata.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 notifications.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 pg_auto_failover.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 replication_state.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
/usr/bin/install -c -m 644 version_compat.bc '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode'/pgautofailover/./
cd '/build/pg_auto_failover/pkg/pg_auto_failover//usr/lib/postgresql/bitcode' && /usr/bin/llvm-lto -thinlto -thinlto-action=thinlink -o pgautofailover.index.bc pgautofailover/conninfo.bc pgautofailover/formation_metadata.bc pgautofailover/group_state_machine.bc pgautofailover/health_check_metadata.bc pgautofailover/health_check_worker.bc pgautofailover/metadata.bc pgautofailover/node_active_protocol.bc pgautofailover/node_metadata.bc pgautofailover/notifications.bc pgautofailover/pg_auto_failover.bc pgautofailover/replication_state.bc pgautofailover/version_compat.bc
install -d /build/pg_auto_failover/pkg/pg_auto_failover//usr/bin
install -m 0755 ./pg_autoctl /build/pg_auto_failover/pkg/pg_auto_failover//usr/bin
make[2]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin/pg_autoctl'
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/bin'
make[1]: Leaving directory '/build/pg_auto_failover/src/pg_auto_failover-2.2/src/monitor'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/bin/pg_autoctl
==> Creating package "pg_auto_failover"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pg_auto_failover 2.2-2 (Fri Oct 31 14:24:16 2025)
==> Cleaning up...