<86>Jan 11 09:03:19 userdel[3874392]: delete user 'rooter'
<86>Jan 11 09:03:19 userdel[3874392]: removed group 'rooter' owned by 'rooter'
<86>Jan 11 09:03:19 userdel[3874392]: removed shadow group 'rooter' owned by 'rooter'
<86>Jan 11 09:03:19 groupadd[3874407]: group added to /etc/group: name=rooter, GID=1835
<86>Jan 11 09:03:19 groupadd[3874407]: group added to /etc/gshadow: name=rooter
<86>Jan 11 09:03:19 groupadd[3874407]: new group: name=rooter, GID=1835
<86>Jan 11 09:03:19 useradd[3874427]: new user: name=rooter, UID=1835, GID=1835, home=/root, shell=/bin/bash, from=none
<86>Jan 11 09:03:19 userdel[3874459]: delete user 'builder'
<86>Jan 11 09:03:19 userdel[3874459]: removed group 'builder' owned by 'builder'
<86>Jan 11 09:03:19 userdel[3874459]: removed shadow group 'builder' owned by 'builder'
<86>Jan 11 09:03:19 groupadd[3874482]: group added to /etc/group: name=builder, GID=1836
<86>Jan 11 09:03:19 groupadd[3874482]: group added to /etc/gshadow: name=builder
<86>Jan 11 09:03:19 groupadd[3874482]: new group: name=builder, GID=1836
<86>Jan 11 09:03:19 useradd[3874504]: new user: name=builder, UID=1836, GID=1836, home=/usr/src, shell=/bin/bash, from=none
<13>Jan 11 09:03:24 rpmi: llvm-common-18.1.0-alt2 sisyphus+357910.2500.18.1 1728040841 installed
<13>Jan 11 09:03:24 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed
<13>Jan 11 09:03:24 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed
<13>Jan 11 09:03:24 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed
<13>Jan 11 09:03:24 rpmi: libxslt-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed
<13>Jan 11 09:03:24 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed
<13>Jan 11 09:03:24 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed
<13>Jan 11 09:03:24 rpmi: glibc-devel-static-6:2.38.0.76.e9f05fa1c6-alt1 sisyphus+347163.100.1.1 1714396902 installed
<13>Jan 11 09:03:24 rpmi: llvm18.1-filesystem-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:25 rpmi: clang18.1-support-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:25 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed
<13>Jan 11 09:03:25 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed
<13>Jan 11 09:03:25 rpmi: llvm18.1-polly-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:25 rpmi: libcom_err-devel-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed
<13>Jan 11 09:03:25 rpmi: libverto-devel-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed
<13>Jan 11 09:03:25 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed
<13>Jan 11 09:03:25 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734008167 installed
<13>Jan 11 09:03:25 rpmi: libngtcp2.16-1.10.0-alt1 sisyphus+366376.200.1.1 1735020758 installed
<13>Jan 11 09:03:25 rpmi: libngtcp2_crypto_gnutls8-1.10.0-alt1 sisyphus+366376.200.1.1 1735020758 installed
<13>Jan 11 09:03:25 rpmi: sgml-common-0.6.3-alt15 sisyphus+276099.100.1.1 1624817971 installed
<13>Jan 11 09:03:25 rpmi: docbook-dtds-4.5-alt1 sisyphus+276837.100.1.1 1625242123 installed
<13>Jan 11 09:03:25 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed
<13>Jan 11 09:03:25 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed
<13>Jan 11 09:03:25 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed
<13>Jan 11 09:03:25 rpmi: libjson-c5-0.18-alt1 sisyphus+358387.100.1.1 1727298142 installed
<13>Jan 11 09:03:26 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed
<13>Jan 11 09:03:26 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700247 installed
<13>Jan 11 09:03:26 rpmi: libecpg6-12-12.22-alt1 sisyphus+362974.200.1.1 1732098897 installed
<13>Jan 11 09:03:26 rpmi: libecpg6-12-devel-12.22-alt1 sisyphus+362974.200.1.1 1732098897 installed
<13>Jan 11 09:03:26 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed
<13>Jan 11 09:03:26 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed
<13>Jan 11 09:03:26 rpmi: libnghttp3.9-1.7.0-alt1 sisyphus+366376.100.1.1 1735020698 installed
<13>Jan 11 09:03:26 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118560 installed
<13>Jan 11 09:03:26 rpmi: openldap-common-2.6.9-alt2 sisyphus+367501.300.4.1 1735841751 installed
<13>Jan 11 09:03:26 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed
<13>Jan 11 09:03:26 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed
<13>Jan 11 09:03:26 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed
<13>Jan 11 09:03:26 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed
<13>Jan 11 09:03:26 rpmi: openssl-config-3.1.1-alt1 sisyphus+366628.500.5.1 1735237131 installed
<13>Jan 11 09:03:26 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed
<13>Jan 11 09:03:26 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed
<13>Jan 11 09:03:26 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed
<13>Jan 11 09:03:26 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed
<13>Jan 11 09:03:26 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed
<13>Jan 11 09:03:27 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed
<13>Jan 11 09:03:27 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed
<13>Jan 11 09:03:27 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed
<13>Jan 11 09:03:27 rpmi: llvm18.1-gold-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:29 rpmi: llvm18.1-libs-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:30 rpmi: libclang-cpp18-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:30 rpmi: clang18.1-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:30 rpmi: clang-18.1.0-alt2 sisyphus+357910.2500.18.1 1728040850 installed
<13>Jan 11 09:03:31 rpmi: libclang18-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:31 rpmi: clang18.1-devel-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:31 rpmi: clang-devel-18.1.0-alt2 sisyphus+357910.2500.18.1 1728040841 installed
<13>Jan 11 09:03:36 rpmi: mlir18.1-tools-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:36 rpmi: bc-1:1.07.1-alt1 sisyphus+346065.200.3.1 1716459102 installed
<13>Jan 11 09:03:36 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Jan 11 09:03:36 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Jan 11 09:03:36 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed
<13>Jan 11 09:03:36 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed
<13>Jan 11 09:03:36 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed
<13>Jan 11 09:03:37 rpmi: libcrypto3-3.1.7-alt3 sisyphus+366628.200.2.1 1735232541 installed
<13>Jan 11 09:03:37 rpmi: libssl3-3.1.7-alt3 sisyphus+366628.200.2.1 1735232541 installed
<86>Jan 11 09:03:37 groupadd[3919889]: group added to /etc/group: name=_keytab, GID=999
<86>Jan 11 09:03:37 groupadd[3919889]: group added to /etc/gshadow: name=_keytab
<86>Jan 11 09:03:37 groupadd[3919889]: new group: name=_keytab, GID=999
<13>Jan 11 09:03:37 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed
<13>Jan 11 09:03:37 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed
<13>Jan 11 09:03:38 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed
<13>Jan 11 09:03:40 rpmi: llvm18.1-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:40 rpmi: llvm-18.1.0-alt2 sisyphus+357910.2500.18.1 1728040850 installed
<13>Jan 11 09:03:45 rpmi: llvm18.1-devel-18.1.8-alt0.4 sisyphus+364551.100.1.1 1733763102 installed
<13>Jan 11 09:03:45 rpmi: llvm-devel-18.1.0-alt2 sisyphus+357910.2500.18.1 1728040841 installed
<13>Jan 11 09:03:45 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed
<86>Jan 11 09:03:45 groupadd[3949996]: group added to /etc/group: name=sasl, GID=998
<86>Jan 11 09:03:45 groupadd[3949996]: group added to /etc/gshadow: name=sasl
<86>Jan 11 09:03:45 groupadd[3949996]: new group: name=sasl, GID=998
<13>Jan 11 09:03:45 rpmi: libsasl2-3-2.1.28-alt2.1 sisyphus+367419.100.1.1 1735482553 installed
<13>Jan 11 09:03:45 rpmi: libldap2-2.6.9-alt2 sisyphus+367501.300.4.1 1735841767 installed
<13>Jan 11 09:03:45 rpmi: libkrb5-ldap-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed
<13>Jan 11 09:03:45 rpmi: libpq5-17.2-alt1 sisyphus+362974.100.1.1 1732098518 installed
<13>Jan 11 09:03:45 rpmi: libpq5-devel-17.2-alt1 sisyphus+362974.100.1.1 1732098518 installed
<13>Jan 11 09:03:45 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed
<13>Jan 11 09:03:45 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed
<13>Jan 11 09:03:45 rpmi: rpm-macros-pam0-1.7.0-alt1 sisyphus+349410.1200.7.1 1729774588 installed
<13>Jan 11 09:03:45 rpmi: libpam0-devel-1.7.0-alt1 sisyphus+349410.1200.7.1 1729774591 installed
<13>Jan 11 09:03:45 rpmi: libcurl-devel-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed
<13>Jan 11 09:03:45 rpmi: libpq5-devel-static-17.2-alt1 sisyphus+362974.100.1.1 1732098518 installed
<13>Jan 11 09:03:46 rpmi: postgresql12-server-devel-12.22-alt1 sisyphus+362974.200.1.1 1732098897 installed
<13>Jan 11 09:03:46 rpmi: libkrb5-devel-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed
<13>Jan 11 09:03:46 rpmi: libssl-devel-3.1.7-alt3 sisyphus+366628.200.2.1 1735232541 installed
<13>Jan 11 09:03:46 rpmi: libecpg6-12-devel-static-12.22-alt1 sisyphus+362974.200.1.1 1732098897 installed
<13>Jan 11 09:03:46 rpmi: libjson-c-devel-0.18-alt1 sisyphus+358387.100.1.1 1727298142 installed
<13>Jan 11 09:03:46 rpmi: liblz4-devel-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed
<13>Jan 11 09:03:46 rpmi: libxslt-devel-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed
<13>Jan 11 09:03:46 rpmi: docbook-style-xsl-1.79.1-alt4 sisyphus+232871.100.1.1 1561238010 installed
<13>Jan 11 09:03:46 rpmi: xsltproc-1.1.39-alt1 sisyphus+349406.100.1.1 1716751808 installed
<13>Jan 11 09:03:46 rpmi: libselinux-devel-1:3.7-alt1 sisyphus+352461.2600.14.1 1726481520 installed
<13>Jan 11 09:03:46 rpmi: flex-2.6.4.0.88.9801-alt2 sisyphus+346193.200.3.2 1716466859 installed
Building target platforms: i586
Building for target i586
Wrote: /usr/src/in/nosrpm/postgresql12-repmgr-5.4.1-alt3.nosrc.rpm (w1.gzdio)
Installing postgresql12-repmgr-5.4.1-alt3.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.46885
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf postgresql12-repmgr-5.4.1
+ echo 'Source #0 (postgresql12-repmgr-5.4.1.tar):'
Source #0 (postgresql12-repmgr-5.4.1.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/postgresql12-repmgr-5.4.1.tar
+ cd postgresql12-repmgr-5.4.1
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (postgresql12-repmgr-5.4.1.patch):'
Patch #0 (postgresql12-repmgr-5.4.1.patch):
+ /usr/bin/patch -p1
patching file .gear/repmgr.init
patching file .gear/repmgr.service
patching file .gear/repmgr.sudoers
patching file .gear/repmgr.sysconfig
patching file .gear/repmgr.tmpfiles
patching file .gear/rules
patching file .gear/tags/d1d748166632ec24160fe038f7e6b476f6fac014
patching file .gear/tags/list
patching file .gear/upstream/remotes
patching file Makefile.in
patching file repmgr.spec
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.46885
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd postgresql12-repmgr-5.4.1
+ autoreconf -fisv
autoreconf-default: export WARNINGS=
autoreconf-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf-default: Entering directory '.'
autoreconf-default: configure.in: not using Gettext
autoreconf-default: running: aclocal --force 
aclocal-default: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf-default: configure.in: tracing
autoreconf-default: configure.in: not using Libtool
autoreconf-default: configure.in: not using Intltool
autoreconf-default: configure.in: not using Gtkdoc
autoreconf-default: running: /usr/bin/autoconf-2.71 --force
configure.in:5: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.in:5: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:5: the top level
autoreconf-default: running: /usr/bin/autoheader-2.71 --force
autoheader-2.71: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf-default: configure.in: not using Automake
autoreconf-default: Leaving directory '.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=' -march=i586 -mtune=generic'
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ readlink -e -- ./configure
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ sort -u
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ configure_runstatedir_flags=--runstatedir=/var/run
+ ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext PG_CONFIG=/usr/bin/pg_server_config
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
checking for a sed that does not truncate output... /usr/bin/sed
configure: building against PostgreSQL 12.22
checking for gnused... no
checking for gsed... no
checking for sed... yes
checking for flex... yes
checking for i586-alt-linux-gcc... i586-alt-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether i586-alt-linux-gcc accepts -g... yes
checking for i586-alt-linux-gcc option to enable C11 features... none needed
checking for is_selinux_enabled in -lselinux... yes
checking for LZ4_compress_default in -llz4... yes
checking for xsltCleanupGlobals in -lxslt... yes
checking for pam_start in -lpam... yes
checking for gss_init_sec_context in -lgssapi_krb5... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.global
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext
+ USE_PGXS=1
+ make -j16
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
Building against PostgreSQL 12
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2025-01-11"/' repmgr_version.h.in >repmgr_version.h; \
sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 120022/' repmgr_version.h
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
flex  -o'configfile-scan.c' configfile-scan.l
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o configdata.o configdata.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from configdata.c:20:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o log.o log.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from log.c:19:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr.o repmgr.c
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o compat.o compat.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from compat.c:29:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-witness.o repmgr-action-witness.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-witness.c:23:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:75:
repmgr-action-witness.c: In function 'do_witness_register':
repmgr-action-witness.c:175:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
  175 |                         log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"),
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-action-witness.c:175:36: note: in expansion of macro '_'
  175 |                         log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"),
      |                                    ^
