Bug 259464

Summary: net/isc-dhcp44-server: error: unknown type name 'dns_clientupdateevent_t' (option LDAP enabled)
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Ryan Steinmetz <zi>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (zi)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2021-10-26 19:05:41 UTC
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_DHCLIENT_SCRIPT='"/usr/local/sbin/dhclient-script"' -D_PATH_DHCLIENT_CONF='"/usr/local/etc/dhclient.conf"' -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' [-Wunused-command-line-argument]
dns.c:364:2: error: unknown type name 'dns_clientupdateevent_t'; did you mean 'dns_clientupdatetrans_t'?
        dns_clientupdateevent_t *eventp;
        ^~~~~~~~~~~~~~~~~~~~~~~
        dns_clientupdatetrans_t
/usr/local/include/dns/types.h:50:23: note: 'dns_clientupdatetrans_t' declared here
typedef void                           dns_clientupdatetrans_t;



[...]
/usr/ports/net/isc-dhcp44-server # make showconfig
===> The following configuration options are available for isc-dhcp44-server-4.4.2P1_1:
     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