Bug 259464 - net/isc-dhcp44-server: error: unknown type name 'dns_clientupdateevent_t' (option LDAP enabled)
Summary: net/isc-dhcp44-server: error: unknown type name 'dns_clientupdateevent_t' (op...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-26 19:05 UTC by O. Hartmann
Modified: 2021-10-26 19:05 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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