=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for libretro-pcsx-rearmed-0.22 clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/cdriso.o libpcsxcore/cdriso.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/cdrom.o libpcsxcore/cdrom.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/cheat.o libpcsxcore/cheat.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/debug.o libpcsxcore/debug.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/decode_xa.o libpcsxcore/decode_xa.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/disr3000a.o libpcsxcore/disr3000a.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/mdec.o libpcsxcore/mdec.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/misc.o libpcsxcore/misc.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/plugins.o libpcsxcore/plugins.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/ppf.o libpcsxcore/ppf.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -Wno-nonnull -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxbios.o libpcsxcore/psxbios.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxcommon.o libpcsxcore/psxcommon.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxcounters.o libpcsxcore/psxcounters.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxdma.o libpcsxcore/psxdma.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxhle.o libpcsxcore/psxhle.c clang -O2 -I/usr/include -I/usr/pkg/include -fPIC -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -DFRONTEND_SUPPORTS_RGB565 -DNO_FRONTEND -I/usr/include -I/usr/pkg/include -c -o libpcsxcore/psxhw.o libpcsxcore/psxhw.c libpcsxcore/cdrom.c:1238:7: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] i = abs(i - msf2sec(set_loc)); ^ libpcsxcore/cdrom.c:1238:7: note: remove the call to 'abs' since unsigned values cannot be negative i = abs(i - msf2sec(set_loc)); ^~~ libpcsxcore/decode_xa.c:113:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x0, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:113:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x0, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:114:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x1, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:114:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x1, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:115:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x2, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:115:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x2, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:116:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x3, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:40: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/decode_xa.c:116:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] XACLAMP( x3, -32768<> SH; destp += inc; ~~~~~~^ libpcsxcore/decode_xa.c:29:49: note: expanded from macro 'XACLAMP' #define XACLAMP(_X_,_MI_,_MA_) {if(_X_<_MI_)_X_=_MI_;if(_X_>_MA_)_X_=_MA_;} ^~~~ libpcsxcore/ppf.c:196:14: warning: array subscript is of type 'char' [-Wchar-subscripts] buffer[0] = toupper(CdromId[0]); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ libpcsxcore/ppf.c:197:14: warning: array subscript is of type 'char' [-Wchar-subscripts] buffer[1] = toupper(CdromId[1]); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ libpcsxcore/ppf.c:198:14: warning: array subscript is of type 'char' [-Wchar-subscripts] buffer[2] = toupper(CdromId[2]); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ libpcsxcore/ppf.c:199:14: warning: array subscript is of type 'char' [-Wchar-subscripts] buffer[3] = toupper(CdromId[3]); ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ libpcsxcore/misc.c:372:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isalnum(exename[i])) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) ^~~~ libpcsxcore/debug.c:426:22: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (!(isxdigit(cmd[0]) && isxdigit(cmd[1]) && isxdigit(cmd[2]) && (cmd[3] == 0x20))) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ libpcsxcore/debug.c:426:42: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (!(isxdigit(cmd[0]) && isxdigit(cmd[1]) && isxdigit(cmd[2]) && (cmd[3] == 0x20))) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ libpcsxcore/debug.c:426:62: warning: array subscript is of type 'char' [-Wchar-subscripts] } else if (!(isxdigit(cmd[0]) && isxdigit(cmd[1]) && isxdigit(cmd[2]) && (cmd[3] == 0x20))) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:58:45: note: expanded from macro 'isxdigit' #define isxdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_X)) ^~~~ libpcsxcore/cdriso.c:1085:12: error: static declaration of 'uncompress2' follows non-static declaration static int uncompress2(void *out, unsigned long *out_size, void *in, unsigned long in_size) ^ /usr/include/zlib.h:1284:21: note: previous declaration is here ZEXTERN int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen, ^ libpcsxcore/cdriso.c:1164:89: warning: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'uLong *' (aka 'unsigned long *') [-Wint-conversion] ret = uncompress2(compr_img->buff_raw[0], &cdbuffer_size, compr_img->buff_compressed, size); ^~~~ /usr/include/zlib.h:1285:65: note: passing argument to parameter 'sourceLen' here const Bytef *source, uLong *sourceLen)); ^ 1 warning and 1 error generated. : recipe for target 'libpcsxcore/cdriso.o' failed gmake: *** [libpcsxcore/cdriso.o] Error 1 gmake: *** Waiting for unfinished jobs.... 4 warnings generated. libpcsxcore/psxcounters.c:67:18: warning: unused variable 'VerboseLevel' [-Wunused-const-variable] static const s32 VerboseLevel = VERBOSE_LEVEL; ^ 8 warnings generated. 1 warning generated. 1 warning generated. 1 warning generated. 3 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/emulators/libretro-pcsx-rearmed *** Error code 1 Stop. make: stopped in /data/pkgsrc/emulators/libretro-pcsx-rearmed