+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-cap32-20200508/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-cap32-20200508/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for libretro-cap32-20200508
cc -c -o libretro/libretro-core.o libretro/libretro-core.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o libretro/nukleargui/retro/SDL_gfxPrimitives.o libretro/nukleargui/retro/SDL_gfxPrimitives.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
libretro/libretro-core.c: In function 'pre_main':
libretro/libretro-core.c:218:14: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
          if(!strcasecmp(&RPATH[strlen(RPATH)-strlen("crt")], "crt"))
              ^~~~~~~~~~
              strncmp
libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_aalineColor':
libretro/nukleargui/retro/SDL_gfxPrimitives.c:2858:25: warning: variable 'wgtcompmask' set but not used [-Wunused-but-set-variable]
  Uint32 erracctmp, wgt, wgtcompmask;
                         ^~~~~~~~~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function 'arcColor':
libretro/nukleargui/retro/SDL_gfxPrimitives.c:3451:2: warning: multi-line comment [-Wcomment]
  //     /|\
  ^
libretro/nukleargui/retro/SDL_gfxPrimitives.c:3453:2: warning: multi-line comment [-Wcomment]
  //   /  |  \
  ^
libretro/libretro-core.c: In function 'computer_load_bios':
libretro/libretro-core.c:768:21: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
             sprintf(RPATH,"%s",RPATH);
                     ^~~~~      ~~~~~
In file included from libretro/nukleargui/retro/SDL_gfxPrimitives.h:42,
                 from libretro/nukleargui/retro/SDL_gfxPrimitives.c:38:
libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_murphyParaline':
libretro/libretro-core.c: In function 'computer_load_file':
libretro/libretro-core.c:813:18: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
          sprintf(RPATH,"%s%d.SNA",RPATH,0);
                  ^~~~~            ~~~~~
libretro/nukleargui/retro/RSDL_wrapper.h:148:29: warning: statement with no effect [-Wunused-value]
 #define RSDL_LockSurface(a) 0
                             ^
libretro/nukleargui/retro/SDL_gfxPrimitives.c:6704:3: note: in expansion of macro 'RSDL_LockSurface'
   RSDL_LockSurface(m->dst);
   ^~~~~~~~~~~~~~~~
libretro/libretro-core.c:834:18: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
          sprintf(RPATH,"%s%d.SNA",RPATH,0);
                  ^~~~~            ~~~~~
libretro/libretro-core.c:852:18: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
          sprintf(RPATH,"%s%d.SNA",RPATH,0);
                  ^~~~~            ~~~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_murphyIteration':
libretro/nukleargui/retro/RSDL_wrapper.h:148:29: warning: statement with no effect [-Wunused-value]
 #define RSDL_LockSurface(a) 0
                             ^
libretro/nukleargui/retro/SDL_gfxPrimitives.c:6822:5: note: in expansion of macro 'RSDL_LockSurface'
     RSDL_LockSurface(m->dst);
     ^~~~~~~~~~~~~~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_murphyWideline':
libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:25: warning: variable 'ptxy' set but not used [-Wunused-but-set-variable]
  Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by;
                         ^~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:19: warning: variable 'ptxx' set but not used [-Wunused-but-set-variable]
  Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by;
                   ^~~~
libretro/libretro-core.c:834:29: warning: '.SNA' directive writing 4 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
          sprintf(RPATH,"%s%d.SNA",RPATH,0);
                             ^~~~
In file included from /usr/include/stdio.h:873,
                 from libretro/libretro-core.h:8,
                 from libretro/libretro-core.c:2:
/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __glibc_objsize (__s), __fmt,
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~
libretro/libretro-core.c:813:29: warning: '.SNA' directive writing 4 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
          sprintf(RPATH,"%s%d.SNA",RPATH,0);
                             ^~~~
In file included from /usr/include/stdio.h:873,
                 from libretro/libretro-core.h:8,
                 from libretro/libretro-core.c:2:
/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __glibc_objsize (__s), __fmt,
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~
libretro/libretro-core.c: In function 'retro_init':
libretro/libretro-core.c:916:46: warning: 'data' directive writing 4 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
    sprintf(retro_system_data_directory, "%s%cdata",RETRO_DIR, slash); // TODO: unused ?
                                              ^~~~
In file included from /usr/include/stdio.h:873,
                 from libretro/libretro-core.h:8,
                 from libretro/libretro-core.c:2:
/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512
   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __glibc_objsize (__s), __fmt,
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __va_arg_pack ());
       ~~~~~~~~~~~~~~~~~
