to install qmail i need vpopmail AND courier-imap. on courier-imap depends courier-authlibs (V. 0.52-r1). vpopmail compiles perfectly but on emergeing the authlibs the error occurs. Reproducible: Always Steps to Reproduce: 1.installation qmail with info from this site: http://gentoo-wiki.com/HOWTO_Setup_QMAIL_VPOPMAIL_and_Other_Mail_Servers 2. 3. Actual Results: emerging of net-libs/courier-authlib-0.52-r1 failed Expected Results: compile correctly and install. ;) ---snip---- make[2]: Entering directory `/var/tmp/portage/courier-authlib-0.52-r1/work/courier-authlib-0.52' Compiling authdaemonlib.c Compiling authdaemon.c Compiling preauthdaemon.c Compiling authmoduser2.c Compiling authmoduser3.c Compiling debug.c Compiling authoption.c Compiling authsasl.c Compiling authsaslcram.c Compiling authsasllogin.c Compiling authsaslplain.c Compiling authsaslfrombase64.c Compiling authsasltobase64.c Compiling authsaslclient.c Compiling authsaslclientcram.c Compiling authsaslclientcrammd5.c Compiling authsaslclientcramsha1.c Compiling authsaslclientlogin.c Compiling authsaslclientplain.c Compiling authpwdenumerate.c Compiling authsyschangepwd.c Compiling authsyscommon.c Compiling cramlib.c Compiling checkpassword.c Compiling cryptpassword.c Compiling checkpasswordmd5.c Compiling checkpasswordsha1.c Compiling authuserdb.c Compiling preauthuserdb.c Compiling preauthuserdbcommon.c Compiling authuserdbpwd.c Compiling authpam.c Compiling preauthpam.c Compiling authshadow.c Compiling preauthshadow.c Compiling authldap.c Compiling preauthldap.c Compiling authldaplib.c Compiling authcustom.c Compiling preauthcustom.c Compiling authvchkpw.c Compiling authvchkpwlib.c authvchkpw.c: In function `auth_vchkpw_changepass': authvchkpw.c:142: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type Compiling preauthvchkpw.c Compiling authinfo.c preauthvchkpw.c: In function `auth_vchkpw_pre': preauthvchkpw.c:67: warning: passing arg 1 of `parse_email' discards qualifiers from pointer target type preauthvchkpw.c:141: warning: passing arg 3 of `vset_lastauth' discards qualifiers from pointer target type Compiling authdaemontest.c Compiling authmksock.c Compiling authdaemond.c Compiling authtest.c Compiling authenumerate.c CONFIG_FILES=authlib.3 CONFIG_HEADERS= /bin/sh ./config.status Linking libcourierauth.la config.status: creating authlib.3 config.status: executing depfiles commands Linking libcourierauthsasl.la Linking libcourierauthsaslclient.la Linking libcourierauthcommon.la Linking courierauthconfig Linking authmksock Linking authtest Linking authenumerate Linking libauthuserdb.la Linking libauthpam.la Linking libauthshadow.la Linking libauthldap.la Linking libauthcustom.la Linking libauthvchkpw.la Linking authdaemontest /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /var/vpopmail/lib/libvpopmail.a(cdb_seek.o): relocation R_X86_64_PC32 against `read@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[2]: *** [libauthvchkpw.la] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/courier-authlib-0.52-r1/work/courier-authlib-0.52' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/courier-authlib-0.52-r1/work/courier-authlib-0.52' make: *** [all] Error 2 !!! ERROR: net-libs/courier-authlib-0.52-r1 failed. !!! Function src_compile, Line 95, Exitcode 2 !!! Compile problem -the-end-
assign directly to swtaylor since there is no herd, adding amd64@gentoo.org to the cc list because it seems to be related to amd64.
marking this one as the duplicate as there are more comments and contributions attached to the other one. *** This bug has been marked as a duplicate of 81605 ***