Building a ebuild for cyrus-imapd I've discovered that compile_et is broken: compile_et: Couldn't find compile_et's template files. That's true because they are removed in the ebuild. So either leave them or remove compile_et too. As I've read (somewhere about cyrus and compile_et), there seems to be some differences about com_err and compile_et in the linux-community. So cyrus-imapd uses it's own libcom_err.a if compile_et will not found. I don't know if that could break anything in the system, because I don't know anything about libcom_err.a. ;)
Workaround: Add "-I/usr/share/et" so gcc can find libcomm_err.h
A workaround for a one line fix? And it is configure which searches for the existens of compile_et, so -I for gcc isn't that good.
You are right, of course, sorry. My fault. I think I need to make bugs #3649 and #4156 dependant to this one and also remove "-I/usr/share/et" from there.
net-mail/cyrus-imapd-2.1.5 has been added to portage. It is patched to compile properly. -Nick