Upon installation, imapsync fails to run due to missng perl packages: Can't locate File/Copy/Recursive.pm in @INC (you may need to install the File::Copy::Recursive module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.3/x86_64-linux /usr/local/lib64/perl5/5.24.3 /usr/lib64/perl5/vendor_perl/5.24.3/x86_64-linux /usr/lib64/perl5/vendor_perl/5.24.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.24.3/x86_64-linux /usr/lib64/perl5/5.24.3 .) at /usr/bin/imapsync line 705. BEGIN failed--compilation aborted at /usr/bin/imapsync line 705. The ${RDEPEND} variable is initially correctly defined in the ebuild, but is later overwritten. This appears to be because of misspelling between ${RDEPEND} and ${DEPEND}.
I also ran into this. imapsync has referenced this module for years, but some recent change must have caused it to start using it when it wasn't before.
Also needs dev-perl/IO-Socket-INET6... Can't locate IO/Socket/INET6.pm in @INC (you may need to install the IO::Socket::INET6 module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 713. BEGIN failed--compilation aborted at /usr/bin/imapsync line 713.
And dev-perl/IO-Tee, dev-perl/Mail-IMAPClient, dev-perl/Unicode-String, dev-perl/Sys-MemInfo, and dev-perl/Regexp-Common. Why were all of the dependencies removed from the v1.882 rebuild?! Can't locate IO/Tee.pm in @INC (you may need to install the IO::Tee module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 715. BEGIN failed--compilation aborted at /usr/bin/imapsync line 715. Can't locate Mail/IMAPClient.pm in @INC (you may need to install the Mail::IMAPClient module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 717. BEGIN failed--compilation aborted at /usr/bin/imapsync line 717. Can't locate Unicode/String.pm in @INC (you may need to install the Unicode::String module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 726. BEGIN failed--compilation aborted at /usr/bin/imapsync line 726. Can't locate Sys/MemInfo.pm in @INC (you may need to install the Sys::MemInfo module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 729. BEGIN failed--compilation aborted at /usr/bin/imapsync line 729. Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 730. BEGIN failed--compilation aborted at /usr/bin/imapsync line 730. Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.24.0 /usr/lib64/perl5/vendor_perl/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.24.0 /usr/lib64/perl5/5.24.0/x86_64-linux-thread-multi /usr/lib64/perl5/5.24.0 .) at /usr/bin/imapsync line 730. BEGIN failed--compilation aborted at /usr/bin/imapsync line 730.