repmgr-action-witness.c:175:118: note: format string is defined here
  175 |                         log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"),
      |                                                                                                                    ~~^
      |                                                                                                                      |
      |                                                                                                                      long unsigned int
      |                                                                                                                    %llu
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgrd.o repmgrd.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgrd.c:26:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-primary.o repmgr-action-primary.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-primary.c:22:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o sysutils.o sysutils.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from sysutils.c:24:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o controldata.o controldata.c
In file included from repmgr.h:21,
                 from controldata.c:34:
./config.h:20:9: warning: "PACKAGE_BUGREPORT" redefined
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from controldata.c:32:
/usr/include/pgsql/pg_config.h:594:9: note: this is the location of the previous definition
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
./config.h:23:9: warning: "PACKAGE_NAME" redefined
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: note: this is the location of the previous definition
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:26:9: warning: "PACKAGE_STRING" redefined
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: note: this is the location of the previous definition
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:29:9: warning: "PACKAGE_TARNAME" redefined
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: note: this is the location of the previous definition
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:32:9: warning: "PACKAGE_URL" redefined
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: note: this is the location of the previous definition
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:35:9: warning: "PACKAGE_VERSION" redefined
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: note: this is the location of the previous definition
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o strutil.o strutil.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from strutil.c:24:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o dirutil.o dirutil.c
In file included from repmgr.h:21,
                 from log.h:22,
                 from dirutil.c:37:
