Bug#1011416: freeimage: FTBFS with tiff 4.4.0+

László Böszörményi (GCS) gcs at debian.org
Sun May 22 12:41:55 BST 2022


Source: freeimage
Version: 3.18.0+ds2-6
Severity: serious
Justification: FTBFS
Tags: ftbfs upstream bookworm sid

Hi,

With the upcoming release (4.4.0) of tiff your package FTBFS due to
using tiff internal API:
Source/Metadata/XTIFF.cpp:745:38: error: '_TIFFDataSize' was not
declared in this scope; did you mean 'TIFFDataType'?
  745 |
if((unsigned)_TIFFDataSize(tif_tag_type) !=
FreeImage_TagDataWidth(tag_type)) {
      |                                      ^~~~~~~~~~~~~
      |                                      TIFFDataType

Reason is that tiff internal is changed [1] and _TIFFDataSize() became
a public API but with a different function signature. It's now
TIFFFieldSetGetSize(const TIFFField* fip).
It seems your upstream is dead, but try to get it fixed.

Regards,
Laszlo/GCS
[1] https://gitlab.com/libtiff/libtiff/-/commit/11f3f279608ae9e68f014717393197f430f9be58



More information about the debian-science-maintainers mailing list