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.
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(-)