+ 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/sslh-1.22c/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sslh-1.22c/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sslh-1.22c
Makefile:68: warning: ignoring prerequisites on suffix rule definition
./genver.sh >version.h
cc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -c sslh-conf.c
sslh-conf.c: In function 'myconfig_setting_lookup_stringcpy':
sslh-conf.c:229:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  229 |         asprintf(value, "%s", str);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'c2s_parse_file':
sslh-conf.c:1807:12: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1807 |            asprintf(errmsg, "%s:%d:%s",
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1808 |                     filename,
      |                     ~~~~~~~~~
 1809 |                     config_error_line(c),
      |                     ~~~~~~~~~~~~~~~~~~~~~
 1810 |                     config_error_text(c));
      |                     ~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1813:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1813 |         asprintf(errmsg, "%s:%s", filename, config_error_text(c));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'read_block':
sslh-conf.c:1518:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1518 |             asprintf(errmsg, "Mandatory option \"%s\" not found", desc->name);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'read_block_setval':
sslh-conf.c:1461:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1461 |                 asprintf(errmsg, "Option \"%s\" wrong type, expected %s\n",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1462 |                     desc->name, type2str[desc->type]);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'settingcpy':
sslh-conf.c:313:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  313 |         asprintf(&str, "%s", config_setting_get_string(setting));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'clcpy':
sslh-conf.c:356:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
  356 |         asprintf(&str, "%s", (*(struct arg_str**)cl_arg)->sval[0]);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'regcompmatch_posix':
sslh-conf.c:1676:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1676 |         asprintf(errmsg, "compiling pattern /%s/:%s", arg->regex, regerr);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1682:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1682 |         asprintf(errmsg, "--%s %s: Illegal argument",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1683 |         arg_cl->hdr.longopts,
      |         ~~~~~~~~~~~~~~~~~~~~~
 1684 |         arg->regex);
      |         ~~~~~~~~~~~
sslh-conf.c: In function 'cfg_as_string':
sslh-conf.c:1868:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1868 |             asprintf(&subpath, "%s[%d]%s", path, config_setting_index(child), name);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1870:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1870 |             asprintf(&subpath, "%s/%s", path, name);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1878:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1878 |                 asprintf(&old, "%s", *strp);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1881:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1881 |                 asprintf(&old, "%s", "");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1883:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1883 |             asprintf(strp, "%s%s:%s", old, subpath, value);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c: In function 'scalar_to_string':
sslh-conf.c:1824:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1824 |         asprintf(strp, "%d\n", config_setting_get_int(s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1828:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1828 |         asprintf(strp, "%s\n", config_setting_get_bool(s) ?  "[true]" : "[false]" );
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1832:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1832 |         asprintf(strp, "%lld\n", config_setting_get_int64(s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1836:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1836 |         asprintf(strp, "%lf\n", config_setting_get_float(s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sslh-conf.c:1840:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result]
 1840 |         asprintf(strp, "%s\n", config_setting_get_string(s));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -c common.c
common.c: In function 'check_access_rights':
common.c:725:10: warning: implicit declaration of function 'hosts_ctl' [-Wimplicit-function-declaration]
  725 |     if (!hosts_ctl(service, host, addr_str, STRING_UNKNOWN)) {
      |          ^~~~~~~~~
cc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -c sslh-main.c
cc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -c probe.c
cc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -DLIBWRAP -DENABLE_REGEX -DLIBCONFIG -c tls.c
In file included from tls.h:29,
                 from tls.c:34:
common.h:135:25: error: 'NI_MAXHOST' undeclared here (not in a function)
  135 | #define MAX_NAMELENGTH (NI_MAXHOST + NI_MAXSERV + 1)
      |                         ^~~~~~~~~~
common.h:137:15: note: in expansion of macro 'MAX_NAMELENGTH'
  137 |     char peer[MAX_NAMELENGTH], service[MAX_NAMELENGTH],
      |               ^~~~~~~~~~~~~~
common.h:135:38: error: 'NI_MAXSERV' undeclared here (not in a function)
  135 | #define MAX_NAMELENGTH (NI_MAXHOST + NI_MAXSERV + 1)
      |                                      ^~~~~~~~~~
common.h:137:15: note: in expansion of macro 'MAX_NAMELENGTH'
  137 |     char peer[MAX_NAMELENGTH], service[MAX_NAMELENGTH],
      |               ^~~~~~~~~~~~~~
common.h:152:49: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
  152 | char* sprintaddr(char* buf, size_t size, struct addrinfo *a);
      |                                                 ^~~~~~~~
common.h:153:26: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
  153 | void resolve_name(struct addrinfo **out, char* fullname);
      |                          ^~~~~~~~
common.h:165:31: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
  165 | int resolve_split_name(struct addrinfo **out, char* hostname, char* port);
      |                               ^~~~~~~~
make: *** [Makefile:68: tls.o] Error 1
*** Error code 2

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

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