+ 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] 218 | 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:32: warning: variable 'wgtcompmask' set but not used [-Wunused-but-set-variable] 2858 | Uint32 erracctmp, wgt, wgtcompmask; | ^~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function 'arcColor': libretro/nukleargui/retro/SDL_gfxPrimitives.c:3451:9: warning: multi-line comment [-Wcomment] 3451 | // /|\ | ^ libretro/nukleargui/retro/SDL_gfxPrimitives.c:3453:9: warning: multi-line comment [-Wcomment] 3453 | // / | \ | ^ 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/nukleargui/retro/RSDL_wrapper.h:148:29: warning: statement with no effect [-Wunused-value] 148 | #define RSDL_LockSurface(a) 0 | ^ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6704:17: note: in expansion of macro 'RSDL_LockSurface' 6704 | RSDL_LockSurface(m->dst); | ^~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_murphyIteration': libretro/nukleargui/retro/RSDL_wrapper.h:148:29: warning: statement with no effect [-Wunused-value] 148 | #define RSDL_LockSurface(a) 0 | ^ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6822:33: note: in expansion of macro 'RSDL_LockSurface' 6822 | RSDL_LockSurface(m->dst); | ^~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c: In function '_murphyWideline': libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:32: warning: variable 'ptxy' set but not used [-Wunused-but-set-variable] 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:26: warning: variable 'ptxx' set but not used [-Wunused-but-set-variable] 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ 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=] 916 | sprintf(retro_system_data_directory, "%s%cdata",RETRO_DIR, slash); // TODO: unused ? | ^~~~ In file included from /usr/include/stdio.h:900, from libretro/libretro-core.h:8, from libretro/libretro-core.c:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 517 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __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:13: warning: unused variable 'k' [-Wunused-variable] 375 | int k,strlen; | ^ libretro/nukleargui/retro/retro_surface.c: In function 'Retro_Draw_char': libretro/nukleargui/retro/retro_surface.c:517: warning: "charWidthLocal" redefined 517 | #define charWidthLocal 7*xscale | libretro/nukleargui/retro/retro_surface.c:402: note: this is the location of the previous definition 402 | #define charWidthLocal 8 | libretro/nukleargui/retro/retro_surface.c:518: warning: "charHeightLocal" redefined 518 | #define charHeightLocal 8*yscale | libretro/nukleargui/retro/retro_surface.c:403: note: this is the location of the previous definition 403 | #define charHeightLocal 8 | libretro/nukleargui/retro/retro_surface.c:490:13: warning: unused variable 'col' [-Wunused-variable] 490 | int col, bit; | ^~~ libretro/nukleargui/retro/retro_surface.c:487:13: warning: unused variable 'k' [-Wunused-variable] 487 | 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] 624 | unsigned char *chr = font35[c]; | ^~~~~~ libretro/nukleargui/retro/retro_surface.c:615:9: warning: unused variable 'h' [-Wunused-variable] 615 | 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:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 550 | 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] 51 | 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:67: warning: embedded '\0' in format [-Wformat-contains-nul] 46 | sprintf((i==0?DF8NAME:DF9NAME),"%s\0",(i==0? DISKA_NAME: DISKB_NAME)); | ^~ libretro/nukleargui/capmenu.i:75:64: warning: embedded '\0' in format [-Wformat-contains-nul] 75 | 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] 123 | 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] 49 | 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] 543 | 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] 4395 | 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] 3999 | 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] 3843 | nk_ifloorf(float x) | ^~~~~~~~~~ ./libretro/nukleargui/nuklear/nuklear.h:3209:1: warning: 'nk_cos' defined but not used [-Wunused-function] 3209 | nk_cos(float x) | ^~~~~~ ./libretro/nukleargui/nuklear/nuklear.h:3195:1: warning: 'nk_sin' defined but not used [-Wunused-function] 3195 | nk_sin(float x) | ^~~~~~ ./libretro/nukleargui/nuklear/nuklear.h:3189:1: warning: 'nk_sqrt' defined but not used [-Wunused-function] 3189 | nk_sqrt(float x) | ^~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml2by' may be used uninitialized in this function [-Wmaybe-uninitialized] 7058 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml2bx' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1by' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1bx' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml2y' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml2x' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1y' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: 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 In file included from /usr/include/string.h:519, from libretro/nukleargui/app.c:6: In function 'strncpy', inlined from 'dir_list' at libretro/nukleargui/filebrowser.c:98:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'file_browser_reload_directory_content.constprop' at libretro/nukleargui/filebrowser.c:149:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 1038 | 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] 2110 | 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] 1069 | tmpnam(pchFileName); // generate a unique (temporary) file name for the decompression process | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ./libretro/libretro-core.h:5, from cap32/cap32.c:182: In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1692:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 247 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1761:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 250 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1769:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 250 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1785:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 250 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1875:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 244 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1881:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 245 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'loadConfiguration' at cap32/cap32.c:1888:4: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 252 bytes from a string of length 256 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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' [-Wimplicit-function-declaration] 458 | size = file_size(fileno(pfileObject)); | ^~~~~~ 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 In file included from libretro/nukleargui/app.c:54: ./libretro/nukleargui/nuklear/nuklear.h: In function 'nk_do_property': ./libretro/nukleargui/nuklear/nuklear.h:14818:16: warning: 'num_len' may be used uninitialized [-Wmaybe-uninitialized] 14818 | size = font->width(font->userdata, font->height, string, num_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./libretro/nukleargui/nuklear/nuklear.h:14763:9: note: 'num_len' declared here 14763 | int num_len, name_len; | ^~~~~~~ In file included from /usr/include/string.h:519, from libretro/nukleargui/app.c:6: In function 'strncpy', inlined from 'file_browser_init' at libretro/nukleargui/filebrowser.c:183:13, inlined from 'filebrowser_init' at libretro/nukleargui/filebrowser.c:217:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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] 62 | 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:21: warning: implicit declaration of function 'strncasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 72 | if(!strncasecmp(str, start, strlen(start))) | ^~~~~~~~~~~ | strncmp libretro/retro_strings.c: In function 'strendswith': libretro/retro_strings.c:82:21: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 82 | 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'? 29 | (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 make: *** [Makefile:362: libretro/retro_utils.o] Error 1 make: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/libretro-cap32 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/emulators/libretro-cap32