D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-sphinxcontrib-jquery-4.1-1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f60UvJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf jquery-4.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sphinxcontrib-jquery-4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jquery-4.1 + rm -rf /home/pterjan/rpmbuild/BUILD/jquery-4.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jquery-4.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Fix-tests-failures-with-Sphinx-7.2.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NN5ZLv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd jquery-4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + 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/' pyproject.toml + 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/' pyproject.toml + 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' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/jquery-4.1/.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/jquery-4.1/.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/jquery-4.1/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-buildrequires Handling flit_core>=3.7 from build-system.requires Requirement satisfied: flit_core>=3.7 (installed: flit_core 3.9.0) Handling Sphinx>=1.8 from hook generated metadata: Requires-Dist (sphinxcontrib-jquery) Requirement satisfied: Sphinx>=1.8 (installed: Sphinx 7.3.7) + cat /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-buildrequires + rm -rfv sphinxcontrib_jquery-4.1.dist-info/ removed 'sphinxcontrib_jquery-4.1.dist-info/WHEEL' removed 'sphinxcontrib_jquery-4.1.dist-info/METADATA' removed directory 'sphinxcontrib_jquery-4.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fGh0m8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd jquery-4.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/jquery-4.1/.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/jquery-4.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/jquery-4.1/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/jquery-4.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: sphinxcontrib-jquery Building wheel for sphinxcontrib-jquery (pyproject.toml): started Running command Building wheel for sphinxcontrib-jquery (pyproject.toml) Building wheel for sphinxcontrib-jquery (pyproject.toml): finished with status 'done' Created wheel for sphinxcontrib-jquery: filename=sphinxcontrib_jquery-4.1-py2.py3-none-any.whl size=121819 sha256=b0726540aac3153d1000a604a92a41fe879c44eb6f9c47e5eb741a98fb10f657 Stored in directory: /home/pterjan/.cache/pip/wheels/9e/aa/6d/2952d79724ce263794a68fee2b9cab701d96bb12b4e891b6d0 Successfully built sphinxcontrib-jquery + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZYqygL + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch + cd jquery-4.1 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/jquery-4.1/pyproject-wheeldir/sphinxcontrib_jquery-4.1-py2.py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=sphinxcontrib_jquery==4.1 + TMPDIR=/home/pterjan/rpmbuild/BUILD/jquery-4.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch --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/jquery-4.1/pyproject-wheeldir sphinxcontrib_jquery==4.1 Using pip 24.0 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/jquery-4.1/pyproject-wheeldir Processing ./pyproject-wheeldir/sphinxcontrib_jquery-4.1-py2.py3-none-any.whl Installing collected packages: sphinxcontrib_jquery Successfully installed sphinxcontrib_jquery-4.1 + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch --record /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages/sphinxcontrib_jquery-4.1.dist-info/REQUESTED' ++ cut -f1 '-d ' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-ghost-distinfo + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch --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-sphinxcontrib-jquery-4.1-1.mga10.noarch-pyproject-record --prefix /usr 'sphinxcontrib*' + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 4.1-1.mga10 --unique-debug-suffix -4.1-1.mga10.noarch --unique-debug-src-base python-sphinxcontrib-jquery-4.1-1.mga10.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/jquery-4.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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/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 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2RtKWF + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd jquery-4.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' + PATH=/home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=/home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILDROOT/python-sphinxcontrib-jquery-4.1-1.mga10.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/jquery-4.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-7.4.4, pluggy-1.5.0 rootdir: /home/pterjan/rpmbuild/BUILD/jquery-4.1 collected 0 items / 1 error ==================================== ERRORS ==================================== _______________ ERROR collecting tests/test_jquery_installed.py ________________ ImportError while importing test module '/home/pterjan/rpmbuild/BUILD/jquery-4.1/tests/test_jquery_installed.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.12/importlib/__init__.py:90: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_jquery_installed.py:7: in from sphinx.testing.util import SphinxTestApp /usr/lib/python3.12/site-packages/sphinx/testing/util.py:14: in from defusedxml.ElementTree import parse as xml_parse E ModuleNotFoundError: No module named 'defusedxml' =========================== short test summary info ============================ ERROR tests/test_jquery_installed.py !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.09s =============================== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2RtKWF (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2RtKWF (%check) I: [iurt_root_command] ERROR: chroot