D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/iurt/rpmbuild/SRPMS/@2238860:python-pymediainfo-6.1.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.kc7t0S Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.JHRtVB + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build + rm -rf pymediainfo-6.1.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/pymediainfo-6.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pymediainfo-6.1.0 + /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/iurt/rpmbuild/tmp/rpm-tmp.3zgcN1 + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build + cd pymediainfo-6.1.0 + 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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pyproject-wheeldir --output /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-buildrequires -t Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 79.0.1) Handling setuptools_scm from get_requires_for_build_wheel Requirement satisfied: setuptools_scm (installed: setuptools_scm 8.0.4) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.16) py313: OK (0.01 seconds) congratulations :) (0.11 seconds) Handling tox from tox --print-deps-only: py313 Requirement satisfied: tox (installed: tox 4.24.1) Handling pytest from tox --print-deps-only: py313 Requirement satisfied: pytest (installed: pytest 8.3.5) Handling pytest-xdist from tox --print-deps-only: py313 Requirement satisfied: pytest-xdist (installed: pytest-xdist 3.6.1) Handling setuptools_scm from tox --print-deps-only: py313 Requirement satisfied: setuptools_scm (installed: setuptools_scm 8.0.4) py313: OK (0.01 seconds) congratulations :) (0.10 seconds) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info writing pymediainfo.egg-info/PKG-INFO writing dependency_links to pymediainfo.egg-info/dependency_links.txt writing namespace_packages to pymediainfo.egg-info/namespace_packages.txt writing requirements to pymediainfo.egg-info/requires.txt writing top-level names to pymediainfo.egg-info/top_level.txt reading manifest file 'pymediainfo.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'pymediainfo.egg-info/SOURCES.txt' creating '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pymediainfo-6.1.0.dist-info' /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: 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 importlib_metadata; python_version < "3.8" from hook generated metadata: Requires-Dist (pymediainfo) Ignoring alien requirement: importlib_metadata; python_version < "3.8" + cat /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-buildrequires + rm -rfv pymediainfo-6.1.0.dist-info/ removed 'pymediainfo-6.1.0.dist-info/namespace_packages.txt' removed 'pymediainfo-6.1.0.dist-info/METADATA' removed 'pymediainfo-6.1.0.dist-info/licenses/AUTHORS' removed 'pymediainfo-6.1.0.dist-info/licenses/LICENSE' removed directory 'pymediainfo-6.1.0.dist-info/licenses' removed 'pymediainfo-6.1.0.dist-info/top_level.txt' removed directory 'pymediainfo-6.1.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.2Vt1qX + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 pymediainfo-6.1.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pyproject-wheeldir Processing /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info writing /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/PKG-INFO writing dependency_links to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/dependency_links.txt writing namespace_packages to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/namespace_packages.txt writing requirements to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/requires.txt writing top-level names to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/top_level.txt writing manifest file '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/SOURCES.txt' reading manifest file '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo.egg-info/SOURCES.txt' creating '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-modern-metadata-7lizq15s/pymediainfo-6.1.0.dist-info' /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: 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: pymediainfo Building wheel for pymediainfo (pyproject.toml): started Running command Building wheel for pymediainfo (pyproject.toml) WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: 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/pymediainfo copying pymediainfo/__init__.py -> build/lib/pymediainfo running egg_info writing pymediainfo.egg-info/PKG-INFO writing dependency_links to pymediainfo.egg-info/dependency_links.txt writing namespace_packages to pymediainfo.egg-info/namespace_packages.txt writing requirements to pymediainfo.egg-info/requires.txt writing top-level names to pymediainfo.egg-info/top_level.txt reading manifest file 'pymediainfo.egg-info/SOURCES.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'pymediainfo.egg-info/SOURCES.txt' installing to build/bdist.linux-aarch64/wheel running install running install_lib creating build/bdist.linux-aarch64/wheel creating build/bdist.linux-aarch64/wheel/pymediainfo copying build/lib/pymediainfo/__init__.py -> build/bdist.linux-aarch64/wheel/./pymediainfo running install_egg_info Copying pymediainfo.egg-info to build/bdist.linux-aarch64/wheel/./pymediainfo-6.1.0-py3.13.egg-info running install_scripts creating build/bdist.linux-aarch64/wheel/pymediainfo-6.1.0.dist-info/WHEEL creating '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir/pip-wheel-ydg02ece/.tmp-zuq_k7ww/pymediainfo-6.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it adding 'pymediainfo/__init__.py' adding 'pymediainfo-6.1.0.dist-info/licenses/AUTHORS' adding 'pymediainfo-6.1.0.dist-info/licenses/LICENSE' adding 'pymediainfo-6.1.0.dist-info/METADATA' adding 'pymediainfo-6.1.0.dist-info/WHEEL' adding 'pymediainfo-6.1.0.dist-info/namespace_packages.txt' adding 'pymediainfo-6.1.0.dist-info/top_level.txt' adding 'pymediainfo-6.1.0.dist-info/RECORD' removing build/bdist.linux-aarch64/wheel Building wheel for pymediainfo (pyproject.toml): finished with status 'done' Created wheel for pymediainfo: filename=pymediainfo-6.1.0-py2.py3-none-any.whl size=9321 sha256=24b64e59e426b8ec71ba84acffc39e5087b61faf84ce8770a8a566a8f9ecee3c Stored in directory: /home/iurt/.cache/pip/wheels/a7/af/71/bc902e7755b62aa10ab886957cc0039b2df1f2eaad4b0e4648 Successfully built pymediainfo + PYTHONPATH=/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0 + sphinx-build docs html Running Sphinx v8.2.3 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 2 source files that are out of date updating environment: [new config] 2 added, 0 changed, 0 removed reading sources... [ 50%] index reading sources... [100%] pymediainfo looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... Writing evaluated template result to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/html/_static/basic.css Writing evaluated template result to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/html/_static/language_data.js Writing evaluated template result to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/html/_static/documentation_options.js Writing evaluated template result to /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 50%] index writing output... [100%] pymediainfo generating indices... genindex py-modindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.N8TY9q + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build + mkdir /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 pymediainfo-6.1.0 + '[' 1 -eq 1 ']' ++ ls /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pyproject-wheeldir/pymediainfo-6.1.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=pymediainfo==6.1.0 + '[' -z pymediainfo==6.1.0 ']' + TMPDIR=/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pyproject-wheeldir pymediainfo==6.1.0 Using pip 25.1.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/pymediainfo-6.1.0-py2.py3-none-any.whl Installing collected packages: pymediainfo Successfully installed pymediainfo-6.1.0 + '[' -d /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/bin ']' + rm -f /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info' + sed -i s/pip/rpm/ /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT --record /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/RECORD --output /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-record + rm -fv /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/RECORD removed '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/RECORD' + rm -fv /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/REQUESTED removed '/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo-6.1.0.dist-info/REQUESTED' ++ wc -l /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-files --output-modules /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-modules --buildroot /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/python-pymediainfo-6.1.0-3.mga10.noarch-pyproject-record --prefix /usr pymediainfo + /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 -j16 Bytecompiling .py files below /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4y3mmX + umask 022 + cd /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 pymediainfo-6.1.0 + '[' 1 -eq 1 ']' + TOX_TESTENV_PASSENV='*' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + 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/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/home/iurt/.local/bin:/home/iurt/bin + PYTHONPATH=/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib64/python3.13/site-packages:/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=16 + HOSTNAME=rpmbuild + /usr/bin/python3 -m tox --current-env -q --recreate -e py313 ============================= test session starts ============================== platform linux -- Python 3.13.5, pytest-8.3.5, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .tox/py313/.pytest_cache rootdir: /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0 configfile: setup.cfg plugins: xdist-3.6.1 created: 16/16 workers 16 workers [59 items] scheduling tests via LoadScheduling tests/test_pymediainfo.py::MediaInfoLibraryTest::test_can_parse_true tests/test_pymediainfo.py::MediaInfoTest::test_populate_tracks tests/test_pymediainfo.py::MediaInfoTest::test_valid_video_track tests/test_pymediainfo.py::MediaInfoUnicodeFileNameTest::test_parse_unicode_file tests/test_pymediainfo.py::MediaInfoLibraryTest::test_raises_on_nonexistent_library tests/test_pymediainfo.py::MediaInfoRuntimeErrorTest::test_parse_invalid_url tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_can_parse tests/test_pymediainfo.py::MediaInfoTest::test_track_integer_attributes tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_details tests/test_pymediainfo.py::MediaInfoPathlibTest::test_parse_non_existent_path_pathlib tests/test_pymediainfo.py::MediaInfoTestParseNonExistentFile::test_parse_non_existent_path tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_raises_on_text_mode_even_with_text tests/test_pymediainfo.py::MediaInfoCoverDataTest::test_parse_no_cover_data [gw1] [ 1%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_populate_tracks tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_pathlib [gw11] [ 3%] PASSED tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_pathlib tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_str [gw3] [ 5%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_valid_video_track tests/test_pymediainfo.py::MediaInfoTest::test_getting_attribute_that_doesnot_exist [gw0] [ 6%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_getting_attribute_that_doesnot_exist [gw2] [ 8%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_track_integer_attributes [gw12] [ 10%] PASSED tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_str tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_pathlike tests/test_pymediainfo.py::MediaInfoInvalidXMLTest::test_parse_invalid_xml tests/test_pymediainfo.py::MediaInfoTest::test_load_mediainfo_from_string tests/test_pymediainfo.py::MediaInfoTest::test_track_other_attributes [gw11] [ 11%] PASSED tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_pathlike tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_url [gw3] [ 13%] PASSED tests/test_pymediainfo.py::MediaInfoInvalidXMLTest::test_parse_invalid_xml [gw12] [ 15%] PASSED tests/test_pymediainfo.py::MediaInfoFilenameTypesTest::test_normalize_filename_url [gw0] [ 16%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_load_mediainfo_from_string [gw2] [ 18%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_track_other_attributes tests/test_pymediainfo.py::MediaInfoTest::test_track_existing_other_attributes [gw10] [ 20%] PASSED tests/test_pymediainfo.py::MediaInfoPathlibTest::test_parse_non_existent_path_pathlib [gw13] [ 22%] PASSED tests/test_pymediainfo.py::MediaInfoTestParseNonExistentFile::test_parse_non_existent_path tests/test_pymediainfo.py::MediaInfoEqTest::test_eq [gw1] [ 23%] PASSED tests/test_pymediainfo.py::MediaInfoTest::test_track_existing_other_attributes tests/test_pymediainfo.py::test_thread_safety[sample.mkv] [gw8] [ 25%] PASSED tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_raises_on_text_mode_even_with_text tests/test_pymediainfo.py::MediaInfoLegacyStreamDisplayTest::test_legacy_stream_display tests/test_pymediainfo.py::test_thread_safety[sample.mp4] tests/test_pymediainfo.py::MediaInfoOptionsTest::test_mediainfo_options tests/test_pymediainfo.py::MediaInfoEqTest::test_pickle_unpickle tests/test_pymediainfo.py::MediaInfoPathlibTest::test_parse_pathlib_path [gw15] [ 27%] PASSED tests/test_pymediainfo.py::MediaInfoRuntimeErrorTest::test_parse_invalid_url tests/test_pymediainfo.py::MediaInfoCoverDataTest::test_parse_cover_data tests/test_pymediainfo.py::MediaInfoUnicodeXMLTest::test_parse_file_with_unicode_tags [gw9] [ 28%] PASSED tests/test_pymediainfo.py::MediaInfoUnicodeFileNameTest::test_parse_unicode_file tests/test_pymediainfo.py::MediaInfoURLTest::test_parse_url [gw8] [ 30%] PASSED tests/test_pymediainfo.py::MediaInfoUnicodeXMLTest::test_parse_file_with_unicode_tags tests/test_pymediainfo.py::MediaInfoSlowParseTest::test_slow_parse_speed tests/test_pymediainfo.py::test_filelike_returns_the_same[mpeg4.mp4] [gw14] [ 32%] PASSED tests/test_pymediainfo.py::MediaInfoCoverDataTest::test_parse_no_cover_data [gw8] [ 33%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[mpeg4.mp4] [gw0] [ 35%] PASSED tests/test_pymediainfo.py::MediaInfoLegacyStreamDisplayTest::test_legacy_stream_display [gw13] [ 37%] PASSED tests/test_pymediainfo.py::MediaInfoCoverDataTest::test_parse_cover_data tests/test_pymediainfo.py::MediaInfoTrackParsingTest::test_track_parsing tests/test_pymediainfo.py::MediaInfoOutputTest::test_parameter_output [gw15] [ 38%] PASSED tests/test_pymediainfo.py::MediaInfoSlowParseTest::test_slow_parse_speed tests/test_pymediainfo.py::test_filelike_returns_the_same[mp3.mp3] tests/test_pymediainfo.py::test_filelike_returns_the_same[mp4-with-audio.mp4] [gw7] [ 40%] PASSED tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_can_parse [gw4] [ 42%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_can_parse_true [gw6] [ 44%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_details [gw5] [ 45%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_raises_on_nonexistent_library [gw14] [ 47%] PASSED tests/test_pymediainfo.py::MediaInfoTrackParsingTest::test_track_parsing tests/test_pymediainfo.py::test_thread_safety[mp4-with-audio.mp4] tests/test_pymediainfo.py::MediaInfoOutputTest::test_text_output tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_raises_on_text_mode [gw10] [ 49%] PASSED tests/test_pymediainfo.py::MediaInfoPathlibTest::test_parse_pathlib_path [gw7] [ 50%] PASSED tests/test_pymediainfo.py::MediaInfoFileLikeTest::test_raises_on_text_mode tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_count [gw2] [ 52%] PASSED tests/test_pymediainfo.py::MediaInfoOptionsTest::test_mediainfo_options tests/test_pymediainfo.py::test_filelike_returns_the_same[sample_with_cover.mp3] tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_types [gw15] [ 54%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[mp4-with-audio.mp4] [gw11] [ 55%] PASSED tests/test_pymediainfo.py::MediaInfoEqTest::test_eq [gw13] [ 57%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[mp3.mp3] tests/test_pymediainfo.py::MediaInfoLibraryTest::test_full_option tests/test_pymediainfo.py::test_filelike_returns_the_same[sample.mkv] tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_image_tracks tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_general_tracks [gw3] [ 59%] PASSED tests/test_pymediainfo.py::MediaInfoEqTest::test_pickle_unpickle tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_text_tracks [gw8] [ 61%] PASSED tests/test_pymediainfo.py::MediaInfoOutputTest::test_parameter_output tests/test_pymediainfo.py::test_thread_safety[mpeg4.mp4] tests/test_pymediainfo.py::test_thread_safety[sample_with_cover.mp3] [gw14] [ 62%] PASSED tests/test_pymediainfo.py::MediaInfoOutputTest::test_text_output tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_audio_tracks [gw4] [ 64%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_full_option tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_video_tracks [gw2] [ 66%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[sample.mkv] tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_menu_tracks [gw7] [ 67%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_text_tracks [gw6] [ 69%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_types tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_other_tracks [gw15] [ 71%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_image_tracks [gw4] [ 72%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_menu_tracks [gw5] [ 74%] PASSED tests/test_pymediainfo.py::MediaInfoLibraryTest::test_track_count [gw14] [ 76%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_video_tracks [gw13] [ 77%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_general_tracks [gw8] [ 79%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_audio_tracks [gw6] [ 81%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_other_tracks [gw10] [ 83%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[sample_with_cover.mp3] [gw9] [ 84%] FAILED tests/test_pymediainfo.py::MediaInfoURLTest::test_parse_url [gw3] [ 86%] PASSED tests/test_pymediainfo.py::test_thread_safety[mpeg4.mp4] tests/test_pymediainfo.py::MediaInfoOutputTest::test_json_output [gw12] [ 88%] PASSED tests/test_pymediainfo.py::test_thread_safety[sample.mkv] [gw9] [ 89%] PASSED tests/test_pymediainfo.py::MediaInfoOutputTest::test_json_output tests/test_pymediainfo.py::test_thread_safety[mp3.mp3] [gw0] [ 91%] PASSED tests/test_pymediainfo.py::test_thread_safety[mp4-with-audio.mp4] tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_empty_list [gw0] [ 93%] PASSED tests/test_pymediainfo.py::MediaInfoTrackShortcutsTests::test_empty_list [gw1] [ 94%] PASSED tests/test_pymediainfo.py::test_thread_safety[sample.mp4] tests/test_pymediainfo.py::test_filelike_returns_the_same[sample.mp4] [gw1] [ 96%] PASSED tests/test_pymediainfo.py::test_filelike_returns_the_same[sample.mp4] [gw11] [ 98%] PASSED tests/test_pymediainfo.py::test_thread_safety[sample_with_cover.mp3] [gw12] [100%] PASSED tests/test_pymediainfo.py::test_thread_safety[mp3.mp3] =================================== FAILURES =================================== _______________________ MediaInfoURLTest.test_parse_url ________________________ [gw9] linux -- Python 3.13.5 /usr/bin/python3 self = def test_parse_url(self): > media_info = MediaInfo.parse(self.url) tests/test_pymediainfo.py:186: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = filename = 'http://127.0.0.1:37391/sample.mkv', library_file = None cover_data = False, encoding_errors = 'strict', parse_speed = 0.5, full = True legacy_stream_display = False, mediainfo_options = None, output = None buffer_size = 65536 @classmethod def parse( # pylint: disable=too-many-statements # pylint: disable=too-many-branches, too-many-locals, too-many-arguments cls, filename: Any, library_file: Optional[str] = None, cover_data: bool = False, encoding_errors: str = "strict", parse_speed: float = 0.5, full: bool = True, legacy_stream_display: bool = False, mediainfo_options: Optional[Dict[str, str]] = None, output: Optional[str] = None, buffer_size: Optional[int] = 64 * 1024, ) -> Union[str, "MediaInfo"]: """ Analyze a media file using libmediainfo. .. note:: Because of the way the underlying library works, this method should not be called simultaneously from multiple threads *with different arguments*. Doing so will cause inconsistencies or failures by changing library options that are shared across threads. :param filename: path to the media file or file-like object which will be analyzed. A URL can also be used if libmediainfo was compiled with CURL support. :param str library_file: path to the libmediainfo library, this should only be used if the library cannot be auto-detected. :param bool cover_data: whether to retrieve cover data as base64. :param str encoding_errors: option to pass to :func:`str.encode`'s `errors` parameter before parsing MediaInfo's XML output. :param float parse_speed: passed to the library as `ParseSpeed`, this option takes values between 0 and 1. A higher value will yield more precise results in some cases but will also increase parsing time. :param bool full: display additional tags, including computer-readable values for sizes and durations, corresponds to the CLI's ``--Full``/``-f`` parameter. :param bool legacy_stream_display: display additional information about streams. :param dict mediainfo_options: additional options that will be passed to the `MediaInfo_Option` function, for example: ``{"Language": "raw"}``. Do not use this parameter when running the method simultaneously from multiple threads, it will trigger a reset of all options which will cause inconsistencies or failures. :param str output: custom output format for MediaInfo, corresponds to the CLI's ``--Output`` parameter. Setting this causes the method to return a `str` instead of a :class:`MediaInfo` object. Useful values include: * the empty `str` ``""`` (corresponds to the default text output, obtained when running ``mediainfo`` with no additional parameters) * ``"XML"`` * ``"JSON"`` * ``%``-delimited templates (see ``mediainfo --Info-Parameters``) :param int buffer_size: size of the buffer used to read the file, in bytes. This is only used when `filename` is a file-like object. :type filename: str or pathlib.Path or os.PathLike or file-like object. :rtype: str if `output` is set. :rtype: :class:`MediaInfo` otherwise. :raises FileNotFoundError: if passed a non-existent file. :raises ValueError: if passed a file-like object opened in text mode. :raises OSError: if the library file could not be loaded. :raises RuntimeError: if parsing fails, this should not happen unless libmediainfo itself fails. Examples: >>> pymediainfo.MediaInfo.parse("tests/data/sample.mkv") >>> import json >>> mi = pymediainfo.MediaInfo.parse("tests/data/sample.mkv", ... output="JSON") >>> json.loads(mi)["media"]["track"][0] {'@type': 'General', 'TextCount': '1', 'FileExtension': 'mkv', 'FileSize': '5904', … } """ lib, handle, lib_version_str, lib_version = cls._get_library(library_file) # The XML option was renamed starting with version 17.10 if lib_version >= (17, 10): xml_option = "OLDXML" else: xml_option = "XML" # Cover_Data is not extracted by default since version 18.03 # See https://github.com/MediaArea/MediaInfoLib/commit/d8fd88a1 if lib_version >= (18, 3): lib.MediaInfo_Option(handle, "Cover_Data", "base64" if cover_data else "") lib.MediaInfo_Option(handle, "CharSet", "UTF-8") lib.MediaInfo_Option(handle, "Inform", xml_option if output is None else output) lib.MediaInfo_Option(handle, "Complete", "1" if full else "") lib.MediaInfo_Option(handle, "ParseSpeed", str(parse_speed)) lib.MediaInfo_Option(handle, "LegacyStreamDisplay", "1" if legacy_stream_display else "") if mediainfo_options is not None: if lib_version < (19, 9): warnings.warn( "This version of MediaInfo (v{}) does not support resetting all " "options to their default values, passing it custom options is not recommended " "and may result in unpredictable behavior, see " "https://github.com/MediaArea/MediaInfoLib/issues/1128".format(lib_version_str), RuntimeWarning, ) for option_name, option_value in mediainfo_options.items(): lib.MediaInfo_Option(handle, option_name, option_value) try: filename.seek(0, 2) file_size = filename.tell() filename.seek(0) except AttributeError: # filename is not a file-like object file_size = None if file_size is not None: # We have a file-like object, use the buffer protocol: # Some file-like objects do not have a mode if "b" not in getattr(filename, "mode", "b"): raise ValueError("File should be opened in binary mode") lib.MediaInfo_Open_Buffer_Init(handle, file_size, 0) while True: buffer = filename.read(buffer_size) if buffer: # https://github.com/MediaArea/MediaInfoLib/blob/v20.09/Source/MediaInfo/File__Analyze.h#L1429 # 4th bit = finished if lib.MediaInfo_Open_Buffer_Continue(handle, buffer, len(buffer)) & 0x08: break # Ask MediaInfo if we need to seek seek = lib.MediaInfo_Open_Buffer_Continue_GoTo_Get(handle) # https://github.com/MediaArea/MediaInfoLib/blob/v20.09/Source/MediaInfoDLL/MediaInfoJNI.cpp#L127 if seek != ctypes.c_uint64(-1).value: filename.seek(seek) # Inform MediaInfo we have sought lib.MediaInfo_Open_Buffer_Init(handle, file_size, filename.tell()) else: break lib.MediaInfo_Open_Buffer_Finalize(handle) else: # We have a filename, simply pass it: filename = cls._normalize_filename(filename) # If an error occured if lib.MediaInfo_Open(handle, filename) == 0: lib.MediaInfo_Close(handle) lib.MediaInfo_Delete(handle) # If filename doesn't look like a URL and doesn't exist if "://" not in filename and not os.path.exists(filename): raise FileNotFoundError(filename) # We ran into another kind of error > raise RuntimeError( "An error occured while opening {}" " with libmediainfo".format(filename) ) E RuntimeError: An error occured while opening http://127.0.0.1:37391/sample.mkv with libmediainfo ../BUILDROOT/usr/lib/python3.13/site-packages/pymediainfo/__init__.py:499: RuntimeError =========================== short test summary info ============================ FAILED tests/test_pymediainfo.py::MediaInfoURLTest::test_parse_url - RuntimeError: An error occured while opening http://127.0.0.1:37391/sample.mkv with libmediainfo ========================= 1 failed, 58 passed in 3.12s ========================= py313: exit 1 (3.46 seconds) /home/iurt/rpmbuild/BUILD/python-pymediainfo-6.1.0-build/pymediainfo-6.1.0> pytest -n auto pid=2685059 py313: FAIL code 1 (3.47 seconds) evaluation failed :( (3.56 seconds) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.4y3mmX (%check) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.4y3mmX (%check) I: [iurt_root_command] ERROR: chroot