./config.h:20:9: warning: "PACKAGE_BUGREPORT" redefined
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from dirutil.c:33:
/usr/include/pgsql/pg_config.h:594:9: note: this is the location of the previous definition
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
./config.h:23:9: warning: "PACKAGE_NAME" redefined
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: note: this is the location of the previous definition
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:26:9: warning: "PACKAGE_STRING" redefined
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: note: this is the location of the previous definition
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:29:9: warning: "PACKAGE_TARNAME" redefined
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: note: this is the location of the previous definition
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:32:9: warning: "PACKAGE_URL" redefined
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: note: this is the location of the previous definition
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:35:9: warning: "PACKAGE_VERSION" redefined
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: note: this is the location of the previous definition
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o pgbackupapi.o pgbackupapi.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from pgbackupapi.c:24:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-daemon.o repmgr-action-daemon.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-daemon.c:24:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o configfile-scan.o configfile-scan.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from configfile-scan.l:11:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-service.o repmgr-action-service.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-service.c:24:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
/usr/bin/clang-18 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-deprecated-non-prototype -Wno-format-truncation -O2  -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5 -flto=thin -emit-llvm -c -o repmgr.bc repmgr.c
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -shared -o repmgr.so repmgr.o -lcurl -ljson-c -L/usr/lib  -L/usr/lib/llvm-18.1/lib  -Wl,--as-needed  -L/usr/lib -lpq 
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o configfile.o configfile.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from configfile.c:22:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-cluster.o repmgr-action-cluster.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-cluster.c:22:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-node.o repmgr-action-node.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-node.c:25:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
repmgr-action-node.c: In function 'do_node_status':
repmgr-action-node.c:154:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
  154 |                                                                           "%lu", local_system_identifier);
      |                                                                            ~~^   ~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                              |   |
      |                                                                              |   uint64 {aka long long unsigned int}
      |                                                                              long unsigned int
      |                                                                            %llu
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o dbutils.o dbutils.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from dbutils.c:28:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-client.o repmgr-client.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-client.c:60:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:75:
repmgr-client.c: In function 'main':
repmgr-client.c:379:91: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
  379 |                                                                                         _("value for \"--node-name\" must contain fewer than %lu characters"),
      |                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:379:89: note: in expansion of macro '_'
  379 |                                                                                         _("value for \"--node-name\" must contain fewer than %lu characters"),
      |                                                                                         ^
