tiff builds against libdeflate if its available and if zlib is enabled. This can be explicitly set or be a use flag. https://gitlab.com/libtiff/libtiff/-/blob/v4.6.0/CMakeLists.txt?ref_type=tags#L202 https://gitlab.com/libtiff/libtiff/-/blob/v4.6.0/cmake/DeflateCodec.cmake#L39 >>> package: app-arch/libdeflate-1.19 * - /usr/lib64/libdeflate.so.0 * used by /usr/lib64/libtiff.so.6.0.2 (media-libs/tiff-4.6.0)
checking for glib-2.0 >= 2.4 libxml-2.0 ... yes checking for gtk+-3.0 >= 3.10 gdk-pixbuf-2.0 ... no configure: error: Package requirements ( gtk+-3.0 >= 3.10 gdk-pixbuf-2.0 ) were not met: Package 'libdeflate', required by 'libtiff-4', not found This can also lead to breakage in reverse dependencies of tiff if libdeflate is depcleaned.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10d7d10e2d77be6513acedb5dec42e467ec16629 commit 10d7d10e2d77be6513acedb5dec42e467ec16629 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-05-01 09:28:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-02 04:31:26 +0000 media-libs/tiff: disable libdeflate explicitly * Adding support would require adding multilib support in libdeflate. Bug: https://bugs.gentoo.org/930111 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36500 Signed-off-by: Sam James <sam@gentoo.org> media-libs/tiff/tiff-4.6.0-r1.ebuild | 82 ++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+)
I think the same goes with media-libs/tiff-compat. I hit this while rebuilding mutter from source (different USE flags from binary available binary package) on a machine that didn't have libdeflate installed while the build host had it installed. The link seems to be x11-libs/gdk-pixbuf (depends media-libs/tiff).