Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/multipart.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789390237.715988/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/multipart.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-multipart-1.2.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 x86_64 --nodeps /builddir/build/SPECS/multipart.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789390237.715988/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/multipart.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-multipart-1.2.0-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/multipart.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-x86_64-1789390237.715988/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/multipart.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.PD7JoC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multipart-1.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/multipart-1.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd multipart-1.2.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.0TmsHg + umask 022 + cd /builddir/build/BUILD + cd multipart-1.2.0 + 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/multipart-1.2.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: multipart Building wheel for multipart (pyproject.toml): started Running command Building wheel for multipart (pyproject.toml) Building wheel for multipart (pyproject.toml): finished with status 'done' Created wheel for multipart: filename=multipart-1.2.0-py3-none-any.whl size=13729 sha256=c22592eaa77285786ed2256d4c39b3e8daca26f27ad1e3c0eb5846eacfbcf971 Stored in directory: /builddir/.cache/pip/wheels/ae/85/98/a8649344bb3de33e885d331000ec02da512f5cec06edfe92c9 Successfully built multipart + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aQphAT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64 + cd multipart-1.2.0 ++ ls ./build/multipart-1.2.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=multipart==1.2.0 + 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-multipart-1.2.0-1.x86_64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build multipart==1.2.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/multipart-1.2.0-py3-none-any.whl Installing collected packages: multipart Successfully installed multipart-1.2.0 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.2.0-1 --unique-debug-suffix -1.2.0-1.x86_64 --unique-debug-src-base python-multipart-1.2.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/multipart-1.2.0 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-multipart-1.2.0-1.x86_64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-multipart-1.2.0-1.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qveP4H + umask 022 + cd /builddir/build/BUILD + cd multipart-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python3-multipart + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python3-multipart + cp -pr LICENSE /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python3-multipart + 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-multipart python3-multipart = 1.2.0-1 python3.11dist(multipart) = 1.2 python3dist(multipart) = 1.2 python3dist(multipart) = 1.2.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 Processing files: python-multipart-help-1.2.0-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5XQqWJ + umask 022 + cd /builddir/build/BUILD + cd multipart-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/doc/python-multipart-help + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/doc/python-multipart-help + cp -pr README.rst /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/doc/python-multipart-help + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/doc/python-multipart-help + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.n3qLAU + umask 022 + cd /builddir/build/BUILD + cd multipart-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python-multipart-help + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python-multipart-help + cp -pr LICENSE /builddir/build/BUILDROOT/python-multipart-1.2.0-1.x86_64/usr/share/licenses/python-multipart-help + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-multipart-help = 1.2.0-1 python3-multipart-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-multipart-1.2.0-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/lib/python3.11/site-packages/__pycache__/multipart.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/__pycache__/multipart.cpython-311.pyc Installed (but unpackaged) file(s) found: /usr/lib/python3.11/site-packages/__pycache__/multipart.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/__pycache__/multipart.cpython-311.pyc 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/multipart.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/multipart.spec