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-oslo-context-5.5.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JJetWe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.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.Z0Nmhc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + rm -rf oslo.context-5.5.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/oslo.context-5.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.context-5.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/pbr!=2.1.0,>=/pbr>/g' requirements.txt + 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.EGNICe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + cd oslo.context-5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.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) Handling pbr>=2.0.0 from get_requires_for_build_wheel Requirement satisfied: pbr>=2.0.0 (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/pbr/core.py:140: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info writing oslo.context.egg-info/PKG-INFO writing dependency_links to oslo.context.egg-info/dependency_links.txt writing requirements to oslo.context.egg-info/requires.txt writing top-level names to oslo.context.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt creating '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/oslo.context-5.5.0.dist-info' Handling pbr>2.0.0 from hook generated metadata: Requires-Dist (oslo.context) Requirement satisfied: pbr>2.0.0 (installed: pbr 6.0.0) Handling debtcollector>=1.2.0 from hook generated metadata: Requires-Dist (oslo.context) Requirement satisfied: debtcollector>=1.2.0 (installed: debtcollector 3.0.0) + cat /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-buildrequires + rm -rfv oslo.context-5.5.0.dist-info/ removed 'oslo.context-5.5.0.dist-info/pbr.json' removed 'oslo.context-5.5.0.dist-info/AUTHORS' removed 'oslo.context-5.5.0.dist-info/top_level.txt' removed 'oslo.context-5.5.0.dist-info/METADATA' removed 'oslo.context-5.5.0.dist-info/LICENSE' removed directory 'oslo.context-5.5.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.PL23z5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + cd oslo.context-5.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0 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/pbr/core.py:140: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info writing /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info/top_level.txt [pbr] Processing SOURCES.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.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 'LICENSE' adding license file 'AUTHORS' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-modern-metadata-4ftcwj1c/oslo.context-5.5.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: oslo.context Building wheel for oslo.context (pyproject.toml): started Running command Building wheel for oslo.context (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/pbr/core.py:140: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) running bdist_wheel running build running build_py creating build/lib/oslo_context copying oslo_context/version.py -> build/lib/oslo_context copying oslo_context/context.py -> build/lib/oslo_context copying oslo_context/fixture.py -> build/lib/oslo_context copying oslo_context/__init__.py -> build/lib/oslo_context creating build/lib/oslo_context/tests copying oslo_context/tests/test_context.py -> build/lib/oslo_context/tests copying oslo_context/tests/__init__.py -> build/lib/oslo_context/tests copying oslo_context/tests/test_fixture.py -> build/lib/oslo_context/tests running egg_info writing oslo.context.egg-info/PKG-INFO writing dependency_links to oslo.context.egg-info/dependency_links.txt writing requirements to oslo.context.egg-info/requires.txt writing top-level names to oslo.context.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/oslo_context copying build/lib/oslo_context/version.py -> build/bdist.linux-x86_64/wheel/./oslo_context copying build/lib/oslo_context/context.py -> build/bdist.linux-x86_64/wheel/./oslo_context copying build/lib/oslo_context/fixture.py -> build/bdist.linux-x86_64/wheel/./oslo_context creating build/bdist.linux-x86_64/wheel/oslo_context/tests copying build/lib/oslo_context/tests/test_context.py -> build/bdist.linux-x86_64/wheel/./oslo_context/tests copying build/lib/oslo_context/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./oslo_context/tests copying build/lib/oslo_context/tests/test_fixture.py -> build/bdist.linux-x86_64/wheel/./oslo_context/tests copying build/lib/oslo_context/__init__.py -> build/bdist.linux-x86_64/wheel/./oslo_context running install_egg_info Copying oslo.context.egg-info to build/bdist.linux-x86_64/wheel/./oslo.context-5.5.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/oslo.context-5.5.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir/pip-wheel-007vej3b/.tmp-ojs695zm/oslo.context-5.5.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'oslo_context/__init__.py' adding 'oslo_context/context.py' adding 'oslo_context/fixture.py' adding 'oslo_context/version.py' adding 'oslo_context/tests/__init__.py' adding 'oslo_context/tests/test_context.py' adding 'oslo_context/tests/test_fixture.py' adding 'oslo.context-5.5.0.dist-info/AUTHORS' adding 'oslo.context-5.5.0.dist-info/LICENSE' adding 'oslo.context-5.5.0.dist-info/METADATA' adding 'oslo.context-5.5.0.dist-info/WHEEL' adding 'oslo.context-5.5.0.dist-info/top_level.txt' adding 'oslo.context-5.5.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for oslo.context (pyproject.toml): finished with status 'done' Created wheel for oslo.context: filename=oslo.context-5.5.0-py3-none-any.whl size=20226 sha256=0ec16f4aa32a22ba70e365299288a2ea01a6ece9d1416d0861e6ce29973b8704 Stored in directory: /home/pterjan/.cache/pip/wheels/bc/30/d4/d7d10367c4b06a331df7c5154d95416fafd52de99e11473410 Successfully built oslo.context + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0 + sphinx-build-3 doc/source html Running Sphinx v7.3.7 [openstackdocstheme] version: 3.0.0 [openstackdocstheme] connecting html-page-context event handler making output directory... done [openstackdocstheme] overriding configured project name (oslo.context) with name extracted from the package (oslo.context); you can disable this behavior with the 'openstackdocs_auto_name' option [openstackdocstheme] using theme from /usr/lib/python3.12/site-packages/openstackdocstheme/theme [openstackdocstheme] cannot find git top directory, assuming "." [openstackdocstheme] no ./.gitreview found building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 10 source files that are out of date updating environment: [new config] 10 added, 0 changed, 0 removed reading sources... [ 10%] contributor/index reading sources... [ 20%] index reading sources... [ 30%] install/index reading sources... [ 40%] reference/context reading sources... [ 50%] reference/fixture reading sources... [ 60%] reference/index reading sources... [ 70%] user/examples reading sources... [ 80%] user/history reading sources... [ 90%] user/index reading sources... [100%] user/usage 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... [ 10%] contributor/index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/contributor/index.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'contributor/index' writing output... [ 20%] index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/index.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'index' writing output... [ 30%] install/index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/install/index.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'install/index' writing output... [ 40%] reference/context /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/reference/context.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'reference/context' writing output... [ 50%] reference/fixture /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/reference/fixture.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'reference/fixture' writing output... [ 60%] reference/index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/reference/index.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'reference/index' writing output... [ 70%] user/examples /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/user/examples.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'user/examples' writing output... [ 80%] user/history /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/user/history.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'user/history' writing output... [ 90%] user/index /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/user/index.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'user/index' writing output... [100%] user/usage /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') [openstackdocstheme] Could not get modification time of doc/source/user/usage.rst: [Errno 2] No such file or directory: 'git' [openstackdocstheme] could not determine last_updated for 'user/usage' WARNING: [openstackdocstheme] cannot get gitsha from git repository generating indices... genindex /usr/lib/python3.12/site-packages/openstackdocstheme/page_context.py:70: RemovedInSphinx80Warning: Sphinx 8 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead. src_file = full_src_file[len(app.builder.env.srcdir):].lstrip('/') py-modindex [openstackdocstheme] could not determine last_updated for 'py-modindex' done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. 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.gfH7dK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT + cd oslo.context-5.5.0 + '[' 1 -eq 1 ']' ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/pyproject-wheeldir/oslo.context-5.5.0-py3-none-any.whl ++ xargs basename --multiple + specifier=oslo.context==5.5.0 + '[' -z oslo.context==5.5.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/oslo.context-5.5.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.0/pyproject-wheeldir oslo.context==5.5.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-oslo-context-5.5.0-build/oslo.context-5.5.0/pyproject-wheeldir Processing ./pyproject-wheeldir/oslo.context-5.5.0-py3-none-any.whl Installing collected packages: oslo.context Successfully installed oslo.context-5.5.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.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-oslo-context-5.5.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/BUILDROOT/usr/lib/python3.12/site-packages/oslo.context-5.5.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.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-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.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-oslo-context-5.5.0-build/python-oslo-context-5.5.0-1.mga10.noarch-pyproject-record --prefix /usr oslo_context + /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-oslo-context-5.5.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.Xr60bb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-oslo-context-5.5.0-build + cd oslo.context-5.5.0 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test /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/pbr/core.py:140: 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.Xr60bb (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Xr60bb (%check) I: [iurt_root_command] ERROR: chroot