net-mail/cyrus-imapd-3.0.8-r1 dropped patches for bug 604470, probably due to the following upstream commit: https://github.com/cyrusimap/cyrus-imapd/commit/defb2cfcac43b89300bf32dd0c71967b7246dd3b However, when comparing these patches with the aforementioned commit it is clear that upstream hasn't added every library that these patches did for linking in. At least libcap is missing, so launching sieveshell (when the package is built with "caps" USE flag) fails due to undefined libcap symbols: Can't load '/usr/lib64/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Cyrus/SIEVE/managesieve/managesieve.so' for module Cyrus::SIEVE::managesieve: /usr/lib64/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi/auto/Cyrus/SIEVE/managesieve/managesieve.so: undefined symbol: cap_set_proc at /usr/lib64/perl5/5.26.1/x86_64-linux-thread-multi/DynaLoader.pm line 193. at /usr/bin/sieveshell line 65 I've attached a patch to fix the above libcap issue (which is enough to make sieveshell work on my system), however a more through analysis is required whether other libraries linked in by the patches applied by former versions of net-mail/cyrus-imapd ebuilds are required, too.
Created attachment 566416 [details, diff] one possible patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90a3246db6e4d20a92632c266022dfcb85822fc commit d90a3246db6e4d20a92632c266022dfcb85822fc Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2019-03-15 07:38:16 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2019-03-15 07:38:16 +0000 net-mail/cyrus-imapd: bump to 3.0.9 and fix underlinking perl modules Closes: https://bugs.gentoo.org/678754 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Eray Aslan <eras@gentoo.org> net-mail/cyrus-imapd/Manifest | 1 + net-mail/cyrus-imapd/cyrus-imapd-3.0.9.ebuild | 218 +++++++++++++++++++++ .../files/cyrus-imapd-libcap-libs-r1.patch | 35 ++++ 3 files changed, 254 insertions(+)