+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ipmitool-1.8.18nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ipmitool-1.8.18nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ipmitool-1.8.18nb4
/opt/pkg/bin/bmake  all-recursive
Making all in lib
depbase=`echo helper.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /usr/bin/bash ../libtool --silent  --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H  -I. -I..  -I../include -I/opt/pkg/include -I/opt/pkg/include/ncurses   -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/ncurses -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT helper.lo -MD -MP -MF $depbase.Tpo -c -o helper.lo helper.c && mv -f $depbase.Tpo $depbase.Plo
helper.c: In function 'str2int':
helper.c:421:17: error: 'INT32_MIN' undeclared (first use in this function); did you mean 'INT32_MAX'?
  421 |  if (arg_long < INT32_MIN || arg_long > INT32_MAX)
      |                 ^~~~~~~~~
      |                 INT32_MAX
helper.c:421:17: note: each undeclared identifier is reported only once for each function it appears in
helper.c: In function 'str2short':
helper.c:475:17: error: 'INT16_MIN' undeclared (first use in this function); did you mean 'INT16_MAX'?
  475 |  if (arg_long < INT16_MIN || arg_long > INT16_MAX)
      |                 ^~~~~~~~~
      |                 INT16_MAX
helper.c: In function 'str2char':
helper.c:528:17: error: 'INT8_MIN' undeclared (first use in this function); did you mean 'INT8_MAX'?
  528 |  if (arg_long < INT8_MIN || arg_long > INT8_MAX) {
      |                 ^~~~~~~~
      |                 INT8_MAX
helper.c: In function 'str2val':
helper.c:567:7: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration]
  567 |   if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0)
      |       ^~~~~~~~~~~
In file included from ../include/ipmitool/ipmi.h:41,
                 from helper.c:66:
../include/ipmitool/helper.h:128:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic]
  128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;})
      |                         ^
helper.c:567:35: note: in expansion of macro '__maxlen'
  567 |   if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0)
      |                                   ^~~~~~~~
../include/ipmitool/helper.h:128:26: warning: 'strncasecmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch]
  128 | # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;})
      |                         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
helper.c:567:35: note: in expansion of macro '__maxlen'
  567 |   if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0)
      |                                   ^~~~~~~~
<built-in>: note: built-in 'strncasecmp' declared here
helper.c: In function 'ipmi_open_file':
helper.c:700:6: warning: implicit declaration of function 'lstat'; did you mean 'stat'? [-Wimplicit-function-declaration]
  700 |  if (lstat(file, &st1) < 0) {
      |      ^~~~~
      |      stat
*** [helper.lo] Error code 1

bmake[2]: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18/lib
1 error

bmake[2]: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18/lib
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18
1 error

bmake[1]: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18
1 error

bmake: stopped in /home/pbulk/build/sysutils/ipmitool/work/ipmitool-1.8.18
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/ipmitool
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/ipmitool