=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/libretro-beetle-psx-hw", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libretro-beetle-psx-hw-20200610nb2 /usr/bin/bash: ggrep: command not found rsx/rsx_lib_gl.cpp: In function 'GlDisplayRect compute_gl_display_rect(GlRenderer*)': rsx/rsx_lib_gl.cpp:1600:11: warning: extended initializer lists only available with '-std=c++11' or '-std=gnu++11' [-Wc++11-extensions] 1600 | return {x, y, width, height}; | ^ CXX mednafen/psx/irq.cpp CXX mednafen/psx/timer.cpp CXX mednafen/psx/frontio.cpp CXX mednafen/psx/dma.cpp CXX rsx/rsx_lib_gl.cpp CXX mednafen/psx/sio.cpp CXX mednafen/psx/cdc.cpp CXX mednafen/psx/gte.cpp CXX mednafen/psx/cpu.cpp CXX mednafen/psx/mdec.cpp CXX mednafen/psx/input/gamepad.cpp CXX mednafen/psx/input/dualanalog.cpp CXX mednafen/psx/input/dualshock.cpp CXX mednafen/psx/input/justifier.cpp CXX mednafen/psx/input/guncon.cpp CXX mednafen/psx/spu.cpp CXX mednafen/psx/input/negcon.cpp CXX mednafen/psx/input/memcard.cpp CXX mednafen/psx/input/multitap.cpp CXX mednafen/psx/input/mouse.cpp CXX mednafen/cdrom/CDAccess.cpp CXX mednafen/cdrom/CDAccess_CCD.cpp CXX mednafen/cdrom/CDAccess_Image.cpp CXX mednafen/cdrom/audioreader.cpp CXX mednafen/cdrom/misc.cpp CXX mednafen/cdrom/CDAccess_PBP.cpp CXX mednafen/error.cpp CXX mednafen/cdrom/cdromif.cpp CXX mednafen/settings.cpp CXX mednafen/general.cpp CXX mednafen/FileStream.cpp CXX mednafen/MemoryStream.cpp CXX mednafen/Stream.cpp CXX mednafen/state.cpp CXX mednafen/video/Deinterlacer.cpp CXX mednafen/mempatcher.cpp CXX mednafen/video/surface.cpp CXX mednafen/mednafen-endian.cpp CXX input.cpp CXX rsx/rsx_intf.cpp CXX libretro.cpp CXX mednafen/cdrom/CDAccess_CHD.cpp CC libretro-common/glsym/glsym_gl.c CC libretro-common/glsym/rglgen.c deps/ugui/ugui.c: In function '_UG_PutChar': deps/ugui/ugui.c:5326:93: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5326 | color = (((fc & 0xFF) * b + (bc & 0xFF) * (256 - b)) >> 8) & 0xFF |//Blue component | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ deps/ugui/ugui.c:5328:101: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5328 | (((fc & 0xFF0000) * b + (bc & 0xFF0000) * (256 - b)) >> 8) & 0xFF0000; //Red component | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ deps/ugui/ugui.c:5375:75: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5375 | color = (((fc & 0xFF) * b + (bc & 0xFF) * (256 - b)) >> 8) & 0xFF |//Blue component | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ deps/ugui/ugui.c:5377:83: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 5377 | (((fc & 0xFF0000) * b + (bc & 0xFF0000) * (256 - b)) >> 8) & 0xFF0000; //Red component | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ CC libretro-common/glsm/glsm.c CC ugui_tools.c CC libretro_cbs.c CC beetle_psx_globals.c CC mednafen/tremor/bitwise.c CC mednafen/tremor/block.c CC deps/ugui/ugui.c mednafen/tremor/codebook.c: In function 'vorbis_book_decodevs_add': mednafen/tremor/codebook.c:249:27: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 249 | long *entry = (long *)alloca(sizeof(*entry)*step); | ^~~~~~ mednafen/tremor/codebook.c:249:27: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] mednafen/tremor/floor0.c: In function 'vorbis_lsp_to_curve': mednafen/tremor/floor0.c:148:28: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 148 | int32_t *ilsp=(int32_t *)alloca(m*sizeof(*ilsp)); | ^~~~~~ mednafen/tremor/floor0.c:148:28: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] CC mednafen/tremor/floor0.c CC mednafen/tremor/codebook.c CC mednafen/tremor/floor1.c mednafen/tremor/info.c: In function 'vorbis_comment_query': mednafen/tremor/info.c:60:27: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 60 | char *fulltag = (char *)alloca(taglen+ 1); | ^~~~~~ mednafen/tremor/info.c:60:27: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] mednafen/tremor/info.c: In function 'vorbis_comment_query_count': mednafen/tremor/info.c:80:27: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 80 | char *fulltag = (char *)alloca(taglen+1); | ^~~~~~ CC mednafen/tremor/info.c mednafen/tremor/mapping0.c: In function 'mapping0_inverse': mednafen/tremor/mapping0.c:197:35: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 197 | int32_t **pcmbundle=(int32_t **)alloca(sizeof(*pcmbundle)*vi->channels); | ^~~~~~ mednafen/tremor/mapping0.c:197:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] CC mednafen/tremor/framing.c CC mednafen/tremor/mapping0.c CC mednafen/tremor/registry.c mednafen/tremor/res012.c: In function '_01inverse': mednafen/tremor/res012.c:230:30: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 230 | int ***partword=(int ***)alloca(ch*sizeof(*partword)); | ^~~~~~ mednafen/tremor/res012.c:230:30: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] CC mednafen/tremor/res012.c mednafen/tremor/sharedbook.c: In function 'vorbis_book_init_decode': mednafen/tremor/sharedbook.c:371:35: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 371 | uint32_t **codep=(uint32_t **)alloca(sizeof(*codep)*n); | ^~~~~~ mednafen/tremor/sharedbook.c:371:35: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] CC mednafen/tremor/sharedbook.c CC mednafen/tremor/mdct.c CC mednafen/tremor/synthesis.c CC mednafen/tremor/window.c CC mednafen/cdrom/CDUtility.c CC mednafen/cdrom/galois.c CC mednafen/tremor/vorbisfile.c CC mednafen/cdrom/l-ec.c CC mednafen/cdrom/lec.c CC mednafen/cdrom/edc_crc32.c CC mednafen/cdrom/recover-raw.c CC mednafen/md5.c CC libretro-common/streams/file_stream.c CC libretro-common/streams/file_stream_transforms.c CC libretro-common/file/retro_dirent.c CC libretro-common/file/file_path.c CC libretro-common/vfs/vfs_implementation.c CC libretro-common/lists/dir_list.c CC libretro-common/lists/string_list.c CC libretro-common/string/stdstring.c CC libretro-common/compat/compat_strl.c CC libretro-common/compat/fopen_utf8.c CC libretro-common/compat/compat_posix_string.c CC libretro-common/compat/compat_strcasestr.c CC libretro-common/memmap/memalign.c CC libretro-common/encodings/encoding_utf.c CC libretro-common/rthreads/rthreads.c CC libretro-common/hash/rhash.c deps/libkirk/aes.c:875:69: warning: argument 3 of type 'const u8[16]' {aka 'const unsigned char[16]'} with mismatched bound [-Warray-parameter=] 875 | void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], | ~~~~~~~~~^~~~~~ In file included from deps/libkirk/aes.c:33: deps/libkirk/aes.h:49:50: note: previously declared as 'const unsigned char[]' 49 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], unsigned char []); | ^~~~~~~~~~~~~~~~~~~~~~ deps/libkirk/aes.c:876:8: warning: argument 4 of type 'u8[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] 876 | u8 ct[16]) | ~~~^~~~~~ deps/libkirk/aes.h:49:74: note: previously declared as 'unsigned char[]' 49 | void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], unsigned char []); | ^~~~~~~~~~~~~~~~ deps/libkirk/amctrl.c: In function 'sceNpDrmGetFixedKey': deps/libkirk/amctrl.c:695:9: warning: 'strncpy' specified bound 48 equals destination size [-Wstringop-truncation] 695 | strncpy(strbuf, npstr, 0x30); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC deps/libkirk/aes.c CC deps/libkirk/amctrl.c CC deps/libkirk/bn.c In function 'generate_ecdsa', inlined from 'ecdsa_sign' at deps/libkirk/ec.c:389:2: deps/libkirk/ec.c:273:9: warning: 'memcpy' forming offset [21, 32] is out of the bounds [0, 21] of object 'R' with type 'u8[21]' {aka 'unsigned char[21]'} [-Warray-bounds=] 273 | memcpy(outR,R+1,0x20); | ^~~~~~~~~~~~~~~~~~~~~ deps/libkirk/ec.c: In function 'ecdsa_sign': deps/libkirk/ec.c:242:12: note: 'R' declared here 242 | u8 R[21]; | ^ In function 'generate_ecdsa', inlined from 'ecdsa_sign' at deps/libkirk/ec.c:389:2: deps/libkirk/ec.c:274:9: warning: 'memcpy' forming offset [21, 32] is out of the bounds [0, 21] of object 'S' with type 'u8[21]' {aka 'unsigned char[21]'} [-Warray-bounds=] 274 | memcpy(outS,S+1,0x20); | ^~~~~~~~~~~~~~~~~~~~~ deps/libkirk/ec.c: In function 'ecdsa_sign': deps/libkirk/ec.c:243:12: note: 'S' declared here 243 | u8 S[21]; | ^ CC deps/libkirk/des.c CC deps/libkirk/ec.c CC deps/libkirk/kirk_engine.c CC deps/libkirk/sha1.c CC pgxp/pgxp_debug.c CC pgxp/pgxp_gpu.c CC pgxp/pgxp_cpu.c CC pgxp/pgxp_main.c CC pgxp/pgxp_gte.c CC pgxp/pgxp_mem.c CC pgxp/pgxp_value.c CC deps/crypto/md5.c CC deps/crypto/sha1.c CC deps/lzma-16.04/C/Alloc.c CC deps/lzma-16.04/C/Bra86.c CC deps/lzma-16.04/C/Bra.c CC deps/lzma-16.04/C/BraIA64.c CC deps/lzma-16.04/C/CpuArch.c CC deps/lzma-16.04/C/Delta.c CC deps/lzma-16.04/C/Lzma86Dec.c CC deps/lzma-16.04/C/Lzma86Enc.c CC deps/lzma-16.04/C/LzFind.c CC deps/lzma-16.04/C/LzmaDec.c CC deps/lzma-16.04/C/LzmaLib.c CC deps/lzma-16.04/C/Sort.c CC deps/libchdr/bitstream.c CC deps/libchdr/cdrom.c In function 'zlib_codec_init', inlined from 'cdzl_codec_init' at deps/libchdr/chd.c:674:2: deps/libchdr/chd.c:2397:17: warning: 'free' called on pointer 'codec' with nonzero offset 624 [-Wfree-nonheap-object] 2397 | free(data); | ^~~~~~~~~~ In function 'zlib_codec_init', inlined from 'cdlz_codec_init' at deps/libchdr/chd.c:613:2: deps/libchdr/chd.c:2397:17: warning: 'free' called on pointer 'codec' with nonzero offset 672 [-Wfree-nonheap-object] 2397 | free(data); | ^~~~~~~~~~ CC deps/libchdr/chd.c CC deps/libchdr/flac.c deps/lzma-16.04/C/LzmaEnc.c: In function 'LzmaEnc_CodeOneMemBlock': deps/lzma-16.04/C/LzmaEnc.c:2212:19: warning: storing the address of local variable 'outStream' in '*(CLzmaEnc *)pp.rc.outStream' [-Wdangling-pointer=] 2212 | p->rc.outStream = &outStream.funcTable; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ deps/lzma-16.04/C/LzmaEnc.c:2196:20: note: 'outStream' declared here 2196 | CSeqOutStreamBuf outStream; | ^~~~~~~~~ deps/lzma-16.04/C/LzmaEnc.c:2190:45: note: 'pp' declared here 2190 | SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, | ~~~~~~~~~~~~~~~^~ CC deps/lzma-16.04/C/LzmaEnc.c CC deps/libchdr/huffman.c CC deps/lightning/lib/jit_disasm.c CC deps/lightning/lib/jit_names.c CC deps/lightning/lib/jit_memory.c deps/lightning/lib/jit_print.c: In function '_jit_print_node': deps/lightning/lib/jit_print.c:27:57: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'jit_pointer_t' {aka 'void *'} [-Wformat=] 27 | #define print_str(value) fprintf(stdout, "%s", value) | ^~~~ deps/lightning/lib/jit_print.c:283:17: note: in expansion of macro 'print_str' 283 | print_str(node->v.n->u.p); | ^~~~~~~~~ deps/lightning/lib/jit_print.c:27:59: note: format string is defined here 27 | #define print_str(value) fprintf(stdout, "%s", value) | ~^ | | | char * | %p deps/lightning/lib/jit_print.c:27:57: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'jit_pointer_t' {aka 'void *'} [-Wformat=] 27 | #define print_str(value) fprintf(stdout, "%s", value) | ^~~~ deps/lightning/lib/jit_print.c:288:17: note: in expansion of macro 'print_str' 288 | print_str(node->v.n->u.p); | ^~~~~~~~~ deps/lightning/lib/jit_print.c:27:59: note: format string is defined here 27 | #define print_str(value) fprintf(stdout, "%s", value) | ~^ | | | char * | %p CC deps/lightning/lib/jit_note.c CC deps/lightning/lib/jit_print.c CC deps/lightning/lib/jit_size.c deps/lightning/lib/lightning.c: In function '_jit_patch_abs': deps/lightning/lib/lightning.c:1544:25: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1544 | jit_int32_t mask; | ^~~~ deps/lightning/lib/lightning.c: In function '_jit_patch_at': deps/lightning/lib/lightning.c:1567:25: warning: variable 'mask' set but not used [-Wunused-but-set-variable] 1567 | jit_int32_t mask; | ^~~~ deps/lightning/lib/lightning.c: In function '_jit_emit': deps/lightning/lib/lightning.c:2012:26: warning: variable 'result' set but not used [-Wunused-but-set-variable] 2012 | int result; | ^~~~~~ CC deps/lightrec/blockcache.c In file included from deps/lightning/lib/lightning.c:3492: deps/lightning/lib/jit_x86.c: In function '_patch': deps/lightning/lib/jit_x86.c:2219:25: warning: variable 'flag' set but not used [-Wunused-but-set-variable] 2219 | jit_int32_t flag; | ^~~~ CC deps/lightrec/disassembler.c CC deps/lightrec/emitter.c CC deps/lightrec/interpreter.c CC deps/lightrec/lightrec.c CC deps/lightrec/memmanager.c CC deps/lightrec/optimizer.c CC deps/lightrec/reaper.c CC deps/lightrec/regcache.c CC deps/lightrec/recompiler.c CC deps/lightning/lib/lightning.c CXX mednafen/psx/gpu.cpp LD mednafen_psx_hw_libretro.so *** Please use pkgtools/verifypc to sanity check dependencies.