Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-imagehash.spec'], chrootPath='/var/lib/mock/f41-build-51962477-6219344/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5253996ab5954b4197df051e5d94a3a9', '-D', '/var/lib/mock/f41-build-51962477-6219344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-imagehash.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1687910400 Wrote: /builddir/build/SRPMS/python-imagehash-4.0-15.fc41.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-imagehash.spec'], chrootPath='/var/lib/mock/f41-build-51962477-6219344/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8088f1883d34433aa6f0ffd1bbd1ab71', '-D', '/var/lib/mock/f41-build-51962477-6219344/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-imagehash.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1687910400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.hQV6zI + umask 022 + cd /builddir/build/BUILD/python-imagehash-4.0-build + test -d /builddir/build/BUILD/python-imagehash-4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagehash-4.0-build + /usr/bin/rm -rf /builddir/build/BUILD/python-imagehash-4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagehash-4.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagehash-4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a7hD3d + umask 022 + cd /builddir/build/BUILD/python-imagehash-4.0-build + cd /builddir/build/BUILD/python-imagehash-4.0-build + rm -rf imagehash-4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagehash-4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagehash-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ACpK9t + umask 022 + cd /builddir/build/BUILD/python-imagehash-4.0-build + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 --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 imagehash-4.0 + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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/imagehash copying imagehash/__init__.py -> build/lib/imagehash creating build/lib/imagehash/tests copying imagehash/tests/__init__.py -> build/lib/imagehash/tests copying imagehash/tests/test_average_hash.py -> build/lib/imagehash/tests copying imagehash/tests/test_dhash.py -> build/lib/imagehash/tests copying imagehash/tests/test_hex_conversions.py -> build/lib/imagehash/tests copying imagehash/tests/test_old_hex_conversions.py -> build/lib/imagehash/tests copying imagehash/tests/test_phash.py -> build/lib/imagehash/tests copying imagehash/tests/test_whash.py -> build/lib/imagehash/tests creating build/lib/imagehash/tests/data copying imagehash/tests/data/imagehash.png -> build/lib/imagehash/tests/data copying imagehash/VERSION -> build/lib/imagehash running build_scripts creating build/scripts-3.13 copying and adjusting find_similar_images.py -> build/scripts-3.13 changing mode of build/scripts-3.13/find_similar_images.py from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oXnwU1 + umask 022 + cd /builddir/build/BUILD/python-imagehash-4.0-build + '[' /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-imagehash-4.0-build + mkdir /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 --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 imagehash-4.0 + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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/BUILD/python-imagehash-4.0-build/BUILDROOT --prefix /usr running install /usr/lib/python3.13/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 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/BUILD/python-imagehash-4.0-build/BUILDROOT/usr creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13 creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash copying build/lib/imagehash/__init__.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/__init__.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_average_hash.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_dhash.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_hex_conversions.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_old_hex_conversions.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_phash.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests copying build/lib/imagehash/tests/test_whash.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/data copying build/lib/imagehash/tests/data/imagehash.png -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/data copying build/lib/imagehash/VERSION -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__init__.py to __init__.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_average_hash.py to test_average_hash.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_dhash.py to test_dhash.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_hex_conversions.py to test_hex_conversions.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_old_hex_conversions.py to test_old_hex_conversions.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_phash.py to test_phash.cpython-313.pyc byte-compiling /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/test_whash.py to test_whash.cpython-313.pyc writing byte-compilation script '/tmp/tmpxkus_lcd.py' /usr/bin/python3 /tmp/tmpxkus_lcd.py removing /tmp/tmpxkus_lcd.py running install_egg_info running egg_info creating ImageHash.egg-info writing ImageHash.egg-info/PKG-INFO writing dependency_links to ImageHash.egg-info/dependency_links.txt writing requirements to ImageHash.egg-info/requires.txt writing top-level names to ImageHash.egg-info/top_level.txt writing manifest file 'ImageHash.egg-info/SOURCES.txt' reading manifest file 'ImageHash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'ImageHash.egg-info/SOURCES.txt' Copying ImageHash.egg-info to /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/ImageHash-4.0-py3.13.egg-info running install_scripts creating /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/bin copying build/scripts-3.13/find_similar_images.py -> /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/bin/find_similar_images.py to 755 + rm -rfv /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 -j80 Bytecompiling .py files below /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j80 /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_phash.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_old_hex_conversions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_average_hash.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/__pycache__/__init__.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_dhash.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/__pycache__/__init__.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_hex_conversions.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagehash-4.0-build/BUILDROOT/usr/lib/python3.13/site-packages/imagehash/tests/__pycache__/test_whash.cpython-313.pyc: rewriting with normalized contents Scanned 12 directories and 32 files, processed 9 inodes, 9 modified (2 replaced + 7 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cHdC3d + umask 022 + cd /builddir/build/BUILD/python-imagehash-4.0-build + CFLAGS='-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 --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 imagehash-4.0 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.13/site-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) WARNING: The wheel package is not available. /usr/lib/python3.13/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) WARNING: The wheel package is not available. /usr/lib/python3.13/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( WARNING: The wheel package is not available. running egg_info writing ImageHash.egg-info/PKG-INFO writing dependency_links to ImageHash.egg-info/dependency_links.txt writing requirements to ImageHash.egg-info/requires.txt writing top-level names to ImageHash.egg-info/top_level.txt reading manifest file 'ImageHash.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'ImageHash.egg-info/SOURCES.txt' running build_ext test_average_hash (imagehash.tests.test_average_hash.Test.test_average_hash) ... ERROR test_average_hash_length (imagehash.tests.test_average_hash.Test.test_average_hash_length) ... ERROR test_average_hash_size (imagehash.tests.test_average_hash.Test.test_average_hash_size) ... ok /usr/lib64/python3.13/unittest/suite.py:107: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/data/imagehash.png'> for index, test in enumerate(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback test_average_hash_stored (imagehash.tests.test_average_hash.Test.test_average_hash_stored) ... ERROR test_dhash (imagehash.tests.test_dhash.Test.test_dhash) ... ERROR test_dhash_length (imagehash.tests.test_dhash.Test.test_dhash_length) ... ERROR test_dhash_size (imagehash.tests.test_dhash.Test.test_dhash_size) ... ok test_dhash_stored (imagehash.tests.test_dhash.Test.test_dhash_stored) ... ERROR test_binary_array_to_hex_input (imagehash.tests.test_hex_conversions.TestHexConversions.test_binary_array_to_hex_input) ... ok test_conversion_from_hex (imagehash.tests.test_hex_conversions.TestHexConversions.test_conversion_from_hex) ... ok test_conversion_to_hex (imagehash.tests.test_hex_conversions.TestHexConversions.test_conversion_to_hex) ... ok test_hex_to_hash_output (imagehash.tests.test_hex_conversions.TestHexConversions.test_hex_to_hash_output) ... ok test_hex_to_hash_output (imagehash.tests.test_old_hex_conversions.TestOldHexConversions.test_hex_to_hash_output) ... ok test_phash (imagehash.tests.test_phash.Test.test_phash) ... ERROR test_phash_length (imagehash.tests.test_phash.Test.test_phash_length) ... ERROR test_phash_size (imagehash.tests.test_phash.Test.test_phash_size) ... ok /usr/lib64/python3.13/unittest/suite.py:107: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/data/imagehash.png'> for index, test in enumerate(self): ResourceWarning: Enable tracemalloc to get the object allocation traceback test_phash_stored (imagehash.tests.test_phash.Test.test_phash_stored) ... ERROR test_custom_hash_size_and_scale (imagehash.tests.test_whash.Test.test_custom_hash_size_and_scale) ... ERROR test_hash_size_2power (imagehash.tests.test_whash.Test.test_hash_size_2power) ... ERROR test_hash_size_for_small_images (imagehash.tests.test_whash.Test.test_hash_size_for_small_images) ... ERROR test_hash_size_is_less_than_image_scale (imagehash.tests.test_whash.Test.test_hash_size_is_less_than_image_scale) ... ok test_hash_size_more_than_scale (imagehash.tests.test_whash.Test.test_hash_size_more_than_scale) ... ok test_hash_size_not_2power (imagehash.tests.test_whash.Test.test_hash_size_not_2power) ... ok test_image_scale_not_2power (imagehash.tests.test_whash.Test.test_image_scale_not_2power) ... ok test_whash (imagehash.tests.test_whash.TestBasic.test_whash) ... ERROR test_whash_length (imagehash.tests.test_whash.TestBasic.test_whash_length) ... ERROR test_whash_stored (imagehash.tests.test_whash.TestBasic.test_whash_stored) ... ERROR ====================================================================== ERROR: test_average_hash (imagehash.tests.test_average_hash.Test.test_average_hash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_average_hash.py", line 16, in test_average_hash self.check_hash_algorithm(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm original_hash = func(image) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 139, in average_hash image = image.convert("L").resize((hash_size, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_average_hash_length (imagehash.tests.test_average_hash.Test.test_average_hash_length) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_average_hash.py", line 19, in test_average_hash_length self.check_hash_length(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 46, in check_hash_length image_hash = func(image, hash_size=hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 139, in average_hash image = image.convert("L").resize((hash_size, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_average_hash_stored (imagehash.tests.test_average_hash.Test.test_average_hash_stored) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_average_hash.py", line 22, in test_average_hash_stored self.check_hash_stored(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored image_hash = func(image, hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 139, in average_hash image = image.convert("L").resize((hash_size, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_dhash (imagehash.tests.test_dhash.Test.test_dhash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_dhash.py", line 16, in test_dhash self.check_hash_algorithm(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm original_hash = func(image) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 206, in dhash image = image.convert("L").resize((hash_size + 1, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_dhash_length (imagehash.tests.test_dhash.Test.test_dhash_length) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_dhash.py", line 19, in test_dhash_length self.check_hash_length(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 46, in check_hash_length image_hash = func(image, hash_size=hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 206, in dhash image = image.convert("L").resize((hash_size + 1, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_dhash_stored (imagehash.tests.test_dhash.Test.test_dhash_stored) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_dhash.py", line 22, in test_dhash_stored self.check_hash_stored(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored image_hash = func(image, hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 206, in dhash image = image.convert("L").resize((hash_size + 1, hash_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_phash (imagehash.tests.test_phash.Test.test_phash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_phash.py", line 16, in test_phash self.check_hash_algorithm(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm original_hash = func(image) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 164, in phash image = image.convert("L").resize((img_size, img_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_phash_length (imagehash.tests.test_phash.Test.test_phash_length) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_phash.py", line 19, in test_phash_length self.check_hash_length(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 46, in check_hash_length image_hash = func(image, hash_size=hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 164, in phash image = image.convert("L").resize((img_size, img_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_phash_stored (imagehash.tests.test_phash.Test.test_phash_stored) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_phash.py", line 22, in test_phash_stored self.check_hash_stored(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored image_hash = func(image, hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 164, in phash image = image.convert("L").resize((img_size, img_size), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_custom_hash_size_and_scale (imagehash.tests.test_whash.Test.test_custom_hash_size_and_scale) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 63, in test_custom_hash_size_and_scale hash = imagehash.whash(self.image, hash_size=hash_size, image_scale=64) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_hash_size_2power (imagehash.tests.test_whash.Test.test_hash_size_2power) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 38, in test_hash_size_2power hash = imagehash.whash(self.image, hash_size=hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_hash_size_for_small_images (imagehash.tests.test_whash.Test.test_hash_size_for_small_images) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 45, in test_hash_size_for_small_images hash = imagehash.whash(image) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_whash (imagehash.tests.test_whash.TestBasic.test_whash) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 18, in test_whash self.check_hash_algorithm(self.func, self.image) ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm original_hash = func(image) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_whash_length (imagehash.tests.test_whash.TestBasic.test_whash_length) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 21, in test_whash_length self.check_hash_length(self.func, self.image, sizes=[2,4,8,16,32,64]) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 46, in check_hash_length image_hash = func(image, hash_size=hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ====================================================================== ERROR: test_whash_stored (imagehash.tests.test_whash.TestBasic.test_whash_stored) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/test_whash.py", line 24, in test_whash_stored self.check_hash_stored(self.func, self.image, sizes=[2,4,8,16,32,64]) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored image_hash = func(image, hash_size) File "/builddir/build/BUILD/python-imagehash-4.0-build/imagehash-4.0/imagehash/__init__.py", line 260, in whash image = image.convert("L").resize((image_scale, image_scale), Image.ANTIALIAS) ^^^^^^^^^^^^^^^ AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS' ---------------------------------------------------------------------- Ran 27 tests in 0.178s FAILED (errors=15) Test failed: error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.cHdC3d (%check) Bad exit status from /var/tmp/rpm-tmp.cHdC3d (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8088f1883d34433aa6f0ffd1bbd1ab71 -D /var/lib/mock/f41-build-51962477-6219344/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-imagehash.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 8088f1883d34433aa6f0ffd1bbd1ab71 -D /var/lib/mock/f41-build-51962477-6219344/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.d5yaddi1:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-imagehash.spec'