Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32410 - Previous vpopmail install blocks courier-imap
Summary: Previous vpopmail install blocks courier-imap
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-31 11:16 UTC by Steven Wagner
Modified: 2003-10-31 13:01 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 Steven Wagner 2003-10-31 11:16:39 UTC
First emerge vpopmail, then unemerge vpopmail, then emerge courier-imap and it
will fail. 
!!! ERROR: net-mail/courier-imap-2.1.2-r1 failed.
!!! Function econf, Line 338, Exitcode 77

looking through the config.log, I can see gcc is failing when trying to include
vpopmail support. USE="-vpopmail" doesn't seem to change anything.

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lvpopmail
configure:1592: gcc -march=pentium3 -O2 -pipe -I/var/vpopmail/include 
-L/var/vpopmail/lib -lvpopmail -L/usr/lib/mysql -lmysqlclient -lz conftest.c  >&5

assitance in #gentoo-server was able to find from the ebuild that I needed to
delete the vpopmail entry in /etc/passwd because of these lines.  

VPOPMAIL_DIR=`cat /etc/passwd | grep ^vpopmail | cut -d: -f6`
VPOPMAIL_INSTALLED=
[ -n "${VPOPMAIL_DIR}" ] && [ -f "${VPOPMAIL_DIR}/etc/lib_deps" ] &&
VPOPMAIL_INSTALLED=1

So if vpopmail was ever previously installed, it will make courier-imap fail to
emerge. 


It maybe related to this thread. 
http://forums.gentoo.org/viewtopic.php?t=87372


Reproducible: Always
Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-31 13:01:56 UTC
fixed in CVS.