Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7196 - cyrus-imapd 2.1.5-r1 configure doesn't recognize sasl2 (gcc3 related)
Summary: cyrus-imapd 2.1.5-r1 configure doesn't recognize sasl2 (gcc3 related)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-28 20:49 UTC by Marcel Köppen
Modified: 2002-09-16 13:37 UTC (History)
2 users (show)

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 Marcel Köppen 2002-08-28 20:49:36 UTC
The configure script won't find sasl2 with gcc3.x, because /usr/include is 
given as include-path in the configure-test for sasl2, so that the compiler 
prints out a warning. The configure-script interpets this as missing sasl2, so 
the emerge fails: 
 
--- snip --- 
checking for sasl/sasl.h... no 
configure: error: Cannot continue without libsasl2. 
Get it from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/. 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 28, Exitcode 1 
!!! bad ./configure 
 
!!! emerge aborting on  
/usr/portage/net-mail/cyrus-imapd/cyrus-imapd-2.1.5-r1.ebuild . 
--- snip --- 
 
This may happen with other packages containing configure scripts not ready for 
gcc3, too... 
 
Jojo
Comment 1 Julian J. 2002-09-04 18:55:19 UTC
It's not gcc3 related. Is you unset ssl in your USE, it detects sasl/sasl.h
correctly, and the package compiles and installs...
Comment 2 Nick Hadaway 2002-09-10 16:26:41 UTC
cyrus-imapd-2.1.9 has been released into portage which fixes this compile 
problem.  Please test and report back on this bug with your experience.
Comment 3 Julian J. 2002-09-11 20:03:14 UTC
Yes, sasl stuff is fixed, thanks :)

One problem I see with this ebuild (and previous), is that it overwrites
/var/log/auth.log and /var/log/imapd.log when it's merged... Those files are
writen by the syslog daemon, so they need not be created when installing the
package, do they?
Comment 4 Nick Hadaway 2002-09-11 20:20:29 UTC
strange.  There is nothing in the ebuild that creates those directories... only 
a comment saying how to log to those files properly.

do you find /var/log/auth.log and /var/log/imapd.log in /var/db/pkg/net-
mail/cyrus-imapd-2.1.9/CONTENTS?

If not then those files shouldn't be squashed during updates/upgrades... 
Please let me know.
Comment 5 Julian J. 2002-09-12 15:51:20 UTC
Hi,

here are the first few lines of the CONTENTS file you told me to look:

dir /etc
dir /etc/pam.d
obj /etc/imapd.conf 94c2f71f7ca80b710fb4854e908d712b 1031732901
dir /etc/init.d
dir /var
dir /var/log
obj /var/log/auth.log d41d8cd98f00b204e9800998ecf8427e 1031732901
obj /var/log/imapd.log d41d8cd98f00b204e9800998ecf8427e 1031732901
dir /var/imap
dir /var/imap/db
[....]
Comment 6 Nick Hadaway 2002-09-16 13:37:00 UTC
The cyrus-imapd-2.1.9.ebuild has been updated so that the empty log files are 
not installed on software upgrades.  Thanks for noticing the bug!