+ 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:10: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if(!strcasecmp(&RPATH[strlen(RPATH)-strlen("crt")], "crt")) ^ 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] // / | \ ^ In file included from libretro/nukleargui/retro/SDL_gfxPrimitives.h:42:0, 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] #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/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: In function 'parse_cmdline': libretro/libretro-core.c:290:36: warning: 'start_of_word' may be used uninitialized in this function [-Wmaybe-uninitialized] ARGUV[ARGUC][c2] = (unsigned char) *p2; ^ 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:0: warning: "charWidthLocal" redefined [enabled by default] #define charWidthLocal 7*xscale ^ libretro/nukleargui/retro/retro_surface.c:402:0: note: this is the location of the previous definition #define charWidthLocal 8 ^ libretro/nukleargui/retro/retro_surface.c:518:0: warning: "charHeightLocal" redefined [enabled by default] #define charHeightLocal 8*yscale ^ libretro/nukleargui/retro/retro_surface.c:403:0: 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 [enabled by default] 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/gui.i:69:0, 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:0, from libretro/nukleargui/app.c:80: libretro/nukleargui/capmenu.i:46:6: 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:3: 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:5: warning: embedded '\0' in format [-Wformat-contains-nul] sprintf(LCONTENT,"%s\0",RPATH); ^ In file included from libretro/nukleargui/app.c:54:0: libretro/nukleargui/app.c: At top level: ./libretro/nukleargui/nuklear/nuklear.h:3189:1: warning: 'nk_sqrt' defined but not used [-Wunused-function] nk_sqrt(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:3209:1: warning: 'nk_cos' defined but not used [-Wunused-function] nk_cos(float x) ^ ./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: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: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) ^ In file included from libretro/nukleargui/app.c:55:0: ./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:79:0: libretro/nukleargui/filebrowser.c:49:1: warning: 'file_load' defined but not used [-Wunused-function] file_load(const char* path, size_t* siz) ^ libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: 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:18: warning: 'ml2bx' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: warning: 'ml1by' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: warning: 'ml1bx' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: warning: 'ml2y' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: warning: 'ml2x' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: warning: 'ml1y' may be used uninitialized in this function [-Wmaybe-uninitialized] libretro/nukleargui/retro/SDL_gfxPrimitives.c:7058:18: 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:10: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] if (strncasecmp((char *)pbPtr + (wFilenameLength - 4), pchThisExtension, 4) == 0) { ^ cap32/cap32.c: In function 'retro_disk_auto': cap32/cap32.c:2110:9: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (! strcasecmp(scan+1, "BAS")) { ^ cap32/cap32.c: In function 'zip_extract': cap32/cap32.c:1069:10: 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:7: warning: implicit declaration of function 'fileno' [-Wimplicit-function-declaration] 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 cap32/psg.c: In function 'Synthesizer_Logic_Q': cap32/psg.c:382:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (Ton_Counter_A.Hi >= *(uint16_t *) &PSG.RegisterAY.TonALo) ^ cap32/psg.c:393:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (Ton_Counter_B.Hi >= *(uint16_t *)&PSG.RegisterAY.TonBLo) ^ cap32/psg.c:404:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (Ton_Counter_C.Hi >= *(uint16_t *)&PSG.RegisterAY.TonCLo) ^ cap32/psg.c:424:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if (Envelope_Counter.Hi >= *(uint16_t *)&PSG.RegisterAY.EnvelopeLo) ^ cap32/psg.c: In function 'Synthesizer_Mixer_Q': cap32/psg.c:444:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((!Envelope_EnA) || (*(uint16_t *)&PSG.RegisterAY.TonALo > 4)) ^ cap32/psg.c:475:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((!Envelope_EnB) || (*(uint16_t *)&PSG.RegisterAY.TonBLo > 4)) ^ cap32/psg.c:506:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] if ((!Envelope_EnC) || (*(uint16_t *)&PSG.RegisterAY.TonCLo > 4)) ^ 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:4: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if (scan && (!strcasecmp(scan, ".dsz"))) ^ 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:3: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] if(!strncasecmp(str, start, strlen(start))) ^ libretro/retro_strings.c: In function 'strendswith': libretro/retro_strings.c:82:3: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] if(!strcasecmp((char*)&str[strlen(str)-strlen(end)], end)) ^ 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) (buf.st_mode & (S_IRUSR|S_IWUSR)) && !(buf.st_mode & S_IFDIR)) ^ libretro/retro_utils.c:29:60: note: each undeclared identifier is reported only once for each function it appears in make: *** [libretro/retro_utils.o] Error 1 make: *** Waiting for unfinished jobs.... *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-cap32 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/emulators/libretro-cap32