Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-filetype.spec'], chrootPath='/var/lib/mock/f40-build-2026480-47229/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-filetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/python-filetype-1.1.0-4.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-filetype.spec'], chrootPath='/var/lib/mock/f40-build-2026480-47229/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-filetype.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zVMHa3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf filetype.py-1.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/filetype-1.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd filetype.py-1.1.0 + rm -rf /builddir/build/BUILD/filetype.py-1.1.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/filetype.py-1.1.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/^#!\//, 1d' examples/__init__.py examples/buffer.py examples/bytes.py examples/file.py + rm -rf examples/__init__.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SRwrdk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd filetype.py-1.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/filetype copying filetype/__main__.py -> build/lib/filetype copying filetype/filetype.py -> build/lib/filetype copying filetype/match.py -> build/lib/filetype copying filetype/__init__.py -> build/lib/filetype copying filetype/helpers.py -> build/lib/filetype copying filetype/utils.py -> build/lib/filetype creating build/lib/filetype/types copying filetype/types/isobmff.py -> build/lib/filetype/types copying filetype/types/application.py -> build/lib/filetype/types copying filetype/types/archive.py -> build/lib/filetype/types copying filetype/types/font.py -> build/lib/filetype/types copying filetype/types/image.py -> build/lib/filetype/types copying filetype/types/video.py -> build/lib/filetype/types copying filetype/types/base.py -> build/lib/filetype/types copying filetype/types/audio.py -> build/lib/filetype/types copying filetype/types/__init__.py -> build/lib/filetype/types + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Wmo5nE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd filetype.py-1.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype copying build/lib/filetype/__main__.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype copying build/lib/filetype/filetype.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype copying build/lib/filetype/match.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype creating /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/isobmff.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/application.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/archive.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/font.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/image.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/video.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/base.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/audio.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/types/__init__.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types copying build/lib/filetype/__init__.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype copying build/lib/filetype/helpers.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype copying build/lib/filetype/utils.py -> /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/__main__.py to __main__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/filetype.py to filetype.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/match.py to match.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/isobmff.py to isobmff.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/application.py to application.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/archive.py to archive.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/font.py to font.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/image.py to image.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/video.py to video.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/base.py to base.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/audio.py to audio.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/types/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype/utils.py to utils.cpython-312.pyc writing byte-compilation script '/tmp/tmprj3xkz7x.py' /usr/bin/python3 /tmp/tmprj3xkz7x.py removing /tmp/tmprj3xkz7x.py running install_egg_info running egg_info creating filetype.egg-info writing filetype.egg-info/PKG-INFO writing dependency_links to filetype.egg-info/dependency_links.txt writing entry points to filetype.egg-info/entry_points.txt writing top-level names to filetype.egg-info/top_level.txt writing manifest file 'filetype.egg-info/SOURCES.txt' reading manifest file 'filetype.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'filetype.egg-info/SOURCES.txt' Copying filetype.egg-info to /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/filetype-1.1.0-py3.12.egg-info running install_scripts Installing filetype script to /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages/examples + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.1.0-4.fc40 --unique-debug-suffix -1.1.0-4.fc40.noarch --unique-debug-src-base python-filetype-1.1.0-4.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/filetype.py-1.1.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.t2JrLJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd filetype.py-1.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v tests --ignore tests/test_benchmark.py -k 'not test_guess_memoryview and not test_guess_extension_memoryview and not test_guess_mime_memoryview and not test_guess_zstd' ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.2.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/filetype.py-1.1.0 collecting ... collected 23 items / 4 deselected / 19 selected tests/test_filetype.py::TestFileType::test_guess_buffer PASSED [ 5%] tests/test_filetype.py::TestFileType::test_guess_buffer_invalid PASSED [ 10%] tests/test_filetype.py::TestFileType::test_guess_file_path PASSED [ 15%] tests/test_filetype.py::TestFileTypeExtension::test_guess_extension_buffer PASSED [ 21%] tests/test_filetype.py::TestFileTypeExtension::test_guess_extension_buffer_invalid PASSED [ 26%] tests/test_filetype.py::TestFileTypeExtension::test_guess_extension_file_path PASSED [ 31%] tests/test_filetype.py::TestFileTypeMIME::test_guess_image_invalid PASSED [ 36%] tests/test_filetype.py::TestFileTypeMIME::test_guess_mime_buffer PASSED [ 42%] tests/test_filetype.py::TestFileTypeMIME::test_guess_mime_buffer_invalid PASSED [ 47%] tests/test_filetype.py::TestFileTypeMIME::test_guess_mime_file_path PASSED [ 52%] tests/test_filetype.py::TestFileTypeMIME::test_guess_video_invalid PASSED [ 57%] tests/test_types.py::TestFileType::test_guess_gif PASSED [ 63%] tests/test_types.py::TestFileType::test_guess_heic PASSED [ 68%] tests/test_types.py::TestFileType::test_guess_jpeg PASSED [ 73%] tests/test_types.py::TestFileType::test_guess_jpx PASSED [ 78%] tests/test_types.py::TestFileType::test_guess_mov PASSED [ 84%] tests/test_types.py::TestFileType::test_guess_mp4 PASSED [ 89%] tests/test_types.py::TestFileType::test_guess_png PASSED [ 94%] tests/test_types.py::TestFileType::test_guess_tif PASSED [100%] ======================= 19 passed, 4 deselected in 3.66s ======================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-filetype-1.1.0-4.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wvk7B2 + umask 022 + cd /builddir/build/BUILD + cd filetype.py-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/doc/python3-filetype + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/doc/python3-filetype + cp -pr /builddir/build/BUILD/filetype.py-1.1.0/README.rst /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/doc/python3-filetype + cp -pr /builddir/build/BUILD/filetype.py-1.1.0/History.md /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/doc/python3-filetype + cp -pr /builddir/build/BUILD/filetype.py-1.1.0/examples /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/doc/python3-filetype + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dKGKXX + umask 022 + cd /builddir/build/BUILD + cd filetype.py-1.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/licenses/python3-filetype + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/licenses/python3-filetype + cp -pr /builddir/build/BUILD/filetype.py-1.1.0/LICENSE /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch/usr/share/licenses/python3-filetype + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-filetype = 1.1.0-4.fc40 python3-filetype = 1.1.0-4.fc40 python3.12-filetype = 1.1.0-4.fc40 python3.12dist(filetype) = 1.1 python3dist(filetype) = 1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.12 Obsoletes: python-filetype < 1.1.0-4.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-filetype-1.1.0-4.fc40.noarch Wrote: /builddir/build/RPMS/python3-filetype-1.1.0-4.fc40.noarch.rpm Child return code was: 0