=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> 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'. ===> 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 DatLib-2.36 mkdir obj mkdir obj/drv mkdir obj/hash mkdir obj/mame mkdir obj/mame/msdos mkdir obj/misc Compiling obj/driver.o... Compiling obj/datlib.o... Compiling obj/misc/getopt.o... Compiling obj/token.o... Compiling obj/hash/md5.o... Compiling obj/hash/sha1.o... Compiling obj/drv/mapfile.o... error: unable to open output file 'obj/drv/mapfile.o': 'No such file or directory' 1 error generated. Compiling obj/drv/folder.o... gmake: *** [makefile:85: obj/drv/mapfile.o] Error 1 gmake: *** Waiting for unfinished jobs.... src/datlib.c:170:18: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] crc=crc32(crc, mem, mem_size); ^~~ /usr/include/zlib.h:1727:59: note: passing argument to parameter 'buf' here ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); ^ src/datlib.c:171:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] md5_update(&md5ctx, mem, mem_size); ^~~ src/hash/md5.h:21:43: note: passing argument to parameter 'input' here void md5_update( md5_context *ctx, uint8 *input, uint32 length ); ^ src/datlib.c:172:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sha1_update(&sha1ctx, mem, mem_size); ^~~ src/hash/sha1.h:21:45: note: passing argument to parameter 'input' here void sha1_update( sha1_context *ctx, uint8 *input, uint32 length ); ^ src/datlib.c:272:6: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(strrchr(st, '.')) ^~~~~~~~~~~~~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:1631:44: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] curr_disk->crc=crc32(curr_disk->crc, curr_disk->md5, strlen(curr_disk->md5)); ^~~~~~~~~~~~~~ /usr/include/zlib.h:1727:59: note: passing argument to parameter 'buf' here ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); ^ src/datlib.c:1641:44: warning: passing 'char *' to parameter of type 'const Bytef *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] curr_disk->crc=crc32(curr_disk->crc, curr_disk->sha1, strlen(curr_disk->sha1)); ^~~~~~~~~~~~~~~ /usr/include/zlib.h:1727:59: note: passing argument to parameter 'buf' here ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len)); ^ src/datlib.c:2518:9: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(dat->header.version[i])) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/datlib.c:2661:3: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2671:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2682:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2693:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2704:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2714:5: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2726:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2736:5: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:2748:4: warning: array subscript is of type 'char' [-Wchar-subscripts] LOWER(TOKEN); ^~~~~~~~~~~~ src/macro.h:43:10: note: expanded from macro 'LOWER' ptr[i]=tolower(ptr[i]); \ ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/datlib.c:5319:91: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] fprintf(dat->log_file, " ROM %s - Size Conflict (%"PRIu64")\n", curr_rom->name, (unsigned long long)curr_rom->size); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/datlib.c:5347:93: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] fprintf(dat->log_file, " Disk %s - Size Conflict (%"PRIu64")\n", curr_disk->name, (unsigned long long)curr_disk->size); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/emulators/DatLib *** Error code 1 Stop. make: stopped in /data/pkgsrc/emulators/DatLib