Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-multipledispatch.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713084520.294807/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/python-multipledispatch.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-multipledispatch-1.0.0-1.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/python-multipledispatch.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713084520.294807/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/python-multipledispatch.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-multipledispatch-1.0.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-multipledispatch.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1713084520.294807/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/python-multipledispatch.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.NNeWRM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multipledispatch-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/multipledispatch-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd multipledispatch-1.0.0 + /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.jgiIJz + umask 022 + cd /builddir/build/BUILD + cd multipledispatch-1.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -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/multipledispatch-1.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info writing /tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/dependency_links.txt writing top-level names to /tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/SOURCES.txt' listing git files failed - pretending there aren't any reading manifest file '/tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/tmp/pip-modern-metadata-uefh_aoe/multipledispatch.egg-info/SOURCES.txt' creating '/tmp/pip-modern-metadata-uefh_aoe/multipledispatch-1.0.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: multipledispatch Building wheel for multipledispatch (pyproject.toml): started Running command Building wheel for multipledispatch (pyproject.toml) running bdist_wheel running build running build_py creating build/lib creating build/lib/multipledispatch copying multipledispatch/__init__.py -> build/lib/multipledispatch copying multipledispatch/conflict.py -> build/lib/multipledispatch copying multipledispatch/core.py -> build/lib/multipledispatch copying multipledispatch/dispatcher.py -> build/lib/multipledispatch copying multipledispatch/utils.py -> build/lib/multipledispatch copying multipledispatch/variadic.py -> build/lib/multipledispatch 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/multipledispatch copying build/lib/multipledispatch/__init__.py -> build/bdist.linux-aarch64/wheel/multipledispatch copying build/lib/multipledispatch/conflict.py -> build/bdist.linux-aarch64/wheel/multipledispatch copying build/lib/multipledispatch/core.py -> build/bdist.linux-aarch64/wheel/multipledispatch copying build/lib/multipledispatch/dispatcher.py -> build/bdist.linux-aarch64/wheel/multipledispatch copying build/lib/multipledispatch/utils.py -> build/bdist.linux-aarch64/wheel/multipledispatch copying build/lib/multipledispatch/variadic.py -> build/bdist.linux-aarch64/wheel/multipledispatch running install_egg_info running egg_info creating multipledispatch.egg-info writing multipledispatch.egg-info/PKG-INFO writing dependency_links to multipledispatch.egg-info/dependency_links.txt writing top-level names to multipledispatch.egg-info/top_level.txt writing manifest file 'multipledispatch.egg-info/SOURCES.txt' listing git files failed - pretending there aren't any reading manifest file 'multipledispatch.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'multipledispatch.egg-info/SOURCES.txt' Copying multipledispatch.egg-info to build/bdist.linux-aarch64/wheel/multipledispatch-1.0.0-py3.11.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/multipledispatch-1.0.0.dist-info/WHEEL creating '/tmp/pip-wheel-n51q5ayq/.tmp-11qzopgt/multipledispatch-1.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'multipledispatch/__init__.py' adding 'multipledispatch/conflict.py' adding 'multipledispatch/core.py' adding 'multipledispatch/dispatcher.py' adding 'multipledispatch/utils.py' adding 'multipledispatch/variadic.py' adding 'multipledispatch-1.0.0.dist-info/LICENSE.txt' adding 'multipledispatch-1.0.0.dist-info/METADATA' adding 'multipledispatch-1.0.0.dist-info/WHEEL' adding 'multipledispatch-1.0.0.dist-info/top_level.txt' adding 'multipledispatch-1.0.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for multipledispatch (pyproject.toml): finished with status 'done' Created wheel for multipledispatch: filename=multipledispatch-1.0.0-py3-none-any.whl size=12818 sha256=b6077eefc64afeff31715befbb37f88b2a548e96c069b36e5cba254d4b0fe48c Stored in directory: /builddir/.cache/pip/wheels/bb/b4/52/3e0c27eebebc04417083d350df1f101eafd1f2b78a0a2ffee6 Successfully built multipledispatch + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cMyFNF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64 + cd multipledispatch-1.0.0 ++ ls ./build/multipledispatch-1.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=multipledispatch==1.0.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -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-multipledispatch-1.0.0-1.aarch64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build multipledispatch==1.0.0 Using pip 23.1.2 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/multipledispatch-1.0.0-py3-none-any.whl Installing collected packages: multipledispatch Successfully installed multipledispatch-1.0.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-multipledispatch-1.0.0-1.aarch64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-multipledispatch-1.0.0-1.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UtZLCU + umask 022 + cd /builddir/build/BUILD + cd multipledispatch-1.0.0 + DOCDIR=/builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/doc/python3-multipledispatch + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/doc/python3-multipledispatch + cp -pr README.md /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/doc/python3-multipledispatch cp: cannot stat 'README.md': No such file or directory + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found: /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/doc/python3-multipledispatch/README.md Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Az3B7D + umask 022 + cd /builddir/build/BUILD + cd multipledispatch-1.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/licenses/python3-multipledispatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/licenses/python3-multipledispatch + cp -pr LICENSE /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/licenses/python3-multipledispatch cp: cannot stat 'LICENSE': No such file or directory + : + RPM_EC=0 ++ jobs -p + exit 0 error: File not found: /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/licenses/python3-multipledispatch/LICENSE RPM build errors: File not found: /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/doc/python3-multipledispatch/README.md File not found: /builddir/build/BUILDROOT/python-multipledispatch-1.0.0-1.aarch64/usr/share/licenses/python3-multipledispatch/LICENSE Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-multipledispatch.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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/python-multipledispatch.spec