Source: willow
Version: 1.4-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="{interpreter} runtests.py"
> I: pybuild base:240: python3.10 runtests.py
> ................E../<<PKGBUILDDIR>>/willow/image.py:141: 
> RemovedInWillow05Warning: Image.original_format has been renamed to 
> Image.format_name.
>   warnings.warn(
> ............x........../<<PKGBUILDDIR>>/willow/plugins/pillow.py:66: 
> DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 
> (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
>   return PillowImage(image.resize(size, _PIL_Image().ANTIALIAS))
> .x..................xx........x..............................x..x....
> ======================================================================
> ERROR: test_tiff (tests.test_image.TestImageFormats)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 410, in _getdecoder
>     decoder = getattr(core, decoder_name + "_decoder")
> AttributeError: module 'PIL._imaging' has no attribute 'libtiff_decoder'
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_image.py", line 82, in test_tiff
>     width, height = image.get_size()
>   File "/<<PKGBUILDDIR>>/willow/image.py", line 70, in wrapper
>     image = converter(image)
>   File "/<<PKGBUILDDIR>>/willow/plugins/pillow.py", line 231, in open
>     image.load()
>   File "/usr/lib/python3/dist-packages/PIL/TiffImagePlugin.py", line 1196, in 
> load
>     return self._load_libtiff()
>   File "/usr/lib/python3/dist-packages/PIL/TiffImagePlugin.py", line 1266, in 
> _load_libtiff
>     decoder = Image._getdecoder(
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 413, in _getdecoder
>     raise OSError(msg) from e
> OSError: decoder libtiff not available
> 
> ----------------------------------------------------------------------
> Ran 111 tests in 15.552s
> 
> FAILED (errors=1, expected failures=7)
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: 
> python3.10 runtests.py
> I: pybuild base:240: python3.11 runtests.py
> ................E../<<PKGBUILDDIR>>/willow/image.py:141: 
> RemovedInWillow05Warning: Image.original_format has been renamed to 
> Image.format_name.
>   warnings.warn(
> ............x........../<<PKGBUILDDIR>>/willow/plugins/pillow.py:66: 
> DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 
> (2023-07-01). Use LANCZOS or Resampling.LANCZOS instead.
>   return PillowImage(image.resize(size, _PIL_Image().ANTIALIAS))
> .x..................xx........x..............................x..x....
> ======================================================================
> ERROR: test_tiff (tests.test_image.TestImageFormats.test_tiff)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 410, in _getdecoder
>     decoder = getattr(core, decoder_name + "_decoder")
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: module 'PIL._imaging' has no attribute 'libtiff_decoder'
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_image.py", line 82, in test_tiff
>     width, height = image.get_size()
>                     ^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/willow/image.py", line 70, in wrapper
>     image = converter(image)
>             ^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/willow/plugins/pillow.py", line 231, in open
>     image.load()
>   File "/usr/lib/python3/dist-packages/PIL/TiffImagePlugin.py", line 1196, in 
> load
>     return self._load_libtiff()
>            ^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/PIL/TiffImagePlugin.py", line 1266, in 
> _load_libtiff
>     decoder = Image._getdecoder(
>               ^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/PIL/Image.py", line 413, in _getdecoder
>     raise OSError(msg) from e
> OSError: decoder libtiff not available
> 
> ----------------------------------------------------------------------
> Ran 111 tests in 15.339s
> 
> FAILED (errors=1, expected failures=7)
> E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: 
> python3.11 runtests.py
> dh_auto_test: error: pybuild --test -i python{version} -p "3.10 3.11" 
> --system=custom "--test-args={interpreter} runtests.py" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/willow_1.4-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to