repmgr-client.c:379:144: note: format string is defined here
  379 |                                                                                         _("value for \"--node-name\" must contain fewer than %lu characters"),
      |                                                                                                                                              ~~^
      |                                                                                                                                                |
      |                                                                                                                                                long unsigned int
      |                                                                                                                                              %u
repmgr-client.c: In function 'check_node_can_attach':
repmgr-client.c:4252:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4252:28: note: in expansion of macro '_'
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                            ^
repmgr-client.c:4252:66: note: format string is defined here
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                                                                ~~^
      |                                                                  |
      |                                                                  long unsigned int
      |                                                                %llu
repmgr-client.c:4252:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4252:28: note: in expansion of macro '_'
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                            ^
repmgr-client.c:4252:109: note: format string is defined here
 4252 |                 log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"),
      |                                                                                                           ~~^
      |                                                                                                             |
      |                                                                                                             long unsigned int
      |                                                                                                           %llu
repmgr-client.c:4262:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 4262 |                 log_detail(_("system identifier is %lu"), local_system_identifier);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-client.c:4262:28: note: in expansion of macro '_'
 4262 |                 log_detail(_("system identifier is %lu"), local_system_identifier);
      |                            ^
repmgr-client.c:4262:54: note: format string is defined here
 4262 |                 log_detail(_("system identifier is %lu"), local_system_identifier);
      |                                                    ~~^
      |                                                      |
      |                                                      long unsigned int
      |                                                    %llu
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgrd-physical.o repmgrd-physical.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgrd-physical.c:22:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:75:
repmgrd-physical.c: In function 'check_node_can_follow':
repmgrd-physical.c:5202:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:5202:28: note: in expansion of macro '_'
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                            ^
repmgrd-physical.c:5202:66: note: format string is defined here
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                                                                ~~^
      |                                                                  |
      |                                                                  long unsigned int
      |                                                                %llu
repmgrd-physical.c:5202:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:5202:28: note: in expansion of macro '_'
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                            ^
repmgrd-physical.c:5202:113: note: format string is defined here
 5202 |                 log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"),
      |                                                                                                               ~~^
      |                                                                                                                 |
      |                                                                                                                 long unsigned int
      |                                                                                                               %llu
repmgrd-physical.c:5290:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:5290:36: note: in expansion of macro '_'
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                    ^
repmgrd-physical.c:5290:73: note: format string is defined here
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                                                       ~~^
      |                                                                         |
      |                                                                         long unsigned int
      |                                                                       %llu
repmgrd-physical.c:5290:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgrd-physical.c:5290:36: note: in expansion of macro '_'
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                    ^
repmgrd-physical.c:5290:121: note: format string is defined here
 5290 |                         log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"),
      |                                                                                                                       ~~^
      |                                                                                                                         |
      |                                                                                                                         long unsigned int
      |                                                                                                                       %llu
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql/internal -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I./ -I/usr/include/pgsql/server -I/usr/include/pgsql/internal  -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/krb5  -c -o repmgr-action-standby.o repmgr-action-standby.c
In file included from /usr/include/pgsql/internal/c.h:54,
                 from /usr/include/pgsql/internal/postgres_fe.h:25,
                 from repmgr.h:65,
                 from repmgr-action-standby.c:26:
/usr/include/pgsql/pg_config.h:594:9: warning: "PACKAGE_BUGREPORT" redefined
  594 | #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org"
      |         ^~~~~~~~~~~~~~~~~
In file included from repmgr.h:21:
./config.h:20:9: note: this is the location of the previous definition
   20 | #define PACKAGE_BUGREPORT "repmgr@googlegroups.com"
      |         ^~~~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:597:9: warning: "PACKAGE_NAME" redefined
  597 | #define PACKAGE_NAME "PostgreSQL"
      |         ^~~~~~~~~~~~
./config.h:23:9: note: this is the location of the previous definition
   23 | #define PACKAGE_NAME "repmgr"
      |         ^~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:600:9: warning: "PACKAGE_STRING" redefined
  600 | #define PACKAGE_STRING "PostgreSQL 17.2"
      |         ^~~~~~~~~~~~~~
./config.h:26:9: note: this is the location of the previous definition
   26 | #define PACKAGE_STRING "repmgr 5.4.0"
      |         ^~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:603:9: warning: "PACKAGE_TARNAME" redefined
  603 | #define PACKAGE_TARNAME "postgresql"
      |         ^~~~~~~~~~~~~~~
./config.h:29:9: note: this is the location of the previous definition
   29 | #define PACKAGE_TARNAME "repmgr"
      |         ^~~~~~~~~~~~~~~
/usr/include/pgsql/pg_config.h:606:9: warning: "PACKAGE_URL" redefined
  606 | #define PACKAGE_URL "https://www.postgresql.org/"
      |         ^~~~~~~~~~~
./config.h:32:9: note: this is the location of the previous definition
   32 | #define PACKAGE_URL "https://repmgr.org/"
      |         ^~~~~~~~~~~
