Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-aarch64-1793160365.125283/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cmd2-4.3.1-3.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-aarch64-1793160365.125283/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cmd2-4.3.1-3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cmd2.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP4-aarch64-1793160365.125283/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.omJwNM + 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 . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/no-setuptools-scm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-pyproject-license.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wBZN2m + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + pip3 wheel --no-build-isolation --no-deps --wheel-dir /builddir/build/BUILD/wheels . Processing /builddir/build/BUILD/python-cmd2-4.3.1 Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cmd2 Building wheel for cmd2 (pyproject.toml): started Building wheel for cmd2 (pyproject.toml): finished with status 'done' Created wheel for cmd2: filename=cmd2-4.3.1-py3-none-any.whl size=209162 sha256=329b1bee32b9b33a28f5c911a5b105b04977c6c330866d57737d6e1722630b6e Stored in directory: /builddir/.cache/pip/wheels/84/07/71/4bac989a3e8ca3ca558452299815f122292ef91cf236c090a4 Successfully built cmd2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MMtF9e + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cmd2-4.3.1-3.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cmd2-4.3.1-3.aarch64 ++ dirname /builddir/build/BUILDROOT/python-cmd2-4.3.1-3.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cmd2-4.3.1-3.aarch64 + export AM_UPDATE_INFO_DIR=no + AM_UPDATE_INFO_DIR=no + cd python-cmd2-4.3.1 + pip3 install --no-build-isolation --no-index --no-deps --find-links /builddir/build/BUILD/wheels --root /builddir/build/BUILDROOT/python-cmd2-4.3.1-3.aarch64 --prefix /usr cmd2==4.3.1 Looking in links: /builddir/build/BUILD/wheels Processing /builddir/build/BUILD/wheels/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-3 --unique-debug-suffix -4.3.1-3.aarch64 --unique-debug-src-base python-cmd2-4.3.1-3.aarch64 -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-3.aarch64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.KkcZv6 + umask 022 + cd /builddir/build/BUILD + cd python-cmd2-4.3.1 + '%{python3}' -c 'import cmd2' /var/tmp/rpm-tmp.KkcZv6: line 35: fg: no job control RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.KkcZv6 (%check) Bad exit status from /var/tmp/rpm-tmp.KkcZv6 (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/cmd2.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 aarch64 --nodeps /builddir/build/SPECS/cmd2.spec