D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-pytest-shutil-1.7.0-6.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5wgtJz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pytest-shutil-1.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pytest-shutil-1.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-shutil-1.7.0 + rm -rf /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-replace-deprecated-imp-module.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e '/'\''contextlib2'\''/d' -e '/'\''termcolor'\''/d' -e 's/'\''path.py'\''/'\''path'\''/' setup.py + sed -i -e /setuptools-git/d common_setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v91Shh + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pytest-shutil-1.7.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/pytest-shutil-1.7.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/pytest-shutil-1.7.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/pytest-shutil-1.7.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.0.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) running egg_info writing pytest_shutil.egg-info/PKG-INFO writing dependency_links to pytest_shutil.egg-info/dependency_links.txt writing entry points to pytest_shutil.egg-info/entry_points.txt writing requirements to pytest_shutil.egg-info/requires.txt writing top-level names to pytest_shutil.egg-info/top_level.txt reading manifest file 'pytest_shutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_shutil.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) running dist_info writing pytest_shutil.egg-info/PKG-INFO writing dependency_links to pytest_shutil.egg-info/dependency_links.txt writing entry points to pytest_shutil.egg-info/entry_points.txt writing requirements to pytest_shutil.egg-info/requires.txt writing top-level names to pytest_shutil.egg-info/top_level.txt reading manifest file 'pytest_shutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_shutil.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/pytest_shutil-1.7.0.dist-info' Handling six from hook generated metadata: Requires-Dist (pytest-shutil) Requirement satisfied: six (installed: six 1.16.0) Handling execnet from hook generated metadata: Requires-Dist (pytest-shutil) Requirement satisfied: execnet (installed: execnet 2.0.2) Handling pytest from hook generated metadata: Requires-Dist (pytest-shutil) Requirement satisfied: pytest (installed: pytest 7.4.4) Handling path from hook generated metadata: Requires-Dist (pytest-shutil) Requirement satisfied: path (installed: path 16.14.0) Handling mock from hook generated metadata: Requires-Dist (pytest-shutil) Requirement satisfied: mock (installed: mock 5.1.0) Handling pytest ; extra == 'tests' from hook generated metadata: Requires-Dist (pytest-shutil) Ignoring alien requirement: pytest ; extra == 'tests' + cat /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-buildrequires + rm -rfv pytest_shutil-1.7.0.dist-info/ removed 'pytest_shutil-1.7.0.dist-info/entry_points.txt' removed 'pytest_shutil-1.7.0.dist-info/top_level.txt' removed 'pytest_shutil-1.7.0.dist-info/METADATA' removed 'pytest_shutil-1.7.0.dist-info/LICENSE' removed directory 'pytest_shutil-1.7.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QzgQ9R + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pytest-shutil-1.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.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/pytest-shutil-1.7.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info writing /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/dependency_links.txt writing entry points to /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/entry_points.txt writing requirements to /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-modern-metadata-9lr2owtd/pytest_shutil-1.7.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pytest-shutil Building wheel for pytest-shutil (pyproject.toml): started Running command Building wheel for pytest-shutil (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/pytest_shutil copying pytest_shutil/cmdline.py -> build/lib/pytest_shutil copying pytest_shutil/env.py -> build/lib/pytest_shutil copying pytest_shutil/run.py -> build/lib/pytest_shutil copying pytest_shutil/workspace.py -> build/lib/pytest_shutil copying pytest_shutil/__init__.py -> build/lib/pytest_shutil running egg_info writing pytest_shutil.egg-info/PKG-INFO writing dependency_links to pytest_shutil.egg-info/dependency_links.txt writing entry points to pytest_shutil.egg-info/entry_points.txt writing requirements to pytest_shutil.egg-info/requires.txt writing top-level names to pytest_shutil.egg-info/top_level.txt reading manifest file 'pytest_shutil.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_shutil.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pytest_shutil copying build/lib/pytest_shutil/cmdline.py -> build/bdist.linux-x86_64/wheel/pytest_shutil copying build/lib/pytest_shutil/env.py -> build/bdist.linux-x86_64/wheel/pytest_shutil copying build/lib/pytest_shutil/run.py -> build/bdist.linux-x86_64/wheel/pytest_shutil copying build/lib/pytest_shutil/workspace.py -> build/bdist.linux-x86_64/wheel/pytest_shutil copying build/lib/pytest_shutil/__init__.py -> build/bdist.linux-x86_64/wheel/pytest_shutil running install_egg_info Copying pytest_shutil.egg-info to build/bdist.linux-x86_64/wheel/pytest_shutil-1.7.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pytest_shutil-1.7.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir/pip-wheel-hqqmehh7/.tmp-6904bk09/pytest_shutil-1.7.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pytest_shutil/__init__.py' adding 'pytest_shutil/cmdline.py' adding 'pytest_shutil/env.py' adding 'pytest_shutil/run.py' adding 'pytest_shutil/workspace.py' adding 'pytest_shutil-1.7.0.dist-info/LICENSE' adding 'pytest_shutil-1.7.0.dist-info/METADATA' adding 'pytest_shutil-1.7.0.dist-info/WHEEL' adding 'pytest_shutil-1.7.0.dist-info/entry_points.txt' adding 'pytest_shutil-1.7.0.dist-info/top_level.txt' adding 'pytest_shutil-1.7.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for pytest-shutil (pyproject.toml): finished with status 'done' Created wheel for pytest-shutil: filename=pytest_shutil-1.7.0-py2.py3-none-any.whl size=14796 sha256=963e971a3dadd96ee0346139cda9db083d8a888c09bbc5280f6188461eb563b2 Stored in directory: /home/pterjan/.cache/pip/wheels/de/d9/7d/a7369e5a6e2aac1189d20364aa278bc8c1c1755a22aca1cca4 Successfully built pytest-shutil + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BfWEjy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch + cd pytest-shutil-1.7.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/pyproject-wheeldir/pytest_shutil-1.7.0-py2.py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=pytest_shutil==1.7.0 + TMPDIR=/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.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/pytest-shutil-1.7.0/pyproject-wheeldir pytest_shutil==1.7.0 Using pip 24.0 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pytest_shutil-1.7.0-py2.py3-none-any.whl Installing collected packages: pytest_shutil Successfully installed pytest_shutil-1.7.0 + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.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/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch --record /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil-1.7.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + 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-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.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-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-record --prefix /usr pytest_shutil + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.7.0-6.mga10 --unique-debug-suffix -1.7.0-6.mga10.noarch --unique-debug-src-base python-pytest-shutil-1.7.0-6.mga10.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0 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-pytest-shutil-1.7.0-6.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.vCDDOr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pytest-shutil-1.7.0 + '[' 1 -eq 1 ']' + '[' '!' -f /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-modules ']' + PATH=/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.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-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages + _PYTHONSITE=/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/python3 -sP /usr/lib/rpm/redhat/import_all_modules.py -f /home/pterjan/rpmbuild/BUILD/python-pytest-shutil-1.7.0-6.mga10.noarch-pyproject-modules Check import: pytest_shutil Check import: pytest_shutil.cmdline Check import: pytest_shutil.env Check import: pytest_shutil.run Check import: pytest_shutil.workspace + 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-pytest-shutil-1.7.0-6.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-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib64/python3.12/site-packages:/home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/.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/pytest-shutil-1.7.0 configfile: setup.cfg plugins: shutil-1.7.0 collected 56 items tests/integration/test_cmdline_integration.py .. [ 3%] tests/integration/test_env_integration.py .... [ 10%] tests/integration/test_run_integration.py ................x.. [ 44%] tests/integration/test_workspace_integration.py .. [ 48%] tests/unit/test_cmdline.py .F.. [ 55%] tests/unit/test_env.py ....... [ 67%] tests/unit/test_run.py .......x..xxxxxxxx [100%] =================================== FAILURES =================================== ____________________________ test_pretty_formatter _____________________________ def test_pretty_formatter(): f = cmdline.PrettyFormatter() f.title('A Title') f.hr() f.p('A Paragraph', 'red') > assert f.buffer == [ '\x1b[1m\x1b[34m A Title\x1b[0m', '\x1b[1m\x1b[34m--------------------------------------------------------------------------------\x1b[0m', '\x1b[31mA Paragraph\x1b[0m' ] E AssertionError: assert [' A Title',...'A Paragraph'] == ['\x1b[1m\x1b...graph\x1b[0m'] E At index 0 diff: ' A Title' != '\x1b[1m\x1b[34m A Title\x1b[0m' E Use -v to get more diff /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/tests/unit/test_cmdline.py:18: AssertionError =============================== warnings summary =============================== tests/integration/test_cmdline_integration.py: 3 warnings tests/integration/test_run_integration.py: 4 warnings tests/unit/test_cmdline.py: 4 warnings /home/pterjan/rpmbuild/BUILDROOT/python-pytest-shutil-1.7.0-6.mga10.noarch/usr/lib/python3.12/site-packages/pytest_shutil/workspace.py:139: DeprecationWarning: isdir is deprecated; use is_dir if self.workspace.isdir(): tests/integration/test_workspace_integration.py::test_workspace_fixture_autodelete /home/pterjan/rpmbuild/BUILD/pytest-shutil-1.7.0/tests/integration/test_workspace_integration.py:28: PytestWarning: Value of environment variable WORKSPACE type should be str, but got local('/tmp/pytest-of-pterjan/pytest-0/test_workspace_fixture_autodel0/tmp') (type: LocalPath); converted to str implicitly monkeypatch.setenv('WORKSPACE', workspace) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/unit/test_cmdline.py::test_pretty_formatter - AssertionError: as... ============ 1 failed, 45 passed, 10 xfailed, 12 warnings in 2.33s ============= error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vCDDOr (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vCDDOr (%check) I: [iurt_root_command] ERROR: chroot