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/inferit-9_4-extras-build-46765-89971/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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.2mvd0er0:/etc/resolv.conf', '--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', 'f26303a3ec0c4ddd92a9743651cf77d6', '-D', '/var/lib/mock/inferit-9_4-extras-build-46765-89971/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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 warning: extra tokens at the end of %endif directive in line 65: %endif # with_tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1692835200 Wrote: /builddir/build/SRPMS/python-distlib-0.3.2-1.el9.1.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/inferit-9_4-extras-build-46765-89971/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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.2mvd0er0:/etc/resolv.conf', '--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', 'ed0c24182adc498f8b349ed8ee29d9cc', '-D', '/var/lib/mock/inferit-9_4-extras-build-46765-89971/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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 warning: extra tokens at the end of %endif directive in line 65: %endif # with_tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1692835200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HX5lAU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf distlib-0.3.2 + /usr/bin/unzip -qq /builddir/build/SOURCES/distlib-0.3.2.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd distlib-0.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (distlib_unbundle.patch): + echo 'Patch #0 (distlib_unbundle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file distlib/compat.py Hunk #1 succeeded at 22 (offset 5 lines). Hunk #2 succeeded at 314 (offset 47 lines). patching file setup.py Hunk #1 succeeded at 59 (offset -3 lines). + rm distlib/t32.exe distlib/t64.exe distlib/w32.exe distlib/w64.exe + rm -rf distlib/_backport + rm tests/test_shutil.py + rm tests/test_sysconfig.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vrltoh + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + 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 ']' + mkdir -p /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + echo -n + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-distlib-0.3.2-1.el9.1.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-distlib.spec'], chrootPath='/var/lib/mock/inferit-9_4-extras-build-46765-89971/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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.2mvd0er0:/etc/resolv.conf', '--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', '2ba83ee72d1e472babc26d50793cf7cf', '-D', '/var/lib/mock/inferit-9_4-extras-build-46765-89971/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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 warning: extra tokens at the end of %endif directive in line 65: %endif # with_tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1692835200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YjG7Mz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf distlib-0.3.2 + /usr/bin/unzip -qq /builddir/build/SOURCES/distlib-0.3.2.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd distlib-0.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (distlib_unbundle.patch): + echo 'Patch #0 (distlib_unbundle.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file distlib/compat.py Hunk #1 succeeded at 22 (offset 5 lines). Hunk #2 succeeded at 314 (offset 47 lines). patching file setup.py Hunk #1 succeeded at 59 (offset -3 lines). + rm distlib/t32.exe distlib/t64.exe distlib/w32.exe distlib/w64.exe + rm -rf distlib/_backport + rm tests/test_shutil.py + rm tests/test_sysconfig.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PiQQnn + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + 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 ']' + mkdir -p /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + echo -n + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) running egg_info creating distlib.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 writing manifest file 'distlib.egg-info/SOURCES.txt' reading manifest file 'distlib.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'distlib.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) running dist_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' creating '/builddir/build/BUILD/distlib-0.3.2/distlib.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + cat /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires + rm -rfv distlib.dist-info/ removed 'distlib.dist-info/top_level.txt' removed 'distlib.dist-info/METADATA' removed 'distlib.dist-info/LICENSE.txt' removed directory 'distlib.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-distlib-0.3.2-1.el9.1.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/inferit-9_4-extras-build-46765-89971/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=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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.2mvd0er0:/etc/resolv.conf', '--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', 'dd56a360a92d41d88f3fafe385458db9', '-D', '/var/lib/mock/inferit-9_4-extras-build-46765-89971/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2mvd0er0:/etc/resolv.conf', '--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 warning: extra tokens at the end of %endif directive in line 65: %endif # with_tests Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1692835200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1HH1ED + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + 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 ']' + mkdir -p /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + echo -n + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + RPM_TOXENV=py39 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir --output /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 53.0.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.36.2) running egg_info creating distlib.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 writing manifest file 'distlib.egg-info/SOURCES.txt' reading manifest file 'distlib.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file 'distlib.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.36.2) running dist_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' creating '/builddir/build/BUILD/distlib-0.3.2/distlib.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") + cat /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-buildrequires + rm -rfv distlib.dist-info/ removed 'distlib.dist-info/top_level.txt' removed 'distlib.dist-info/METADATA' removed 'distlib.dist-info/LICENSE.txt' removed directory 'distlib.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zHLZMO + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + mkdir -p /builddir/build/BUILD/distlib-0.3.2/.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + TMPDIR=/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir Processing /builddir/build/BUILD/distlib-0.3.2 DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default. pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555. Preparing wheel metadata: started Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/tmpq573zwxu running dist_info creating /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info writing /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/SOURCES.txt' adding license file 'LICENSE.txt' writing manifest file '/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-modern-metadata-ktqbwo4f/distlib.dist-info' adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") Preparing wheel metadata: finished with status 'done' Building wheels for collected packages: distlib Building wheel for distlib (PEP 517): started Running command /usr/bin/python3 /usr/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/tmpho65jog7 running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/distlib copying distlib/metadata.py -> build/lib/distlib copying distlib/compat.py -> build/lib/distlib copying distlib/database.py -> build/lib/distlib copying distlib/scripts.py -> build/lib/distlib copying distlib/markers.py -> build/lib/distlib copying distlib/__init__.py -> build/lib/distlib copying distlib/wheel.py -> build/lib/distlib copying distlib/resources.py -> build/lib/distlib copying distlib/util.py -> build/lib/distlib copying distlib/version.py -> build/lib/distlib copying distlib/index.py -> build/lib/distlib copying distlib/manifest.py -> build/lib/distlib copying distlib/locators.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/metadata.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/database.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/markers.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/wheel.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/resources.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/version.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/manifest.py -> build/bdist.linux-x86_64/wheel/distlib copying build/lib/distlib/locators.py -> build/bdist.linux-x86_64/wheel/distlib running install_egg_info running egg_info creating distlib.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 writing manifest file 'distlib.egg-info/SOURCES.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.2-py3.9.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.2.dist-info/WHEEL creating '/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir/pip-wheel-xmgsdto3/tmpyqlupp93/distlib-0.3.2-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.2.dist-info/LICENSE.txt' adding 'distlib-0.3.2.dist-info/METADATA' adding 'distlib-0.3.2.dist-info/WHEEL' adding 'distlib-0.3.2.dist-info/top_level.txt' adding 'distlib-0.3.2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for distlib (PEP 517): finished with status 'done' Created wheel for distlib: filename=distlib-0.3.2-py3-none-any.whl size=109066 sha256=0545a59194f094b30357e99f7344a53c5cd9708948db16a9199ff0c5287c5ff2 Stored in directory: /builddir/.cache/pip/wheels/26/dc/45/fb3c8840b05f4ab7e58027bb98a09ecf3c7df4b8c15bc1ce9c Successfully built distlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0PWTpH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch ++ dirname /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch + cd distlib-0.3.2 ++ ls /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir/distlib-0.3.2-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=distlib==0.3.2 + '[' -z distlib==0.3.2 ']' + TMPDIR=/builddir/build/BUILD/distlib-0.3.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch --prefix /usr --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.2/pyproject-wheeldir distlib==0.3.2 Using pip 21.2.3 from /usr/lib/python3.9/site-packages/pip (python 3.9) Looking in links: /builddir/build/BUILD/distlib-0.3.2/pyproject-wheeldir Processing ./pyproject-wheeldir/distlib-0.3.2-py3-none-any.whl Installing collected packages: distlib Successfully installed distlib-0.3.2 + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages ']' + site_dirs+=("/usr/lib/python3.9/site-packages") + '[' /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib64/python3.9/site-packages '!=' /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib64/python3.9/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch --record /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/RECORD --output /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9/site-packages/distlib-0.3.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=8 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch --sitelib /usr/lib/python3.9/site-packages --sitearch /usr/lib64/python3.9/site-packages --python-version 3.9 --pyproject-record /builddir/build/BUILD/python-distlib-0.3.2-1.el9.1.noarch-pyproject-record --prefix /usr distlib + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.3.2-1.el9.1 --unique-debug-suffix -0.3.2-1.el9.1.noarch --unique-debug-src-base python-distlib-0.3.2-1.el9.1.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/distlib-0.3.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python3-distlib-0.3.2-1.el9.1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AatpqF + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + DOCDIR=/builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/doc/python3-distlib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/doc/python3-distlib + cp -pr README.rst /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/doc/python3-distlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LKHmqb + umask 022 + cd /builddir/build/BUILD + cd distlib-0.3.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/licenses/python3-distlib + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/licenses/python3-distlib + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch/usr/share/licenses/python3-distlib + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-distlib = 0.3.2-1.el9.1 python3-distlib = 0.3.2-1.el9.1 python3.9-distlib = 0.3.2-1.el9.1 python3.9dist(distlib) = 0.3.2 python3dist(distlib) = 0.3.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Obsoletes: python39-distlib < 0.3.2-1.el9.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-distlib-0.3.2-1.el9.1.noarch Wrote: /builddir/build/SRPMS/python-distlib-0.3.2-1.el9.1.src.rpm Wrote: /builddir/build/RPMS/python3-distlib-0.3.2-1.el9.1.noarch.rpm Child return code was: 0