Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77160 - Linking libauthvchkpw.la agains libvpopmail.a failes
Summary: Linking libauthvchkpw.la agains libvpopmail.a failes
Status: RESOLVED DUPLICATE of bug 81605
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83369
  Show dependency tree
 
Reported: 2005-01-08 12:53 UTC by mario
Modified: 2005-07-17 13:06 UTC (History)
1 user (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 mario 2005-01-08 12:53:41 UTC
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-
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-08 12:58:04 UTC
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.
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-31 18:21:33 UTC
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 ***