Problem looks like a conflict between the tcpd and snmp USE variables. It seems that the tcpd patch adds definitions of deny_severity and allow_severity that are already present in master.c at lines 95 & 96, and in activated by the #ifdef HAVE_UCDSNMP line. hosts_ctl definition still needs to be there, but if I comment out the later defines of deny_severity and allow_severity, the build continues fine. Reproducible: Always Steps to Reproduce: 1. USE="tcpd snmp" ebuild =net-mail/cyrus-imapd-2.2.3 Actual Results: ### Making all in /var/tmp/portage/cyrus-imapd-2.2.3/work/cyrus-imapd-2.2.3/master make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.2.3/work/cyrus-imapd-2.2.3/master' gcc -c -I. -I.. -I. -I./../lib -I./../et -DHAVE_CONFIG_H -O2 -march=athlon -pipe -fomit-frame-pointer -Ino/include \ master.c gcc -c -I. -I.. -I. -I./../lib -I./../et -DHAVE_CONFIG_H -O2 -march=athlon -pipe -fomit-frame-pointer -Ino/include \ masterconf.c master.c:121: error: redefinition of `allow_severity' master.c:95: error: `allow_severity' previously defined here master.c:122: error: redefinition of `deny_severity' master.c:96: error: `deny_severity' previously defined here {standard input}: Assembler messages: {standard input}:41: Error: symbol `allow_severity' is already defined {standard input}:47: Error: symbol `deny_severity' is already defined make[1]: *** [master.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.2.3/work/cyrus-imapd-2.2.3/master' make: *** [all] Error 1 !!! ERROR: net-mail/cyrus-imapd-2.2.3 failed. !!! Function src_compile, Line 96, Exitcode 2 !!! compile problem Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/lib/jboss /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm arts avi berkdb crypt cups encode fam foomaticdb gd gdbm gif gtk gtk2 imlib java jpeg ldap libg++ libwww mad maildir mbox mikmod motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres postgresql python quicktime readline roundrobin samba sasl sdk sdl slang snmp spell ssl svga tcpd threads tiff truetype x86 xml xml2 xmms xv zlib"
Reassing to net-mail
This is not a problem anymore, recent versions of cyrus-imapd has this fixed and 2.2.3 is no longer in the tree. Something we CANTFIX, sorry. Cheers, Ferdy