If i compile latest stable vpopmail (5.2.1-r9) with latest stable gcc (3.3.2) but _without_ mysql support, then compilation breaks because vpopmail-5.2.1-gcc33mysql.diff is applied ONLY if mysql support is enabled. Taking epatch ${FILESDIR}/vpopmail-5.2.1-gcc33mysql.diff out of ifdef solved problem Reproducible: Always Steps to Reproduce: emerge vpopmail Actual Results: gcc -I. -Icdb -march=pentium4 -O3 -pipe -fomit-frame-pointer -Wall -c vqmaillocal.c In file included from vconvert.c:35: vmysql.h:53:22: missing terminating " character In file included from vconvert.c:35: vmysql.h:55: error: syntax error before "char" vmysql.h:60:35: missing terminating " character make[2]: *** [vconvert.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/usr/portage/build/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/portage/build/portage/vpopmail-5.2.1-r9/work/vpopmail-5.2.1' make: *** [all-recursive-am] Error 2 !!! ERROR: net-mail/vpopmail-5.2.1-r9 failed. !!! Function src_compile, Line 127, Exitcode 2 !!! Make failed. Expected Results: working vpopmail :-) emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) ================================================================= System uname: 2.4.25 i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -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/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/ vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.localsipal ftp://sunsite.cnlab-switch.ch/mirror/gen too/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/portage/build" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://gentoo.localsipal/gentoo-portage" USE="apache2 crypt gd gdbm imap jpeg ldap nls oci8 pam pdflib png samba sse ssl tiff x86 xml xml2 zlib"
fixed in CVS