Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.spec'], chrootPath='/var/lib/mock/dist-an23-build-177777-59115/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.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 warning: extra tokens at the end of %endif directive in line 116: %endif # with tests Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1670716800 Wrote: /builddir/build/SRPMS/python-setuptools-65.6.3-1.an23.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 116: %endif # with tests Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.spec'], chrootPath='/var/lib/mock/dist-an23-build-177777-59115/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.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 warning: extra tokens at the end of %endif directive in line 116: %endif # with tests Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1670716800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WWvidF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools-65.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools-65.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools-65.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Remove-optional-or-unpackaged-test-deps.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r setuptools.egg-info + find setuptools pkg_resources -name '*.py' + xargs sed -i -e '1 {/^#!\//d}' + rm -f setuptools/cli-32.exe setuptools/cli-64.exe setuptools/cli-arm64.exe setuptools/cli.exe setuptools/gui-32.exe setuptools/gui-64.exe setuptools/gui-arm64.exe setuptools/gui.exe + rm -r docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.89Fbjw + umask 022 + cd /builddir/build/BUILD + cd setuptools-65.6.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r Import error: No module named 'toml' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools-65.6.3-1.an23.buildreqs.nosrc.rpm RPM build warnings: extra tokens at the end of %endif directive in line 116: %endif # with tests Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.spec'], chrootPath='/var/lib/mock/dist-an23-build-177777-59115/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target aarch64 --nodeps /builddir/build/SPECS/python-setuptools.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 warning: extra tokens at the end of %endif directive in line 116: %endif # with tests Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1670716800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZBWudl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setuptools-65.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/setuptools-65.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd setuptools-65.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Remove-optional-or-unpackaged-test-deps.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r setuptools.egg-info + find setuptools pkg_resources -name '*.py' + xargs sed -i -e '1 {/^#!\//d}' + rm -f setuptools/cli-32.exe setuptools/cli-64.exe setuptools/cli-arm64.exe setuptools/cli.exe setuptools/gui-32.exe setuptools/gui-64.exe setuptools/gui-arm64.exe setuptools/gui.exe + rm -r docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Evfgl1 + umask 022 + cd /builddir/build/BUILD + cd setuptools-65.6.3 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/anolis/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 -r /builddir/build/BUILD/setuptools-65.6.3/./setuptools/command/egg_info.py:643: SetuptoolsDeprecationWarning: Custom 'build_py' does not implement 'get_data_files_without_manifest'. Please extend command classes from setuptools instead of distutils. warnings.warn( warning: no files found matching '*.py' under directory 'tests' warning: no files found matching '*.py' under directory 'docs' warning: no files found matching '*.txt' under directory 'docs' warning: no files found matching '*.conf' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.css_t' under directory 'docs' warning: no files found matching 'Makefile' under directory 'docs' warning: no files found matching 'indexsidebar.html' under directory 'docs' warning: no files found matching 'msvc-build-launcher.cmd' HOOK STDOUT: running egg_info HOOK STDOUT: creating setuptools.egg-info HOOK STDOUT: writing manifest file 'setuptools.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'setuptools.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'setuptools.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement not satisfied: wheel Exiting dependency generation pass: get_requires_for_build_wheel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-setuptools-65.6.3-1.an23.buildreqs.nosrc.rpm RPM build warnings: extra tokens at the end of %endif directive in line 116: %endif # with tests Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details.