Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930111

Summary: media-libs/tiff-4.6.0[zlib]: automagic dependency on app-arch/libdeflate
Product: Gentoo Linux Reporter: Alfred Wingate <parona>
Component: Current packagesAssignee: Codec Project <codec>
Status: CONFIRMED ---    
Severity: normal CC: foufou33
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Alfred Wingate 2024-04-16 13:15:49 UTC
tiff builds against libdeflate if its available and if zlib is enabled. This can be explicitly set or be a use flag.

>>> package: app-arch/libdeflate-1.19
 *  - /usr/lib64/
 *      used by /usr/lib64/ (media-libs/tiff-4.6.0)
Comment 1 Alfred Wingate 2024-04-17 04:21:12 UTC
checking for
        glib-2.0 >= 2.4
        ... yes
checking for
        gtk+-3.0 >= 3.10
        ... no
configure: error: Package requirements (
        gtk+-3.0 >= 3.10
        ) 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.
Comment 2 Larry the Git Cow gentoo-dev 2024-05-02 04:32:50 UTC
The bug has been referenced in the following commit(s):

commit 10d7d10e2d77be6513acedb5dec42e467ec16629
Author:     Alfred Wingate <>
AuthorDate: 2024-05-01 09:28:27 +0000
Commit:     Sam James <>
CommitDate: 2024-05-02 04:31:26 +0000

    media-libs/tiff: disable libdeflate explicitly
    * Adding support would require adding multilib support in libdeflate.
    Signed-off-by: Alfred Wingate <>
    Signed-off-by: Sam James <>

 media-libs/tiff/tiff-4.6.0-r1.ebuild | 82 ++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)
Comment 3 foufou33 2024-06-12 03:59:09 UTC
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).