Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45037 - dev-libs/cyrus-sasl-2.1.14 error compiling
Summary: dev-libs/cyrus-sasl-2.1.14 error compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: Normal normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 09:45 UTC by Adrian Almenar
Modified: 2004-08-25 16:44 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 Adrian Almenar 2004-03-18 09:45:52 UTC
[ebuild  N    ] dev-libs/cyrus-sasl-2.1.14  +berkdb +gdbm +java -kerberos +ldap +mysql +pam +ssl -static  0 kB

md5.c: In function `_saslauthd_hmac_md5':
md5.c:121: warning: passing arg of `_saslauthd_MD5Update' discards qualifiers from pointer target type
In file included from md5.c:329:
md5.c:324: warning: passing arg of `MD5_memcpy' discards qualifiers from pointer target type
In file included from md5.c:329:
md5.c:324: warning: passing arg of `MD5_memcpy' discards qualifiers from pointer target type
In file included from md5.c:156:
md5.c:121: warning: passing arg of `_saslauthd_MD5Update' discards qualifiers from pointer target type
saslauthd-main.c: In function `server_exit':
saslauthd-main.c:857: warning: unused variable `lock_st'
gcc  -Wall -W -Wall -O3 -march=pentium3 -pipe -fstack-protector  -o saslauthd  mechanisms.o auth_dce.o auth_getpwent.o auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o auth_shadow.o auth_sia.o auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o ipc_doors.o saslauthd-main.o md5.o -lcrypt             -lresolv   -lpam -lldap -llber -lcrypto  -lresolv
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libcrypto.so.0.9.6, needed by /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../libldap.so, may conflict with libcrypto.so.0.9.7
auth_krb5.o(.text+0x16c): In function `auth_krb5':
: undefined reference to `krb5_init_context'
auth_krb5.o(.text+0x1f8): In function `auth_krb5':
: undefined reference to `krb5_parse_name'
auth_krb5.o(.text+0x20f): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x25e): In function `auth_krb5':
: undefined reference to `krb5_cc_resolve'
auth_krb5.o(.text+0x2aa): In function `auth_krb5':
: undefined reference to `krb5_get_init_creds_opt_init'
auth_krb5.o(.text+0x2bb): In function `auth_krb5':
: undefined reference to `krb5_get_init_creds_opt_set_tkt_life'
auth_krb5.o(.text+0x2fd): In function `auth_krb5':
: undefined reference to `krb5_get_init_creds_password'
auth_krb5.o(.text+0x33d): In function `auth_krb5':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x34b): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x3e7): In function `auth_krb5':
: undefined reference to `krb5_free_cred_contents'
auth_krb5.o(.text+0x3ff): In function `auth_krb5':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x431): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x490): In function `auth_krb5':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x4c2): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x4e4): In function `auth_krb5':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x4f2): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x51d): In function `auth_krb5':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x52b): In function `auth_krb5':
: undefined reference to `krb5_free_context'
auth_krb5.o(.text+0x5a6): In function `k5support_verify_tgt':
: undefined reference to `krb5_sname_to_principal'
auth_krb5.o(.text+0x60a): In function `k5support_verify_tgt':
: undefined reference to `krb5_kt_read_service_key'
auth_krb5.o(.text+0x67c): In function `k5support_verify_tgt':
: undefined reference to `krb5_mk_req'
auth_krb5.o(.text+0x6c2): In function `k5support_verify_tgt':
: undefined reference to `krb5_rd_req'
auth_krb5.o(.text+0x6ee): In function `k5support_verify_tgt':
: undefined reference to `krb5_free_data_contents'
auth_krb5.o(.text+0x700): In function `k5support_verify_tgt':
: undefined reference to `krb5_free_principal'
auth_krb5.o(.text+0x719): In function `k5support_verify_tgt':
: undefined reference to `krb5_auth_con_free'
auth_krb5.o(.text+0x72d): In function `k5support_verify_tgt':
: undefined reference to `krb5_auth_con_free'
auth_krb5.o(.text+0x746): In function `k5support_verify_tgt':
: undefined reference to `krb5_free_keyblock'
collect2: ld returned 1 exit status
make[2]: *** [saslauthd] Error 1
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14/saslauthd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.14/work/cyrus-sasl-2.1.14'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.14 failed.
!!! Function src_compile, Line 105, Exitcode 2
!!! compile problem

Emerge info:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache userpriv"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.conectium.com/gentoo-portage"
USE="apm berkdb crypt ethereal gd gdbm gpm imlib innodb java jikes jpeg ldap libg++ libwww mad moznoirc moznomail moznoxft mysql ncurses nls pam pdflib perl pic png postgres python readline sasl skey slang spell sse ssl tcpd x86 xml xml2 zlib"
Comment 1 Greg Tassone 2004-04-20 02:24:14 UTC
This is probably a duplicate of bug (or at least closely related to) #38699.  For many more details, please see the applicable forum thread here:
http://forums.gentoo.org/viewtopic.php?p=1060860#1060860

In short, I resolved the issue by upgraded to the newer 2.1.18 package, which is currently still marked as unstable in Portage but seems stable and which others are using with success.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-08-25 16:44:46 UTC
From comment #1, it looks like the problem have been fixed in the latest stable cyrus-sasl. Closing.