It appears that the program compile_et from e2fsprogs causes some kind of namespace conflict with the compilation of cyrus-imapd from cyrus-imapd-2.1.5.ebuild, preventing the compile from completing.
If you have an updated portage tree and emerge cyrus-imapd there is a patched ebuild which fixes the et_compile incompatibility. Please let me know what your error messages are if it fails compiling after the "emerge --clean rsync && emerge cyrus-imapd" ... -Nick
"emerge --clean rsync" did not update the Cyrus ebuild file in my portage tree, and I have the same error on compilation: gcc -c -I. -I.. -I. -I./../lib -I/usr/include/db3 -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -march=i686 -O3 -pipe -Ino/include \ addr-lex.c gcc -c -I. -I.. -I. -I./../lib -I/usr/include/db3 -I/usr/local/include -DHAVE_CONFIG_H -I. -I. -Wall -march=i686 -O3 -pipe -Ino/include \ md5.c rm -f libsieve.a ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o message.o script.o tree.o addr.o addr-lex.o md5.o ranlib libsieve.a make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/sieve' ### Making all in /var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap' /bin/compile_et ./acap_err.et /bin/compile_et ./acap_err.et compile_et: Couldn't find compile_et's template files. compile_et: Couldn't find compile_et's template files. make[1]: *** [acap_err.c] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [acap_err.h] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap' make: *** [all] Error 1 ### Making all in /var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/man make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/man' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/man' ### Making all in /var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/sieve make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/sieve' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/sieve' ### Making all in /var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap make[1]: Entering directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap' /bin/compile_et ./acap_err.et compile_et: Couldn't find compile_et's template files. make[1]: *** [acap_err.h] Error 1 make[1]: Leaving directory `/var/tmp/portage/cyrus-imapd-2.1.5/work/cyrus-imapd-2.1.5/acap' make: *** [all] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 63, Exitcode 2 !!! compile problem !!! emerge aborting on /usr/portage/net-mail/cyrus-imapd/cyrus-imapd-2.1.5.ebuild .
what version of cyrus-sasl are you running?
Make sure that you are running cyrus-sasl-2.1.6 as it has all the et_compile fixes required for cyrus-imapd to build properly on your system. If you still have compile problems after being updated to cyrus-sasl-2.1.6, please let me know.
I <i>am</i> running cyrus-sasl-2.1.6, and getting the problem as reported.
I have now compiled cyrus-sasl and cyrus-imapd on an athlonXP and a PentiumII system without any problems. Any logs I can see other than the first one? The first one is what was seen before the patch was applied and added into the 2.1.6 ebuild. Both pieces of software build cleanly on both a gcc-3.1 and gcc- 3.1.1 system. What version of gcc are you using to compile?
gcc version 2.95.3 20010315 (release) My make.conf has the standard Pentium Pro/II flags set: CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe"
This appears to only be a problem with gcc-2.x based systems as there are no compile problems on >=gcc-3.x systems. I will be working on this issue tonight on a gcc-2.x system. I'll post more on this bug report when I find an answer.
An updated ebuild of sys-apps/e2fsprogs-1.27 has been added to portage. emerge rsync emerge e2fsprogs emerge cyrus-imapd The new e2fsprogs ebuild installs the template files for /bin/compile_et so the ebuild should get past your build problem. Let me know if that fixes your problem.
I have had multiple reports of successful builds now. I also changed emake to make and it fixed some compile problems as well. Thanks for helping me bug out the errors in e2fsprogs. emerge rsync emerge cyrus-imapd