[Bug 206454] dns/samba-nsupdate does not build with security/krb5
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 21 01:42:14 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206454
Bug ID: 206454
Summary: dns/samba-nsupdate does not build with security/krb5
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: chris at chrullrich.net
CC: cy at FreeBSD.org, timur at FreeBSD.org
CC: cy at FreeBSD.org, timur at FreeBSD.org
dns/samba-nsupdate fails in configure if Kerberos is security/krb5 (and base
Heimdal is not present) on stable/10. It tests various library combinations,
including one that would work, but fails to compile its conftest program anyway
because in MIT Kerberos, the function it tests for is not named
gsskrb5_register_acceptor_identity(), but
krb5_gss_register_acceptor_identity().
The name is adapted by a macro in <gssapi/gssapi_krb5.h>. Including that header
does not help either, because it brings in the prototype for the function, so
now the conftest build fails in the compiler (missing arguments) rather than in
the linker (missing symbol).
This is not so much a problem with the port as with the underlying bind-9
distribution's configure script; it would be better to ask krb5-config than try
to puzzle out the flags, but it does not do that.
I was able to make it work by patching the symbol renaming into the appropriate
library check in configure.in (-Dgsskrb5_...=krb5_gss_...), but that is
obviously not fit for general distribution.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list