Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5577 - cyrus-imapd-2.1.5.ebuild won't compile if e2fsprogs is installed
Summary: cyrus-imapd-2.1.5.ebuild won't compile if e2fsprogs is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-25 15:28 UTC by Mike Scott
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Scott 2002-07-25 15:28:29 UTC
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.
Comment 1 Nick Hadaway 2002-07-26 00:42:15 UTC
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
Comment 2 Mike Scott 2002-07-26 00:51:55 UTC
"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 .
Comment 3 Nick Hadaway 2002-07-26 01:21:38 UTC
what version of cyrus-sasl are you running?
Comment 4 Nick Hadaway 2002-07-26 10:50:33 UTC
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.
Comment 5 Mike Scott 2002-07-27 19:06:20 UTC
I <i>am</i> running cyrus-sasl-2.1.6, and getting the problem as reported.
Comment 6 Nick Hadaway 2002-07-27 23:22:58 UTC
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?
Comment 7 Mike Scott 2002-07-28 01:32:52 UTC
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"
Comment 8 Nick Hadaway 2002-07-29 14:38:09 UTC
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.
Comment 9 Nick Hadaway 2002-08-03 14:56:24 UTC
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.
Comment 10 Nick Hadaway 2002-08-06 23:20:52 UTC
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