Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-176402-59083/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/fence-agents-4.10.0-20.an8.2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-176402-59083/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.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': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rJZuFv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fence-agents-4.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/fence-agents-4.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fence-agents-4.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ha-cloud-support-aliyun.patch):' Patch #0 (ha-cloud-support-aliyun.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/aliyun/fence_aliyun.py + echo 'Patch #1 (ha-cloud-support-aws.patch):' Patch #1 (ha-cloud-support-aws.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/aws/fence_aws.py Patch #2 (ha-cloud-support-azure.patch): + echo 'Patch #2 (ha-cloud-support-azure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/azure_fence.py.py + echo 'Patch #3 (ha-cloud-support-google.patch):' Patch #3 (ha-cloud-support-google.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/gce/fence_gce.py + echo 'Patch #4 (ha-openstack-support.patch):' Patch #4 (ha-openstack-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/compute/fence_compute.py patching file agents/evacuate/fence_evacuate.py patching file agents/openstack/fence_openstack.py + echo 'Patch #5 (bundled-pexpect.patch):' Patch #5 (bundled-pexpect.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/azure_arm/fence_azure_arm.py patching file agents/hpblade/fence_hpblade.py patching file agents/ilo/fence_ilo.py patching file agents/ldom/fence_ldom.py patching file agents/Makefile.am patching file agents/netio/fence_netio.py patching file agents/raritan/fence_raritan.py patching file agents/sanbox2/fence_sanbox2.py patching file agents/vmware/fence_vmware.py patching file agents/wti/fence_wti.py patching file lib/fencing.py.py Hunk #2 succeeded at 505 (offset 9 lines). patching file lib/fencing_snmp.py.py patching file make/agentpycheck.mk Hunk #1 succeeded at 10 (offset 1 line). patching file make/fencebuild.mk patching file make/fenceman.mk + echo 'Patch #6 (bundled-suds.patch):' Patch #6 (bundled-suds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/vmware_soap/fence_vmware_soap.py Patch #7 (bz2010709-1-fence_amt_ws-fix-or-causing-dead-code.patch): + echo 'Patch #7 (bz2010709-1-fence_amt_ws-fix-or-causing-dead-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/amt_ws/fence_amt_ws.py Patch #8 (bz2010709-2-fence_amt_ws-boot-option.patch): + echo 'Patch #8 (bz2010709-2-fence_amt_ws-boot-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/amt_ws/fence_amt_ws.py + echo 'Patch #9 (bz2000954-1-configure-fix-virt.patch):' Patch #9 (bz2000954-1-configure-fix-virt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #10 (bz2000954-2-fence_kubevirt.patch): + echo 'Patch #10 (bz2000954-2-fence_kubevirt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/kubevirt/fence_kubevirt.py Patch #11 (bz2022334-fence_zvmip-add-ssl-tls-support.patch): + echo 'Patch #11 (bz2022334-fence_zvmip-add-ssl-tls-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml + echo 'Patch #12 (bz2029791-1-fence_openstack-add-ssl-insecure.patch):' Patch #12 (bz2029791-1-fence_openstack-add-ssl-insecure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 90 (offset 1 line). Hunk #2 succeeded at 128 (offset 1 line). Hunk #3 succeeded at 221 (offset 1 line). Hunk #4 succeeded at 270 (offset 1 line). Hunk #5 succeeded at 281 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #13 (bz2029791-2-fence_openstack-cacert-default.patch): + echo 'Patch #13 (bz2029791-2-fence_openstack-cacert-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 128 (offset 1 line). Hunk #2 succeeded at 196 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #14 (bz2000954-3-fence_kubevirt-get-namespace-from-context.patch): + echo 'Patch #14 (bz2000954-3-fence_kubevirt-get-namespace-from-context.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file agents/kubevirt/fence_kubevirt.py Hunk #1 succeeded at 13 (offset 1 line). Hunk #2 succeeded at 41 (offset 1 line). Hunk #3 succeeded at 71 (offset 1 line). Hunk #4 succeeded at 85 (offset 1 line). Hunk #5 succeeded at 111 (offset 1 line). Hunk #6 succeeded at 132 (offset 1 line). patching file tests/data/metadata/fence_kubevirt.xml Hunk #1 succeeded at 18 with fuzz 2 (offset -5 lines). Patch #15 (bz2041933-bz2041935-1-fence_openstack-clouds-openrc.patch): + echo 'Patch #15 (bz2041933-bz2041935-1-fence_openstack-clouds-openrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=1 patching file lib/fencing.py.py Hunk #1 succeeded at 1145 (offset 2 lines). patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 8 with fuzz 1. Hunk #2 succeeded at 27 (offset 1 line). Hunk #3 succeeded at 171 (offset 1 line). Hunk #4 succeeded at 179 (offset 1 line). Hunk #5 succeeded at 202 (offset 1 line). Hunk #6 succeeded at 242 (offset 1 line). Hunk #7 succeeded at 252 (offset 1 line). Hunk #8 succeeded at 261 (offset 1 line). Hunk #9 succeeded at 313 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml + echo 'Patch #16 (bz2041933-bz2041935-2-fence_openstack-clouds-openrc.patch):' Patch #16 (bz2041933-bz2041935-2-fence_openstack-clouds-openrc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #2 succeeded at 29 (offset 1 line). Hunk #3 succeeded at 209 (offset 1 line). Hunk #4 succeeded at 223 (offset 1 line). Hunk #5 succeeded at 231 (offset 1 line). Hunk #6 succeeded at 240 (offset 1 line). Hunk #7 succeeded at 250 (offset 1 line). Hunk #8 succeeded at 266 (offset 1 line). Hunk #9 succeeded at 310 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #17 (bz2042496-fence_ibm_vpc-fence_ibm_powervs.patch): + echo 'Patch #17 (bz2042496-fence_ibm_vpc-fence_ibm_powervs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/ibm_powervs/fence_ibm_powervs.py patching file agents/ibm_vpc/fence_ibm_vpc.py patching file tests/data/metadata/fence_ibm_powervs.xml patching file tests/data/metadata/fence_ibm_vpc.xml + echo 'Patch #18 (bz2022334-fence_zvmip-add-disable-ssl.patch):' Patch #18 (bz2022334-fence_zvmip-add-disable-ssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/fencing.py.py Hunk #1 succeeded at 1504 (offset 2 lines). patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml + echo 'Patch #19 (bz2086839-1-fence_apc-fence_ilo_moonshot-import-logging.patch):' Patch #19 (bz2086839-1-fence_apc-fence_ilo_moonshot-import-logging.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/apc/fence_apc.py patching file agents/ilo_moonshot/fence_ilo_moonshot.py Patch #20 (bz2086839-2-fence_lpar-fix-import-fail_usage.patch): + echo 'Patch #20 (bz2086839-2-fence_lpar-fix-import-fail_usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/lpar/fence_lpar.py + sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OCXqOO + umask 022 + cd /builddir/build/BUILD + cd fence-agents-4.10.0 + export PYTHON=/usr/libexec/platform-python + PYTHON=/usr/libexec/platform-python + LIBS=/builddir/build/SOURCES/requirements-common.txt + for x in $LIBS ++ echo /builddir/build/SOURCES/requirements-common.txt ++ sed -E 's/.*requirements-(.*).txt/\1/' + /usr/libexec/platform-python -m pip install --target support/common --no-index --find-links /builddir/build/SOURCES -r /builddir/build/SOURCES/requirements-common.txt Collecting pexpect (from -r /builddir/build/SOURCES/requirements-common.txt (line 1)) Collecting suds-community (from -r /builddir/build/SOURCES/requirements-common.txt (line 2)) Collecting ptyprocess>=0.5 (from pexpect->-r /builddir/build/SOURCES/requirements-common.txt (line 1)) Installing collected packages: ptyprocess, pexpect, suds-community Successfully installed pexpect-4.8.0 ptyprocess-0.7.0 suds-community-0.8.5 + ./autogen.sh autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I make -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf --include=make autoreconf: running: /usr/bin/autoheader --include=make autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory `.' Now run ./configure and make + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-libvirt-qmf-plugin PYTHONPATH=support/aliyun:support/aws:support/azure:support/google:support/openstack:support/common '--with-agents=amt_ws apc apc_snmp bladecenter brocade cisco_mds cisco_ucs compute drac5 eaton_snmp emerson eps evacuate hpblade ibmblade ibm_powervs ibm_vpc ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan kdump kubevirt lpar mpath redfish rhevm rsa rsb sbd scsi vmware_rest vmware_soap wti virsh heuristics_ping' configure: WARNING: unrecognized options: --disable-libvirt-qmf-plugin checking for aarch64-Anolis-linux-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes