D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/python-rebookmaker-0.8.10-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.19HSIK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + test -d /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KpnhNb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + rm -rf rebookmaker-0.8.10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rebookmaker-0.8.10.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rebookmaker-0.8.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9ETm3B + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + cd rebookmaker-0.8.10 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + 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-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.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' + CXXFLAGS='-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' + FFLAGS='-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 ' + FCFLAGS='-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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + 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' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.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-rebookmaker-0.8.10-build/rebookmaker-0.8.10/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/python-rebookmaker-0.8.10-1.mga10.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 75.6.0) running egg_info writing rebookmaker.egg-info/PKG-INFO writing dependency_links to rebookmaker.egg-info/dependency_links.txt writing requirements to rebookmaker.egg-info/requires.txt writing top-level names to rebookmaker.egg-info/top_level.txt reading manifest file 'rebookmaker.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 'rebookmaker.egg-info/SOURCES.txt' running dist_info writing rebookmaker.egg-info/PKG-INFO writing dependency_links to rebookmaker.egg-info/dependency_links.txt writing requirements to rebookmaker.egg-info/requires.txt writing top-level names to rebookmaker.egg-info/top_level.txt reading manifest file 'rebookmaker.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 'rebookmaker.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/rebookmaker-0.8.10.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 beautifulsoup4 from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: beautifulsoup4 (installed: beautifulsoup4 4.12.3) Handling coverage from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: coverage (installed: coverage 7.6.10) Handling jinja2>=3.0.1 from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: jinja2>=3.0.1 (installed: jinja2 3.1.5) Handling lxml from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: lxml (installed: lxml 5.3.0) Handling markupsafe from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: markupsafe (installed: markupsafe 3.0.2) Handling pytest from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: pytest (installed: pytest 8.3.4) Handling pytest-cov from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: pytest-cov (installed: pytest-cov 6.0.0) Handling requests from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: requests (installed: requests 2.32.3) Handling twine from hook generated metadata: Requires-Dist (rebookmaker) Requirement satisfied: twine (installed: twine 5.0.0) + cat /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/python-rebookmaker-0.8.10-1.mga10.noarch-pyproject-buildrequires + rm -rfv rebookmaker-0.8.10.dist-info/ removed 'rebookmaker-0.8.10.dist-info/AUTHORS' removed 'rebookmaker-0.8.10.dist-info/top_level.txt' removed 'rebookmaker-0.8.10.dist-info/METADATA' removed 'rebookmaker-0.8.10.dist-info/LICENSE' removed directory 'rebookmaker-0.8.10.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ejsTlm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + 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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rebookmaker-0.8.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.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' + CXXFLAGS='-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' + FFLAGS='-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 ' + FCFLAGS='-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 ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + 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' + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + CXX=g++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info writing /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.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-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-modern-metadata-fy7zpsrc/rebookmaker-0.8.10.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: rebookmaker Building wheel for rebookmaker (pyproject.toml): started Running command Building wheel for rebookmaker (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/rebookmaker copying rebookmaker/template.py -> build/lib/rebookmaker copying rebookmaker/__init__.py -> build/lib/rebookmaker running egg_info writing rebookmaker.egg-info/PKG-INFO writing dependency_links to rebookmaker.egg-info/dependency_links.txt writing requirements to rebookmaker.egg-info/requires.txt writing top-level names to rebookmaker.egg-info/top_level.txt reading manifest file 'rebookmaker.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 'rebookmaker.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'rebookmaker.data.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'rebookmaker.data.templates' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'rebookmaker.data.templates' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'rebookmaker.data.templates' to be distributed and are already explicitly excluding 'rebookmaker.data.templates' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying rebookmaker/rebookmaker -> build/lib/rebookmaker creating build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/container.xml.jinja -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/content.opf.jinja -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/cover.html.jinja -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/nav.html.jinja -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/onepixel.png -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/onepixel.xcf -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/toc.html.jinja -> build/lib/rebookmaker/data/templates copying rebookmaker/data/templates/toc.ncx.jinja -> build/lib/rebookmaker/data/templates running build_scripts creating build/scripts-3.12 copying and adjusting rebookmaker/rebookmaker -> build/scripts-3.12 changing mode of build/scripts-3.12/rebookmaker from 644 to 755 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/rebookmaker copying build/lib/rebookmaker/rebookmaker -> build/bdist.linux-x86_64/wheel/./rebookmaker copying build/lib/rebookmaker/template.py -> build/bdist.linux-x86_64/wheel/./rebookmaker creating build/bdist.linux-x86_64/wheel/rebookmaker/data creating build/bdist.linux-x86_64/wheel/rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/toc.html.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/cover.html.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/onepixel.png -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/onepixel.xcf -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/container.xml.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/content.opf.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/toc.ncx.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/data/templates/nav.html.jinja -> build/bdist.linux-x86_64/wheel/./rebookmaker/data/templates copying build/lib/rebookmaker/__init__.py -> build/bdist.linux-x86_64/wheel/./rebookmaker running install_egg_info Copying rebookmaker.egg-info to build/bdist.linux-x86_64/wheel/./rebookmaker-0.8.10-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/rebookmaker-0.8.10.data/scripts copying build/scripts-3.12/rebookmaker -> build/bdist.linux-x86_64/wheel/rebookmaker-0.8.10.data/scripts changing mode of build/bdist.linux-x86_64/wheel/rebookmaker-0.8.10.data/scripts/rebookmaker to 755 creating build/bdist.linux-x86_64/wheel/rebookmaker-0.8.10.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10/.pyproject-builddir/pip-wheel-x97lu7fy/.tmp-c9fo5s9x/rebookmaker-0.8.10-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'rebookmaker/__init__.py' adding 'rebookmaker/rebookmaker' adding 'rebookmaker/template.py' adding 'rebookmaker/data/templates/container.xml.jinja' adding 'rebookmaker/data/templates/content.opf.jinja' adding 'rebookmaker/data/templates/cover.html.jinja' adding 'rebookmaker/data/templates/nav.html.jinja' adding 'rebookmaker/data/templates/onepixel.png' adding 'rebookmaker/data/templates/onepixel.xcf' adding 'rebookmaker/data/templates/toc.html.jinja' adding 'rebookmaker/data/templates/toc.ncx.jinja' adding 'rebookmaker-0.8.10.data/scripts/rebookmaker' adding 'rebookmaker-0.8.10.dist-info/AUTHORS' adding 'rebookmaker-0.8.10.dist-info/LICENSE' adding 'rebookmaker-0.8.10.dist-info/METADATA' adding 'rebookmaker-0.8.10.dist-info/WHEEL' adding 'rebookmaker-0.8.10.dist-info/top_level.txt' adding 'rebookmaker-0.8.10.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for rebookmaker (pyproject.toml): finished with status 'done' Created wheel for rebookmaker: filename=rebookmaker-0.8.10-py2.py3-none-any.whl size=17778 sha256=dbd86c04566168aa96d94dd420a1d4b6b27d157cbac5ccad4404d4ec4e64ebb2 Stored in directory: /home/pterjan/.cache/pip/wheels/69/2a/ff/a42339c92d3442f55a4047c3cc6c9b28c1bde01573d0b242ca Successfully built rebookmaker + PYTHONPATH=/home/pterjan/rpmbuild/BUILD/python-rebookmaker-0.8.10-build/rebookmaker-0.8.10 + sphinx-build-3 docs html Running Sphinx v8.1.3 loading translations [en]... done making output directory... done WARNING: html_static_path entry '_static' does not exist Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list. Configuration error: Invalid `intersphinx_mapping` configuration (1 error). error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ejsTlm (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ejsTlm (%build) I: [iurt_root_command] ERROR: chroot