Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-usort.spec'], chrootPath='/var/lib/mock/f41-build-51776569-6199923/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '08009b63e2bb42dbaef29cdf1828e60a', '-D', '/var/lib/mock/f41-build-51776569-6199923/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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-usort.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 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-usort-0.6.3-12.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-usort.spec'], chrootPath='/var/lib/mock/f41-build-51776569-6199923/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '1a7863e5efc84d1594df9bd1c7a9ebbf', '-D', '/var/lib/mock/f41-build-51776569-6199923/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-usort.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 setting SOURCE_DATE_EPOCH=1706227200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.NMbQmg + umask 022 + cd /builddir/build/BUILD/python-usort-0.6.3-build + test -d /builddir/build/BUILD/python-usort-0.6.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-usort-0.6.3-build + /usr/bin/rm -rf /builddir/build/BUILD/python-usort-0.6.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-usort-0.6.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-usort-0.6.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yLjyTz + umask 022 + cd /builddir/build/BUILD/python-usort-0.6.3-build + cd /builddir/build/BUILD/python-usort-0.6.3-build + rm -rf usort-0.6.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/usort-0.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd usort-0.6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e s/python/python3/g -i Makefile + rm -rf usort.egg-info + sed -r -e 's|https://docs.python.org/3|/usr/share/doc/python3-docs/html|' -e 's|https://python-stdlib-list.readthedocs.io/en/latest|/usr/share/doc/python-stdlib-list-doc/html|' -i docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3hXaJw + umask 022 + cd /builddir/build/BUILD/python-usort-0.6.3-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 -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 usort-0.6.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.13/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' running build running build_py creating build creating build/lib creating build/lib/usort copying usort/__init__.py -> build/lib/usort copying usort/__main__.py -> build/lib/usort copying usort/cli.py -> build/lib/usort copying usort/config.py -> build/lib/usort copying usort/sorting.py -> build/lib/usort copying usort/stdlibs.py -> build/lib/usort copying usort/util.py -> build/lib/usort copying usort/version.py -> build/lib/usort + PYTHONPATH=/builddir/build/BUILD/python-usort-0.6.3-build/usort-0.6.3 + sphinx-build-3 docs html Running Sphinx v7.2.6 making output directory... done loading intersphinx inventory from /usr/share/doc/python3-docs/html/objects.inv... loading intersphinx inventory from /usr/share/doc/python-stdlib-list-doc/html/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory '/usr/share/doc/python-stdlib-list-doc/html/objects.inv' not fetchable due to : [Errno 2] No such file or directory: '/usr/share/doc/python-stdlib-list-doc/html/objects.inv' building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 5 source files that are out of date updating environment: [new config] 5 added, 0 changed, 0 removed reading sources... [ 20%] changelog reading sources... [ 40%] code-of-conduct reading sources... [ 60%] contributing reading sources... [ 80%] guide reading sources... [100%] index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 20%] changelog writing output... [ 40%] code-of-conduct writing output... [ 60%] contributing writing output... [ 80%] guide writing output... [100%] index generating indices... /builddir/build/BUILD/python-usort-0.6.3-build/usort-0.6.3/docs/guide.rst:149: WARNING: Lexing literal_block '[tool.usort]\ncategories = ["future", "standard_library", numpy", "third_party", "first_party"]\ndefault_category = "third_party"\n\n[tool.usort.known]\nnumpy = ["numpy", "pandas"]\nfirst_party = ["example"]' as "toml" resulted in an error at token: 'n'. Retrying in relaxed mode. genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.drpxDI + umask 022 + cd /builddir/build/BUILD/python-usort-0.6.3-build + '[' /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-usort-0.6.3-build + mkdir /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 -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 usort-0.6.3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT --prefix /usr /usr/lib/python3.13/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! dist.fetch_build_eggs(dist.setup_requires) WARNING: The wheel package is not available. WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr creating /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib creating /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13 creating /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages creating /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/__init__.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/__main__.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/cli.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/config.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/sorting.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/stdlibs.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/util.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort copying build/lib/usort/version.py -> /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__main__.py to __main__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/cli.py to cli.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/config.py to config.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/sorting.py to sorting.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/stdlibs.py to stdlibs.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/util.py to util.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/version.py to version.cpython-313.pyc writing byte-compilation script '/tmp/tmp2rmwazio.py' /usr/bin/python3 /tmp/tmp2rmwazio.py removing /tmp/tmp2rmwazio.py running install_egg_info running egg_info creating usort.egg-info writing usort.egg-info/PKG-INFO writing dependency_links to usort.egg-info/dependency_links.txt writing entry points to usort.egg-info/entry_points.txt writing requirements to usort.egg-info/requires.txt writing top-level names to usort.egg-info/top_level.txt writing manifest file 'usort.egg-info/SOURCES.txt' reading manifest file 'usort.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' under directory 'usort' adding license file 'LICENSE' writing manifest file 'usort.egg-info/SOURCES.txt' Copying usort.egg-info to /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort-0.6.3-py3.13.egg-info running install_scripts Installing usort script to /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/bin + rm -rfv /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 Bytecompiling .py files below /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/__main__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/sorting.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/cli.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/cli.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/config.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/config.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/stdlibs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/sorting.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-usort-0.6.3-build/BUILDROOT/usr/lib/python3.13/site-packages/usort/__pycache__/util.cpython-313.pyc: rewriting with normalized contents Processed 11 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kpXXlK + umask 022 + cd /builddir/build/BUILD/python-usort-0.6.3-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 -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 usort-0.6.3 + /usr/bin/make test python3 -m coverage run -m usort.tests ........FF............................ ====================================================================== FAIL: test_format_parse_error (usort.tests.cli.CliTest.test_format_parse_error) Code that has syntax that would never be valid in any version of python ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-usort-0.6.3-build/usort-0.6.3/usort/tests/cli.py", line 146, in test_format_parse_error self.assertRegex( ~~~~~~~~~~~~~~~~^ result.output, ^^^^^^^^^^^^^^ r"Error sorting sample\.py: Syntax Error @ 1:7\.", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ AssertionError: Regex didn't match: 'Error sorting sample\\.py: Syntax Error @ 1:7\\.' not found in 'Error sorting sample.py: Syntax Error @ 1:1.\nparser error: error at 2:0: expected NAME\n\nimport\n^\n' ====================================================================== FAIL: test_format_parse_error_conflicting_syntax (usort.tests.cli.CliTest.test_format_parse_error_conflicting_syntax) Code that contains syntax both <=2.7 and >=3.8 that could never coexist ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-usort-0.6.3-build/usort-0.6.3/usort/tests/cli.py", line 159, in test_format_parse_error_conflicting_syntax self.assertRegex( ~~~~~~~~~~~~~~~~^ result.output, ^^^^^^^^^^^^^^ r"Error sorting sample\.py: Syntax Error @ 2:11\.", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ AssertionError: Regex didn't match: 'Error sorting sample\\.py: Syntax Error @ 2:11\\.' not found in "Error sorting sample.py: Syntax Error @ 2:1.\nparser error: error at 2:13: expected one of !=, %, &, (, *, **, +, ,, -, ., /, //, :, ;, <, <<, <=, =, ==, >, >=, >>, @, NEWLINE, [, ^, and, if, in, is, not, or, |\n\n print 'i'\n^\n" ---------------------------------------------------------------------- Ran 38 tests in 0.138s FAILED (failures=2) make: *** [Makefile:29: test] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.kpXXlK (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kpXXlK (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1a7863e5efc84d1594df9bd1c7a9ebbf -D /var/lib/mock/f41-build-51776569-6199923/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-usort.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 1a7863e5efc84d1594df9bd1c7a9ebbf -D /var/lib/mock/f41-build-51776569-6199923/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h0vuxukw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-usort.spec'