Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1979029 Details for
Bug 2226213
python-imagehash: FTBFS in Fedora rawhide/f39
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh89 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 32.00 KB, created by
Fedora Release Engineering
on 2023-07-25 19:22:30 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2023-07-25 19:22:30 UTC
Size:
32.00 KB
patch
obsolete
>CXX_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 -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 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/BUILDROOT/python-imagehash-4.0-16.fc39.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-imagehash-4.0-16.fc39.noarch/usr >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12 >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash >copying build/lib/imagehash/__init__.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/__init__.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_average_hash.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_dhash.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_hex_conversions.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_old_hex_conversions.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_phash.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >copying build/lib/imagehash/tests/test_whash.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/data >copying build/lib/imagehash/tests/data/imagehash.png -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/data >copying build/lib/imagehash/VERSION -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/__init__.py to __init__.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/__init__.py to __init__.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_average_hash.py to test_average_hash.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_dhash.py to test_dhash.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_hex_conversions.py to test_hex_conversions.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_old_hex_conversions.py to test_old_hex_conversions.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_phash.py to test_phash.cpython-312.pyc >byte-compiling /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/imagehash/tests/test_whash.py to test_whash.cpython-312.pyc >writing byte-compilation script '/tmp/tmp6qlq35wq.py' >/usr/bin/python3 /tmp/tmp6qlq35wq.py >removing /tmp/tmp6qlq35wq.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/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12/site-packages/ImageHash-4.0-py3.12.egg-info >running install_scripts >creating /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/bin >copying build/scripts-3.12/find_similar_images.py -> /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/bin >changing mode of /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/bin/find_similar_images.py to 755 >+ rm -rfv /builddir/build/BUILDROOT/python-imagehash-4.0-16.fc39.noarch/usr/bin/__pycache__ >+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.0-16.fc39 --unique-debug-suffix -4.0-16.fc39.noarch --unique-debug-src-base python-imagehash-4.0-16.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/imagehash-4.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-imagehash-4.0-16.fc39.noarch/usr/lib/python3.12 using python3.12 >+ /usr/lib/rpm/redhat/brp-python-hardlink >Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.SsifU1 >+ umask 022 >+ cd /builddir/build/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 -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 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.12/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`. > ******************************************************************************** >!! > ir_d = dist.fetch_build_eggs(dist.install_requires) >WARNING: The wheel package is not available. >/usr/lib/python3.12/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`. > ******************************************************************************** >!! > tr_d = dist.fetch_build_eggs(dist.tests_require or []) >WARNING: The wheel package is not available. >/usr/lib/python3.12/site-packages/setuptools/command/test.py:196: _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 >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 >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/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/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm > original_hash = func(image) > ^^^^^^^^^^^ > File "/builddir/build/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/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/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/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored > image_hash = func(image, hash_size) > ^^^^^^^^^^^^^^^^^^^^^^ > File "/builddir/build/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm > original_hash = func(image) > ^^^^^^^^^^^ > File "/builddir/build/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/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/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/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored > image_hash = func(image, hash_size) > ^^^^^^^^^^^^^^^^^^^^^^ > File "/builddir/build/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm > original_hash = func(image) > ^^^^^^^^^^^ > File "/builddir/build/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/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/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/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored > image_hash = func(image, hash_size) > ^^^^^^^^^^^^^^^^^^^^^^ > File "/builddir/build/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/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/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/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/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/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/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 25, in check_hash_algorithm > original_hash = func(image) > ^^^^^^^^^^^ > File "/builddir/build/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/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/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/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/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/imagehash-4.0/imagehash/tests/__init__.py", line 52, in check_hash_stored > image_hash = func(image, hash_size) > ^^^^^^^^^^^^^^^^^^^^^^ > File "/builddir/build/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.273s >FAILED (errors=15) >Test failed: <unittest.runner.TextTestResult run=27 errors=15 failures=0> >error: Test failed: <unittest.runner.TextTestResult run=27 errors=15 failures=0> >RPM build errors: >error: Bad exit status from /var/tmp/rpm-tmp.SsifU1 (%check) > Bad exit status from /var/tmp/rpm-tmp.SsifU1 (%check) >Child return code was: 1 >EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e37c309cd63c481796c11a8724433354 -D /var/lib/mock/f39-build-44336838-5276387/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fa1z36_f:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --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;<mock-chroot>\\007" --setenv=PS1=<mock-chroot> \\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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace > result = func(*args, **kw) > ^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status > raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) >mockbuild.exception.Error: Command failed: > # /usr/bin/systemd-nspawn -q -M e37c309cd63c481796c11a8724433354 -D /var/lib/mock/f39-build-44336838-5276387/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fa1z36_f:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --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;<mock-chroot>\007" --setenv=PS1=<mock-chroot> \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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2226213
: 1979029 |
1979030
|
1979031