+ 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/sfeed-2.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sfeed-2.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sfeed-2.0
gcc -o util.o -c util.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o xml.o -c xml.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o strlcat.o -c strlcat.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o strlcpy.o -c strlcpy.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o sfeed.o -c sfeed.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o sfeed_atom.o -c sfeed_atom.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
sfeed_atom.c: In function 'printfeed':
sfeed_atom.c:46:27: warning: implicit declaration of function 'getline' [-Wimplicit-function-declaration]
   46 |         while ((linelen = getline(&line, &linesize, fp)) > 0 &&
      |                           ^~~~~~~
gcc -o sfeed_curses.o -c sfeed_curses.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE  -DSFEED_THEME=\"themes/mono.h\"
sfeed_curses.c: In function 'resizewin':
sfeed_curses.c:512:24: error: storage size of 'winsz' isn't known
  512 |         struct winsize winsz;
      |                        ^~~~~
sfeed_curses.c:515:13: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  515 |         if (ioctl(1, TIOCGWINSZ, &winsz) != -1) {
      |             ^~~~~
sfeed_curses.c:515:22: error: 'TIOCGWINSZ' undeclared (first use in this function)
  515 |         if (ioctl(1, TIOCGWINSZ, &winsz) != -1) {
      |                      ^~~~~~~~~~
sfeed_curses.c:515:22: note: each undeclared identifier is reported only once for each function it appears in
sfeed_curses.c: In function 'feed_items_get':
sfeed_curses.c:1178:36: warning: implicit declaration of function 'getline'; did you mean 'getwin'? [-Wimplicit-function-declaration]
 1178 |                 if ((n = linelen = getline(&line, &linesize, fp)) > 0) {
      |                                    ^~~~~~~
      |                                    getwin
*** [sfeed_curses.o] Error code 1

bmake: stopped in /home/pbulk/build/news/sfeed/work/sfeed-2.0
1 error

bmake: stopped in /home/pbulk/build/news/sfeed/work/sfeed-2.0
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/news/sfeed
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/news/sfeed