Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rich-click.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789389982.498220/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rich-click.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-rich-click-1.9.9-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rich-click.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789389982.498220/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rich-click.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-rich-click-1.9.9-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rich-click.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789389982.498220/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rich-click.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uuryel + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-rich-click-1.9.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-rich-click-1.9.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-rich-click-1.9.9 + /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.8VltbA + umask 022 + cd /builddir/build/BUILD + cd python-rich-click-1.9.9 + pip3 wheel --no-build-isolation --no-deps --wheel-dir /builddir/build/BUILD/wheels . Processing /builddir/build/BUILD/python-rich-click-1.9.9 Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: rich-click Building wheel for rich-click (pyproject.toml): started Building wheel for rich-click (pyproject.toml): finished with status 'done' Created wheel for rich-click: filename=rich_click-1.9.9-py3-none-any.whl size=66381 sha256=924fcdc53cab16e42683a207c373e81476746c0950812b2bf16721d271adb826 Stored in directory: /builddir/.cache/pip/wheels/f8/cd/a8/70b9e41fd407e94129abe9211dc00730d1d84fd4c2b4d5034b Successfully built rich-click + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7xgkux + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-rich-click-1.9.9-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-rich-click-1.9.9-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-rich-click-1.9.9-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-rich-click-1.9.9-1.x86_64 + cd python-rich-click-1.9.9 + pip3 install --no-build-isolation --no-index --find-links /builddir/build/BUILD/wheels --root /builddir/build/BUILDROOT/python-rich-click-1.9.9-1.x86_64 --prefix /usr rich-click==1.9.9 Looking in links: /builddir/build/BUILD/wheels Processing /builddir/build/BUILD/wheels/rich_click-1.9.9-py3-none-any.whl INFO: pip is looking at multiple versions of rich-click to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement click>=8 (from rich-click) (from versions: none) ERROR: No matching distribution found for click>=8 error: Bad exit status from /var/tmp/rpm-tmp.7xgkux (%install) Bad exit status from /var/tmp/rpm-tmp.7xgkux (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rich-click.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 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/rich-click.spec