+ 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/fmsx-5.4nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fmsx-5.4nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for fmsx-5.4nb10
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/EMULib.o ../../EMULib/EMULib.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Sound.o ../../EMULib/Sound.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Image.o ../../EMULib/Image.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Console.o ../../EMULib/Console.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Record.o ../../EMULib/Record.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/NetPlay.o ../../EMULib/NetPlay.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Touch.o ../../EMULib/Touch.c
In file included from ../../EMULib/TouchMux.h:38,
                 from ../../EMULib/Touch.c:490:
../../EMULib/Touch.c: In function 'RenderVideo_8':
../../EMULib/Touch.c:1017:16: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |                ^~
../../EMULib/Touch.c:1017:15: note: directive argument in the range [1, 2147483647]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |               ^~~~~~~
../../EMULib/Touch.c:1017:5: note: 'sprintf' output between 5 and 14 bytes into a destination of size 8
 1017 |     sprintf(S,"%dfps",FrameRate);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../EMULib/TouchMux.h:70:
../../EMULib/Touch.c: In function 'RenderVideo_16':
../../EMULib/Touch.c:1017:16: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |                ^~
../../EMULib/Touch.c:1017:15: note: directive argument in the range [1, 2147483647]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |               ^~~~~~~
../../EMULib/Touch.c:1017:5: note: 'sprintf' output between 5 and 14 bytes into a destination of size 8
 1017 |     sprintf(S,"%dfps",FrameRate);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../EMULib/TouchMux.h:100:
../../EMULib/Touch.c: In function 'RenderVideo_32':
../../EMULib/Touch.c:1017:16: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |                ^~
../../EMULib/Touch.c:1017:15: note: directive argument in the range [1, 2147483647]
 1017 |     sprintf(S,"%dfps",FrameRate);
      |               ^~~~~~~
../../EMULib/Touch.c:1017:5: note: 'sprintf' output between 5 and 14 bytes into a destination of size 8
 1017 |     sprintf(S,"%dfps",FrameRate);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Unix/LibUnix.o ../../EMULib/Unix/LibUnix.c
../../EMULib/Unix/LibUnix.c: In function 'ShowVideo':
../../EMULib/Unix/LibUnix.c:250:16: warning: '%d' directive writing between 1 and 10 bytes into a region of size 8 [-Wformat-overflow=]
  250 |     sprintf(S,"%dfps",FrameRate);
      |                ^~
../../EMULib/Unix/LibUnix.c:250:15: note: directive argument in the range [1, 2147483647]
  250 |     sprintf(S,"%dfps",FrameRate);
      |               ^~~~~~~
../../EMULib/Unix/LibUnix.c:250:5: note: 'sprintf' output between 5 and 14 bytes into a destination of size 8
  250 |     sprintf(S,"%dfps",FrameRate);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Unix/SndUnix.o ../../EMULib/Unix/SndUnix.c
gcc -O2  -pthread  -I. -I.. -I../../EMULib -I../../EMULib/Unix -I/opt/pkg/include -Wall -I../../Z80 -DZLIB -DUNIX -DMITSHM -DBPS16 -DPULSE_AUDIO -DFMSX -DCONDEBUG -DDEBUG -DLSB_FIRST -DSUN_AUDIO -c -o ../../EMULib/Unix/NetUnix.o ../../EMULib/Unix/NetUnix.c
../../EMULib/Unix/NetUnix.c: In function 'ThrHandler':
../../EMULib/Unix/NetUnix.c:53:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   53 |   unsigned int Port = (unsigned int)Args[1];
      |                       ^
../../EMULib/Unix/NetUnix.c: In function 'NETConnectAsync':
../../EMULib/Unix/NetUnix.c:112:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  112 |   Args[1] = (void *)(unsigned int)Port;
      |             ^
../../EMULib/Unix/NetUnix.c: In function 'UDPConnect':
../../EMULib/Unix/NetUnix.c:181:20: error: 'FIONBIO' undeclared (first use in this function)
  181 |   if(ioctl(SSocket,FIONBIO,&J)<0) { close(SSocket);return(NET_OFF); }
      |                    ^~~~~~~
../../EMULib/Unix/NetUnix.c:181:20: note: each undeclared identifier is reported only once for each function it appears in
../../EMULib/Unix/NetUnix.c: In function 'NETConnect':
../../EMULib/Unix/NetUnix.c:244:24: error: 'FIONBIO' undeclared (first use in this function)
  244 |       if(ioctl(SSocket,FIONBIO,&J)<0)
      |                        ^~~~~~~
../../EMULib/Unix/NetUnix.c: In function 'NETBlock':
../../EMULib/Unix/NetUnix.c:390:34: error: 'FIONBIO' undeclared (first use in this function)
  390 |     if((Socket<0)||(ioctl(Socket,FIONBIO,&J)>=0)) Blocking=Switch;
      |                                  ^~~~~~~
gmake: *** [../../EMULib/Rules.gcc:108: ../../EMULib/Unix/NetUnix.o] Error 1
*** Error code 2

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

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