+ 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/xnp2-0.86nb25/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xnp2-0.86nb25/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xnp2-0.86nb25
/opt/local/bin/bmake  all-am
gcc -DHAVE_CONFIG_H -DSYSRESPATH=\""/opt/local/share/xnp2"\" -I.  -I./.. -I./../x11  -I./../x11/gtk2 -I./../x11/debug  -I./../common -I./../cbus  -I./../generic -I./../io  -I./../mem -I./../sound  -I./../vram -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include -pthread -I/opt/local/include/fribidi -I/opt/local/include/cairo -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/local/include/pixman-1 -I/opt/local/include/harfbuzz -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/SDL2 -D_REENTRANT  -I/opt/local/include/libusb-1.0 -I/opt/local/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/local/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DX11_BUILD_ALL -I./../i386c  -DCPUCORE_IA32 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/opt/local/include/ncurses -DNDEBUG -fsigned-char -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -I/opt/local/include/freetype2 -I/opt/local/include/harfbuzz -I/opt/local/include/SDL2 -I/opt/local/include/libdrm -I/opt/local/include/ncurses -D_REENTRANT  -pthread -c -o ./../x11/xnp21-main.o `test -f './../x11/main.c' || echo './'`./../x11/main.c
In file included from ./../x11/main.c:26:
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:171:14: error: expected identifier or '(' before 'const'
  171 | extern char *gettext (const char *__msgid)
      |              ^~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:191:14: error: expected identifier or '(' before 'const'
  191 | extern char *dgettext (const char *__domainname, const char *__msgid)
      |              ^~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:212:14: error: expected identifier or '(' before 'const'
  212 | extern char *dcgettext (const char *__domainname, const char *__msgid,
      |              ^~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:307:14: error: expected identifier or '(' before 'const'
  307 | extern char *textdomain (const char *__domainname)
      |              ^~~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:325:14: error: expected identifier or '(' before 'const'
  325 | extern char *bindtextdomain (const char *__domainname, const char *__dirname)
      |              ^~~~~~~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:364:14: error: expected identifier or '(' before 'const'
  364 | extern char *bind_textdomain_codeset (const char *__domainname,
      |              ^~~~~~~~~~~~~~~~~~~~~~~
*** [./../x11/xnp21-main.o] Error code 1

bmake[1]: stopped in /home/pbulk/build/emulators/xnp2/work/xnp2-0.86/x11
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/xnp2/work/xnp2-0.86/x11
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/xnp2/work/xnp2-0.86/x11
1 error

bmake: stopped in /home/pbulk/build/emulators/xnp2/work/xnp2-0.86/x11
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/xnp2
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/xnp2