Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793173577.864750/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/cmd2.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-cmd2-4.3.1-2.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/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793173577.864750/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/cmd2.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-cmd2-4.3.1-2.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/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-x86_64-1793173577.864750/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/cmd2.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.emnTAO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-cmd2-4.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-cmd2-4.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-cmd2-4.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/^dynamic = \["version"\]/version = "4.3.1"/' pyproject.toml + sed -i 's/, "setuptools-scm>=9.2.1"//' pyproject.toml + sed -i '/^\[tool.setuptools_scm\]$/d' pyproject.toml + sed -i 's/^license = "MIT"/license = {text = "MIT"}/' pyproject.toml + sed -i '/^license-files/d' pyproject.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HXN06E + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . Processing /builddir/build/BUILD/python-cmd2-4.3.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running dist_info creating /tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info writing /tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching '.github' no previously-included directories found matching 'build' warning: no previously-included files found matching '.github' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.readthedocs.yaml' warning: no previously-included files matching 'htmlcov/**' found anywhere in distribution warning: no previously-included files matching '.coverage*' found anywhere in distribution warning: no previously-included files matching '__pycache__/**' found anywhere in distribution warning: no previously-included files matching '.gitignore' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-ecyctfcz/cmd2.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-ecyctfcz/cmd2-4.3.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cmd2 Building wheel for cmd2 (pyproject.toml): started Running command Building wheel for cmd2 (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:66: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. config = read_configuration(filepath, True, ignore_option_errors, dist) running bdist_wheel running build running build_py creating build/lib creating build/lib/cmd2 copying cmd2/argparse_utils.py -> build/lib/cmd2 copying cmd2/cmd2.py -> build/lib/cmd2 copying cmd2/__init__.py -> build/lib/cmd2 copying cmd2/py_bridge.py -> build/lib/cmd2 copying cmd2/argparse_completer.py -> build/lib/cmd2 copying cmd2/utils.py -> build/lib/cmd2 copying cmd2/annotated.py -> build/lib/cmd2 copying cmd2/string_utils.py -> build/lib/cmd2 copying cmd2/command_set.py -> build/lib/cmd2 copying cmd2/styles.py -> build/lib/cmd2 copying cmd2/exceptions.py -> build/lib/cmd2 copying cmd2/clipboard.py -> build/lib/cmd2 copying cmd2/constants.py -> build/lib/cmd2 copying cmd2/rich_utils.py -> build/lib/cmd2 copying cmd2/types.py -> build/lib/cmd2 copying cmd2/completion.py -> build/lib/cmd2 copying cmd2/theme.py -> build/lib/cmd2 copying cmd2/parsing.py -> build/lib/cmd2 copying cmd2/decorators.py -> build/lib/cmd2 copying cmd2/history.py -> build/lib/cmd2 copying cmd2/plugin.py -> build/lib/cmd2 copying cmd2/pt_utils.py -> build/lib/cmd2 copying cmd2/colors.py -> build/lib/cmd2 running egg_info creating cmd2.egg-info writing cmd2.egg-info/PKG-INFO writing dependency_links to cmd2.egg-info/dependency_links.txt writing requirements to cmd2.egg-info/requires.txt writing top-level names to cmd2.egg-info/top_level.txt writing manifest file 'cmd2.egg-info/SOURCES.txt' reading manifest file 'cmd2.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching '.github' no previously-included directories found matching 'build' warning: no previously-included files found matching '.github' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.readthedocs.yaml' warning: no previously-included files matching 'htmlcov/**' found anywhere in distribution warning: no previously-included files matching '.coverage*' found anywhere in distribution warning: no previously-included files matching '__pycache__/**' found anywhere in distribution warning: no previously-included files matching '.gitignore' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'cmd2.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/argparse_utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/cmd2.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/__init__.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/py_bridge.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/argparse_completer.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/annotated.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/string_utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/command_set.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/styles.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/exceptions.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/clipboard.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/constants.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/rich_utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/types.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/completion.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/theme.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/parsing.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/decorators.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/history.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/plugin.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/pt_utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/colors.py -> build/bdist.linux-x86_64/wheel/cmd2 running install_egg_info Copying cmd2.egg-info to build/bdist.linux-x86_64/wheel/cmd2-4.3.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cmd2-4.3.1.dist-info/WHEEL creating '/tmp/pip-wheel-198hqyyl/.tmp-5e81r0by/cmd2-4.3.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'cmd2/__init__.py' adding 'cmd2/annotated.py' adding 'cmd2/argparse_completer.py' adding 'cmd2/argparse_utils.py' adding 'cmd2/clipboard.py' adding 'cmd2/cmd2.py' adding 'cmd2/colors.py' adding 'cmd2/command_set.py' adding 'cmd2/completion.py' adding 'cmd2/constants.py' adding 'cmd2/decorators.py' adding 'cmd2/exceptions.py' adding 'cmd2/history.py' adding 'cmd2/parsing.py' adding 'cmd2/plugin.py' adding 'cmd2/pt_utils.py' adding 'cmd2/py_bridge.py' adding 'cmd2/rich_utils.py' adding 'cmd2/string_utils.py' adding 'cmd2/styles.py' adding 'cmd2/theme.py' adding 'cmd2/types.py' adding 'cmd2/utils.py' adding 'cmd2-4.3.1.dist-info/LICENSE' adding 'cmd2-4.3.1.dist-info/METADATA' adding 'cmd2-4.3.1.dist-info/WHEEL' adding 'cmd2-4.3.1.dist-info/top_level.txt' adding 'cmd2-4.3.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for cmd2 (pyproject.toml): finished with status 'done' Created wheel for cmd2: filename=cmd2-4.3.1-py3-none-any.whl size=209630 sha256=2e449a9653d70bc5e17754a9f89b8f5f7deab3cde16d86b7dc48dc1f43e8ffc4 Stored in directory: /builddir/.cache/pip/wheels/84/07/71/4bac989a3e8ca3ca558452299815f122292ef91cf236c090a4 Successfully built cmd2 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.28Eek2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 + export AM_UPDATE_INFO_DIR=no + AM_UPDATE_INFO_DIR=no + cd python-cmd2-4.3.1 ++ ls ./build/cmd2-4.3.1-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=cmd2==4.3.1 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build cmd2==4.3.1 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/cmd2-4.3.1-py3-none-any.whl Installing collected packages: cmd2 Successfully installed cmd2-4.3.1 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 4.3.1-2 --unique-debug-suffix -4.3.1-2.x86_64 --unique-debug-src-base python-cmd2-4.3.1-2.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/python-cmd2-4.3.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-remove-info-dir + /usr/lib/rpm/brp-clean-perl-files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JMVVYj + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + python3 -c 'import cmd2; print(cmd2.__file__)' /builddir/build/BUILD/python-cmd2-4.3.1/cmd2/__init__.py + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-cmd2-4.3.1-2.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lVz4Ip + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/licenses/python3-cmd2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/licenses/python3-cmd2 + cp -pr LICENSE /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/licenses/python3-cmd2 + RPM_EC=0 ++ jobs -p + exit 0 /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement /usr/lib/rpm/pythondistdeps.py:105: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import Distribution, FileMetadata, PathMetadata, Requirement Provides: python-cmd2 python3-cmd2 = 4.3.1-2 python3.11dist(cmd2) = 4.3.1 python3dist(cmd2) = 4.3.1 python3dist(cmd2) = 4.3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(prompt-toolkit) >= 3.0.53 python3.11dist(pyperclip) >= 1.8.2 python3.11dist(rich) >= 15 python3.11dist(rich-argparse) >= 1.7.2 Processing files: python-cmd2-help-4.3.1-2.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Rn3yQ8 + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + DOCDIR=/builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/doc/python-cmd2-help + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/doc/python-cmd2-help + cp -pr README.md /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/doc/python-cmd2-help + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64/usr/share/doc/python-cmd2-help + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-cmd2-help = 4.3.1-2 python3-cmd2-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 Wrote: /builddir/build/RPMS/python-cmd2-help-4.3.1-2.noarch.rpm Wrote: /builddir/build/RPMS/python3-cmd2-4.3.1-2.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F5g9nF + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-cmd2-4.3.1-2.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.jOduyf + umask 022 + cd /builddir/build/BUILD + rm -rf python-cmd2-4.3.1 python-cmd2-4.3.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0