D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-flake8-import-order-0.18.1-6.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YDaZJX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf flake8-import-order-0.18.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/flake8-import-order-0.18.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flake8-import-order-0.18.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf flake8_import_order.egg-info/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eoFYQU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd flake8-import-order-0.18.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py file flake8_import_order.py (for module flake8_import_order) not found creating build creating build/lib creating build/lib/flake8_import_order copying flake8_import_order/pylama_linter.py -> build/lib/flake8_import_order copying flake8_import_order/styles.py -> build/lib/flake8_import_order copying flake8_import_order/flake8_linter.py -> build/lib/flake8_import_order copying flake8_import_order/checker.py -> build/lib/flake8_import_order copying flake8_import_order/__about__.py -> build/lib/flake8_import_order copying flake8_import_order/__init__.py -> build/lib/flake8_import_order copying flake8_import_order/stdlib_list.py -> build/lib/flake8_import_order file flake8_import_order.py (for module flake8_import_order) not found + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WiD1d7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch + cd flake8-import-order-0.18.1 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr creating /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib creating /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10 creating /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages creating /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/pylama_linter.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/styles.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/flake8_linter.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/checker.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/__about__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/__init__.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order copying build/lib/flake8_import_order/stdlib_list.py -> /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/pylama_linter.py to pylama_linter.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/styles.py to styles.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/flake8_linter.py to flake8_linter.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/checker.py to checker.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/__about__.py to __about__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/__init__.py to __init__.cpython-310.pyc byte-compiling /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order/stdlib_list.py to stdlib_list.cpython-310.pyc writing byte-compilation script '/tmp/tmpz3vaazey.py' /usr/bin/python3 /tmp/tmpz3vaazey.py removing /tmp/tmpz3vaazey.py running install_egg_info running egg_info creating flake8_import_order.egg-info writing flake8_import_order.egg-info/PKG-INFO writing dependency_links to flake8_import_order.egg-info/dependency_links.txt writing entry points to flake8_import_order.egg-info/entry_points.txt writing requirements to flake8_import_order.egg-info/requires.txt writing top-level names to flake8_import_order.egg-info/top_level.txt writing manifest file 'flake8_import_order.egg-info/SOURCES.txt' file flake8_import_order.py (for module flake8_import_order) not found reading manifest file 'flake8_import_order.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.md' warning: no previously-included files matching '*.py[co]' found under directory 'tests' adding license file 'COPYING' writing manifest file 'flake8_import_order.egg-info/SOURCES.txt' Copying flake8_import_order.egg-info to /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10/site-packages/flake8_import_order-0.18.1-py3.10.egg-info running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.18.1-6.mga9 --unique-debug-suffix -0.18.1-6.mga9.noarch --unique-debug-src-base python-flake8-import-order-0.18.1-6.mga9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/flake8-import-order-0.18.1 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-flake8-import-order-0.18.1-6.mga9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.98z5Gw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd flake8-import-order-0.18.1 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing flake8_import_order.egg-info/PKG-INFO writing dependency_links to flake8_import_order.egg-info/dependency_links.txt writing entry points to flake8_import_order.egg-info/entry_points.txt writing requirements to flake8_import_order.egg-info/requires.txt writing top-level names to flake8_import_order.egg-info/top_level.txt file flake8_import_order.py (for module flake8_import_order) not found reading manifest file 'flake8_import_order.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'README.md' warning: no previously-included files matching '*.py[co]' found under directory 'tests' adding license file 'COPYING' writing manifest file 'flake8_import_order.egg-info/SOURCES.txt' running build_ext Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/flake8-import-order-0.18.1/setup.py", line 15, in setup( File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 973, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1217, in run_command super().run_command(command) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 992, in run_command cmd_obj.run() File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 224, in run self.run_tests() File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 227, in run_tests test = unittest.main( File "/usr/lib64/python3.10/unittest/main.py", line 100, in __init__ self.parseArgs(argv) File "/usr/lib64/python3.10/unittest/main.py", line 124, in parseArgs self._do_discovery(argv[2:]) File "/usr/lib64/python3.10/unittest/main.py", line 244, in _do_discovery self.createTests(from_discovery=True, Loader=Loader) File "/usr/lib64/python3.10/unittest/main.py", line 154, in createTests self.test = loader.discover(self.start, self.pattern, self.top) File "/usr/lib64/python3.10/unittest/loader.py", line 349, in discover tests = list(self._find_tests(start_dir, pattern)) File "/usr/lib64/python3.10/unittest/loader.py", line 405, in _find_tests tests, should_recurse = self._find_test_path( File "/usr/lib64/python3.10/unittest/loader.py", line 483, in _find_test_path tests = self.loadTestsFromModule(package, pattern=pattern) File "/usr/lib/python3.10/site-packages/setuptools/command/test.py", line 57, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib64/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/home/pterjan/rpmbuild/BUILD/flake8-import-order-0.18.1/flake8_import_order/pylama_linter.py", line 3, in from pylama.lint import Linter as BaseLinter File "/usr/lib/python3.10/site-packages/pylama/lint/__init__.py", line 56, in import_module(f"{__name__}.{pname}") File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.10/site-packages/pylama/lint/pylama_pyflakes.py", line 12, in m.RedefinedInListComp.message: "W0621", AttributeError: module 'pyflakes.messages' has no attribute 'RedefinedInListComp' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.98z5Gw (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.98z5Gw (%check) I: [iurt_root_command] ERROR: chroot