+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nsd-4.9.1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nsd-4.9.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for nsd-4.9.1
--- answer.o ---
--- axfr.o ---
--- answer.o ---
cc -I/usr/pkg/include -I/usr/pkg/include -I. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -c ./answer.c
--- axfr.o ---
cc -I/usr/pkg/include -I/usr/pkg/include -I. -I/usr/pkg/include -pipe -O2 -I/usr/pkg/include -c ./axfr.c
--- answer.o ---
In file included from ./buffer.h:21,
                 from ./dname.h:16,
                 from ./namedb.h:15,
                 from ./answer.h:16,
                 from ./answer.c:14:
./util.h:106:49: error: unknown type name 'va_list'
  106 | void log_vmsg(int priority, const char *format, va_list args);
      |                                                 ^~~~~~~
./util.h:24:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
   23 | #  include <syslog.h>
  +++ |+#include <stdarg.h>
   24 | #else
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./query.h:17,
                 from ./answer.h:18,
                 from ./answer.c:14:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:956:47: error: unknown type name 'va_list'
  956 | int BIO_vprintf(BIO *bio, const char *format, va_list args)
      |                                               ^~~~~~~
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./query.h:17,
                 from ./answer.h:18,
                 from ./answer.c:14:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:32:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
   31 | # include <openssl/bioerr.h>
  +++ |+#include <stdarg.h>
   32 | # include <openssl/core.h>
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./query.h:17,
                 from ./answer.h:18,
                 from ./answer.c:14:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:960:60: error: unknown type name 'va_list'
  960 | int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
      |                                                            ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:960:60: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
--- axfr.o ---
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./axfr.h:13,
                 from ./axfr.c:12:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:956:47: error: unknown type name 'va_list'
  956 | int BIO_vprintf(BIO *bio, const char *format, va_list args)
      |                                               ^~~~~~~
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./axfr.h:13,
                 from ./axfr.c:12:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:32:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
   31 | # include <openssl/bioerr.h>
  +++ |+#include <stdarg.h>
   32 | # include <openssl/core.h>
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:30,
                 from ./nsd.h:23,
                 from ./axfr.h:13,
                 from ./axfr.c:12:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:960:60: error: unknown type name 'va_list'
  960 | int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
      |                                                            ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/bio.h:960:60: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/evp.h:28,
                 from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/x509.h:29,
                 from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:32,
                 from ./nsd.h:23,
                 from ./axfr.h:13,
                 from ./axfr.c:12:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:85:56: error: unknown type name 'va_list'
   85 |                      uint32_t reason, const char *fmt, va_list args))
      |                                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:1:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  +++ |+#include <stdarg.h>
    1 | /*
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_core_vset_error_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
--- answer.o ---
In file included from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/evp.h:28,
                 from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/x509.h:29,
                 from /home/pbulk/build/net/nsd/work/.buildlink/include/openssl/ssl.h:32,
                 from ./nsd.h:23,
                 from ./query.h:17,
                 from ./answer.h:18,
                 from ./answer.c:14:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:85:56: error: unknown type name 'va_list'
   85 |                      uint32_t reason, const char *fmt, va_list args))
      |                                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:1:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  +++ |+#include <stdarg.h>
    1 | /*
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_core_vset_error_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_core_vset_error':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_core_vset_error_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_core_vset_error'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: note: each undeclared identifier is reported only once for each function it appears in
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
--- axfr.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_core_vset_error':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_core_vset_error_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_core_vset_error'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: note: each undeclared identifier is reported only once for each function it appears in
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:83:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
   83 | OSSL_CORE_MAKE_FUNC(void,core_vset_error,
      | ^~~~~~~~~~~~~~~~~~~
--- answer.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: At top level:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:173:40: error: unknown type name 'va_list'
  173 |                                        va_list args))
      |                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:173:40: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  173 |                                        va_list args))
      |                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_BIO_vprintf_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
--- axfr.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: At top level:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:173:40: error: unknown type name 'va_list'
  173 |                                        va_list args))
      |                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:173:40: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  173 |                                        va_list args))
      |                                        ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_BIO_vprintf_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
--- answer.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_BIO_vprintf':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_BIO_vprintf_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_BIO_vprintf'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: At top level:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:175:59: error: unknown type name 'va_list'
  175 |                    (char *buf, size_t n, const char *fmt, va_list args))
      |                                                           ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:175:59: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  175 |                    (char *buf, size_t n, const char *fmt, va_list args))
      |                                                           ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_BIO_vsnprintf_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
--- axfr.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_BIO_vprintf':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_BIO_vprintf_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_BIO_vprintf'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:172:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  172 | OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: At top level:
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:175:59: error: unknown type name 'va_list'
  175 |                    (char *buf, size_t n, const char *fmt, va_list args))
      |                                                           ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:175:59: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
  175 |                    (char *buf, size_t n, const char *fmt, va_list args))
      |                                                           ^~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:48:41: note: in definition of macro 'OSSL_CORE_MAKE_FUNC'
   48 |     typedef type (OSSL_FUNC_##name##_fn)args;                           \
      |                                         ^~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:50:5: error: unknown type name 'OSSL_FUNC_BIO_vsnprintf_fn'
   50 |     OSSL_FUNC_##name##_fn *OSSL_FUNC_##name(const OSSL_DISPATCH *opf)   \
      |     ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
--- answer.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_BIO_vsnprintf':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_BIO_vsnprintf_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_BIO_vsnprintf'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
--- axfr.o ---
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h: In function 'OSSL_FUNC_BIO_vsnprintf':
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:17: error: 'OSSL_FUNC_BIO_vsnprintf_fn' undeclared (first use in this function); did you mean 'OSSL_FUNC_BIO_vsnprintf'?
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                 ^~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:52:40: error: expected expression before ')' token
   52 |         return (OSSL_FUNC_##name##_fn *)opf->function;                  \
      |                                        ^
/home/pbulk/build/net/nsd/work/.buildlink/include/openssl/core_dispatch.h:174:1: note: in expansion of macro 'OSSL_CORE_MAKE_FUNC'
  174 | OSSL_CORE_MAKE_FUNC(int, BIO_vsnprintf,
      | ^~~~~~~~~~~~~~~~~~~
--- answer.o ---
*** [answer.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/nsd/work/nsd-4.9.1
--- axfr.o ---
In file included from ./buffer.h:21,
                 from ./edns.h:13,
                 from ./nsd.h:27,
                 from ./axfr.h:13,
                 from ./axfr.c:12:
./util.h: At top level:
./util.h:106:49: error: unknown type name 'va_list'
  106 | void log_vmsg(int priority, const char *format, va_list args);
      |                                                 ^~~~~~~
./util.h:24:1: note: 'va_list' is defined in header '<stdarg.h>'; did you forget to '#include <stdarg.h>'?
   23 | #  include <syslog.h>
  +++ |+#include <stdarg.h>
   24 | #else
*** [axfr.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/nsd/work/nsd-4.9.1
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/net/nsd/work/nsd-4.9.1
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/nsd
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/nsd