Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1788342487.752129/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/python-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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cmd2-2.6.2-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/python-cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1788342487.752129/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/python-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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cmd2-2.6.2-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/python-cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1788342487.752129/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/python-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.Wp9wBK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmd2-2.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cmd2-2.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmd2-2.6.2 + /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.stgUC4 + umask 022 + cd /builddir/build/BUILD + cd cmd2-2.6.2 + 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/cmd2-2.6.2 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-ehgnup5q/cmd2.egg-info writing /tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/SOURCES.txt' reading manifest file '/tmp/pip-modern-metadata-ehgnup5q/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 adding license file 'LICENSE' writing manifest file '/tmp/pip-modern-metadata-ehgnup5q/cmd2.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-ehgnup5q/cmd2-2.6.2.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/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/transcript.py -> build/lib/cmd2 copying cmd2/rl_utils.py -> build/lib/cmd2 copying cmd2/utils.py -> build/lib/cmd2 copying cmd2/table_creator.py -> build/lib/cmd2 copying cmd2/ansi.py -> build/lib/cmd2 copying cmd2/command_definition.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/argparse_custom.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 running 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 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 adding license file 'LICENSE' writing manifest file 'cmd2.egg-info/SOURCES.txt' copying cmd2/py.typed -> build/lib/cmd2 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/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/transcript.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/rl_utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/py.typed -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/utils.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/table_creator.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/ansi.py -> build/bdist.linux-x86_64/wheel/cmd2 copying build/lib/cmd2/command_definition.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/argparse_custom.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 running install_egg_info Copying cmd2.egg-info to build/bdist.linux-x86_64/wheel/cmd2-2.6.2-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cmd2-2.6.2.dist-info/WHEEL creating '/tmp/pip-wheel-7fn7ur3w/.tmp-uw8w408_/cmd2-2.6.2-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'cmd2/__init__.py' adding 'cmd2/ansi.py' adding 'cmd2/argparse_completer.py' adding 'cmd2/argparse_custom.py' adding 'cmd2/clipboard.py' adding 'cmd2/cmd2.py' adding 'cmd2/command_definition.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/py.typed' adding 'cmd2/py_bridge.py' adding 'cmd2/rl_utils.py' adding 'cmd2/table_creator.py' adding 'cmd2/transcript.py' adding 'cmd2/utils.py' adding 'cmd2-2.6.2.dist-info/LICENSE' adding 'cmd2-2.6.2.dist-info/METADATA' adding 'cmd2-2.6.2.dist-info/WHEEL' adding 'cmd2-2.6.2.dist-info/top_level.txt' adding 'cmd2-2.6.2.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-2.6.2-py3-none-any.whl size=153992 sha256=37d9db84b8822bd3c63a8b46dac6099bdb9df831bcc9b86437a5ad75d9cbf461 Stored in directory: /builddir/.cache/pip/wheels/fe/fb/dd/683847f35f71aa81d5eefb2ffdd8ff866f0001d8620ad9a325 Successfully built cmd2 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.i4Gi71 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64 + cd cmd2-2.6.2 ++ ls ./build/cmd2-2.6.2-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=cmd2==2.6.2 + 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-2.6.2-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build cmd2==2.6.2 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/cmd2-2.6.2-py3-none-any.whl Installing collected packages: cmd2 Successfully installed cmd2-2.6.2 + install -d -m755 /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64//usr/share/doc/python-cmd2 + '[' -d doc ']' + '[' -d docs ']' + cp -arf docs /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64//usr/share/doc/python-cmd2 + '[' -d example ']' + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.6.2-1 --unique-debug-suffix -2.6.2-1.x86_64 --unique-debug-src-base python-cmd2-2.6.2-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/cmd2-2.6.2 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-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-cmd2-2.6.2-1.noarch /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 = 2.6.2-1 python3-cmd2 = 2.6.2-1 python3.11dist(cmd2) = 2.6.2 python3dist(cmd2) = 2.6.2 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(pyperclip) >= 1.8 python3.11dist(wcwidth) >= 0.2.10 Processing files: python-cmd2-help-2.6.2-1.noarch Provides: python-cmd2-help = 2.6.2-1 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-2.6.2-1.x86_64 Wrote: /builddir/build/RPMS/python-cmd2-help-2.6.2-1.noarch.rpm Wrote: /builddir/build/RPMS/python3-cmd2-2.6.2-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lBG3I9 + umask 022 + cd /builddir/build/BUILD + cd cmd2-2.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-cmd2-2.6.2-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.4HkKLD + umask 022 + cd /builddir/build/BUILD + rm -rf cmd2-2.6.2 cmd2-2.6.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0