+ 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/sayaka-3.8.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sayaka-3.8.1/work.log
===> Building for sayaka-3.8.1
--- sayaka ---
(cd src; /opt/local/bin/bmake sayaka)
--- diag.o ---
--- httpclient.o ---
--- image_blurhash.o ---
--- diag.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c diag.c -o diag.o
--- httpclient.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c httpclient.c -o httpclient.o
--- image_blurhash.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c image_blurhash.c -o image_blurhash.o
--- httpclient.o ---
httpclient.c: In function 'httpclient_fopen':
httpclient.c:370:22: warning: implicit declaration of function 'funopen'; did you mean 'fdopen'? [-Wimplicit-function-declaration]
  370 |                 fp = funopen(http, http_chunk_read_cb, NULL, NULL, NULL);
      |                      ^~~~~~~
      |                      fdopen
httpclient.c:370:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  370 |                 fp = funopen(http, http_chunk_read_cb, NULL, NULL, NULL);
      |                    ^
httpclient.c:377:20: warning: assignment to 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  377 |                 fp = funopen(http->net, http_net_read_cb, NULL, NULL, NULL);
      |                    ^
--- image_sixel.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c image_sixel.c -o image_sixel.o
--- image_stb.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c image_stb.c -o image_stb.o
--- image_webp.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c image_webp.c -o image_webp.o
image_webp.c: In function 'image_webp_match':
image_webp.c:67:13: warning: implicit declaration of function 'be32toh' [-Wimplicit-function-declaration]
   67 |         if (be32toh(buf[0]) != (('R' << 24) | ('I' << 16) | ('F' << 8) | 'F')) {
      |             ^~~~~~~
--- net.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c net.c -o net.o
--- pstream.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c pstream.c -o pstream.o
pstream.c: In function 'pstream_open_for_peek':
pstream.c:146:20: warning: implicit declaration of function 'funopen'; did you mean 'fdopen'? [-Wimplicit-function-declaration]
  146 |         FILE *fp = funopen(ps,
      |                    ^~~~~~~
      |                    fdopen
pstream.c:146:20: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
pstream.c: In function 'pstream_open_for_read':
pstream.c:161:20: warning: initialization of 'FILE *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  161 |         FILE *fp = funopen(ps,
      |                    ^~~~~~~
--- string.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c string.c -o string.o
--- util.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c util.c -o util.o
--- eaw_data.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c eaw_data.c -o eaw_data.o
--- json.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c json.c -o json.o
--- mathalpha.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c mathalpha.c -o mathalpha.o
--- misskey.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c misskey.c -o misskey.o
--- print.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c print.c -o print.o
--- subr.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c subr.c -o subr.o
--- terminal.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c terminal.c -o terminal.o
--- ustring.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c ustring.c -o ustring.o
--- wsclient.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c wsclient.c -o wsclient.o
--- image.o.sayaka.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c image.c -o image.o.sayaka.o
--- sayaka.o ---
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -I/opt/local/include/webp -DLIBICONV_PLUG -I..   -c sayaka.c -o sayaka.o
sayaka.c: In function 'sigwinch':
sayaka.c:857:24: error: storage size of 'ws' isn't known
  857 |         struct winsize ws;
      |                        ^~
sayaka.c:871:42: error: 'TIOCGWINSZ' undeclared (first use in this function)
  871 |                 r = ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws);
      |                                          ^~~~~~~~~~
sayaka.c:871:42: note: each undeclared identifier is reported only once for each function it appears in
*** [sayaka.o] Error code 1

bmake[1]: stopped making "sayaka" in /home/pbulk/build/net/sayaka/work/sayaka-3.8.1/src
bmake[1]: 1 error

bmake[1]: stopped making "sayaka" in /home/pbulk/build/net/sayaka/work/sayaka-3.8.1/src
*** [sayaka] Error code 2

bmake: stopped making "sayaka" in /home/pbulk/build/net/sayaka/work/sayaka-3.8.1
bmake: 1 error

bmake: stopped making "sayaka" in /home/pbulk/build/net/sayaka/work/sayaka-3.8.1
*** Error code 2

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

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