/usr/include/pgsql/pg_config.h:609:9: warning: "PACKAGE_VERSION" redefined
  609 | #define PACKAGE_VERSION "17.2"
      |         ^~~~~~~~~~~~~~~
./config.h:35:9: note: this is the location of the previous definition
   35 | #define PACKAGE_VERSION "5.4.0"
      |         ^~~~~~~~~~~~~~~
In file included from /usr/include/pgsql/internal/c.h:75:
repmgr-action-standby.c: In function 'check_source_server':
repmgr-action-standby.c:5933:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-action-standby.c:5933:76: note: in expansion of macro '_'
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                            ^
repmgr-action-standby.c:5933:116: note: format string is defined here
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                                                                  ~~^
      |                                                                                                                    |
      |                                                                                                                    long unsigned int
      |                                                                                                                  %llu
repmgr-action-standby.c:5933:78: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=]
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
repmgr-action-standby.c:5933:76: note: in expansion of macro '_'
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                            ^
repmgr-action-standby.c:5933:178: note: format string is defined here
 5933 |                                                                 log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"),
      |                                                                                                                                                                                ~~^
      |                                                                                                                                                                                  |
      |                                                                                                                                                                                  long unsigned int
      |                                                                                                                                                                                %llu
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC repmgrd.o repmgrd-physical.o configdata.o configfile.o configfile-scan.o log.o dbutils.o strutil.o controldata.o compat.o sysutils.o -L/usr/lib -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib  -L/usr/lib/llvm-18.1/lib  -Wl,--as-needed  -o repmgrd
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -ffat-lto-objects -march=i586 -mtune=generic -fPIC repmgr-client.o repmgr-action-primary.o repmgr-action-standby.o repmgr-action-witness.o repmgr-action-cluster.o repmgr-action-node.o repmgr-action-service.o repmgr-action-daemon.o configdata.o configfile.o configfile-scan.o log.o strutil.o controldata.o dirutil.o compat.o dbutils.o sysutils.o pgbackupapi.o -L/usr/lib -lpgcommon -lpgport -L/usr/lib -lpq -lcurl -ljson-c -L/usr/lib  -L/usr/lib/llvm-18.1/lib  -Wl,--as-needed  -o repmgr
In function 'create_new_task',
    inlined from 'run_pg_backupapi' at repmgr-action-standby.c:7818:8,
    inlined from 'do_standby_clone' at repmgr-action-standby.c:726:8:
pgbackupapi.c:110:9: warning: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option [-Wattribute-warning]
  110 |         curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_id);
      |         ^
In function 'get_status_of_operation',
    inlined from 'run_pg_backupapi' at repmgr-action-standby.c:7837:10,
    inlined from 'do_standby_clone' at repmgr-action-standby.c:726:8:
