+ 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/jimtcl-0.83/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jimtcl-0.83/work.log
===> Building for jimtcl-0.83
--- _load-static-exts.c ---
--- jim-subcmd.o ---
--- jim-interactive.o ---
--- jim-format.o ---
--- _load-static-exts.c ---
/home/pbulk/build/lang/jimtcl/work/jimtcl-0.83/jimsh0 ./make-load-static-exts.tcl aio array clock eventloop exec file history interp json load namespace pack package posix readdir regexp signal syslog tclprefix zlib binary ensemble glob jsonencode nshelper oo stdlib tclcompat tree >_load-static-exts.c || ( rm _load-static-exts.c; exit 1)
--- jim-subcmd.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jim-subcmd.c -o jim-subcmd.o
--- jim.o ---
--- jim-format.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jim-format.c -o jim-format.o
--- jim-interactive.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jim-interactive.c -o jim-interactive.o
--- jim.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jim.c -o jim.o
--- _unicode_mapping.c ---
--- jimregexp.o ---
--- _unicode_mapping.c ---
/home/pbulk/build/lang/jimtcl/work/jimtcl-0.83/jimsh0 ./parse-unidata.tcl -width ./UnicodeData.txt ./EastAsianWidth.txt >_unicode_mapping.c || ( rm _unicode_mapping.c; exit 1)
--- jimregexp.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jimregexp.c -o jimregexp.o
--- jimiocompat.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jimiocompat.c -o jimiocompat.o
--- linenoise.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c linenoise.c -o linenoise.o
--- jim-tty.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c jim-tty.c -o jim-tty.o
jim-tty.c: In function 'Jim_GetTtyControlSettings':
jim-tty.c:372:9: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  372 |     if (ioctl(fd, TIOCMGET, &status) < 0) {
      |         ^~~~~
--- openpty.o ---
gcc -fPIC -I. -fno-unwind-tables -fno-asynchronous-unwind-tables -DUSE_UTF8 -DHAVE_OPENPTY -O2 -Wall -D_GNU_SOURCE -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include  -c openpty.c -o openpty.o
openpty.c: In function 'openpty':
openpty.c:38:9: error: unknown type name 'sig_t'
   38 |         sig_t old_signal;
      |         ^~~~~
openpty.c:43:20: warning: assignment to 'int' from 'void (*)(int)' makes integer from pointer without a cast [-Wint-conversion]
   43 |         old_signal = signal(SIGCHLD, SIG_DFL);
      |                    ^
openpty.c:64:25: warning: passing argument 2 of 'signal' makes pointer from integer without a cast [-Wint-conversion]
   64 |         signal(SIGCHLD, old_signal);
      |                         ^~~~~~~~~~
      |                         |
      |                         int
In file included from /usr/include/signal.h:42,
                 from openpty.c:31:
/usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'int'
   63 | extern void (*signal(int, void (*)(int)))(int);
      |                           ^~~~~~~~~~~~~
*** [openpty.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/lang/jimtcl/work/jimtcl-0.83
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/lang/jimtcl/work/jimtcl-0.83
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/jimtcl
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/jimtcl