D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-pytest-fixture-config-1.7.0-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aF9LpB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sGU5DX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + rm -rf pytest-fixture-config-1.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pytest-fixture-config-1.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-fixture-config-1.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e /setuptools-git/d common_setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CbLF6a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build + cd pytest-fixture-config-1.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build/pytest-fixture-config-1.7.0/common_setup.py:6: SetuptoolsDeprecationWarning: The test command is disabled and references to it are deprecated. !! ******************************************************************************** Please remove any references to `setuptools.command.test` in all supported versions of the affected package. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. ******************************************************************************** !! from setuptools.command.test import test as TestCommand /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running build running build_py creating build/lib copying pytest_fixture_config.py -> build/lib running egg_info Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build/pytest-fixture-config-1.7.0/setup.py", line 42, in setup(**kwargs) File "/usr/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 183, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 199, in run_commands dist.run_commands() File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands self.run_command(cmd) File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 995, in run_command super().run_command(command) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command self.distribution.run_command(command) File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 995, in run_command super().run_command(command) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/usr/lib/python3.12/site-packages/setuptools/command/build_py.py", line 82, in run self.byte_compile(orig.build_py.get_outputs(self, include_bytecode=False)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_py.py", line 330, in get_outputs for package, src_dir, build_dir, filenames in self.data_files ^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/command/build_py.py", line 87, in __getattr__ self.data_files = self._get_data_files() ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/command/build_py.py", line 93, in _get_data_files self.analyze_manifest() File "/usr/lib/python3.12/site-packages/setuptools/command/build_py.py", line 191, in analyze_manifest self.run_command('egg_info') File "/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command self.distribution.run_command(command) File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 995, in run_command super().run_command(command) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 973, in run_command cmd_obj.run() File "/home/pterjan/rpmbuild/BUILD/python-pytest-fixture-config-1.7.0-build/pytest-fixture-config-1.7.0/common_setup.py", line 41, in run self.distribution.extras_require['tests'] = self.distribution.tests_require ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Distribution' object has no attribute 'tests_require'. Did you mean: 'extras_require'? error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CbLF6a (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CbLF6a (%build) I: [iurt_root_command] ERROR: chroot