<86>May 9 11:16:41 userdel[1929823]: delete user 'rooter' <86>May 9 11:16:41 userdel[1929823]: removed group 'rooter' owned by 'rooter' <86>May 9 11:16:41 groupadd[1929842]: group added to /etc/group: name=rooter, GID=702 <86>May 9 11:16:41 groupadd[1929842]: group added to /etc/gshadow: name=rooter <86>May 9 11:16:41 groupadd[1929842]: new group: name=rooter, GID=702 <86>May 9 11:16:41 useradd[1929857]: new user: name=rooter, UID=702, GID=702, home=/root, shell=/bin/bash <86>May 9 11:16:41 userdel[1929882]: delete user 'builder' <86>May 9 11:16:41 userdel[1929882]: removed group 'builder' owned by 'builder' <86>May 9 11:16:41 groupadd[1929891]: group added to /etc/group: name=builder, GID=703 <86>May 9 11:16:41 groupadd[1929891]: group added to /etc/gshadow: name=builder <86>May 9 11:16:41 groupadd[1929891]: new group: name=builder, GID=703 <86>May 9 11:16:41 useradd[1929895]: new user: name=builder, UID=703, GID=703, home=/usr/src, shell=/bin/bash Package libpq was not found in the pkg-config search path. Perhaps you should add the directory containing `libpq.pc' to the PKG_CONFIG_PATH environment variable No package 'libpq' found Package libpq was not found in the pkg-config search path. Perhaps you should add the directory containing `libpq.pc' to the PKG_CONFIG_PATH environment variable No package 'libpq' found Package libpq was not found in the pkg-config search path. Perhaps you should add the directory containing `libpq.pc' to the PKG_CONFIG_PATH environment variable No package 'libpq' found Package libpq was not found in the pkg-config search path. Perhaps you should add the directory containing `libpq.pc' to the PKG_CONFIG_PATH environment variable No package 'libpq' found Package libpq was not found in the pkg-config search path. Perhaps you should add the directory containing `libpq.pc' to the PKG_CONFIG_PATH environment variable No package 'libpq' found <13>May 9 11:16:44 rpmi: xml-utils-1:2.9.10-alt6 p9+266566.100.3.1 1614357035 installed <13>May 9 11:16:44 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>May 9 11:16:44 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>May 9 11:16:44 rpmi: libcom_err-devel-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <13>May 9 11:16:44 rpmi: libverto-devel-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>May 9 11:16:44 rpmi: sgml-common-0.6.3-alt15 1423664786 installed <13>May 9 11:16:44 rpmi: docbook-dtds-4.5-alt1 1223476557 installed <13>May 9 11:16:45 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>May 9 11:16:45 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>May 9 11:16:45 rpmi: libxslt-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513919 installed <13>May 9 11:16:45 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>May 9 11:16:47 rpmi: glibc-devel-static-6:2.27-alt13 p9+261868.100.3.1 1606152458 installed <13>May 9 11:16:48 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>May 9 11:16:48 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>May 9 11:16:48 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 9 11:16:48 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>May 9 11:16:48 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>May 9 11:16:48 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>May 9 11:16:48 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>May 9 11:16:48 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>May 9 11:16:48 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <86>May 9 11:16:48 groupadd[1937438]: group added to /etc/group: name=_keytab, GID=499 <86>May 9 11:16:48 groupadd[1937438]: group added to /etc/gshadow: name=_keytab <86>May 9 11:16:48 groupadd[1937438]: new group: name=_keytab, GID=499 <13>May 9 11:16:48 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <86>May 9 11:16:48 groupadd[1937512]: group added to /etc/group: name=sasl, GID=498 <86>May 9 11:16:48 groupadd[1937512]: group added to /etc/gshadow: name=sasl <86>May 9 11:16:48 groupadd[1937512]: new group: name=sasl, GID=498 <13>May 9 11:16:48 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226720 installed <13>May 9 11:16:48 rpmi: libldap-2.4.57-alt0.M90P.1 p9+266288.100.1.1 1613244862 installed <13>May 9 11:16:48 rpmi: libpq5-12.6-alt0.M90P.1 p9+266186.100.3.1 1613750998 installed <13>May 9 11:16:48 rpmi: libecpg6-12.6-alt0.M90P.1 p9+266186.100.3.1 1613750998 installed <13>May 9 11:16:48 rpmi: libkrb5-ldap-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>May 9 11:16:48 rpmi: libkrb5-devel-1.17.2-alt1 p9+262110.100.3.1 1606242416 installed <13>May 9 11:16:48 rpmi: postgresql-devel-12.6-alt0.M90P.1 p9+266186.100.3.1 1613750998 installed <13>May 9 11:16:49 rpmi: postgresql-devel-static-12.6-alt0.M90P.1 p9+266186.100.3.1 1613750998 installed <13>May 9 11:16:49 rpmi: libssl-devel-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>May 9 11:16:49 rpmi: xsltproc-1.1.34-alt1.p9.1 p9+261811.300.3.1 1605513919 installed <13>May 9 11:16:49 rpmi: docbook-style-xsl-1.79.1-alt2 sisyphus.213665.100 1537949315 installed <13>May 9 11:16:49 rpmi: flex-2.6.4.0.88.9801-alt1 sisyphus+221902.2300.4.1 1550596430 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/repmgr-5.2.1-alt2.nosrc.rpm (w1.gzdio) Installing repmgr-5.2.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.94695 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf repmgr-5.2.1 + echo 'Source #0 (repmgr-5.2.1.tar):' Source #0 (repmgr-5.2.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/repmgr-5.2.1.tar + cd repmgr-5.2.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (repmgr-5.2.1.patch):' Patch #0 (repmgr-5.2.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/151f76892924729c17bc32fb966124d29611ca32 patching file .gear/tags/list patching file .gear/upstream/remotes patching file CONTRIBUTING.md patching file COPYRIGHT patching file HISTORY patching file TODO.md patching file compat.c patching file compat.h patching file configdata.c patching file configfile.c patching file configfile.h patching file configure patching file configure.in patching file controldata.c patching file controldata.h patching file dbutils.c patching file dbutils.h patching file dirutil.c patching file dirutil.h patching file doc/appendix-faq.xml patching file doc/appendix-packages.xml patching file doc/appendix-release-notes.xml patching file doc/appendix-support.xml patching file doc/cloning-standbys.xml patching file doc/legal.xml patching file doc/quickstart.xml patching file doc/repmgr-daemon-start.xml patching file doc/repmgr-daemon-stop.xml patching file doc/repmgr-node-rejoin.xml patching file doc/repmgr-standby-promote.xml patching file doc/repmgrd-automatic-failover.xml patching file doc/repmgrd-configuration.xml patching file doc/upgrading-repmgr.xml patching file errcode.h patching file log.c patching file log.h patching file repmgr-action-cluster.c patching file repmgr-action-cluster.h patching file repmgr-action-daemon.c patching file repmgr-action-daemon.h patching file repmgr-action-node.c patching file repmgr-action-node.h patching file repmgr-action-primary.c patching file repmgr-action-primary.h patching file repmgr-action-service.c patching file repmgr-action-service.h patching file repmgr-action-standby.c patching file repmgr-action-standby.h patching file repmgr-action-witness.c patching file repmgr-action-witness.h patching file repmgr-client-global.h patching file repmgr-client.c patching file repmgr-client.h patching file repmgr.c patching file repmgr.conf.sample patching file repmgr.h patching file repmgr.spec patching file repmgrd-physical.c patching file repmgrd-physical.h patching file repmgrd.c patching file repmgrd.h patching file strutil.c patching file strutil.h patching file sysutils.c patching file sysutils.h patching file voting.h + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.94695 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd repmgr-5.2.1 + autoreconf -fisv 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 gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: configure.in: not using Automake autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./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 --without-included-gettext configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext checking for a sed that does not truncate output... /bin/sed checking for pg_config... /usr/bin/pg_config configure: building against PostgreSQL 12.6 checking for gnused... no checking for gsed... no checking for sed... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.global config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-silent-rules, --without-included-gettext + USE_PGXS=1 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' Building against PostgreSQL 12 make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' sed -E 's/REPMGR_VERSION_DATE.*""/REPMGR_VERSION_DATE "2021-05-09"/' repmgr_version.h.in >repmgr_version.h; \ sed -i -E 's/PG_ACTUAL_VERSION_NUM/PG_ACTUAL_VERSION_NUM 120006/' repmgr_version.h make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' flex -o'configfile-scan.c' configfile-scan.l make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o repmgrd.o repmgrd.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd.c:26: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgrd.c:26: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o repmgr.o repmgr.c make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-primary.c:22: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-primary.c:22: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-witness.c:23: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:77, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-witness.c:23: repmgr-action-witness.c: In function 'do_witness_register': repmgr-action-witness.c:175:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-witness.c:175:15: note: in expansion of macro '_' log_detail(_("database system identifiers on primary node and provided witness node match (%lu)"), ^ make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-daemon.c:24: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-daemon.c:24: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o configdata.o configdata.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from configdata.c:20: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from configdata.c:20: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from configdata.c:20: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from configdata.c:20: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from configdata.c:20: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configdata.c:20: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from configdata.c:20: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-node.c:25: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-node.c:25: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" repmgr-action-node.c: In function 'do_node_status': repmgr-action-node.c:151:15: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] "%lu", local_system_identifier); ~~^ ~~~~~~~~~~~~~~~~~~~~~~~ %llu make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-service.c:24: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-service.c:24: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o log.o log.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from log.c:19: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from log.c:19: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from log.c:19: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from log.c:19: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from log.c:19: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from log.c:19: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from log.c:19: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o strutil.o strutil.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from strutil.c:24: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from strutil.c:24: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from strutil.c:24: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from strutil.c:24: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from strutil.c:24: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from strutil.c:24: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from strutil.c:24: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o configfile.o configfile.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from configfile.c:22: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from configfile.c:22: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from configfile.c:22: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from configfile.c:22: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from configfile.c:22: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile.c:22: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from configfile.c:22: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from configfile-scan.l:11: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from configfile-scan.l:11: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o compat.o compat.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from compat.c:29: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from compat.c:29: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from compat.c:29: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from compat.c:29: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from compat.c:29: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from compat.c:29: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from compat.c:29: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgrd-physical.c:22: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:77, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgrd-physical.c:22: repmgrd-physical.c: In function 'check_node_can_follow': repmgrd-physical.c:5083:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5083:14: note: in expansion of macro '_' log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^ repmgrd-physical.c:5083:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5083:14: note: in expansion of macro '_' log_detail(_("this node's system identifier is %lu, follow target node's system identifier is %lu"), ^ repmgrd-physical.c:5171:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5171:15: note: in expansion of macro '_' log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^ repmgrd-physical.c:5171:17: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgrd-physical.c:5171:15: note: in expansion of macro '_' log_detail(_("follow target server's timeline %lu forked off current database system timeline %lu before current recovery point %X/%X"), ^ make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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:5: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:804: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from controldata.c:34: ./config.h:8: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:807: note: this is the location of the previous definition #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from controldata.c:34: ./config.h:11: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:810: note: this is the location of the previous definition #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from controldata.c:34: ./config.h:14: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:813: note: this is the location of the previous definition #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from controldata.c:34: ./config.h:17: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:816: note: this is the location of the previous definition #define PACKAGE_URL "" In file included from repmgr.h:21, from controldata.c:34: ./config.h:20: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from controldata.c:32: /usr/include/pgsql/pg_config.h:819: note: this is the location of the previous definition #define PACKAGE_VERSION "12.6" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -shared -o repmgr.so repmgr.o -L/usr/lib -Wl,--as-needed -L/usr/lib -lpq make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o sysutils.o sysutils.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from sysutils.c:24: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from sysutils.c:24: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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:5: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:804: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from log.h:22, from dirutil.c:37: ./config.h:8: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:807: note: this is the location of the previous definition #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from log.h:22, from dirutil.c:37: ./config.h:11: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:810: note: this is the location of the previous definition #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from log.h:22, from dirutil.c:37: ./config.h:14: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:813: note: this is the location of the previous definition #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from log.h:22, from dirutil.c:37: ./config.h:17: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:816: note: this is the location of the previous definition #define PACKAGE_URL "" In file included from repmgr.h:21, from log.h:22, from dirutil.c:37: ./config.h:20: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from dirutil.c:33: /usr/include/pgsql/pg_config.h:819: note: this is the location of the previous definition #define PACKAGE_VERSION "12.6" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-cluster.c:22: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-cluster.c:22: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-client.c:59: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:77, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-client.c:59: repmgr-client.c: In function 'main': repmgr-client.c:373:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] _("value for \"--node-name\" must contain fewer than %lu characters"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:373:12: note: in expansion of macro '_' _("value for \"--node-name\" must contain fewer than %lu characters"), ^ repmgr-client.c: In function 'check_node_can_attach': repmgr-client.c:4185:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:4185:14: note: in expansion of macro '_' log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^ repmgr-client.c:4185:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:4185:14: note: in expansion of macro '_' log_detail(_("this node's system identifier is %lu, %s target node's system identifier is %lu"), ^ repmgr-client.c:4195:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("system identifier is %lu"), local_system_identifier); ^~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-client.c:4195:14: note: in expansion of macro '_' log_detail(_("system identifier is %lu"), local_system_identifier); ^ make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/krb5 -c -o dbutils.o dbutils.c In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from dbutils.c:28: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from dbutils.c:28: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -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 -L/usr/lib -Wl,--as-needed -o repmgrd make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -march=i586 -mtune=generic -fPIC -std=gnu89 -I/usr/include/pgsql -I/usr/include/pgsql -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/usr/include/pgsql -I/usr/include/pgsql -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/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:804: warning: "PACKAGE_BUGREPORT" redefined #define PACKAGE_BUGREPORT "pgsql-bugs@lists.postgresql.org" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:5: note: this is the location of the previous definition #define PACKAGE_BUGREPORT "repmgr@googlegroups.com" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:807: warning: "PACKAGE_NAME" redefined #define PACKAGE_NAME "PostgreSQL" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:8: note: this is the location of the previous definition #define PACKAGE_NAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:810: warning: "PACKAGE_STRING" redefined #define PACKAGE_STRING "PostgreSQL 12.6" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:11: note: this is the location of the previous definition #define PACKAGE_STRING "repmgr 5.2.1" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:813: warning: "PACKAGE_TARNAME" redefined #define PACKAGE_TARNAME "postgresql" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:14: note: this is the location of the previous definition #define PACKAGE_TARNAME "repmgr" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:816: warning: "PACKAGE_URL" redefined #define PACKAGE_URL "" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:17: note: this is the location of the previous definition #define PACKAGE_URL "https://repmgr.org/" In file included from /usr/include/pgsql/c.h:54, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: /usr/include/pgsql/pg_config.h:819: warning: "PACKAGE_VERSION" redefined #define PACKAGE_VERSION "12.6" In file included from repmgr.h:21, from repmgr-action-standby.c:24: ./config.h:20: note: this is the location of the previous definition #define PACKAGE_VERSION "5.2.1" In file included from /usr/include/pgsql/c.h:77, from /usr/include/pgsql/postgres_fe.h:25, from repmgr.h:65, from repmgr-action-standby.c:24: repmgr-action-standby.c: In function 'check_source_server': repmgr-action-standby.c:5743:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c:5743:20: note: in expansion of macro '_' log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^ repmgr-action-standby.c:5743:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint64' {aka 'long long unsigned int'} [-Wformat=] log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ repmgr-action-standby.c:5743:20: note: in expansion of macro '_' log_detail(_("source node's system identifier is %lu, replication cluster member \"%s\"'s system identifier is %lu"), ^ make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' i586-alt-linux-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 -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 -L/usr/lib -lpgcommon -lpgport -L/usr/lib -lpq -L/usr/lib -Wl,--as-needed -o repmgr make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' + make doc make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' Building against PostgreSQL 12 make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make -C doc html make[1]: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1/doc' { \ echo ""; \ echo ""; \ } > version.xml /usr/bin/xmllint --path . --noout --valid repmgr.xml /usr/bin/xsltproc --path . --stringparam repmgr.version '5.2.1' stylesheet.xsl repmgr.xml cp .//stylesheet.css .//website-docs.css html/ touch html-stamp make[1]: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1/doc' make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' + make doc-repmgr.html make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' Building against PostgreSQL 12 make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make -C doc repmgr.html make[1]: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1/doc' /usr/bin/xmllint --path . --noout --valid repmgr.xml /usr/bin/xsltproc --path . --stringparam repmgr.version '5.2.1' -o repmgr.html stylesheet-html-nochunk.xsl repmgr.xml make[1]: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1/doc' make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.71043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/repmgr-buildroot + : + /bin/rm -rf -- /usr/src/tmp/repmgr-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd repmgr-5.2.1 + USE_PGXS=1 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/repmgr-buildroot make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' Building against PostgreSQL 12 make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' make: Entering directory '/usr/src/RPM/BUILD/repmgr-5.2.1' /bin/mkdir -p '/usr/src/tmp/repmgr-buildroot/usr/lib/pgsql' /bin/mkdir -p '/usr/src/tmp/repmgr-buildroot/usr/share/pgsql/extension' /bin/mkdir -p '/usr/src/tmp/repmgr-buildroot/usr/share/pgsql/extension' /bin/mkdir -p '/usr/src/tmp/repmgr-buildroot/usr/bin' /usr/libexec/rpm-build/install -p -m 755 repmgr.so '/usr/src/tmp/repmgr-buildroot/usr/lib/pgsql/repmgr.so' /usr/libexec/rpm-build/install -p -m 644 .//repmgr.control '/usr/src/tmp/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--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 '/usr/src/tmp/repmgr-buildroot/usr/share/pgsql/extension/' /usr/libexec/rpm-build/install -p -m 755 repmgr repmgrd '/usr/src/tmp/repmgr-buildroot/usr/bin/' make: Leaving directory '/usr/src/RPM/BUILD/repmgr-5.2.1' + mkdir -p /usr/src/tmp/repmgr-buildroot//etc/rc.d/init.d /usr/src/tmp/repmgr-buildroot//lib/systemd/system /usr/src/tmp/repmgr-buildroot//lib/tmpfiles.d /usr/src/tmp/repmgr-buildroot//etc/sysconfig /usr/src/tmp/repmgr-buildroot//etc/sudoers.d /usr/src/tmp/repmgr-buildroot//etc/repmgr /usr/src/tmp/repmgr-buildroot//var/log/repmgr + install -p -m755 /usr/src/RPM/SOURCES/repmgr.init /usr/src/tmp/repmgr-buildroot/etc/rc.d/init.d/repmgr + install -p -m644 /usr/src/RPM/SOURCES/repmgr.sudoers /usr/src/tmp/repmgr-buildroot/etc/sudoers.d/repmgr + install -p -m644 /usr/src/RPM/SOURCES/repmgr.service /usr/src/tmp/repmgr-buildroot/lib/systemd/system/repmgr.service + install -p -m644 /usr/src/RPM/SOURCES/repmgr.tmpfiles /usr/src/tmp/repmgr-buildroot/lib/tmpfiles.d/repmgr.conf + install -p -m644 /usr/src/RPM/SOURCES/repmgr.sysconfig /usr/src/tmp/repmgr-buildroot/etc/sysconfig/repmgr + install -p -m644 repmgr.conf.sample /usr/src/tmp/repmgr-buildroot/etc/repmgr/repmgr.conf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/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/repmgr-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/repmgr-buildroot/ (default) Compressing files in /usr/src/tmp/repmgr-buildroot (auto) Adjusting library links in /usr/src/tmp/repmgr-buildroot ./lib: ./usr/lib: Verifying ELF objects in /usr/src/tmp/repmgr-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/repmgrd: uses non-LFS functions: __xstat fopen freopen mkstemp open readdir verify-elf: WARNING: ./usr/bin/repmgr: uses non-LFS functions: __xstat fopen freopen mkstemp nftw open readdir 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 Hardlinking identical .pyc and .pyo files Processing files: repmgr-5.2.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.82465 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd repmgr-5.2.1 + DOCDIR=/usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + export DOCDIR + rm -rf /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + /bin/mkdir -p /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + cp -prL README.md LICENSE /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + chmod -R go-w /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + chmod -R a+rX /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-5.2.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9aXKlt find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fT2EL2 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.CxKVZT Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.okGzG3 Requires: postgresql-common, /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(ALT_2.24), 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.11), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.17), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.2.5), 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.4), libc.so.6(GLIBC_2.6), 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 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.469LKi Creating repmgr-debuginfo package Processing files: postgresql12-repmgr-5.2.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3KsjAO find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZMwTrx find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.CkSvDx Requires: postgresql12-server, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.4), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(post): /bin/sh Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nLyryD Creating postgresql12-repmgr-debuginfo package Processing files: repmgr-doc-5.2.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.92781 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd repmgr-5.2.1 + DOCDIR=/usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + export DOCDIR + rm -rf /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + /bin/mkdir -p /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + cp -prL doc/html /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + chmod -R go-w /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + chmod -R a+rX /usr/src/tmp/repmgr-buildroot/usr/share/doc/repmgr-doc-5.2.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dgYABd find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4qT1E4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: repmgr-debuginfo-5.2.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ib94Pc find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6cdFKq find-requires: running scripts (debuginfo) Requires: repmgr = 5.2.1-alt2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libpq.so.5) Processing files: postgresql12-repmgr-debuginfo-5.2.1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vT2Vj1 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.39yG7U find-requires: running scripts (debuginfo) Requires: postgresql12-repmgr = 5.2.1-alt2, debug(libc.so.6) Adding to repmgr-debuginfo a strict dependency on repmgr Adding to postgresql12-repmgr-debuginfo a strict dependency on postgresql12-repmgr Wrote: /usr/src/RPM/RPMS/i586/repmgr-5.2.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/postgresql12-repmgr-5.2.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/repmgr-doc-5.2.1-alt2.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/repmgr-debuginfo-5.2.1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/postgresql12-repmgr-debuginfo-5.2.1-alt2.i586.rpm (w2.lzdio) 27.95user 2.29system 0:35.86elapsed 84%CPU (0avgtext+0avgdata 66032maxresident)k 0inputs+0outputs (0major+807280minor)pagefaults 0swaps 38.84user 6.53system 0:51.33elapsed 88%CPU (0avgtext+0avgdata 117968maxresident)k 0inputs+0outputs (0major+1223788minor)pagefaults 0swaps