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-modint-0.4.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DkKn2F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-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.Ca2Xvb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + rm -rf modint-0.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/modint-0.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd modint-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.5U3Lal + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + cd modint-0.4.0 + '[' 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-modint-0.4.0-build/modint-0.4.0/.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-modint-0.4.0-build/modint-0.4.0/.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-modint-0.4.0-build/modint-0.4.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.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) running egg_info writing modint.egg-info/PKG-INFO writing dependency_links to modint.egg-info/dependency_links.txt writing top-level names to modint.egg-info/top_level.txt reading manifest file 'modint.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'modint.egg-info/SOURCES.txt' running dist_info writing modint.egg-info/PKG-INFO writing dependency_links to modint.egg-info/dependency_links.txt writing top-level names to modint.egg-info/top_level.txt reading manifest file 'modint.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'modint.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/modint-0.4.0.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() + cat /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-buildrequires + rm -rfv modint-0.4.0.dist-info/ removed 'modint-0.4.0.dist-info/AUTHORS' removed 'modint-0.4.0.dist-info/top_level.txt' removed 'modint-0.4.0.dist-info/METADATA' removed 'modint-0.4.0.dist-info/LICENSE' removed directory 'modint-0.4.0.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.woTEwK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + cd modint-0.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.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-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info writing /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/dependency_links.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-modern-metadata-kcxofalk/modint-0.4.0.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: modint Building wheel for modint (pyproject.toml): started Running command Building wheel for modint (pyproject.toml) 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/modint copying modint/cli.py -> build/lib/modint copying modint/template.py -> build/lib/modint copying modint/__main__.py -> build/lib/modint copying modint/__init__.py -> build/lib/modint running egg_info writing modint.egg-info/PKG-INFO writing dependency_links to modint.egg-info/dependency_links.txt writing top-level names to modint.egg-info/top_level.txt reading manifest file 'modint.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'modint.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/modint copying build/lib/modint/cli.py -> build/bdist.linux-x86_64/wheel/./modint copying build/lib/modint/template.py -> build/bdist.linux-x86_64/wheel/./modint copying build/lib/modint/__main__.py -> build/bdist.linux-x86_64/wheel/./modint copying build/lib/modint/__init__.py -> build/bdist.linux-x86_64/wheel/./modint running install_egg_info Copying modint.egg-info to build/bdist.linux-x86_64/wheel/./modint-0.4.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/modint-0.4.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir/pip-wheel-auw1kd41/.tmp-hep0rzza/modint-0.4.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'modint/__init__.py' adding 'modint/__main__.py' adding 'modint/cli.py' adding 'modint/template.py' adding 'modint-0.4.0.dist-info/AUTHORS' adding 'modint-0.4.0.dist-info/LICENSE' adding 'modint-0.4.0.dist-info/METADATA' adding 'modint-0.4.0.dist-info/WHEEL' adding 'modint-0.4.0.dist-info/top_level.txt' adding 'modint-0.4.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for modint (pyproject.toml): finished with status 'done' Created wheel for modint: filename=modint-0.4.0-py2.py3-none-any.whl size=7080 sha256=11d1c82b21e87b7eecca26bebd4f0c5729b52a602e9a8ec69f5fd975709e1b71 Stored in directory: /home/pterjan/.cache/pip/wheels/46/92/2a/fe5b91de4212351030f9a6b5978d94d8da144db75f7f44e14f Successfully built modint + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0 + sphinx-build docs html Running Sphinx v7.3.7 making output directory... done WARNING: html_static_path entry '_static' does not exist WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'': ('http://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping loading intersphinx inventory from http://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to : HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with url: /objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.python.org' ([Errno -2] Name or service not known)")) 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%] CONTRIBUTING reading sources... [ 60%] LICENSE reading sources... [ 80%] README 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%] CONTRIBUTING writing output... [ 60%] LICENSE writing output... [ 80%] README writing output... [100%] index generating indices... genindex done highlighting module code... writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 3 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + 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.xyDADo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT + cd modint-0.4.0 + '[' 1 -eq 1 ']' ++ xargs basename --multiple ++ ls /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/pyproject-wheeldir/modint-0.4.0-py2.py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=modint==0.4.0 + '[' -z modint==0.4.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-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-modint-0.4.0-build/modint-0.4.0/pyproject-wheeldir modint==0.4.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/modint-0.4.0/pyproject-wheeldir Processing ./pyproject-wheeldir/modint-0.4.0-py2.py3-none-any.whl Installing collected packages: modint Successfully installed modint-0.4.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/modint-0.4.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.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-modint-0.4.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/BUILDROOT/usr/lib/python3.12/site-packages/modint-0.4.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.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-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-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-modint-0.4.0-build/python-modint-0.4.0-3.mga10.noarch-pyproject-record --prefix /usr modint + /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-modint-0.4.0-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.Vm8yc8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-modint-0.4.0-build + cd modint-0.4.0 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test 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.Vm8yc8 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Vm8yc8 (%check) I: [iurt_root_command] ERROR: chroot