+ 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/xnp2-0.86nb17/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xnp2-0.86nb17/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xnp2-0.86nb17
/opt/pkg/bin/bmake  all-am
gcc -DHAVE_CONFIG_H -DSYSRESPATH=\""/opt/pkg/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/pkg/include/gtk-2.0 -I/opt/pkg/lib/gtk-2.0/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/fribidi -I/opt/pkg/include/cairo -I/opt/pkg/include/pixman-1 -D_REENTRANT -D_REENTRANT -D_REENTRANT -D_REENTRANT -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/atk-1.0 -D_REENTRANT -pthread -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -I/opt/pkg/include/SDL2 -D_REENTRANT  -I/opt/pkg/include/libusb-1.0 -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DX11_BUILD_ALL -I./../i386c  -DCPUCORE_IA32 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -DNDEBUG -fsigned-char -fno-strict-aliasing -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/SDL2 -I/opt/pkg/include/libdrm -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:136:14: error: expected identifier or '(' before 'const'
  136 | extern char *gettext (const char *__msgid)
      |              ^~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:156:14: error: expected identifier or '(' before 'const'
  156 | extern char *dgettext (const char *__domainname, const char *__msgid)
      |              ^~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:177:14: error: expected identifier or '(' before 'const'
  177 | extern char *dcgettext (const char *__domainname, const char *__msgid,
      |              ^~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:272:14: error: expected identifier or '(' before 'const'
  272 | extern char *textdomain (const char *__domainname)
      |              ^~~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:290:14: error: expected identifier or '(' before 'const'
  290 | extern char *bindtextdomain (const char *__domainname, const char *__dirname)
      |              ^~~~~~~~~~~~~~
/home/pbulk/build/emulators/xnp2/work/.buildlink/include/libintl.h:329:14: error: expected identifier or '(' before 'const'
  329 | 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-upstream-trunk/emulators/xnp2
*** Error code 1

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