D: [iurt_root_command] chroot RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument RTNETLINK answers: Invalid argument Installing /home/pterjan/rpmbuild/SRPMS/python-magic-0.4.27-1.mga9.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.R1VoDX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf python-magic-0.4.27 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/python-magic-0.4.27.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-magic-0.4.27 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EBYef1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd python-magic-0.4.27 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info writing /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/dependency_links.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'tests' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-modern-metadata-f8qlt1jb/python_magic-0.4.27.dist-info' adding license file "LICENSE" (matched pattern "LICEN[CS]E*") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: python-magic Building wheel for python-magic (pyproject.toml): started Running command Building wheel for python-magic (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/magic copying magic/compat.py -> build/lib/magic copying magic/loader.py -> build/lib/magic copying magic/__init__.py -> build/lib/magic copying magic/py.typed -> build/lib/magic copying magic/__init__.pyi -> build/lib/magic 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/magic copying build/lib/magic/__init__.pyi -> build/bdist.linux-x86_64/wheel/magic copying build/lib/magic/compat.py -> build/bdist.linux-x86_64/wheel/magic copying build/lib/magic/loader.py -> build/bdist.linux-x86_64/wheel/magic copying build/lib/magic/__init__.py -> build/bdist.linux-x86_64/wheel/magic copying build/lib/magic/py.typed -> build/bdist.linux-x86_64/wheel/magic running install_egg_info running egg_info creating python_magic.egg-info writing python_magic.egg-info/PKG-INFO writing dependency_links to python_magic.egg-info/dependency_links.txt writing top-level names to python_magic.egg-info/top_level.txt writing manifest file 'python_magic.egg-info/SOURCES.txt' reading manifest file 'python_magic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'tests' warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.py[co]' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'python_magic.egg-info/SOURCES.txt' Copying python_magic.egg-info to build/bdist.linux-x86_64/wheel/python_magic-0.4.27-py3.10.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICEN[CS]E*") creating build/bdist.linux-x86_64/wheel/python_magic-0.4.27.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir/pip-wheel-riww76t9/tmp0rs8kzz3/python_magic-0.4.27-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'magic/__init__.py' adding 'magic/__init__.pyi' adding 'magic/compat.py' adding 'magic/loader.py' adding 'magic/py.typed' adding 'python_magic-0.4.27.dist-info/LICENSE' adding 'python_magic-0.4.27.dist-info/METADATA' adding 'python_magic-0.4.27.dist-info/WHEEL' adding 'python_magic-0.4.27.dist-info/top_level.txt' adding 'python_magic-0.4.27.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for python-magic (pyproject.toml): finished with status 'done' Created wheel for python-magic: filename=python_magic-0.4.27-py2.py3-none-any.whl size=13824 sha256=eb0307efb411de2ca97fca15a3efe21ba465b1a1498ba75d38399986efe0cb86 Stored in directory: /home/pterjan/.cache/pip/wheels/3a/65/e4/b56b60e81701a5436c37c4b5aa3538f39fd79f75fac5225b1c Successfully built python-magic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y8DaPg + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch + cd python-magic-0.4.27 + '[' 1 -eq 1 ']' ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/pyproject-wheeldir/python_magic-0.4.27-py2.py3-none-any.whl ++ xargs basename --multiple + specifier=python_magic==0.4.27 + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.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/python-magic-0.4.27/pyproject-wheeldir python_magic==0.4.27 Using pip 22.3.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/pyproject-wheeldir Processing ./pyproject-wheeldir/python_magic-0.4.27-py2.py3-none-any.whl Installing collected packages: python_magic Successfully installed python_magic-0.4.27 + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/bin ']' + rm -f /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib64/python3.10/site-packages '!=' /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.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-magic-0.4.27-1.mga9.noarch --record /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10/site-packages/python_magic-0.4.27.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27-1.mga9.noarch-pyproject-record --prefix /usr magic + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.4.27-1.mga9 --unique-debug-suffix -0.4.27-1.mga9.noarch --unique-debug-src-base python-magic-0.4.27-1.mga9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27 + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7XjCvs + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd python-magic-0.4.27 + '[' 1 -eq 1 ']' + export LC_ALL=en_US.UTF-8 + LC_ALL=en_US.UTF-8 + export PYTHONPATH=. + PYTHONPATH=. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + PATH=/home/pterjan/rpmbuild/BUILDROOT/python-magic-0.4.27-1.mga9.noarch/usr/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin + PYTHONPATH=. + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/.pyproject-builddir' + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.1.3, pluggy-1.0.0 rootdir: /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27 collected 20 items test/libmagic_test.py ... [ 15%] test/python_magic_test.py ..F...........ss. [100%] =================================== FAILURES =================================== ___________________________ MagicTest.test_extension ___________________________ self = def test_extension(self): try: m = magic.Magic(extension=True) > self.assert_values(m, { # some versions return '' for the extensions of a gz file, # including w/ the command line. Who knows... 'test.gz': ('gz/tgz/tpz/zabw/svgz', '', '???'), 'name_use.jpg': 'jpeg/jpg/jpe/jfif', }) test/python_magic_test.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/python_magic_test.py:53: in assert_values self.assertIn(value, expected_value) E AssertionError: 'gz/tgz/tpz/zabw/svgz/adz/kmy/xcfgz' not found in ('gz/tgz/tpz/zabw/svgz', '', '???') =============================== warnings summary =============================== test/libmagic_test.py::MagicTestCase::test_detect_from_content test/libmagic_test.py::MagicTestCase::test_detect_from_filename test/libmagic_test.py::MagicTestCase::test_detect_from_fobj /home/pterjan/rpmbuild/BUILD/python-magic-0.4.27/magic/__init__.py:437: PendingDeprecationWarning: Using compatibility mode with libmagic's python binding. See https://github.com/ahupp/python-magic/blob/master/COMPAT.md for details. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/python_magic_test.py::MagicTest::test_extension - AssertionError:... ============= 1 failed, 17 passed, 2 skipped, 3 warnings in 0.10s ============== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7XjCvs (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7XjCvs (%check) I: [iurt_root_command] ERROR: chroot