Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818925 - net-mail/cyrus-imapd-3.4.2-r1 automagic dependencies
Summary: net-mail/cyrus-imapd-3.4.2-r1 automagic dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://www.cyrusimap.org/imap/develo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-19 16:14 UTC by Thomas Arnett
Modified: 2022-03-06 10:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Arnett 2021-10-19 16:14:29 UTC
net-mail/cyrus-imapd automatically links against libuuid, provided by sys-apps/util-linux; the "Compiling" page lists it as required. With USE=http, the configure script also automatically looks for app-arch/brotli, app-arch/zstd, and sci-libs/shapelib.

configure also automatically looks for libwslay, libchardet, and libcld2, but I don't see ebuilds for them.

I also checked the packages mentioned on the "Compiling" page, except for the "Developers only" section. It looks like there should maybe be a runtime dependency on virtual/perl-Term-ReadLine. libbsd is listed as required, but configure looks for it in the wrong place, and it seems to be needed only with certain AFS libraries. gperf is listed as required, but configure only looks for it when building in maintainer mode, which the ebuild doesn't support. bison, flex, libtool, and pkgconfig are listed as required; they're @system packages, but many ebuilds explicitly depend on them. configure actually accepts any yacc, not just bison.
Comment 1 Larry the Git Cow gentoo-dev 2022-03-06 10:08:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84e9b414a31b33d01fd785378bac68833031792e

commit 84e9b414a31b33d01fd785378bac68833031792e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-06 10:01:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-06 10:08:17 +0000

    net-mail/cyrus-imapd: fix automagic and missing dependencies; fix crash
    
    Automagic dependency changes:
    - USE=http: app-arch/brotli, app-arch/zstd, and sci-libs/shapelib
    - USE=perl: virtual/perl-Term-ReadLine
    - sys-apps/util-linux for libuuid
    - Proactively disable libwslay, libchardet, and libcld2 (unpackaged)
    - Disable libsrs2 support (mail-filter/libsrs2) as it was automagic before
    
    Build-time dependency changes:
    - sys-devel/flex
    - virtual/pkgconfig
    - virtual/yacc
    
    Closes: https://bugs.gentoo.org/818925
    Closes: https://bugs.gentoo.org/834573
    Thanks-to: Thomas Arnett <tom_gentoo@misfeature.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...pd-3.4.3.ebuild => cyrus-imapd-3.4.3-r1.ebuild} | 38 +++++++++++++++-------
 profiles/arch/hppa/package.use.mask                |  4 +++
 profiles/arch/ia64/package.use.mask                |  4 +++
 profiles/arch/sparc/package.use.mask               |  4 +++
 4 files changed, 39 insertions(+), 11 deletions(-)