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/python-rst-linker.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44682-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-rst-linker.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/python-rst-linker-2.3.1-3.oc9.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/python-rst-linker.spec'], chrootPath='/var/lib/mock/dist-oc9-build-44682-14591/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-rst-linker.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.jZWQRm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rst.linker-2.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/rst.linker-2.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rst.linker-2.3.1 + /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.dVPce3 + umask 022 + cd /builddir/build/BUILD + cd rst.linker-2.3.1 + mkdir -p /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir + CFLAGS='-O2 -g' + LDFLAGS= + TMPDIR=/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/rst.linker-2.3.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/rst.linker-2.3.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info writing /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/SOURCES.txt' package init file 'pyproject-wheeldir/__init__.py' not found (or not a regular file) reading manifest file '/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-modern-metadata-8chh2dg2/rst.linker-2.3.1.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: rst.linker Building wheel for rst.linker (pyproject.toml): started Running command Building wheel for rst.linker (pyproject.toml) running bdist_wheel running build running build_py package init file 'pyproject-wheeldir/__init__.py' not found (or not a regular file) creating build creating build/lib creating build/lib/rst copying rst/linker.py -> build/lib/rst copying rst/__init__.py -> build/lib/rst running egg_info writing rst.linker.egg-info/PKG-INFO writing dependency_links to rst.linker.egg-info/dependency_links.txt writing requirements to rst.linker.egg-info/requires.txt writing top-level names to rst.linker.egg-info/top_level.txt reading manifest file 'rst.linker.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'rst.linker.egg-info/SOURCES.txt' 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/rst copying build/lib/rst/linker.py -> build/bdist.linux-aarch64/wheel/rst copying build/lib/rst/__init__.py -> build/bdist.linux-aarch64/wheel/rst running install_egg_info Copying rst.linker.egg-info to build/bdist.linux-aarch64/wheel/rst.linker-2.3.1-py3.10.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-aarch64/wheel/rst.linker-2.3.1.dist-info/WHEEL creating '/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir/pip-wheel-nqjww8ew/tmp14y1_0d9/rst.linker-2.3.1-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'rst/__init__.py' adding 'rst/linker.py' adding 'rst.linker-2.3.1.dist-info/LICENSE' adding 'rst.linker-2.3.1.dist-info/METADATA' adding 'rst.linker-2.3.1.dist-info/WHEEL' adding 'rst.linker-2.3.1.dist-info/top_level.txt' adding 'rst.linker-2.3.1.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for rst.linker (pyproject.toml): finished with status 'done' Created wheel for rst.linker: filename=rst.linker-2.3.1-py3-none-any.whl size=5279 sha256=f8cca61d89ddf40890325352ca5b932bae621455723478b4e48ca563ea7ba634 Stored in directory: /builddir/.cache/pip/wheels/75/07/e9/358dcb1790cc4fb16ce142c1073184a5f906bf3d2bac44e46c Successfully built rst.linker + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0beO6O + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch + cd rst.linker-2.3.1 ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /builddir/build/BUILD/rst.linker-2.3.1/pyproject-wheeldir/rst.linker-2.3.1-py3-none-any.whl + specifier=rst.linker==2.3.1 + TMPDIR=/builddir/build/BUILD/rst.linker-2.3.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.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/rst.linker-2.3.1/pyproject-wheeldir rst.linker==2.3.1 Using pip 22.1.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/rst.linker-2.3.1/pyproject-wheeldir Processing ./pyproject-wheeldir/rst.linker-2.3.1-py3-none-any.whl Installing collected packages: rst.linker Successfully installed rst.linker-2.3.1 + '[' -d /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/rst.linker-2.3.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib/python3.10/site-packages/rst.linker-2.3.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/TencentOS + /usr/bin/python3 -B /usr/lib/rpm/TencentOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch --record /builddir/build/BUILDROOT/python-rst-linker-2.3.1-3.oc9.noarch/usr/lib/python3.10/site-packages/rst.linker-2.3.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record /usr/bin/python3: can't open file '/usr/lib/rpm/TencentOS/pyproject_preprocess_record.py': [Errno 2] No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0beO6O (%install) Bad exit status from /var/tmp/rpm-tmp.0beO6O (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-rst-linker.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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/python-rst-linker.spec