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).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c38af27bfc3c247cdd02f09fbbf05477ab06999 commit 7c38af27bfc3c247cdd02f09fbbf05477ab06999 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-07-31 14:14:23 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-07-31 21:16:53 +0000 app-arch/libdeflate: 1.20, 9999 enable multilib Bug: https://bugs.gentoo.org/930111 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37882 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> app-arch/libdeflate/libdeflate-1.20.ebuild | 6 +++--- app-arch/libdeflate/libdeflate-9999.ebuild | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a48eb73a678d66bf31c777028a7ec729cce24f8 commit 3a48eb73a678d66bf31c777028a7ec729cce24f8 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2025-01-26 23:27:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-23 03:10:11 +0000 media-libs/tiff: add libdeflate support Bug: https://bugs.gentoo.org/930111 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-libs/tiff/metadata.xml | 3 +++ media-libs/tiff/tiff-4.7.0-r1.ebuild | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0808517f3403aca716e3123c3b5bbc8b34562458 commit 0808517f3403aca716e3123c3b5bbc8b34562458 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-07-31 23:29:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-24 00:45:40 +0000 media-libs/tiff-compat: disable libdeflate explicitly Bug: https://bugs.gentoo.org/930111 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/37892 Signed-off-by: Sam James <sam@gentoo.org> .../{tiff-compat-4.4.0-r2.ebuild => tiff-compat-4.4.0-r3.ebuild} | 1 + 1 file changed, 1 insertion(+)