Mock Version: 1.4.13 Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'], chrootPath='/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'], chrootPath='/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9009ff485b9e44248ab97a3274d7b537', '-D', '/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9009ff485b9e44248ab97a3274d7b537', '-D', '/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Tue Sep 10 2017 - Ian Barwick 4.0.0-1.beta1 BUILDSTDERR: warning: bogus date in %changelog: Tue Sep 10 2017 - Ian Barwick 4.0.0-1.beta1 Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rh-postgresql10-repmgr-4.0.6-1.el7.src.rpm Wrote: /builddir/build/SRPMS/rh-postgresql10-repmgr-4.0.6-1.el7.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'], chrootPath='/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'], chrootPath='/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '204a90deec614124b43c55bfd064caaa', '-D', '/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '204a90deec614124b43c55bfd064caaa', '-D', '/var/lib/mock/861700-epel-7-x86_64-1550876165.705800/root', '-a', '--capability=cap_ipc_lock', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/tmpugcqs_.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: bogus date in %changelog: Tue Sep 10 2017 - Ian Barwick 4.0.0-1.beta1 BUILDSTDERR: warning: bogus date in %changelog: Tue Sep 10 2017 - Ian Barwick 4.0.0-1.beta1 Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.84IU9N Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.84IU9N + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf repmgr-4.0.6 + rm -rf repmgr-4.0.6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/repmgr-4.0.6.tar.bz2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/repmgr-4.0.6.tar.bz2 + /usr/bin/tar -xf - + /usr/bin/tar -xf - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd repmgr-4.0.6 + cd repmgr-4.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (repmgr-pg10-config-file-location.patch): Patch #0 (repmgr-pg10-config-file-location.patch): + echo 'Patch #0 (repmgr-pg10-config-file-location.patch):' + echo 'Patch #0 (repmgr-pg10-config-file-location.patch):' + /usr/bin/cat /builddir/build/SOURCES/repmgr-pg10-config-file-location.patch + /usr/bin/cat /builddir/build/SOURCES/repmgr-pg10-config-file-location.patch + /usr/bin/patch -p0 --fuzz=0 + /usr/bin/patch -p0 --fuzz=0 patching file configfile.c patching file configfile.c Hunk #1 succeeded at 161 (offset 53 lines). Hunk #1 succeeded at 161 (offset 53 lines). + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7nUUYK Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7nUUYK + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd repmgr-4.0.6 + cd repmgr-4.0.6 + PG_CONFIG=/opt/rh/rh-postgresql10/root/bin/pg_config + PG_CONFIG=/opt/rh/rh-postgresql10/root/bin/pg_config + ./configure + ./configure checking for a sed that does not truncate output... /usr/bin/sed checking for a sed that does not truncate output... /usr/bin/sed configure: building against PostgreSQL 10.6 configure: building against PostgreSQL 10.6 configure: creating ./config.status configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile config.status: creating Makefile.global config.status: creating Makefile.global config.status: creating doc/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: creating config.h + /usr/bin/make PG_CONFIG=/opt/rh/rh-postgresql10/root/bin/pg_config USE_PGXS=1 -j2 + /usr/bin/make PG_CONFIG=/opt/rh/rh-postgresql10/root/bin/pg_config USE_PGXS=1 -j2 Building against PostgreSQL 10 Building against PostgreSQL 10 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr.o repmgr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr.o repmgr.c sed '0,/REPMGR_VERSION_DATE/s,\(REPMGR_VERSION_DATE\).*,\1 "2019-02-22",' repmgr_version.h.in >repmgr_version.h sed '0,/REPMGR_VERSION_DATE/s,\(REPMGR_VERSION_DATE\).*,\1 "2019-02-22",' repmgr_version.h.in >repmgr_version.h gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd.o repmgrd.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd.o repmgrd.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-physical.o repmgrd-physical.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-physical.o repmgrd-physical.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-bdr.o repmgrd-bdr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgrd-bdr.o repmgrd-bdr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o configfile.o configfile.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o configfile.o configfile.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o log.o log.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o log.o log.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o dbutils.o dbutils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o dbutils.o dbutils.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o strutil.o strutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o strutil.o strutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o controldata.o controldata.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o controldata.o controldata.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o compat.o compat.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o compat.o compat.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-client.o repmgr-client.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-client.o repmgr-client.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-primary.o repmgr-action-primary.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-primary.o repmgr-action-primary.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-standby.o repmgr-action-standby.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-standby.o repmgr-action-standby.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-witness.o repmgr-action-witness.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-witness.o repmgr-action-witness.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-bdr.o repmgr-action-bdr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-bdr.o repmgr-action-bdr.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-cluster.o repmgr-action-cluster.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-cluster.o repmgr-action-cluster.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-node.o repmgr-action-node.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o repmgr-action-node.o repmgr-action-node.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o dirutil.o dirutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -std=gnu89 -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -I/opt/rh/rh-postgresql10/root/usr/include -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I./ -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/server -I/opt/rh/rh-postgresql10/root/usr/include/pgsql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o dirutil.o dirutil.c gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC repmgrd.o repmgrd-physical.o repmgrd-bdr.o configfile.o log.o dbutils.o strutil.o controldata.o compat.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpgcommon -lpgport -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -lpgcommon -lpgport -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lrt -lcrypt -ldl -lm -o repmgrd gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC repmgrd.o repmgrd-physical.o repmgrd-bdr.o configfile.o log.o dbutils.o strutil.o controldata.o compat.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpgcommon -lpgport -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -lpgcommon -lpgport -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lrt -lcrypt -ldl -lm -o repmgrd gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -shared -o repmgr.so repmgr.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -shared -o repmgr.so repmgr.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC repmgr-client.o repmgr-action-primary.o repmgr-action-standby.o repmgr-action-witness.o repmgr-action-bdr.o repmgr-action-cluster.o repmgr-action-node.o configfile.o log.o strutil.o controldata.o dirutil.o compat.o dbutils.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpgcommon -lpgport -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -lpgcommon -lpgport -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lrt -lcrypt -ldl -lm -o repmgr gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC repmgr-client.o repmgr-action-primary.o repmgr-action-standby.o repmgr-action-witness.o repmgr-action-bdr.o repmgr-action-cluster.o repmgr-action-node.o configfile.o log.o strutil.o controldata.o dirutil.o compat.o dbutils.o -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpgcommon -lpgport -L/opt/rh/rh-postgresql10/root/usr/lib64 -lpq -L/opt/rh/rh-postgresql10/root/usr/lib64 -Wl,-z,relro -Wl,--as-needed -lpgcommon -lpgport -lpthread -lselinux -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lrt -lcrypt -ldl -lm -o repmgr + exit 0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HXUEQQ Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HXUEQQ + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 '!=' / ']' + '[' /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + rm -rf /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + mkdir /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + cd repmgr-4.0.6 + cd repmgr-4.0.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/bin/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/bin/ + USE_PGXS=1 + USE_PGXS=1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 DESTDIR=/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 DESTDIR=/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 Building against PostgreSQL 10 Building against PostgreSQL 10 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin' /usr/bin/install -c -m 755 repmgr.so '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql/repmgr.so' /usr/bin/install -c -m 755 repmgr.so '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql/repmgr.so' /usr/bin/install -c -m 644 .//repmgr.control '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension/' /usr/bin/install -c -m 644 .//repmgr.control '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension/' /usr/bin/install -c -m 644 .//repmgr--unpackaged--4.0.sql .//repmgr--4.0.sql '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension/' /usr/bin/install -c -m 644 .//repmgr--unpackaged--4.0.sql .//repmgr--4.0.sql '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/share/pgsql/extension/' /usr/bin/install -c -m 755 repmgr repmgrd '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/' /usr/bin/install -c -m 755 repmgr repmgrd '/builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/bin/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/bin/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//etc/opt/rh/rh-postgresql10/repmgr/10/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//etc/opt/rh/rh-postgresql10/repmgr/10/ + install -m 644 repmgr.conf.sample /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//etc/opt/rh/rh-postgresql10/repmgr/10/repmgr.conf + install -m 644 repmgr.conf.sample /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//etc/opt/rh/rh-postgresql10/repmgr/10/repmgr.conf + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/libexec/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/libexec/ + install -m 755 /builddir/build/SOURCES/repmgrd-start /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/libexec/repmgrd-start + install -m 755 /builddir/build/SOURCES/repmgrd-start /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/libexec/repmgrd-start + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/licenses/rh-postgresql10-repmgr-4.0.6 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/licenses/rh-postgresql10-repmgr-4.0.6 + install -m 644 CREDITS /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/CREDITS + install -m 644 CREDITS /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/CREDITS + install -m 644 HISTORY /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/HISTORY + install -m 644 HISTORY /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/HISTORY + install -m 644 README.md /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/README.md + install -m 644 README.md /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/doc/rh-postgresql10-repmgr-4.0.6/README.md + install -m 644 LICENSE /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/licenses/rh-postgresql10-repmgr-4.0.6/LICENSE + install -m 644 LICENSE /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64//opt/rh/rh-postgresql10/root/usr/share/licenses/rh-postgresql10-repmgr-4.0.6/LICENSE + install -d /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/systemd/system + install -m 644 /builddir/build/SOURCES/repmgr-pg10.service /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/systemd/system/rh-postgresql10-repmgr.service + install -m 644 /builddir/build/SOURCES/repmgr-pg10.service /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/systemd/system/rh-postgresql10-repmgr.service + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/tmpfiles.d + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/usr/lib/tmpfiles.d + cat + cat + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/repmgr-4.0.6 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/repmgr-4.0.6 extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql/repmgr.so extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/lib64/pgsql/repmgr.so extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/repmgrd extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/repmgrd extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/repmgr extracting debug info from /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64/opt/rh/rh-postgresql10/root/usr/bin/repmgr /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1528 blocks BUILDSTDERR: 1528 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 Processing files: rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 Provides: config(rh-postgresql10-repmgr) = 4.0.6-1.el7 rh-postgresql10-repmgr = 4.0.6-1.el7 rh-postgresql10-repmgr(x86-64) = 4.0.6-1.el7 Provides: config(rh-postgresql10-repmgr) = 4.0.6-1.el7 rh-postgresql10-repmgr = 4.0.6-1.el7 rh-postgresql10-repmgr(x86-64) = 4.0.6-1.el7 Requires(interp): /bin/sh /bin/sh /sbin/ldconfig Requires(interp): /bin/sh /bin/sh /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(pre): /bin/sh Requires(post): /bin/sh systemd systemd-sysv Requires(post): /bin/sh systemd systemd-sysv Requires(preun): systemd Requires(preun): systemd Requires(postun): /sbin/ldconfig systemd Requires(postun): /sbin/ldconfig systemd Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpq.so.rh-postgresql10-5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Requires: /bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpq.so.rh-postgresql10-5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: rh-postgresql10-repmgr-debuginfo-4.0.6-1.el7.x86_64 Processing files: rh-postgresql10-repmgr-debuginfo-4.0.6-1.el7.x86_64 Provides: rh-postgresql10-repmgr-debuginfo = 4.0.6-1.el7 rh-postgresql10-repmgr-debuginfo(x86-64) = 4.0.6-1.el7 Provides: rh-postgresql10-repmgr-debuginfo = 4.0.6-1.el7 rh-postgresql10-repmgr-debuginfo(x86-64) = 4.0.6-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 Wrote: /builddir/build/RPMS/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql10-repmgr-debuginfo-4.0.6-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rh-postgresql10-repmgr-debuginfo-4.0.6-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C6ttrh Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C6ttrh + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd repmgr-4.0.6 + cd repmgr-4.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rh-postgresql10-repmgr-4.0.6-1.el7.x86_64 + exit 0 + exit 0 Child return code was: 0 Child return code was: 0