Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70084-4009/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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.12.1-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-70084-4009/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.TQN2M5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fence-agents-4.12.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fence-agents-4.12.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fence-agents-4.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ha-cloud-support-aliyun.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ha-cloud-support-aws.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ha-cloud-support-gce.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fence-agents-4.12.1-kubervirt-bootstrap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac + rm -rf /builddir/bootstraplib + mkdir -p /builddir/bootstraplib + pip3 install --no-index --find-links=/builddir/build/SOURCES --target /builddir/bootstraplib boto3 python-novaclient python-keystoneclient jmespath google-api-python-client openshift Looking in links: /builddir/build/SOURCES Processing /builddir/build/SOURCES/boto3-1.26.81-py3-none-any.whl Processing /builddir/build/SOURCES/python_novaclient-18.3.0-py3-none-any.whl Processing /builddir/build/SOURCES/python_keystoneclient-5.1.0-py3-none-any.whl Processing /builddir/build/SOURCES/jmespath-1.0.1-py3-none-any.whl Processing /builddir/build/SOURCES/google_api_python_client-2.79.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/openshift-0.13.1.tar.gz Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Processing /builddir/build/SOURCES/s3transfer-0.6.0-py3-none-any.whl Processing /builddir/build/SOURCES/botocore-1.29.81-py3-none-any.whl Processing /builddir/build/SOURCES/oslo.serialization-5.1.1-py3-none-any.whl Processing /builddir/build/SOURCES/keystoneauth1-5.1.2-py3-none-any.whl Processing /builddir/build/SOURCES/oslo.i18n-6.0.0-py3-none-any.whl Processing /builddir/build/SOURCES/pbr-5.11.1-py2.py3-none-any.whl Processing /builddir/build/SOURCES/iso8601-1.1.0-py3-none-any.whl Processing /builddir/build/SOURCES/oslo.utils-6.1.0-py3-none-any.whl Processing /builddir/build/SOURCES/stevedore-5.0.0-py3-none-any.whl Processing /builddir/build/SOURCES/prettytable-3.6.0-py3-none-any.whl Processing /builddir/build/SOURCES/oslo.config-9.1.1-py3-none-any.whl Processing /builddir/build/SOURCES/debtcollector-2.5.0-py3-none-any.whl Processing /builddir/build/SOURCES/packaging-23.0-py3-none-any.whl Processing /builddir/build/SOURCES/requests-2.28.2-py3-none-any.whl Processing /builddir/build/SOURCES/six-1.16.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/google_auth-2.16.1-py2.py3-none-any.whl Processing /builddir/build/SOURCES/uritemplate-4.1.1-py2.py3-none-any.whl Processing /builddir/build/SOURCES/google_auth_httplib2-0.1.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/httplib2-0.21.0-py3-none-any.whl Processing /builddir/build/SOURCES/google_api_core-2.11.0-py3-none-any.whl Processing /builddir/build/SOURCES/kubernetes-26.1.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/python_string_utils-1.0.0-py3-none-any.whl Processing /builddir/build/SOURCES/python_dateutil-2.8.2-py2.py3-none-any.whl Processing /builddir/build/SOURCES/urllib3-1.26.14-py2.py3-none-any.whl Processing /builddir/build/SOURCES/wrapt-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Processing /builddir/build/SOURCES/googleapis_common_protos-1.58.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/protobuf-4.22.0-cp37-abi3-manylinux2014_aarch64.whl Processing /builddir/build/SOURCES/rsa-4.9-py3-none-any.whl Processing /builddir/build/SOURCES/pyasn1_modules-0.2.8-py2.py3-none-any.whl Processing /builddir/build/SOURCES/cachetools-5.3.0-py3-none-any.whl Processing /builddir/build/SOURCES/pyparsing-3.0.9-py3-none-any.whl Processing /builddir/build/SOURCES/os_service_types-1.7.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/websocket_client-1.5.1-py3-none-any.whl Processing /builddir/build/SOURCES/setuptools-67.4.0-py3-none-any.whl Processing /builddir/build/SOURCES/requests_oauthlib-1.3.1-py2.py3-none-any.whl Processing /builddir/build/SOURCES/certifi-2022.12.7-py3-none-any.whl Processing /builddir/build/SOURCES/PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Processing /builddir/build/SOURCES/netaddr-0.8.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/rfc3986-2.0.0-py2.py3-none-any.whl Processing /builddir/build/SOURCES/pytz-2022.7.1-py2.py3-none-any.whl Processing /builddir/build/SOURCES/msgpack-1.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Processing /builddir/build/SOURCES/netifaces-0.11.0.tar.gz Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Processing /builddir/build/SOURCES/wcwidth-0.2.6-py2.py3-none-any.whl Processing /builddir/build/SOURCES/charset_normalizer-3.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Processing /builddir/build/SOURCES/idna-3.4-py3-none-any.whl Processing /builddir/build/SOURCES/pyasn1-0.4.8-py2.py3-none-any.whl Processing /builddir/build/SOURCES/oauthlib-3.2.2-py3-none-any.whl Building wheels for collected packages: openshift, netifaces Building wheel for openshift (setup.py): started Building wheel for openshift (setup.py): finished with status 'done' Created wheel for openshift: filename=openshift-0.13.1-py3-none-any.whl size=18172 sha256=4284b8c693e05815764a92c8780de7c6a61db892b15cf4fcd9d467cd3d2f30d9 Stored in directory: /builddir/.cache/pip/wheels/8f/f8/12/a5b2b0c7a75997e49f5149172f2c31ddde3d4dabd69a89f3b3 Building wheel for netifaces (setup.py): started Building wheel for netifaces (setup.py): finished with status 'done' Created wheel for netifaces: filename=netifaces-0.11.0-cp310-cp310-linux_aarch64.whl size=35964 sha256=ce40fed12b44aa877264d93d89e08010761383e0ee390a153a67a7bb3effbfb1 Stored in directory: /builddir/.cache/pip/wheels/29/eb/1a/48e161e8ccc68fc61797e1862215bd53f0227f23073eb8a032 Successfully built openshift netifaces Installing collected packages: wcwidth, pytz, pyasn1, netifaces, netaddr, msgpack, charset-normalizer, wrapt, websocket-client, urllib3, uritemplate, six, setuptools, rsa, rfc3986, pyyaml, python-string-utils, pyparsing, pyasn1-modules, protobuf, PrettyTable, pbr, packaging, oauthlib, jmespath, iso8601, idna, certifi, cachetools, stevedore, requests, python-dateutil, oslo.i18n, os-service-types, httplib2, googleapis-common-protos, google-auth, debtcollector, requests-oauthlib, oslo.utils, oslo.config, keystoneauth1, google-auth-httplib2, google-api-core, botocore, s3transfer, oslo.serialization, kubernetes, google-api-python-client, python-novaclient, python-keystoneclient, openshift, boto3 Successfully installed PrettyTable-3.6.0 boto3-1.26.81 botocore-1.29.81 cachetools-5.3.0 certifi-2022.12.7 charset-normalizer-3.0.1 debtcollector-2.5.0 google-api-core-2.11.0 google-api-python-client-2.79.0 google-auth-2.16.1 google-auth-httplib2-0.1.0 googleapis-common-protos-1.58.0 httplib2-0.21.0 idna-3.4 iso8601-1.1.0 jmespath-1.0.1 keystoneauth1-5.1.2 kubernetes-26.1.0 msgpack-1.0.4 netaddr-0.8.0 netifaces-0.11.0 oauthlib-3.2.2 openshift-0.13.1 os-service-types-1.7.0 oslo.config-9.1.1 oslo.i18n-6.0.0 oslo.serialization-5.1.1 oslo.utils-6.1.0 packaging-23.0 pbr-5.11.1 protobuf-4.22.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pyparsing-3.0.9 python-dateutil-2.8.2 python-keystoneclient-5.1.0 python-novaclient-18.3.0 python-string-utils-1.0.0 pytz-2022.7.1 pyyaml-6.0 requests-2.28.2 requests-oauthlib-1.3.1 rfc3986-2.0.0 rsa-4.9 s3transfer-0.6.0 setuptools-67.4.0 six-1.16.0 stevedore-5.0.0 uritemplate-4.1.1 urllib3-1.26.14 wcwidth-0.2.6 websocket-client-1.5.1 wrapt-1.15.0 + sed -i s/v=/v=4.12.1/ make/git-version-gen + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.r2RP3O + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fence-agents-4.12.1 + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + export PYTHONPATH=:/builddir/bootstraplib/ + PYTHONPATH=:/builddir/bootstraplib/ + ./autogen.sh Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/bin/autoreconf line 48. BEGIN failed--compilation aborted at /usr/bin/autoreconf line 48. error: Bad exit status from /var/tmp/rpm-tmp.r2RP3O (%build) Bad exit status from /var/tmp/rpm-tmp.r2RP3O (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fence-agents.spec