[Bug 259464] net/isc-dhcp44-server: error: unknown type name 'dns_clientupdateevent_t' (option LDAP enabled)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 26 Oct 2021 19:05:41 UTC

            Bug ID: 259464
           Summary: net/isc-dhcp44-server: error: unknown type name
                    'dns_clientupdateevent_t' (option LDAP enabled)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: zi@FreeBSD.org
             Flags: maintainer-feedback?(zi@FreeBSD.org)

When option "LDAP" is enabled (see below), the build on 14-CURRENT (FreeBSD
14.0-CURRENT #70 main-n250238-dfd704b7fb2: Sun Oct 24 08:54:40 CEST 2021 amd64)
with port bind916-9.16.21 (dns/bind916) installed, will fail due to this error:


cc -DHAVE_CONFIG_H -I. -I../includes  -I.. -DLOCALSTATEDIR='"/var"'
-D_PATH_DHCPD_CONF='"/usr/local/etc/dhcpd.conf"' -I/usr/local/include
-L/usr/local/lib -DLDAP_CONFIGURATION -DLDAP_USE_SSL -O2 -pipe  -fPIC
-fstack-protector-strong -DLDAP_DEPRECATED -fno-strict-aliasing   -I../includes
-I/usr/ports/net/isc-dhcp44-server/work/dhcp-4.4.2-P1/bind/include -MT dns.o
-MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.c
cc: warning: argument unused during compilation: '-L/usr/local/lib'
dns.c:364:2: error: unknown type name 'dns_clientupdateevent_t'; did you mean
        dns_clientupdateevent_t *eventp;
/usr/local/include/dns/types.h:50:23: note: 'dns_clientupdatetrans_t' declared
typedef void                           dns_clientupdatetrans_t;

/usr/ports/net/isc-dhcp44-server # make showconfig
===> The following configuration options are available for
     BIND_SYMBOLS=off: Enable BIND internal symbol table
     BINLEASES=off: Enable support for binary insertion of leases
     DHCP4O6=off: Enable DHCPv4-over-DHCPv6 (TSV)
     DOCS=on: Build and/or install documentation
     IPV6=on: IPv6 protocol support
     LDAP=on: LDAP protocol support
     LDAP_SSL=on: Support LDAP over SSL/TLS
     PARANOIA=on: Enable support for chroot
===> Use 'make config' to modify these settings

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