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-docopt-0.6.2-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8JXxx5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + test -d /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-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.9A3574 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + rm -rf docopt-0.6.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/docopt-0.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd docopt-0.6.2 + /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.NqRdGz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + cd docopt-0.6.2 + '[' 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-docopt-0.6.2-build/docopt-0.6.2/.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-docopt-0.6.2-build/docopt-0.6.2/.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-docopt-0.6.2-build/docopt-0.6.2/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/python-docopt-0.6.2-15.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) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:165: SyntaxWarning: invalid escape sequence '\S' name = re.findall('(<\S*?>)', source)[0] /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:166: SyntaxWarning: invalid escape sequence '\[' value = re.findall('\[default: (.*)\]', source, flags=re.I) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:207: SyntaxWarning: invalid escape sequence '\[' matched = re.findall('\[default: (.*)\]', description, flags=re.I) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:456: SyntaxWarning: invalid escape sequence '\S' split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:] running egg_info writing docopt.egg-info/PKG-INFO writing dependency_links to docopt.egg-info/dependency_links.txt writing top-level names to docopt.egg-info/top_level.txt reading manifest file 'docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE-MIT' writing manifest file 'docopt.egg-info/SOURCES.txt' running dist_info writing docopt.egg-info/PKG-INFO writing dependency_links to docopt.egg-info/dependency_links.txt writing top-level names to docopt.egg-info/top_level.txt reading manifest file 'docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE-MIT' writing manifest file 'docopt.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt-0.6.2.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-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-buildrequires + rm -rfv docopt-0.6.2.dist-info/ removed 'docopt-0.6.2.dist-info/LICENSE-MIT' removed 'docopt-0.6.2.dist-info/top_level.txt' removed 'docopt-0.6.2.dist-info/METADATA' removed directory 'docopt-0.6.2.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.Fzdwjk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + cd docopt-0.6.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.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-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:165: SyntaxWarning: invalid escape sequence '\S' name = re.findall('(<\S*?>)', source)[0] /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:166: SyntaxWarning: invalid escape sequence '\[' value = re.findall('\[default: (.*)\]', source, flags=re.I) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:207: SyntaxWarning: invalid escape sequence '\[' matched = re.findall('\[default: (.*)\]', description, flags=re.I) /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/docopt.py:456: SyntaxWarning: invalid escape sequence '\S' split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:] running dist_info creating /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info writing /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/dependency_links.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE-MIT' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-modern-metadata-sy1dkzky/docopt-0.6.2.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: docopt Building wheel for docopt (pyproject.toml): started Running command Building wheel for docopt (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 copying docopt.py -> build/lib installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel copying build/lib/docopt.py -> build/bdist.linux-x86_64/wheel/. running install_egg_info running egg_info writing docopt.egg-info/PKG-INFO writing dependency_links to docopt.egg-info/dependency_links.txt writing top-level names to docopt.egg-info/top_level.txt reading manifest file 'docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE-MIT' writing manifest file 'docopt.egg-info/SOURCES.txt' Copying docopt.egg-info to build/bdist.linux-x86_64/wheel/./docopt-0.6.2-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/docopt-0.6.2.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir/pip-wheel-bniqr4mj/.tmp-v2wp5tuh/docopt-0.6.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'docopt.py' adding 'docopt-0.6.2.dist-info/LICENSE-MIT' adding 'docopt-0.6.2.dist-info/METADATA' adding 'docopt-0.6.2.dist-info/WHEEL' adding 'docopt-0.6.2.dist-info/top_level.txt' adding 'docopt-0.6.2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for docopt (pyproject.toml): finished with status 'done' Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13673 sha256=49ddf0257bf327ca497c7831bc2f0040fcb2e93e0e85250241a0f118fc4e4952 Stored in directory: /home/pterjan/.cache/pip/wheels/28/41/df/164220fdc83b18a00b33dd9ddeb97312ed04ce3c16c16df126 Successfully built docopt + 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.G8trXk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + mkdir /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT + cd docopt-0.6.2 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/pyproject-wheeldir/docopt-0.6.2-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=docopt==0.6.2 + '[' -z docopt==0.6.2 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-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-docopt-0.6.2-build/docopt-0.6.2/pyproject-wheeldir docopt==0.6.2 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/pyproject-wheeldir Processing ./pyproject-wheeldir/docopt-0.6.2-py2.py3-none-any.whl Installing collected packages: docopt Successfully installed docopt-0.6.2 + '[' -d /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.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-docopt-0.6.2-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12/site-packages/docopt-0.6.2.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/python-docopt-0.6.2-15.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-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-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-docopt-0.6.2-build/python-docopt-0.6.2-15.mga10.noarch-pyproject-record --prefix /usr docopt + /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-docopt-0.6.2-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set /usr/lib/python3.12/site-packages/docopt.py:165: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/docopt.py:166: SyntaxWarning: invalid escape sequence '\[' /usr/lib/python3.12/site-packages/docopt.py:207: SyntaxWarning: invalid escape sequence '\[' /usr/lib/python3.12/site-packages/docopt.py:456: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/docopt.py:165: SyntaxWarning: invalid escape sequence '\S' /usr/lib/python3.12/site-packages/docopt.py:166: SyntaxWarning: invalid escape sequence '\[' /usr/lib/python3.12/site-packages/docopt.py:207: SyntaxWarning: invalid escape sequence '\[' /usr/lib/python3.12/site-packages/docopt.py:456: SyntaxWarning: invalid escape sequence '\S' + /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.cpzuJc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build + cd docopt-0.6.2 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py nosetests running nosetests running egg_info writing docopt.egg-info/PKG-INFO writing dependency_links to docopt.egg-info/dependency_links.txt writing top-level names to docopt.egg-info/top_level.txt reading manifest file 'docopt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE-MIT' writing manifest file 'docopt.egg-info/SOURCES.txt' Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-docopt-0.6.2-build/docopt-0.6.2/setup.py", line 6, in setup( 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/nose/commands.py", line 145, in run if 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.cpzuJc (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.cpzuJc (%check) I: [iurt_root_command] ERROR: chroot