Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 01:42:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206454] dns/samba-nsupdate does not build with security/krb5
Message-ID:  <bug-206454-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206454

            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@FreeBSD.org
          Reporter: chris@chrullrich.net
                CC: cy@FreeBSD.org, timur@FreeBSD.org
                CC: cy@FreeBSD.org, timur@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 an=
yway
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 he=
ader
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 tha=
n 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 appropr=
iate
library check in configure.in (-Dgsskrb5_...=3Dkrb5_gss_...), but that is
obviously not fit for general distribution.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206454-13>