#219 Fails to build against BIND 9.18.11
Closed: fixed by abbra. Opened by mrduck42.

Problem

What does not work as expected?

Build against BIND 9.18.11

Is your problem related to a single DNS zone or a DNS record?

N/A

Steps to Reproduce

Build against BIND 9.18.11

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Werror -std=gnu99 -O2 -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fvisibility=hidden -fno-delete-null-pointer-checks -std=gnu11 -MT ldap_la-bindcfg.lo -MD -MP -MF .deps/ldap_la-bindcfg.Tpo -c bindcfg.c -fPIC -DPIC -o .libs/ldap_la-bindcfg.o fwd.c: In function 'fwd_print_list_buff': fwd.c:201:66: error: 'dns_forwarder_t' {aka 'struct dns_forwarder'} has no member named 'dscp' 201 | fwdr_cfg->obj->value.sockaddrdscp.dscp = fwdr_int->dscp; | ^~ fwd.c: In function 'fwd_parse_str': fwd.c:284:21: error: 'dns_forwarder_t' {aka 'struct dns_forwarder'} has no member named 'dscp' 284 | fwdr->dscp = cfg_obj_getdscp(fwdr_cfg); | ^~ fwd.c:284:30: error: implicit declaration of function 'cfg_obj_getdscp'; did you mean 'cfg_obj_attach'? [-Werror=implicit-function-declaration] 284 | fwdr->dscp = cfg_obj_getdscp(fwdr_cfg); | ^~~~~~~~~~~~~~~ | cfg_obj_attach cc1: all warnings being treated as errors mv -f .deps/ldap_la-bindcfg.Tpo .deps/ldap_la-bindcfg.Plo make[2]: *** [Makefile:560: ldap_la-fwd.lo] Error 1

Environment

  • Plugin version: 11.10 + 47902df (working for BIND 9.18.10)

Ref.: https://pagure.io/bind-dyndb-ldap/issue/216#comment-838085

  • Version of BIND: 9.18.11

  • Distribution and version (i.e. including updates): Manjaro

  • Architecture: aarch64

  • Do you use bind-dyndb-ldap as part of FreeIPA installation? If you answered no: Which LDAP server you use? Which version? N/A


Fixed with https://pagure.io/bind-dyndb-ldap/pull-request/218

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata