+ 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/libretro-cap32-20200508/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libretro-cap32-20200508/work.log ===> Building for libretro-cap32-20200508 gcc -c -o libretro/libretro-core.o libretro/libretro-core.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/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 gcc -c -o libretro/nukleargui/retro/SDL_gfxPrimitives.o libretro/nukleargui/retro/SDL_gfxPrimitives.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/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 gcc -c -o libretro/nukleargui/retro/retro_surface.o libretro/nukleargui/retro/retro_surface.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/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 gcc -c -o libretro/nukleargui/app.o libretro/nukleargui/app.c -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/opt/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: error: 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 | // / | \ | ^ gmake: *** [Makefile:362: libretro/libretro-core.o] Error 1 gmake: *** Waiting for unfinished jobs.... 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/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:17: warning: "charWidthLocal" redefined 517 | #define charWidthLocal 7*xscale | ^~~~~~~~~~~~~~ libretro/nukleargui/retro/retro_surface.c:402:9: note: this is the location of the previous definition 402 | #define charWidthLocal 8 | ^~~~~~~~~~~~~~ libretro/nukleargui/retro/retro_surface.c:518:17: warning: "charHeightLocal" redefined 518 | #define charHeightLocal 8*yscale | ^~~~~~~~~~~~~~~ libretro/nukleargui/retro/retro_surface.c:403:9: 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; | ^ 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: 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: libretro/nukleargui/filebrowser.c: 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) | ^~~~~~~~~ ./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/filebrowser.c: In function 'dir_list': libretro/nukleargui/filebrowser.c:133:35: warning: pointer 'old' may be used after 'realloc' [-Wuse-after-free] 133 | if (!results) free(old); | ^~~~~~~~~ libretro/nukleargui/filebrowser.c:131:39: note: call to 'realloc' here 131 | results = (char**)realloc(results, capacity * sizeof(char*)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/filebrowser.c:98:5: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 98 | strncpy(buffer, dir, MAX_PATH_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/filebrowser.c: In function 'file_browser_reload_directory_content.constprop': libretro/nukleargui/filebrowser.c:149:5: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 149 | strncpy(browser->directory, path, MAX_PATH_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7038:41: warning: 'ml2x' may be used uninitialized [-Wmaybe-uninitialized] 7038 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:50: note: 'ml2x' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7038:41: warning: 'ml2y' may be used uninitialized [-Wmaybe-uninitialized] 7038 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:56: note: 'ml2y' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7038:41: warning: 'ml2bx' may be used uninitialized [-Wmaybe-uninitialized] 7038 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:76: note: 'ml2bx' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7038:41: warning: 'ml2by' may be used uninitialized [-Wmaybe-uninitialized] 7038 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:83: note: 'ml2by' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1x' may be used uninitialized [-Wmaybe-uninitialized] 7058 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:38: note: 'ml1x' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1y' may be used uninitialized [-Wmaybe-uninitialized] 7058 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:44: note: 'ml1y' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1bx' may be used uninitialized [-Wmaybe-uninitialized] 7058 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:62: note: 'ml1bx' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:9: warning: 'ml1by' may be used uninitialized [-Wmaybe-uninitialized] 7058 | _murphyIteration(m, miter, ml1bx, ml1by, ml2bx, ml2by, ml1x, ml1y, ml2x, ml2y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libretro/nukleargui/retro/SDL_gfxPrimitives.c:6894:69: note: 'ml1by' was declared here 6894 | Sint16 ptx, pty, ptxx, ptxy, ml1x, ml1y, ml2x, ml2y, ml1bx, ml1by, ml2bx, ml2by; | ^~~~~ ./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 function 'file_browser_init', inlined from 'filebrowser_init' at libretro/nukleargui/filebrowser.c:217:5: libretro/nukleargui/filebrowser.c:183:13: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 183 | strncpy(browser->home, home, MAX_PATH_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-cap32 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/libretro-cap32