pgbackupapi.c:140:9: warning: call to '_curl_easy_setopt_err_write_callback' declared with attribute warning: curl_easy_setopt expects a curl_write_callback argument for this option [-Wattribute-warning]
  140 |         curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, receive_operation_status);
      |         ^
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
+ make doc
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
Building against PostgreSQL 12
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make -C doc html
make[1]: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1/doc'
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
{ \
  echo "<!ENTITY repmgrversion \"5.4dev\">"; \
  echo "<!ENTITY releasedate \"2022-XX-XX\">"; \
} > version.xml
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
/usr/bin/xmllint --path . --noout --valid repmgr.xml
/usr/bin/xsltproc --path . --stringparam repmgr.version '5.4dev'  stylesheet.xsl repmgr.xml
cp .//stylesheet.css  .//website-docs.css html/
touch html-stamp
make[1]: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1/doc'
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
+ make doc-repmgr.html
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
Building against PostgreSQL 12
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make -C doc repmgr.html
make[1]: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1/doc'
awk: cmd. line:1: warning: regexp escape sequence `\#' is not a known regexp operator
/usr/bin/xmllint --path . --noout --valid repmgr.xml
/usr/bin/xsltproc --path . --stringparam repmgr.version '5.4dev'  -o repmgr.html stylesheet-html-nochunk.xsl repmgr.xml
make[1]: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1/doc'
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.97217
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/postgresql12-repmgr-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/postgresql12-repmgr-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games
+ cd postgresql12-repmgr-5.4.1
+ USE_PGXS=1
+ make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/postgresql12-repmgr-buildroot
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
Building against PostgreSQL 12
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
make: Entering directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/pgsql/extension'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/pgsql/extension'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/bin'
/usr/libexec/rpm-build/install -p -m 755  repmgr.so '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql/repmgr.so'
/usr/libexec/rpm-build/install -p -m 644 .//repmgr.control '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/pgsql/extension/'
/usr/libexec/rpm-build/install -p -m 644 .//repmgr--unpackaged--4.0.sql .//repmgr--unpackaged--5.1.sql .//repmgr--unpackaged--5.2.sql .//repmgr--unpackaged--5.3.sql .//repmgr--4.0.sql .//repmgr--4.0--4.1.sql .//repmgr--4.1.sql .//repmgr--4.1--4.2.sql .//repmgr--4.2.sql .//repmgr--4.2--4.3.sql .//repmgr--4.3.sql .//repmgr--4.3--4.4.sql .//repmgr--4.4.sql .//repmgr--4.4--5.0.sql .//repmgr--5.0.sql .//repmgr--5.0--5.1.sql .//repmgr--5.1.sql .//repmgr--5.1--5.2.sql .//repmgr--5.2.sql .//repmgr--5.2--5.3.sql .//repmgr--5.3.sql .//repmgr--5.3--5.4.sql .//repmgr--5.4.sql  '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/pgsql/extension/'
/usr/libexec/rpm-build/install -p -m 755 repmgr repmgrd '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/bin/'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql/bitcode/repmgr'
/usr/bin/mkdir -p '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql/bitcode'/repmgr/
/usr/libexec/rpm-build/install -p -m 644 repmgr.bc '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql/bitcode'/repmgr/./
cd '/usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/pgsql/bitcode' && /usr/lib/llvm-18.1/bin/llvm-lto -thinlto -thinlto-action=thinlink -o repmgr.index.bc repmgr/repmgr.bc
make: Leaving directory '/usr/src/RPM/BUILD/postgresql12-repmgr-5.4.1'
+ mkdir -p /usr/src/tmp/postgresql12-repmgr-buildroot//etc/rc.d/init.d /usr/src/tmp/postgresql12-repmgr-buildroot//usr/lib/systemd/system /usr/src/tmp/postgresql12-repmgr-buildroot//usr/lib/tmpfiles.d /usr/src/tmp/postgresql12-repmgr-buildroot//etc/sysconfig /usr/src/tmp/postgresql12-repmgr-buildroot//etc/sudoers.d /usr/src/tmp/postgresql12-repmgr-buildroot//etc/repmgr /usr/src/tmp/postgresql12-repmgr-buildroot//var/log/repmgr
+ install -p -m755 /usr/src/RPM/SOURCES/repmgr.init /usr/src/tmp/postgresql12-repmgr-buildroot/etc/rc.d/init.d/repmgr
+ install -p -m644 /usr/src/RPM/SOURCES/repmgr.sudoers /usr/src/tmp/postgresql12-repmgr-buildroot/etc/sudoers.d/repmgr
+ install -p -m644 /usr/src/RPM/SOURCES/repmgr.service /usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/systemd/system/repmgr.service
+ install -p -m644 /usr/src/RPM/SOURCES/repmgr.tmpfiles /usr/src/tmp/postgresql12-repmgr-buildroot/usr/lib/tmpfiles.d/repmgr.conf
+ install -p -m644 /usr/src/RPM/SOURCES/repmgr.sysconfig /usr/src/tmp/postgresql12-repmgr-buildroot/etc/sysconfig/repmgr
+ install -p -m644 repmgr.conf.sample /usr/src/tmp/postgresql12-repmgr-buildroot/etc/repmgr/repmgr.conf
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/postgresql12-repmgr-buildroot (auto)
mode of './usr/lib/pgsql/repmgr.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
Verifying and fixing files in /usr/src/tmp/postgresql12-repmgr-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
Checking contents of files in /usr/src/tmp/postgresql12-repmgr-buildroot/ (default)
Compressing files in /usr/src/tmp/postgresql12-repmgr-buildroot (auto)
Verifying systemd units in /usr/src/tmp/postgresql12-repmgr-buildroot
Adjusting library links in /usr/src/tmp/postgresql12-repmgr-buildroot
./usr/lib: (from <cmdline>:0)
Verifying ELF objects in /usr/src/tmp/postgresql12-repmgr-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: WalRcv
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: MainLWLockArray
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: process_shared_preload_libraries_in_progress
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: shmem_startup_hook
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: AllocateFile
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: LWLockRelease
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: pg_detoast_datum_packed
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: elog_finish
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: initStringInfo
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: text_to_cstring
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: errstart
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: GetNamedLWLockTranche
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: cstring_to_text
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: appendStringInfo
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: RequestAddinShmemSpace
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: GetCurrentTimestamp
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: elog_start
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: errmsg
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: RequestNamedLWLockTranche
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: Int64GetDatum
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: ShmemInitStruct
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: errfinish
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: TimestampDifference
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: LWLockAcquire
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: FreeFile
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: pfree
verify-elf: WARNING: ./usr/lib/pgsql/repmgr.so: undefined symbol: errcode
verify-elf: WARNING: ./usr/bin/repmgr: uses non-LFS functions: fopen freopen mkstemp nftw open readdir stat
verify-elf: WARNING: ./usr/bin/repmgrd: uses non-LFS functions: fopen freopen mkstemp readdir stat
Splitting links to aliased files under /{,s}bin in /usr/src/tmp/postgresql12-repmgr-buildroot
Processing files: postgresql12-repmgr-5.4.1-alt3
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97217
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd postgresql12-repmgr-5.4.1
+ DOCDIR=/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ export DOCDIR
+ rm -rf /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ /bin/mkdir -p /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ cp -prL README.md LICENSE /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ chmod -R go-w /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ chmod -R a+rX /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-5.4.1
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KCWh37
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lGWX1j
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oW1G01
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7t9yqP
Provides: repmgr = 5.4.1-alt3
Requires: postgresql-common, postgresql12-server, /bin/kill, /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /etc/sudoers.d, /lib/ld-linux.so.2, libc.so.6 >= set:poiedc, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.1), libc.so.6(GLIBC_2.1.2), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.6), libcurl.so.4 >= set:khZKS97GnFrpw5blbIrM1, libcurl.so.4(CURL_GNUTLS_4), libjson-c.so.5 >= set:liHgl8OF7oQeTRxC0PKtD0, libjson-c.so.5(JSONC_0.14), libpq.so.5 >= set:lfB7NpqXZcUpg0DZaoFypog5ETilQ0Lyp9iYCOXbyroRkS1axF8RCkMbd3xUuZ1DKZtT2QGAkrFtAamrh3WymvCa48PuKi0Q40, rtld(GNU_HASH)
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(SetVersions)
Requires(post): /bin/sh, /usr/sbin/post_service
Requires(preun): /bin/sh, /usr/sbin/preun_service
Obsoletes: repmgr < 5.4.1-alt3
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.G5oITc
Creating postgresql12-repmgr-debuginfo package
Processing files: postgresql12-repmgr-doc-5.4.1-alt3
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.25078
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd postgresql12-repmgr-5.4.1
+ DOCDIR=/usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ export DOCDIR
+ rm -rf /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ /bin/mkdir -p /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ cp -prL doc/html /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ chmod -R go-w /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ chmod -R a+rX /usr/src/tmp/postgresql12-repmgr-buildroot/usr/share/doc/postgresql12-repmgr-doc-5.4.1
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rJ0huG
find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vg28u0
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
Processing files: postgresql12-repmgr-debuginfo-5.4.1-alt3
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.a0ogbs
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sFC6wx
find-requires: running scripts (debuginfo)
Requires: postgresql12-repmgr = 5.4.1-alt3, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libcurl.so.4), debug(libjson-c.so.5), debug(libpq.so.5)
Adding to postgresql12-repmgr-debuginfo a strict dependency on postgresql12-repmgr
Wrote: /usr/src/RPM/RPMS/i586/postgresql12-repmgr-5.4.1-alt3.i586.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/noarch/postgresql12-repmgr-doc-5.4.1-alt3.noarch.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/i586/postgresql12-repmgr-debuginfo-5.4.1-alt3.i586.rpm (w2.lzdio)
35.33user 5.91system 0:30.05elapsed 137%CPU (0avgtext+0avgdata 87596maxresident)k
0inputs+0outputs (0major+988359minor)pagefaults 0swaps
5.41user 2.93system 1:05.87elapsed 12%CPU (0avgtext+0avgdata 136440maxresident)k
1648inputs+0outputs (0major+232977minor)pagefaults 0swaps
--- postgresql12-repmgr-5.4.1-alt3.i586.rpm.repo	2024-09-30 16:14:31.000000000 +0000
+++ postgresql12-repmgr-5.4.1-alt3.i586.rpm.hasher	2025-01-11 09:04:22.360451939 +0000
@@ -91,8 +91,8 @@
 File: /etc/sysconfig/repmgr	100644	root:root	5935121a79060b44fb5be191089408e7	
-File: /usr/bin/repmgr	100755	root:root	04d90fb6cc198d7e9be5297ab29ad865	
-File: /usr/bin/repmgrd	100755	root:root	a0203adb1a4250c21f76cf3a07620f6c	
+File: /usr/bin/repmgr	100755	root:root	e3a483bf9521f5a157e337cdb2188ff8	
+File: /usr/bin/repmgrd	100755	root:root	277caf2e6acad49dcec0a05887268fb1	
 File: /usr/lib/pgsql/bitcode/repmgr	40755	root:root		
-File: /usr/lib/pgsql/bitcode/repmgr.index.bc	100644	root:root	95d587402f8fc26adc507203b1146717	
-File: /usr/lib/pgsql/bitcode/repmgr/repmgr.bc	100644	root:root	cc9556180ab1976174798a2cbfa339af	
-File: /usr/lib/pgsql/repmgr.so	100644	root:root	87f98ce8dd0776bcac7ee25f8de9e1bc	
+File: /usr/lib/pgsql/bitcode/repmgr.index.bc	100644	root:root	3044c9817d0df360adf501e7a9b2e141	
+File: /usr/lib/pgsql/bitcode/repmgr/repmgr.bc	100644	root:root	349819e70559893e9f696ab63af19ed0	
+File: /usr/lib/pgsql/repmgr.so	100644	root:root	f22c8fadd31864ce550d162234258119	
 File: /usr/lib/systemd/system/repmgr.service	100644	root:root	df16022e33d5b866a5ebe7b4a184ff31	
@@ -127,2 +127,2 @@
 File: /var/log/repmgr	41775	root:postgres		
-RPMIdentity: b124acfab25933bf661c68e8faf3f2d79b5b99ea85ab4cfb6af545c7436e8f7bdca36a0684f97dfa9db847dfe0e4e0b55687905b74bb484781da731091852726
+RPMIdentity: 5e4b5538bcbc48285cc2f2838f635288538340579e90faad2de261c3960a1b6dfc1c2c7945ab0b5d16044a4e2fc8981c5834b9aeb141487c2163e2dff6972c8e
--- postgresql12-repmgr-debuginfo-5.4.1-alt3.i586.rpm.repo	2024-09-30 16:14:31.000000000 +0000
+++ postgresql12-repmgr-debuginfo-5.4.1-alt3.i586.rpm.hasher	2025-01-11 09:04:22.446452960 +0000
@@ -1,10 +1,10 @@
-/usr/lib/debug/.build-id/16	40755	root:root	
-/usr/lib/debug/.build-id/16/9c3f4ec68782349d6f3703251d77b8eefbf783	120777	root:root	../../../../bin/repmgrd
-/usr/lib/debug/.build-id/16/9c3f4ec68782349d6f3703251d77b8eefbf783.debug	120777	root:root	../../usr/bin/repmgrd.debug
-/usr/lib/debug/.build-id/27	40755	root:root	
-/usr/lib/debug/.build-id/27/c15a2f07589e0de8187363b18dcc232191fbd1	120777	root:root	../../../../bin/repmgr
-/usr/lib/debug/.build-id/27/c15a2f07589e0de8187363b18dcc232191fbd1.debug	120777	root:root	../../usr/bin/repmgr.debug
-/usr/lib/debug/.build-id/9d	40755	root:root	
-/usr/lib/debug/.build-id/9d/e36e86aed5a5a6c85da5f0cf5ad113c8ded3f8	120777	root:root	../../../pgsql/repmgr.so
-/usr/lib/debug/.build-id/9d/e36e86aed5a5a6c85da5f0cf5ad113c8ded3f8.debug	120777	root:root	../../usr/lib/pgsql/repmgr.so.debug
+/usr/lib/debug/.build-id/12	40755	root:root	
+/usr/lib/debug/.build-id/12/ff8af65bcedb0934c34088191b70922593ea4d	120777	root:root	../../../../bin/repmgr
+/usr/lib/debug/.build-id/12/ff8af65bcedb0934c34088191b70922593ea4d.debug	120777	root:root	../../usr/bin/repmgr.debug
+/usr/lib/debug/.build-id/99	40755	root:root	
+/usr/lib/debug/.build-id/99/411cf65d65776d47c5649f6a2e7467e524054f	120777	root:root	../../../../bin/repmgrd
+/usr/lib/debug/.build-id/99/411cf65d65776d47c5649f6a2e7467e524054f.debug	120777	root:root	../../usr/bin/repmgrd.debug
+/usr/lib/debug/.build-id/a4	40755	root:root	
+/usr/lib/debug/.build-id/a4/4c6cc0948a0084371a6f18a2f28a039c051adf	120777	root:root	../../../pgsql/repmgr.so
+/usr/lib/debug/.build-id/a4/4c6cc0948a0084371a6f18a2f28a039c051adf.debug	120777	root:root	../../usr/lib/pgsql/repmgr.so.debug
 /usr/lib/debug/usr/bin/repmgr.debug	100644	root:root	
@@ -66,15 +66,15 @@
 Provides: postgresql12-repmgr-debuginfo = 5.4.1-alt3:sisyphus+358705.100.1.1
-File: /usr/lib/debug/.build-id/16	40755	root:root		
-File: /usr/lib/debug/.build-id/16/9c3f4ec68782349d6f3703251d77b8eefbf783	120777	root:root		../../../../bin/repmgrd
-File: /usr/lib/debug/.build-id/16/9c3f4ec68782349d6f3703251d77b8eefbf783.debug	120777	root:root		../../usr/bin/repmgrd.debug
-File: /usr/lib/debug/.build-id/27	40755	root:root		
-File: /usr/lib/debug/.build-id/27/c15a2f07589e0de8187363b18dcc232191fbd1	120777	root:root		../../../../bin/repmgr
-File: /usr/lib/debug/.build-id/27/c15a2f07589e0de8187363b18dcc232191fbd1.debug	120777	root:root		../../usr/bin/repmgr.debug
-File: /usr/lib/debug/.build-id/9d	40755	root:root		
-File: /usr/lib/debug/.build-id/9d/e36e86aed5a5a6c85da5f0cf5ad113c8ded3f8	120777	root:root		../../../pgsql/repmgr.so
-File: /usr/lib/debug/.build-id/9d/e36e86aed5a5a6c85da5f0cf5ad113c8ded3f8.debug	120777	root:root		../../usr/lib/pgsql/repmgr.so.debug
-File: /usr/lib/debug/usr/bin/repmgr.debug	100644	root:root	e06bf5543c67f013ae32e367e093b992	
-File: /usr/lib/debug/usr/bin/repmgrd.debug	100644	root:root	fe8cc53209015e5a0c81e0db330b18c1	
+File: /usr/lib/debug/.build-id/12	40755	root:root		
+File: /usr/lib/debug/.build-id/12/ff8af65bcedb0934c34088191b70922593ea4d	120777	root:root		../../../../bin/repmgr
+File: /usr/lib/debug/.build-id/12/ff8af65bcedb0934c34088191b70922593ea4d.debug	120777	root:root		../../usr/bin/repmgr.debug
+File: /usr/lib/debug/.build-id/99	40755	root:root		
+File: /usr/lib/debug/.build-id/99/411cf65d65776d47c5649f6a2e7467e524054f	120777	root:root		../../../../bin/repmgrd
+File: /usr/lib/debug/.build-id/99/411cf65d65776d47c5649f6a2e7467e524054f.debug	120777	root:root		../../usr/bin/repmgrd.debug
+File: /usr/lib/debug/.build-id/a4	40755	root:root		
+File: /usr/lib/debug/.build-id/a4/4c6cc0948a0084371a6f18a2f28a039c051adf	120777	root:root		../../../pgsql/repmgr.so
+File: /usr/lib/debug/.build-id/a4/4c6cc0948a0084371a6f18a2f28a039c051adf.debug	120777	root:root		../../usr/lib/pgsql/repmgr.so.debug
+File: /usr/lib/debug/usr/bin/repmgr.debug	100644	root:root	7cc9495339419d85a48c144d3ee1c413	
+File: /usr/lib/debug/usr/bin/repmgrd.debug	100644	root:root	96aaa43e0c6e5483bc9e115583f0968e	
 File: /usr/lib/debug/usr/lib/pgsql	40755	root:root		
-File: /usr/lib/debug/usr/lib/pgsql/repmgr.so.debug	100644	root:root	3be55f2cec78cb6de8573fca57be527e	
+File: /usr/lib/debug/usr/lib/pgsql/repmgr.so.debug	100644	root:root	141f7a3061ab9685c7e47489355d88ff	
 File: /usr/src/debug/postgresql12-repmgr-5.4.1	40755	root:root		
@@ -124,2 +124,2 @@
 File: /usr/src/debug/postgresql12-repmgr-5.4.1/voting.h	100644	root:root	05cf581a4ed49e682f2ef3aafceb8f2a	
-RPMIdentity: 30de09b960e253ecc3311f83939b829e9624d0cb196f3b97a67fd0eb31bfd11e5ffa01deb2c69054c3202e051e87a1837dc1e952f6efa1aab607b8d7b13d709c
+RPMIdentity: 958197d6e359eb15a749bf64f428e71a7279a45f37623ebae6693de5c025d0e2b6c3d9c6658fb6013c0f6c64fe089fd099e1ab1d11a54c7968930297034dabdf