+ 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/pkg_select-20090308nb8/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pkg_select-20090308nb8/work.log
===> Building for pkg_select-20090308nb8
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DPKGTOOLS_PATH=\"/opt/pkg/sbin\" -I/opt/pkg/include/ncurses -g -I. -DPKGSRCBASE=\"/data/jenkins/workspace/pkgsrc-upstream-trunk\" -DPKGDB=\"/var/opt/pkg/.pkgdb\" -DMAKE=\"/opt/pkg/bin/bmake\" -DCONFPATH=\"/etc/opt/pkg/pkg_select.conf\" -DMIRRORS=\"/opt/pkg/share/pkg_select\" -DBGCOLOR=COLOR_BLUE -DFGCOLOR=COLOR_WHITE  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow  -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/pkgtools/pkg_select/work/libnbcompat -I/opt/pkg/include/ncurses -c main.c
In file included from pkg_select.h:44,
                 from main.c:47:
curses_helpers.h:45:13: error: conflicting types for 'exit_curses'; have 'void(void)'
   45 | extern void exit_curses(void);
      |             ^~~~~~~~~~~
In file included from pkg_select.h:38:
/home/pbulk/build/pkgtools/pkg_select/work/.buildlink/include/ncurses/curses.h:2123:42: note: previous declaration of 'exit_curses' with type 'void(int)'
 2123 | extern GCC_NORETURN NCURSES_EXPORT(void) exit_curses (int);
      |                                          ^~~~~~~~~~~
main.c: In function 'nodir_loop':
main.c:277:37: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  277 |         if (list != NULL && list[0] != '\0') {
      |                                     ^~
main.c:277:29: note: did you mean to dereference the pointer?
  277 |         if (list != NULL && list[0] != '\0') {
      |                             ^
*** [main.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/pkgtools/pkg_select/work/pkg_select-20090308
*** Error code 2

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

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