Date: Tue, 10 Dec 2013 18:08:36 GMT From: Adam McDougall <mcdouga9@egr.msu.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/184667: mail/dovecot PATCH (needs -lgssapi_krb5 for GSSAPI on FreeBSD 10) Message-ID: <201312101808.rBAI8arT032721@oldred.freebsd.org> Resent-Message-ID: <201312101810.rBAIA0i9007194@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184667 >Category: ports >Synopsis: mail/dovecot PATCH (needs -lgssapi_krb5 for GSSAPI on FreeBSD 10) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 10 18:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Adam McDougall >Release: 10.0-BETA4 >Organization: >Environment: FreeBSD build10 10.0-BETA4 FreeBSD 10.0-BETA4 #1 r258899M: Tue Dec 3 22:00:37 EST 2013 root@build10:/usr/obj/usr/src/sys/BUILD10 amd64 >Description: --- dovecot-auth --- libtool: link: cc -std=gnu99 -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2 -fstack-protector -o dovecot-auth auth.o auth-cache.o auth-client-connection.o auth-master-connection.o auth-master-listener.o auth-request.o auth-request-handler.o auth-stream.o auth-worker-client.o auth-worker-server.o db-checkpassword.o db-sql.o db-passwd-file.o main.o mech.o mech-anonymous.o mech-plain.o mech-login.o mech-cram-md5.o mech-digest-md5.o mech-external.o mech-gssapi.o mech-ntlm.o mech-otp.o mech-skey.o mech-rpa.o mech-apop.o mech-winbind.o otp-skey-common.o plain-common.o passdb.o passdb-blocking.o passdb-bsdauth.o passdb-cache.o passdb-checkpassword.o passdb-passwd.o passdb-passwd-file.o passdb-pam.o passdb-shadow.o passdb-sia.o passdb-vpopmail.o passdb-sql.o userdb.o userdb-blocking.o userdb-checkpassword.o userdb-nss.o userdb-passwd.o userdb-passwd-file .o userdb-prefetch.o userdb-static.o userdb-vpopmail.o userdb-sql.o db-ldap.o passdb-ldap.o userdb-ldap.o -pthread -Wl,--export-dynamic -L/usr/local/lib libpassword.a ../lib-settings/libsettings.a ../lib-ntlm/libntlm.a ../lib-otp/libotp.a ../lib-sql/libsql.a ../lib/liblib.a -lpam -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -lrt -pthread mech-gssapi.o: In function `mech_gssapi_auth_continue': mech-gssapi.c:(.text+0xae2): undefined reference to `__gss_krb5_nt_principal_name_oid_desc' mech-gssapi.c:(.text+0xaef): undefined reference to `__gss_krb5_nt_principal_name_oid_desc' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [dovecot-auth] Error code 1 >How-To-Repeat: Compile mail/dovecot on 10 with GSSAPI option enabled >Fix: Add: LDFLAGS+= -lgssapi_krb5 to the Makefile inside the .if ${PORT_OPTIONS:MGSSAPI} section. The fix is very similar to recent SVN r335618 to bind ports. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312101808.rBAI8arT032721>