--- auth --- mech-gssapi.o: In function `gssapi_credentials_callback': mech-gssapi.c:(.text+0xec4): undefined reference to `__gss_krb5_nt_principal_name_oid_desc' mech-gssapi.c:(.text+0xed1): undefined reference to `__gss_krb5_nt_principal_name_oid_desc' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [auth] Error code 1 Fix: Same with mail/dovecot http://www.freebsd.org/cgi/query-pr.cgi?pr=184667&cat=ports Add: LDFLAGS+= -lgssapi_krb5 to the Makefile inside the .if ${PORT_OPTIONS:MGSSAPI} section. Patch attached with submission follows: How-To-Repeat: Compile mail/dovecot2 on 10 with GSSAPI option enabled
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Maintainer of mail/dovecot2, Please note that PR ports/186745 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/186745 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
Author: pawel Date: Sat Mar 15 14:31:48 2014 New Revision: 348327 URL: http://svnweb.freebsd.org/changeset/ports/348327 QAT: https://qat.redports.org/buildarchive/r348327/ Log: Fix linking on FreeBSD 10 when GSSAPI=on PR: ports/186745 Submitted by: Jyrki Ahpola <jyrkia@gmail.com> Approved by: maintainer timeout Modified: head/mail/dovecot2/Makefile Modified: head/mail/dovecot2/Makefile ============================================================================== --- head/mail/dovecot2/Makefile Sat Mar 15 14:08:07 2014 (r348326) +++ head/mail/dovecot2/Makefile Sat Mar 15 14:31:48 2014 (r348327) @@ -101,6 +101,7 @@ CONFIGURE_ARGS+=--without-ssl # .if ${PORT_OPTIONS:MGSSAPI} CONFIGURE_ARGS+=--with-gssapi +LDFLAGS+= -lgssapi_krb5 .else CONFIGURE_ARGS+=--without-gssapi .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!