cc -c -o libretro/nukleargui/retro/retro_surface.o libretro/nukleargui/retro/retro_surface.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
libretro/nukleargui/retro/retro_surface.c: In function 'Retro_Draw_string':
libretro/nukleargui/retro/retro_surface.c:375:10: warning: unused variable 'k' [-Wunused-variable]
      int k,strlen;
          ^
libretro/nukleargui/retro/retro_surface.c: In function 'Retro_Draw_char':
libretro/nukleargui/retro/retro_surface.c:517: warning: "charWidthLocal" redefined
  #define charWidthLocal 7*xscale
 
libretro/nukleargui/retro/retro_surface.c:402: note: this is the location of the previous definition
 #define charWidthLocal 8
 
libretro/nukleargui/retro/retro_surface.c:518: warning: "charHeightLocal" redefined
  #define charHeightLocal 8*yscale
 
libretro/nukleargui/retro/retro_surface.c:403: note: this is the location of the previous definition
 #define charHeightLocal 8
 
libretro/nukleargui/retro/retro_surface.c:490:10: warning: unused variable 'col' [-Wunused-variable]
      int col, bit;
          ^~~
libretro/nukleargui/retro/retro_surface.c:487:10: warning: unused variable 'k' [-Wunused-variable]
      int k,strlen;
          ^
libretro/nukleargui/retro/retro_surface.c: In function 'print':
libretro/nukleargui/retro/retro_surface.c:624:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
    unsigned char *chr = font35[c];
                         ^~~~~~
libretro/nukleargui/retro/retro_surface.c:615:9: warning: unused variable 'h' [-Wunused-variable]
     int h=buffer->h;
         ^
cc -c -o libretro/nukleargui/app.o libretro/nukleargui/app.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
In file included from libretro/nukleargui/app.c:55:
./libretro/nukleargui/retro/nuklear_retro_soft.h: In function 'Process_key':
./libretro/nukleargui/retro/nuklear_retro_soft.h:550:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
  if(memcmp( revent.Key_Sate,revent.old_Key_Sate , sizeof(revent.Key_Sate) ) )
    ^
In file included from libretro/nukleargui/gui.i:69,
                 from libretro/nukleargui/app.c:80:
libretro/nukleargui/filebrowser.i: In function 'gui':
libretro/nukleargui/filebrowser.i:51:34: warning: unused variable 'k' [-Wunused-variable]
             size_t i = 0, j = 0, k = 0;
                                  ^
In file included from libretro/nukleargui/gui.i:77,
                 from libretro/nukleargui/app.c:80:
libretro/nukleargui/capmenu.i:46:40: warning: embedded '\0' in format [-Wformat-contains-nul]
      sprintf((i==0?DF8NAME:DF9NAME),"%s\0",(i==0? DISKA_NAME: DISKB_NAME));
                                        ^~
libretro/nukleargui/capmenu.i:75:50: warning: embedded '\0' in format [-Wformat-contains-nul]
   sprintf((LDRIVE==8? DISKA_NAME: DISKB_NAME),"%s\0",LCONTENT);
                                                  ^~
libretro/nukleargui/app.c: In function 'app_init':
libretro/nukleargui/app.c:123:25: warning: embedded '\0' in format [-Wformat-contains-nul]
     sprintf(LCONTENT,"%s\0",RPATH);
                         ^~
In file included from libretro/nukleargui/app.c:79:
At top level:
libretro/nukleargui/filebrowser.c:49:1: warning: 'file_load' defined but not used [-Wunused-function]
 file_load(const char* path, size_t* siz)
 ^~~~~~~~~
In file included from libretro/nukleargui/app.c:55:
./libretro/nukleargui/retro/nuklear_retro_soft.h:543:13: warning: 'Process_key' defined but not used [-Wunused-function]
 static void Process_key()
             ^~~~~~~~~~~
In file included from libretro/nukleargui/app.c:54:
./libretro/nukleargui/nuklear/nuklear.h:4395:1: warning: 'nk_file_load' defined but not used [-Wunused-function]
 nk_file_load(const char* path, nk_size* siz, struct nk_allocator *alloc)
 ^~~~~~~~~~~~
./libretro/nukleargui/nuklear/nuklear.h:3999:1: warning: 'nk_vsnprintf' defined but not used [-Wunused-function]
 nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args)
 ^~~~~~~~~~~~
./libretro/nukleargui/nuklear/nuklear.h:3843:1: warning: 'nk_ifloorf' defined but not used [-Wunused-function]
 nk_ifloorf(float x)
 ^~~~~~~~~~
