Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50317-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4f2a8cd52df145cd9872c0ca30f85f73', '-D', '/var/lib/mock/dist-ocs23-python311-build-50317-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50317-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1f25f017ca174c4ebb4b0a5166ff0385', '-D', '/var/lib/mock/dist-ocs23-python311-build-50317-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZCAnup + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flake8-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.g2luKH + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.ocs23.buildreqs.nosrc.rpm 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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50317-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '046c241e7af149579e8e0ab551dbff4d', '-D', '/var/lib/mock/dist-ocs23-python311-build-50317-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7LU4U8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flake8-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pNdJwE + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: creating flake8.egg-info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement not satisfied: mccabe (<0.7.0,>=0.6.0) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement not satisfied: pycodestyle (<2.9.0,>=2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement not satisfied: pyflakes (<2.5.0,>=2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.ocs23.buildreqs.nosrc.rpm 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 --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50317-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '269c0865ab2e485f9942868f02e4883f', '-D', '/var/lib/mock/dist-ocs23-python311-build-50317-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.m0HYEq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flake8-4.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flake8-4.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9OOX9I + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: creating flake8.egg-info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement not satisfied: mccabe (<0.7.0,>=0.6.0) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement not satisfied: pycodestyle (<2.9.0,>=2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement not satisfied: pyflakes (<2.5.0,>=2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-flake8-4.0.1-3.ocs23.buildreqs.nosrc.rpm 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 -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-50317-2149/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '25280e0284e948b3a49d2b65cf03cae8', '-D', '/var/lib/mock/dist-ocs23-python311-build-50317-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.IqqWTY + umask 022 + cd /builddir/build/BUILD + cd flake8-4.0.1 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv flake8-4.0.1.dist-info/ removed 'flake8-4.0.1.dist-info/METADATA' removed 'flake8-4.0.1.dist-info/top_level.txt' removed 'flake8-4.0.1.dist-info/LICENSE' removed 'flake8-4.0.1.dist-info/entry_points.txt' removed directory 'flake8-4.0.1.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 65.5.1) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.37.0) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running egg_info HOOK STDOUT: writing src/flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/flake8.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' HOOK STDOUT: running dist_info HOOK STDOUT: writing flake8.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to flake8.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to flake8.egg-info/entry_points.txt HOOK STDOUT: writing requirements to flake8.egg-info/requires.txt HOOK STDOUT: writing top-level names to flake8.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'flake8.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/flake8-4.0.1/flake8-4.0.1.dist-info' Handling mccabe (<0.7.0,>=0.6.0) from wheel metadata: Requires-Dist Requirement not satisfied: mccabe (<0.7.0,>=0.6.0) Handling pycodestyle (<2.9.0,>=2.8.0) from wheel metadata: Requires-Dist Requirement not satisfied: pycodestyle (<2.9.0,>=2.8.0) Handling pyflakes (<2.5.0,>=2.4.0) from wheel metadata: Requires-Dist Requirement not satisfied: pyflakes (<2.5.0,>=2.4.0) Handling importlib-metadata (<4.3) ; python_version < "3.8" from wheel metadata: Requires-Dist Ignoring alien requirement: importlib-metadata (<4.3) ; python_version < "3.8" + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PwZnLo + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flake8-4.0.1 + mkdir -p /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + TMPDIR=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/flake8-4.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running dist_info creating /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info writing /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-modern-metadata-4jl2ly5l/flake8-4.0.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: flake8 Building wheel for flake8 (pyproject.toml): started Running command Building wheel for flake8 (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/flake8 copying src/flake8/statistics.py -> build/lib/flake8 copying src/flake8/checker.py -> build/lib/flake8 copying src/flake8/utils.py -> build/lib/flake8 copying src/flake8/_compat.py -> build/lib/flake8 copying src/flake8/__main__.py -> build/lib/flake8 copying src/flake8/__init__.py -> build/lib/flake8 copying src/flake8/processor.py -> build/lib/flake8 copying src/flake8/exceptions.py -> build/lib/flake8 copying src/flake8/style_guide.py -> build/lib/flake8 copying src/flake8/defaults.py -> build/lib/flake8 creating build/lib/flake8/formatting copying src/flake8/formatting/base.py -> build/lib/flake8/formatting copying src/flake8/formatting/__init__.py -> build/lib/flake8/formatting copying src/flake8/formatting/default.py -> build/lib/flake8/formatting creating build/lib/flake8/options copying src/flake8/options/aggregator.py -> build/lib/flake8/options copying src/flake8/options/manager.py -> build/lib/flake8/options copying src/flake8/options/__init__.py -> build/lib/flake8/options copying src/flake8/options/config.py -> build/lib/flake8/options creating build/lib/flake8/main copying src/flake8/main/application.py -> build/lib/flake8/main copying src/flake8/main/cli.py -> build/lib/flake8/main copying src/flake8/main/__init__.py -> build/lib/flake8/main copying src/flake8/main/debug.py -> build/lib/flake8/main copying src/flake8/main/options.py -> build/lib/flake8/main creating build/lib/flake8/plugins copying src/flake8/plugins/pyflakes.py -> build/lib/flake8/plugins copying src/flake8/plugins/manager.py -> build/lib/flake8/plugins copying src/flake8/plugins/__init__.py -> build/lib/flake8/plugins creating build/lib/flake8/api copying src/flake8/api/legacy.py -> build/lib/flake8/api copying src/flake8/api/__init__.py -> build/lib/flake8/api 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/flake8 copying build/lib/flake8/statistics.py -> build/bdist.linux-x86_64/wheel/flake8 creating build/bdist.linux-x86_64/wheel/flake8/formatting copying build/lib/flake8/formatting/base.py -> build/bdist.linux-x86_64/wheel/flake8/formatting copying build/lib/flake8/formatting/__init__.py -> build/bdist.linux-x86_64/wheel/flake8/formatting copying build/lib/flake8/formatting/default.py -> build/bdist.linux-x86_64/wheel/flake8/formatting copying build/lib/flake8/checker.py -> build/bdist.linux-x86_64/wheel/flake8 copying build/lib/flake8/utils.py -> build/bdist.linux-x86_64/wheel/flake8 copying build/lib/flake8/_compat.py -> build/bdist.linux-x86_64/wheel/flake8 copying build/lib/flake8/__main__.py -> build/bdist.linux-x86_64/wheel/flake8 creating build/bdist.linux-x86_64/wheel/flake8/options copying build/lib/flake8/options/aggregator.py -> build/bdist.linux-x86_64/wheel/flake8/options copying build/lib/flake8/options/manager.py -> build/bdist.linux-x86_64/wheel/flake8/options copying build/lib/flake8/options/__init__.py -> build/bdist.linux-x86_64/wheel/flake8/options copying build/lib/flake8/options/config.py -> build/bdist.linux-x86_64/wheel/flake8/options copying build/lib/flake8/__init__.py -> build/bdist.linux-x86_64/wheel/flake8 creating build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/main/application.py -> build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/main/cli.py -> build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/main/__init__.py -> build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/main/debug.py -> build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/main/options.py -> build/bdist.linux-x86_64/wheel/flake8/main copying build/lib/flake8/processor.py -> build/bdist.linux-x86_64/wheel/flake8 creating build/bdist.linux-x86_64/wheel/flake8/plugins copying build/lib/flake8/plugins/pyflakes.py -> build/bdist.linux-x86_64/wheel/flake8/plugins copying build/lib/flake8/plugins/manager.py -> build/bdist.linux-x86_64/wheel/flake8/plugins copying build/lib/flake8/plugins/__init__.py -> build/bdist.linux-x86_64/wheel/flake8/plugins copying build/lib/flake8/exceptions.py -> build/bdist.linux-x86_64/wheel/flake8 copying build/lib/flake8/style_guide.py -> build/bdist.linux-x86_64/wheel/flake8 creating build/bdist.linux-x86_64/wheel/flake8/api copying build/lib/flake8/api/legacy.py -> build/bdist.linux-x86_64/wheel/flake8/api copying build/lib/flake8/api/__init__.py -> build/bdist.linux-x86_64/wheel/flake8/api copying build/lib/flake8/defaults.py -> build/bdist.linux-x86_64/wheel/flake8 running install_egg_info running egg_info writing src/flake8.egg-info/PKG-INFO writing dependency_links to src/flake8.egg-info/dependency_links.txt writing entry points to src/flake8.egg-info/entry_points.txt writing requirements to src/flake8.egg-info/requires.txt writing top-level names to src/flake8.egg-info/top_level.txt reading manifest file 'src/flake8.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution no previously-included directories found matching 'docs/build/' adding license file 'LICENSE' writing manifest file 'src/flake8.egg-info/SOURCES.txt' Copying src/flake8.egg-info to build/bdist.linux-x86_64/wheel/flake8-4.0.1-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/flake8-4.0.1.dist-info/WHEEL creating '/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir/pip-wheel-s8780hdc/tmp47cukr87/flake8-4.0.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'flake8/__init__.py' adding 'flake8/__main__.py' adding 'flake8/_compat.py' adding 'flake8/checker.py' adding 'flake8/defaults.py' adding 'flake8/exceptions.py' adding 'flake8/processor.py' adding 'flake8/statistics.py' adding 'flake8/style_guide.py' adding 'flake8/utils.py' adding 'flake8/api/__init__.py' adding 'flake8/api/legacy.py' adding 'flake8/formatting/__init__.py' adding 'flake8/formatting/base.py' adding 'flake8/formatting/default.py' adding 'flake8/main/__init__.py' adding 'flake8/main/application.py' adding 'flake8/main/cli.py' adding 'flake8/main/debug.py' adding 'flake8/main/options.py' adding 'flake8/options/__init__.py' adding 'flake8/options/aggregator.py' adding 'flake8/options/config.py' adding 'flake8/options/manager.py' adding 'flake8/plugins/__init__.py' adding 'flake8/plugins/manager.py' adding 'flake8/plugins/pyflakes.py' adding 'flake8-4.0.1.dist-info/LICENSE' adding 'flake8-4.0.1.dist-info/METADATA' adding 'flake8-4.0.1.dist-info/WHEEL' adding 'flake8-4.0.1.dist-info/entry_points.txt' adding 'flake8-4.0.1.dist-info/top_level.txt' adding 'flake8-4.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for flake8 (pyproject.toml): finished with status 'done' Created wheel for flake8: filename=flake8-4.0.1-py2.py3-none-any.whl size=64075 sha256=44662d72aa34e027697f5309e4dc45a0f5140dad282b64c315e029ac6590c80b Stored in directory: /builddir/.cache/pip/wheels/d9/e3/be/3d682731d303e4111075033d8cf305bb41ff1a1a5ce53ad91b Successfully built flake8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.963W6z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch + cd flake8-4.0.1 ++ ls /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir/flake8-4.0.1-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=flake8==4.0.1 + TMPDIR=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir flake8==4.0.1 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/flake8-4.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/flake8-4.0.1-py2.py3-none-any.whl Installing collected packages: flake8 Creating /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/flake8 to 755 Successfully installed flake8-4.0.1 + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin ']' + '[' -f /usr/bin/pathfix3.11.py ']' + pathfix=/usr/bin/pathfix3.11.py + '[' -z s ']' + shebang_flags=-kas + /usr/bin/pathfix3.11.py -pni /usr/bin/python3 -kas /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/flake8: updating + rm -rfv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11/site-packages/flake8-4.0.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr flake8 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/flake8-3 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/flake8-3.11 + ln -s flake8 /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin/python3-flake8 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 4.0.1-3.ocs23 --unique-debug-suffix -4.0.1-3.ocs23.noarch --unique-debug-src-base python-flake8-4.0.1-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/flake8-4.0.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Wl8DUz + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flake8-4.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + PATH=/builddir/build/BUILDROOT/python-flake8-4.0.1-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/flake8-4.0.1/.pyproject-builddir' + /usr/bin/pytest tests -v ImportError while loading conftest '/builddir/build/BUILD/flake8-4.0.1/tests/conftest.py'. tests/conftest.py:4: in import flake8 E ModuleNotFoundError: No module named 'flake8' error: Bad exit status from /var/tmp/rpm-tmp.Wl8DUz (%check) Bad exit status from /var/tmp/rpm-tmp.Wl8DUz (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 25280e0284e948b3a49d2b65cf03cae8 -D /var/lib/mock/dist-ocs23-python311-build-50317-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 25280e0284e948b3a49d2b65cf03cae8 -D /var/lib/mock/dist-ocs23-python311-build-50317-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.grmpzm1c:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-flake8.spec