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 noarch --nodeps /builddir/build/SPECS/rpm-check.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-133353-9504/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 noarch --nodeps /builddir/build/SPECS/rpm-check.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpm-check-6.14-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpm-check.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-133353-9504/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 noarch --nodeps /builddir/build/SPECS/rpm-check.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OdRKeA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpm_check-6.14 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpm_check-6.14.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpm_check-6.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uYbUK5 + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rpm_check-6.14 + mkdir -p /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir + 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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/rpm_check-6.14/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/rpm_check-6.14 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info writing /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'tests' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-modern-metadata-cqq45jbe/rpm_check-6.14.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: rpm-check Building wheel for rpm-check (pyproject.toml): started Running command Building wheel for rpm-check (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/rpm_check copying rpm_check/parse_python.py -> build/lib/rpm_check copying rpm_check/rpm_check.py -> build/lib/rpm_check copying rpm_check/compare_api.py -> build/lib/rpm_check copying rpm_check/parse_xml.py -> build/lib/rpm_check copying rpm_check/common.py -> build/lib/rpm_check copying rpm_check/check_rpm_conf.py -> build/lib/rpm_check copying rpm_check/__init__.py -> build/lib/rpm_check copying rpm_check/compare_py_abi.py -> build/lib/rpm_check installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64 creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/parse_python.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/rpm_check.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/compare_api.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/parse_xml.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/common.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/check_rpm_conf.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/__init__.py -> build/bdist.linux-aarch64/wheel/rpm_check copying build/lib/rpm_check/compare_py_abi.py -> build/bdist.linux-aarch64/wheel/rpm_check running install_data creating build/bdist.linux-aarch64/wheel/rpm_check-6.14.data creating build/bdist.linux-aarch64/wheel/rpm_check-6.14.data/data creating build/bdist.linux-aarch64/wheel/etc creating build/bdist.linux-aarch64/wheel/etc/rpm-check copying conf/order_list -> build/bdist.linux-aarch64/wheel/etc/rpm-check copying conf/rules.xml -> build/bdist.linux-aarch64/wheel/etc/rpm-check copying conf/special_name_list -> build/bdist.linux-aarch64/wheel/etc/rpm-check copying conf/rpm-check.conf -> build/bdist.linux-aarch64/wheel/etc running install_egg_info running egg_info writing rpm_check.egg-info/PKG-INFO writing dependency_links to rpm_check.egg-info/dependency_links.txt writing entry points to rpm_check.egg-info/entry_points.txt writing requirements to rpm_check.egg-info/requires.txt writing top-level names to rpm_check.egg-info/top_level.txt reading manifest file 'rpm_check.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory 'tests' adding license file 'LICENSE' writing manifest file 'rpm_check.egg-info/SOURCES.txt' Copying rpm_check.egg-info to build/bdist.linux-aarch64/wheel/rpm_check-6.14-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/rpm_check-6.14.dist-info/WHEEL creating '/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir/pip-wheel-zvro0ccc/.tmp-abjl3hja/rpm_check-6.14-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'etc/rpm-check.conf' adding 'etc/rpm-check/order_list' adding 'etc/rpm-check/rules.xml' adding 'etc/rpm-check/special_name_list' adding 'rpm_check/__init__.py' adding 'rpm_check/check_rpm_conf.py' adding 'rpm_check/common.py' adding 'rpm_check/compare_api.py' adding 'rpm_check/compare_py_abi.py' adding 'rpm_check/parse_python.py' adding 'rpm_check/parse_xml.py' adding 'rpm_check/rpm_check.py' adding 'rpm_check-6.14.dist-info/LICENSE' adding 'rpm_check-6.14.dist-info/METADATA' adding 'rpm_check-6.14.dist-info/WHEEL' adding 'rpm_check-6.14.dist-info/entry_points.txt' adding 'rpm_check-6.14.dist-info/top_level.txt' adding 'rpm_check-6.14.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for rpm-check (pyproject.toml): finished with status 'done' Created wheel for rpm-check: filename=rpm_check-6.14-py3-none-any.whl size=36647 sha256=71fadf29f843dcae2ae7d99c4394253caa2f6323c5cfa7898678ff96ae3a4d9a Stored in directory: /builddir/.cache/pip/wheels/e9/93/d6/77dac0b98bf6e0c4f6e5f251a99f25fcd704aa6231795bfc32 Successfully built rpm-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gHMm5C + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch + cd rpm_check-6.14 ++ ls /builddir/build/BUILD/rpm_check-6.14/pyproject-wheeldir/rpm_check-6.14-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=rpm_check==6.14 + TMPDIR=/builddir/build/BUILD/rpm_check-6.14/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/rpm_check-6.14/pyproject-wheeldir rpm_check==6.14 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/rpm_check-6.14/pyproject-wheeldir Processing ./pyproject-wheeldir/rpm_check-6.14-py3-none-any.whl Installing collected packages: rpm_check Creating /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin/rpm-check to 755 Successfully installed rpm_check-6.14 + '[' -d /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin/rpm-check /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin/rpm-check: updating + rm -rfv /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch --record /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/RECORD removed '/builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/lib/python3.11/site-packages/rpm_check-6.14.dist-info/REQUESTED' + mkdir -p /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/etc/rpm-check/ + install -Dpm644 conf/order_list /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/etc/rpm-check/ + install -Dpm644 conf/special_name_list /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/etc/rpm-check/ + install -Dpm644 conf/rules.xml /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/etc/rpm-check/ + install -Dpm644 conf/rpm-check.conf /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/etc/rpm-check.conf + mkdir -p /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/libexec/rpm-check + install -dm777 /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/var/rpm-check/ + install -Dpm644 tools/auto_py_pkg.py tools/autopack.sh tools/check_executable_output.sh tools/check_py_dep.py tools/check_src_dep.py tools/execute_command.sh tools/generate_html_with_json.py tools/generate_release_json.py tools/import_command.sh tools/import_filelist.sh tools/import_packages.sh tools/import_pkg_relations.sh tools/import_so_id.sh tools/openstack.sub.list tools/packages.json tools/pre_classify.sh tools/result.json tools/template.html tools/test.py tools/test2.py tools/test3.py tools/test4.py tools/test5.py tools/test6.py tools/test66.py tools/test7.py tools/tests /builddir/build/BUILDROOT/rpm-check-6.14-3.ocs23.noarch/usr/libexec/rpm-check/ install: omitting directory 'tools/tests' error: Bad exit status from /var/tmp/rpm-tmp.gHMm5C (%install) Bad exit status from /var/tmp/rpm-tmp.gHMm5C (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rpm-check.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 noarch --nodeps /builddir/build/SPECS/rpm-check.spec