Cyrus-IMAPD 2.1.5 and r1 have a problem with linking with ucd-snmp 4.2.5, possibly 4.2.4. It's linked with 4.2.3 specifically in the ebuild, possibly the newer ucd-snmp is incompatible?
*** This bug has been marked as a duplicate of 6574 ***