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-sphinx-testing-1.0.1-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.16vV7s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.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.PqGLdJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + rm -rf sphinx-testing-1.0.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sphinx-testing-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sphinx-testing-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf src/sphinx_testing.egg-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.CqVM54 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + cd sphinx-testing-1.0.1 + '[' 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' /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' 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/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running build running build_py creating _build/lib/sphinx_testing copying src/sphinx_testing/tmpdir.py -> _build/lib/sphinx_testing copying src/sphinx_testing/__init__.py -> _build/lib/sphinx_testing copying src/sphinx_testing/util.py -> _build/lib/sphinx_testing copying src/sphinx_testing/path.py -> _build/lib/sphinx_testing running egg_info creating src/sphinx_testing.egg-info writing src/sphinx_testing.egg-info/PKG-INFO writing dependency_links to src/sphinx_testing.egg-info/dependency_links.txt writing requirements to src/sphinx_testing.egg-info/requires.txt writing top-level names to src/sphinx_testing.egg-info/top_level.txt writing manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' reading manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' + 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.4ekT2P + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + mkdir /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT + cd sphinx-testing-1.0.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 install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT --prefix /usr /usr/lib/python3.12/site-packages/setuptools/dist.py:488: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' 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/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running install /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() running install_lib creating /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages creating /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing copying _build/lib/sphinx_testing/tmpdir.py -> /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing copying _build/lib/sphinx_testing/__init__.py -> /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing copying _build/lib/sphinx_testing/util.py -> /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing copying _build/lib/sphinx_testing/path.py -> /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing byte-compiling /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing/tmpdir.py to tmpdir.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing/util.py to util.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing/path.py to path.cpython-312.pyc writing byte-compilation script '/tmp/tmpirimna5e.py' /usr/bin/python3 /tmp/tmpirimna5e.py removing /tmp/tmpirimna5e.py running install_egg_info running egg_info writing src/sphinx_testing.egg-info/PKG-INFO writing dependency_links to src/sphinx_testing.egg-info/dependency_links.txt writing requirements to src/sphinx_testing.egg-info/requires.txt writing top-level names to src/sphinx_testing.egg-info/top_level.txt reading manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'src/sphinx_testing.egg-info/SOURCES.txt' Copying src/sphinx_testing.egg-info to /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/lib/python3.12/site-packages/sphinx_testing-1.0.1-py3.12.egg-info running install_scripts + rm -rfv /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build/BUILDROOT/usr/bin/__pycache__ + /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-sphinx-testing-1.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.oQr7It + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sphinx-testing-1.0.1-build + cd sphinx-testing-1.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 'build-base' will not be supported in future versions. Please use the underscore name 'build_base' 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/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) 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.oQr7It (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.oQr7It (%check) I: [iurt_root_command] ERROR: chroot