+ 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-1.5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sfeed-1.5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for sfeed-1.5
gcc -o util.o -c util.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o xml.o -c xml.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o strlcat.o -c strlcat.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o strlcpy.o -c strlcpy.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
gcc -o sfeed.o -c sfeed.c -pipe -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -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:20: 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 -fno-aggressive-loop-optimizations -pipe -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE  -DSFEED_THEME=\"themes/mono.h\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE
sfeed_curses.c: In function 'resizewin':
sfeed_curses.c:513:17: error: storage size of 'winsz' isn't known
  513 |  struct winsize winsz;
      |                 ^~~~~
sfeed_curses.c:516:6: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
  516 |  if (ioctl(1, TIOCGWINSZ, &winsz) != -1) {
      |      ^~~~~
sfeed_curses.c:516:15: error: 'TIOCGWINSZ' undeclared (first use in this function)
  516 |  if (ioctl(1, TIOCGWINSZ, &winsz) != -1) {
      |               ^~~~~~~~~~
sfeed_curses.c:516:15: 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:1179:22: warning: implicit declaration of function 'getline'; did you mean 'getwin'? [-Wimplicit-function-declaration]
 1179 |   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-1.5
1 error

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

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

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