+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/milter-greylist-4.6.4nb9/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/milter-greylist-4.6.4nb9/work.log
===> Building for milter-greylist-4.6.4nb9
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c milter-greylist.c
In function 'strip_brackets',
    inlined from 'site_only' at milter-greylist.c:2765:9,
    inlined from 'fstring_expand' at milter-greylist.c:2967:5:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'site_only' at milter-greylist.c:2765:9,
    inlined from 'fstring_expand' at milter-greylist.c:2960:6:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'domain_only' at milter-greylist.c:2797:9,
    inlined from 'fstring_expand' at milter-greylist.c:2974:5:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'fstring_expand' at milter-greylist.c:2917:5:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'mbox_only' at milter-greylist.c:2749:9,
    inlined from 'fstring_expand' at milter-greylist.c:2935:5:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'mbox_only' at milter-greylist.c:2749:9,
    inlined from 'fstring_expand' at milter-greylist.c:2928:6:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'machine_only' at milter-greylist.c:2781:9,
    inlined from 'fstring_expand' at milter-greylist.c:2942:5:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
In function 'strip_brackets',
    inlined from 'fstring_expand' at milter-greylist.c:2911:4:
milter-greylist.c:2725:15: warning: 'strncpy' output may be truncated copying 324 bytes from a string of length 324 [-Wstringop-truncation]
 2725 |         (void)strncpy(out, in, len);
      |               ^~~~~~~~~~~~~~~~~~~~~
milter-greylist.c: In function 'fstring_expand':
milter-greylist.c:3387:65: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 671 and 995 [-Wformat-truncation=]
 3387 |                                  "milter-greylist-%s (%s [%s]); %s %s (%s)",
      |                                                                 ^~
 3388 |                                  PACKAGE_VERSION, fqdn, local_ipstr(priv),
 3389 |                                  timestr, tzstr, tznamestr);
      |                                  ~~~~~~~                         
milter-greylist.c:3386:25: note: 'snprintf' output 34 or more bytes (assuming 3430) into a destination of size 1024
 3386 |                         snprintf(output, HDRLEN,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~
 3387 |                                  "milter-greylist-%s (%s [%s]); %s %s (%s)",
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3388 |                                  PACKAGE_VERSION, fqdn, local_ipstr(priv),
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 3389 |                                  timestr, tzstr, tznamestr);
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c pending.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c sync.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c dnsrbl.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c list.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c macro.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c conf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c store.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c dump.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c spf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c acl.c
acl.c: In function 'acl_filter':
acl.c:2551:39: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=]
 2551 |                              "address %s is whitelisted", addrstr);
      |                                       ^~                  ~~~~~~~
acl.c:2550:25: note: 'snprintf' output between 24 and 1048 bytes into a destination of size 1024
 2550 |                         snprintf(tmpstr, sizeof(tmpstr),
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2551 |                              "address %s is whitelisted", addrstr);
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acl.c:2557:38: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=]
 2557 |                             "address %s is%s in DNSRBL", addrstr,
      |                                      ^~                  ~~~~~~~
acl.c:2556:25: note: 'snprintf' output between 22 and 1050 bytes into a destination of size 1024
 2556 |                         snprintf(tmpstr, sizeof(tmpstr),
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2557 |                             "address %s is%s in DNSRBL", addrstr,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2558 |                             (noretval & EXF_DNSRBL) ? notstr : vstr);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acl.c:2564:38: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size 1016 [-Wformat-truncation=]
 2564 |                             "address %s %s MX record", addrstr,
      |                                      ^~                ~~~~~~~
acl.c:2563:25: note: 'snprintf' output between 27 and 1058 bytes into a destination of size 1024
 2563 |                         snprintf(tmpstr, sizeof(tmpstr),
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2564 |                             "address %s %s MX record", addrstr,
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2565 |                             (noretval & EXF_MX) ? "does not match" : "matches");
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acl.c:2638:49: warning: '%s' directive output may be truncated writing up to 1024 bytes into a region of size between 31 and 1003 [-Wformat-truncation=]
 2638 |                     "(from=%s, rcpt=%s, addr=%s[%s]) ACL %s", from,
      |                                                 ^~
 2639 |                     (cur_rcpt[0] != '\0') ? cur_rcpt : "(nil)",
 2640 |                     hostname, addrstr, aclstr);
      |                               ~~~~~~~            
acl.c:2637:17: note: 'snprintf' output 29 or more bytes (assuming 2025) into a destination of size 1024
 2637 |                 snprintf(tmpstr, sizeof(tmpstr),
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2638 |                     "(from=%s, rcpt=%s, addr=%s[%s]) ACL %s", from,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2639 |                     (cur_rcpt[0] != '\0') ? cur_rcpt : "(nil)",
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 2640 |                     hostname, addrstr, aclstr);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c urlcheck.c
urlcheck.c: In function 'curl_post':
urlcheck.c:403:25: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  403 |                         strncpy(buffer, pd->pd_curptr, len);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
urlcheck.c:383:23: note: length computed here
  383 |                 len = strlen(pd->pd_curptr);
      |                       ^~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c stat.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c clock.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c geoip.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c fd_pool.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c prop.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -Wall -I/opt/local/include -DUSE_LDAP -DLDAP_DEPRECATED -I/opt/local/include -DUSE_CURL -I/opt/local/include -DUSE_P0F -DUSE_SPAMD -DHAVE_DATA_CALLBACK -DUSE_DNSRBL -DUSE_POSTFIX -DCONFFILE=\"/opt/local/etc/greylist.conf\" -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -DYY_NO_INPUT -I. -I. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -c ldapcheck.c
ldapcheck.c: In function 'ldapcheck_clear':
ldapcheck.c:634:75: error: macro "SIMPLEQ_NEXT" requires 2 arguments, but only 1 given
  634 |                 SIMPLEQ_REMOVE(&ldapconf_list, lc, ldapconf_entry, lc_list);
      |                                                                           ^
In file included from conf.h:39,
                 from ldapcheck.c:56:
/usr/include/sys/queue.h:598: note: macro "SIMPLEQ_NEXT" defined here
  598 | #define SIMPLEQ_NEXT(elm, field)        ((elm)->field.sqe_next)
      | 
ldapcheck.c:634:17: error: 'SIMPLEQ_NEXT' undeclared (first use in this function)
  634 |                 SIMPLEQ_REMOVE(&ldapconf_list, lc, ldapconf_entry, lc_list);
      |                 ^~~~~~~~~~~~~~
ldapcheck.c:634:17: note: each undeclared identifier is reported only once for each function it appears in
*** Error code 1

Stop.
bmake: stopped making "milter-greylist" in /home/pbulk/build/mail/milter-greylist/work/milter-greylist-4.6.4
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/milter-greylist
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/milter-greylist