D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-testresources-2.0.1-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QekLHE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OYCnz5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + rm -rf testresources-2.0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/testresources-2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd testresources-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-fix-tests-for-python312.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vHsGwI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + cd testresources-2.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + 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)' + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.cfg + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir + echo -n + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 75.6.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) Handling pbr>=1.3 from get_requires_for_build_wheel Requirement satisfied: pbr>=1.3 (installed: pbr 6.0.0) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/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. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running dist_info writing testresources.egg-info/PKG-INFO writing dependency_links to testresources.egg-info/dependency_links.txt writing requirements to testresources.egg-info/requires.txt writing top-level names to testresources.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/testresources-2.0.1.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Handling pbr>=1.8 from hook generated metadata: Requires-Dist (testresources) Requirement satisfied: pbr>=1.8 (installed: pbr 6.0.0) Handling docutils; extra == "test" from hook generated metadata: Requires-Dist (testresources) Ignoring alien requirement: docutils; extra == "test" Handling fixtures; extra == "test" from hook generated metadata: Requires-Dist (testresources) Ignoring alien requirement: fixtures; extra == "test" Handling testtools; extra == "test" from hook generated metadata: Requires-Dist (testresources) Ignoring alien requirement: testtools; extra == "test" + cat /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-buildrequires + rm -rfv testresources-2.0.1.dist-info/ removed 'testresources-2.0.1.dist-info/pbr.json' removed 'testresources-2.0.1.dist-info/AUTHORS' removed 'testresources-2.0.1.dist-info/COPYING' removed 'testresources-2.0.1.dist-info/top_level.txt' removed 'testresources-2.0.1.dist-info/METADATA' removed directory 'testresources-2.0.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UjCbXP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + cd testresources-2.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir + 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' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/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. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info writing /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/SOURCES.txt' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'COPYING' adding license file 'AUTHORS' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-modern-metadata-3d2__owt/testresources-2.0.1.dist-info' The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: testresources Building wheel for testresources (pyproject.toml): started Running command Building wheel for testresources (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running bdist_wheel The [wheel] section is deprecated. Use [bdist_wheel] instead. /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:111: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated !! ******************************************************************************** With Python 2.7 end-of-life, support for building universal wheels (i.e., wheels that support both Python 2 and Python 3) is being obviated. Please discontinue using this option, or if you still need it, file an issue with pypa/setuptools describing your use case. By 2025-Aug-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. ******************************************************************************** !! self.finalize_options() running build running build_py creating build/lib/testresources copying testresources/__init__.py -> build/lib/testresources creating build/lib/testresources/tests copying testresources/tests/test_test_loader.py -> build/lib/testresources/tests copying testresources/tests/TestUtil.py -> build/lib/testresources/tests copying testresources/tests/test_resourced_test_case.py -> build/lib/testresources/tests copying testresources/tests/test_optimising_test_suite.py -> build/lib/testresources/tests copying testresources/tests/test_test_resource.py -> build/lib/testresources/tests copying testresources/tests/__init__.py -> build/lib/testresources/tests copying testresources/tests/test_resource_graph.py -> build/lib/testresources/tests running egg_info writing testresources.egg-info/PKG-INFO writing dependency_links to testresources.egg-info/dependency_links.txt writing requirements to testresources.egg-info/requires.txt writing top-level names to testresources.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt installing to build/bdist.linux-x86_64/wheel running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/testresources creating build/bdist.linux-x86_64/wheel/testresources/tests copying build/lib/testresources/tests/test_test_loader.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/TestUtil.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/test_resourced_test_case.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/test_optimising_test_suite.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/test_test_resource.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/tests/test_resource_graph.py -> build/bdist.linux-x86_64/wheel/./testresources/tests copying build/lib/testresources/__init__.py -> build/bdist.linux-x86_64/wheel/./testresources running install_egg_info Copying testresources.egg-info to build/bdist.linux-x86_64/wheel/./testresources-2.0.1-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/testresources-2.0.1.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir/pip-wheel-7xo03q5v/.tmp-dxbxnehb/testresources-2.0.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'testresources/__init__.py' adding 'testresources/tests/TestUtil.py' adding 'testresources/tests/__init__.py' adding 'testresources/tests/test_optimising_test_suite.py' adding 'testresources/tests/test_resource_graph.py' adding 'testresources/tests/test_resourced_test_case.py' adding 'testresources/tests/test_test_loader.py' adding 'testresources/tests/test_test_resource.py' adding 'testresources-2.0.1.dist-info/AUTHORS' adding 'testresources-2.0.1.dist-info/COPYING' adding 'testresources-2.0.1.dist-info/METADATA' adding 'testresources-2.0.1.dist-info/WHEEL' adding 'testresources-2.0.1.dist-info/top_level.txt' adding 'testresources-2.0.1.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for testresources (pyproject.toml): finished with status 'done' Created wheel for testresources: filename=testresources-2.0.1-py2.py3-none-any.whl size=32534 sha256=b569036d45ea3a3aaeff78737b1a9c2882e44c2fb6c6d66f6d48f20c0e88fa34 Stored in directory: /home/pterjan/.cache/pip/wheels/1e/a9/a8/6005ce1f44ffe8df5ed891e9fcce60d1c04f6ec203b5fa1f8e Successfully built testresources + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Crutv6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + mkdir /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT + cd testresources-2.0.1 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/pyproject-wheeldir/testresources-2.0.1-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=testresources==2.0.1 + '[' -z testresources==2.0.1 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT --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 /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/pyproject-wheeldir testresources==2.0.1 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/testresources-2.0.1/pyproject-wheeldir Processing ./pyproject-wheeldir/testresources-2.0.1-py2.py3-none-any.whl Installing collected packages: testresources Successfully installed testresources-2.0.1 + '[' -d /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/testresources-2.0.1.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/python-testresources-2.0.1-7.mga10.noarch-pyproject-record --prefix /usr testresources + /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/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JPUv3O + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-testresources-2.0.1-build + cd testresources-2.0.1 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/__init__.py:94: _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) /usr/lib/python3.12/site-packages/setuptools/command/develop.py:41: EasyInstallDeprecationWarning: easy_install command is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` and ``easy_install``. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://github.com/pypa/setuptools/issues/917 for details. ******************************************************************************** !! easy_install.initialize_options(self) /usr/lib/python3.12/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. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead. By 2025-Mar-03, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'test' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JPUv3O (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JPUv3O (%check) I: [iurt_root_command] ERROR: chroot