./libretro/nukleargui/nuklear/nuklear.h:3209:1: warning: 'nk_cos' defined but not used [-Wunused-function]
 nk_cos(float x)
 ^~~~~~
./libretro/nukleargui/nuklear/nuklear.h:3195:1: warning: 'nk_sin' defined but not used [-Wunused-function]
 nk_sin(float x)
 ^~~~~~
./libretro/nukleargui/nuklear/nuklear.h:3189:1: warning: 'nk_sqrt' defined but not used [-Wunused-function]
 nk_sqrt(float x)
 ^~~~~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml2by' may be used uninitialized in this function [-Wmaybe-uninitialized]
  _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml2bx' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml1by' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml1bx' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml2y' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml2x' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml1y' may be used uninitialized in this function [-Wmaybe-uninitialized]
libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:2: warning: 'ml1x' may be used uninitialized in this function [-Wmaybe-uninitialized]
cc -c -o cap32/cap32.o cap32/cap32.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cap32/cap32.c: In function 'zip_dir':
cap32/cap32.c:1038:14: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
          if (strncasecmp((char *)pbPtr + (wFilenameLength - 4), pchThisExtension, 4) == 0) {
              ^~~~~~~~~~~
              strncmp
cap32/cap32.c: In function 'retro_disk_auto':
cap32/cap32.c:2110:15: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
         if (! strcasecmp(scan+1, "BAS")) {
               ^~~~~~~~~~
               strncmp
cap32/cap32.c: In function 'zip_extract':
cap32/cap32.c:1069:4: warning: ignoring return value of 'tmpnam', declared with attribute warn_unused_result [-Wunused-result]
    tmpnam(pchFileName); // generate a unique (temporary) file name for the decompression process
    ^~~~~~~~~~~~~~~~~~~
cc -c -o cap32/slots.o cap32/slots.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cap32/slots.c: In function 'snapshot_load':
cap32/slots.c:458:24: warning: implicit declaration of function 'fileno'; did you mean 'mblen'? [-Wimplicit-function-declaration]
       size = file_size(fileno(pfileObject));
                        ^~~~~~
                        mblen
cc -c -o cap32/crtc.o cap32/crtc.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/fdc.o cap32/fdc.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/psg.o cap32/psg.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/tape.o cap32/tape.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/cart.o cap32/cart.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/asic.o cap32/asic.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/z80.o cap32/z80.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o cap32/libcpccat/fs.o cap32/libcpccat/fs.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cap32/libcpccat/fs.c: In function 'my_open':
cap32/libcpccat/fs.c:62:18: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
    if (scan && (!strcasecmp(scan, ".dsz")))
                  ^~~~~~~~~~
                  strncmp
cc -c -o cap32/kbdauto.o cap32/kbdauto.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
cc -c -o libretro/retro_strings.o libretro/retro_strings.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
libretro/retro_strings.c: In function 'strstartswith':
libretro/retro_strings.c:72:7: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
   if(!strncasecmp(str, start, strlen(start)))
       ^~~~~~~~~~~
       strncmp
libretro/retro_strings.c: In function 'strendswith':
libretro/retro_strings.c:82:7: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration]
   if(!strcasecmp((char*)&str[strlen(str)-strlen(end)], end))
       ^~~~~~~~~~
       strncmp
cc -c -o libretro/retro_utils.o libretro/retro_utils.c -pipe -O2 -I/usr/include -I/usr/pkg/include -O3 -DGIT_VERSION=\"-pkgsrc\" -fPIC -D__LIBRETRO__  -DINLINE="inline" -DHAVE_CONFIG_H -Wall  -I. -I./cap32 -I./cap32/libcpccat -I./libretro -I./libretro/nukleargui -I./libretro/nukleargui/nuklear -I./libretro/nukleargui/retro
libretro/retro_utils.c: In function 'file_exists':
libretro/retro_utils.c:29:60: error: 'S_IFDIR' undeclared (first use in this function); did you mean 'S_ISDIR'?
       (buf.st_mode & (S_IRUSR|S_IWUSR)) && !(buf.st_mode & S_IFDIR))
                                                            ^~~~~~~
                                                            S_ISDIR
libretro/retro_utils.c:29:60: note: each undeclared identifier is reported only once for each function it appears in
gmake: *** [Makefile:362: libretro/retro_utils.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/libretro-cap32
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/emulators/libretro-cap32