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-distlib.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-61151-2252/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.h33322kb:/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.h33322kb:/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', '2bcdf559b0ff45038c973ca7dde42475', '-D', '/var/lib/mock/dist-ocs23-python311-build-61151-2252/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h33322kb:/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-distlib.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-distlib-0.3.4-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-distlib.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-61151-2252/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.h33322kb:/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.h33322kb:/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', '7049a36acedb41aa9f93105568ff367d', '-D', '/var/lib/mock/dist-ocs23-python311-build-61151-2252/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h33322kb:/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-distlib.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.PQPANu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf distlib-0.3.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/distlib-0.3.4.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd distlib-0.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/distlib_unbundle.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm distlib/t32.exe distlib/t64-arm.exe distlib/t64.exe distlib/w32.exe distlib/w64-arm.exe distlib/w64.exe + rm -rf distlib/_backport + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xmYD2f + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.4 + 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) HOOK STDOUT: running egg_info HOOK STDOUT: creating distlib.egg-info HOOK STDOUT: writing distlib.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to distlib.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to distlib.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'distlib.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing distlib.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to distlib.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to distlib.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/distlib-0.3.4/distlib-0.3.4.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-distlib-0.3.4-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-distlib.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-61151-2252/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.h33322kb:/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.h33322kb:/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', '39cf3a08fb284e708d6d8bb16c75b3cb', '-D', '/var/lib/mock/dist-ocs23-python311-build-61151-2252/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h33322kb:/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-distlib.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.NEAfgd + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.4 + 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 distlib-0.3.4.dist-info/ removed 'distlib-0.3.4.dist-info/METADATA' removed 'distlib-0.3.4.dist-info/LICENSE.txt' removed 'distlib-0.3.4.dist-info/top_level.txt' removed directory 'distlib-0.3.4.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) HOOK STDOUT: running egg_info HOOK STDOUT: writing distlib.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to distlib.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to distlib.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'distlib.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing distlib.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to distlib.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to distlib.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE.txt' HOOK STDOUT: writing manifest file 'distlib.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/distlib-0.3.4/distlib-0.3.4.dist-info' HOOK STDOUT: adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yfb9Ss + 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 distlib-0.3.4 + mkdir -p /builddir/build/BUILD/distlib-0.3.4/.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/distlib-0.3.4/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/distlib-0.3.4/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/distlib-0.3.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info writing /builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-modern-metadata-iavda_3x/distlib-0.3.4.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: distlib Building wheel for distlib (pyproject.toml): started Running command Building wheel for distlib (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/distlib copying distlib/markers.py -> build/lib/distlib copying distlib/manifest.py -> build/lib/distlib copying distlib/locators.py -> build/lib/distlib copying distlib/util.py -> build/lib/distlib copying distlib/scripts.py -> build/lib/distlib copying distlib/index.py -> build/lib/distlib copying distlib/version.py -> build/lib/distlib copying distlib/__init__.py -> build/lib/distlib copying distlib/database.py -> build/lib/distlib copying distlib/compat.py -> build/lib/distlib copying distlib/metadata.py -> build/lib/distlib copying distlib/wheel.py -> build/lib/distlib copying distlib/resources.py -> build/lib/distlib 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/distlib copying build/lib/distlib/markers.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/manifest.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/locators.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/util.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/scripts.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/index.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/version.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/__init__.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/database.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/compat.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/metadata.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/wheel.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/resources.py -> build/bdist.linux-x86_64/wheel/distlib running install_egg_info running egg_info writing distlib.egg-info/PKG-INFO writing dependency_links to distlib.egg-info/dependency_links.txt writing top-level names to distlib.egg-info/top_level.txt reading manifest file 'distlib.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'distlib.egg-info/SOURCES.txt' Copying distlib.egg-info to build/bdist.linux-x86_64/wheel/distlib-0.3.4-py3.11.egg-info running install_scripts adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/distlib-0.3.4.dist-info/WHEEL creating '/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir/pip-wheel-81n7qpwl/tmpdik0w6co/distlib-0.3.4-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'distlib/__init__.py' adding 'distlib/compat.py' adding 'distlib/database.py' adding 'distlib/index.py' adding 'distlib/locators.py' adding 'distlib/manifest.py' adding 'distlib/markers.py' adding 'distlib/metadata.py' adding 'distlib/resources.py' adding 'distlib/scripts.py' adding 'distlib/util.py' adding 'distlib/version.py' adding 'distlib/wheel.py' adding 'distlib-0.3.4.dist-info/LICENSE.txt' adding 'distlib-0.3.4.dist-info/METADATA' adding 'distlib-0.3.4.dist-info/WHEEL' adding 'distlib-0.3.4.dist-info/top_level.txt' adding 'distlib-0.3.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for distlib (pyproject.toml): finished with status 'done' Created wheel for distlib: filename=distlib-0.3.4-py3-none-any.whl size=109301 sha256=7e5b00c1dab0aae2d673b4e77c64f64e56d483aa7cb3c0aa4399542fe9031518 Stored in directory: /builddir/.cache/pip/wheels/43/dc/dc/3903d08a890a5a21ae274d54518950cd35c7bde4db4f9a650c Successfully built distlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JR963T + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch + cd distlib-0.3.4 ++ ls /builddir/build/BUILD/distlib-0.3.4/pyproject-wheeldir/distlib-0.3.4-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=distlib==0.3.4 + TMPDIR=/builddir/build/BUILD/distlib-0.3.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-distlib-0.3.4-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/distlib-0.3.4/pyproject-wheeldir distlib==0.3.4 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/distlib-0.3.4/pyproject-wheeldir Processing ./pyproject-wheeldir/distlib-0.3.4-py3-none-any.whl Installing collected packages: distlib Successfully installed distlib-0.3.4 + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/distlib-0.3.4.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.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-distlib-0.3.4-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-distlib-0.3.4-3.ocs23.noarch/usr/lib/python3.11/site-packages/distlib-0.3.4.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-distlib-0.3.4-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 distlib + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.3.4-3.ocs23 --unique-debug-suffix -0.3.4-3.ocs23.noarch --unique-debug-src-base python-distlib-0.3.4-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/distlib-0.3.4 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-distlib-0.3.4-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.VgKdIP + 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 distlib-0.3.4 + export PYTHONHASHSEED=0 + PYTHONHASHSEED=0 + export SKIP_ONLINE=1 + SKIP_ONLINE=1 + /usr/bin/python3 setup.py test running test ............................s...............................................sss..sssss.sss.s..........................s.s.ss..........sss......ss.........................s........s.s..F......................ssss.........ss............. ====================================================================== FAIL: test_sequencer_basic (test_util.UtilTestCase.test_sequencer_basic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/distlib-0.3.4/tests/test_util.py", line 410, in test_sequencer_basic self.assertIn(actual, expected) AssertionError: [('upload_sdist',), ('sdist',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('upload_bdist',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('register',), ('check',)] not found in ([('test',), ('upload_bdist',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('upload_sdist',), ('sdist',), ('register',), ('check',)], [('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('upload_bdist',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('upload_sdist',), ('sdist',), ('register',), ('check',)], [('upload_sdist',), ('sdist',), ('install',), ('install_distinfo',), ('install_data',), ('upload_bdist',), ('register',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)], [('upload_sdist',), ('sdist',), ('upload_bdist',), ('register',), ('test',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)], [('upload_sdist',), ('sdist',), ('upload_bdist',), ('register',), ('install',), ('install_distinfo',), ('install_data',), ('install_scripts',), ('install_lib',), ('install_headers',), ('test',), ('build',), ('build_scripts',), ('build_py',), ('build_ext',), ('build_clibs',), ('check',)]) ---------------------------------------------------------------------- Ran 235 tests in 10.283s FAILED (failures=1, skipped=31) error: Bad exit status from /var/tmp/rpm-tmp.VgKdIP (%check) Bad exit status from /var/tmp/rpm-tmp.VgKdIP (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 39cf3a08fb284e708d6d8bb16c75b3cb -D /var/lib/mock/dist-ocs23-python311-build-61151-2252/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h33322kb:/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-distlib.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 39cf3a08fb284e708d6d8bb16c75b3cb -D /var/lib/mock/dist-ocs23-python311-build-61151-2252/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h33322kb:/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-distlib.spec