=> Bootstrap dependency digest>=20010302: found digest-20160304 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'. ===> Building for entropy-0.9.1.439nb4 clang -Iinclude -I/usr/include -E -MM src/*.c >.depend clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/entropy.o -c src/entropy.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/logger.o -c src/logger.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/funclib.o -c src/funclib.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/osd.o -c src/osd.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/tools.o -c src/tools.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/i18n.o -c src/i18n.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/mime.o -c src/mime.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/temp.o -c src/temp.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/memalloc.o -c src/memalloc.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/shmalloc.o -c src/shmalloc.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/config.o -c src/config.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/base64.o -c src/base64.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sha1.o -c src/sha1.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/ek5.o -c src/ek5.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/key.o -c src/key.c src/mime.c:120:29: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*ext != '\0' && isspace(*ext)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/uri.o -c src/uri.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/bignum.o -c src/bignum.c src/i18n.c:97:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*lang && isspace(*lang)) ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/base64.c:77:17: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*src && isspace(*src)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/shmalloc.c:384:4: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (uint64_t)big)); ^~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/shmalloc.c:387:13: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_shm->brk[i], (uint64_t)g_shm->max[i])); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/shmalloc.c:387:38: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_shm->brk[i], (uint64_t)g_shm->max[i])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/twofish2.o -c src/twofish2.c src/osd.c:98:34: warning: format specifies type 'long long' but the argument has type '__int64_t' (aka 'long') [-Wformat] LOG(L_DEBUG,("usleep(%lld)\n", usecs)); ~~~~ ^~~~~ %ld include/logger.h:67:64: note: expanded from macro 'LOG' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/tools.c:981:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/tools.c:989:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/tools.c:997:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/osd.c:584:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] zeroes = xcalloc(1, semsize); ^ ~~~~~~~~~~~~~~~~~~~ src/tools.c:1030:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/tools.c:1038:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/tools.c:1046:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (!isdigit(src[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/memalloc.c:432:13: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_mem->brk[i], (uint64_t)g_mem->max[i])); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/memalloc.c:432:38: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (int)i, (uint64_t)g_mem->brk[i], (uint64_t)g_mem->max[i])); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/tools.c:1402:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] gzbuff = xmalloc(gzsize); ^ ~~~~~~~~~~~~~~~ src/tools.c:1533:8: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(uncompressed_size + 1, sizeof(char)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tools.c:1561:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(size + 1, sizeof(char)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shmalloc.c:1164:4: warning: format specifies type 'unsigned long long' but the argument has type '__uint64_t' (aka 'unsigned long') [-Wformat] (uint64_t)size, strerror(errno)); ^~~~~~~~~~~~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt.o -c src/crypt.c 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt0.o -c src/crypt0.c src/uri.c:37:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:38:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:39:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:40:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:43:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:44:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:45:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:46:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:49:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:50:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:51:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:52:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt1.o -c src/crypt1.c src/uri.c:68:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:69:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:70:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:71:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:91:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:92:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:93:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:94:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:132:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:133:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt2.o -c src/crypt2.c src/uri.c:134:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:135:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:168:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('B' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:169:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'I' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:170:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'T' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:171:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:189:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:190:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:191:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:192:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:210:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:211:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:212:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:213:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:238:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('C' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:239:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'H' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:240:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:241:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:245:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('S' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:246:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:247:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:248:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:252:13: warning: array subscript is of type 'char' [-Wchar-subscripts] if ('K' == toupper(uri[0]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:253:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'S' == toupper(uri[1]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:254:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 'K' == toupper(uri[2]) && ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/uri.c:255:10: warning: array subscript is of type 'char' [-Wchar-subscripts] '@' == toupper(uri[3])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt3.o -c src/crypt3.c src/config.c:656:11: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isalnum(ch = *val)) ^~~~~~~~~~~~~~~~~~ /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))) ^~~~ src/config.c:761:7: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(val[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/config.c:783:8: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(val[0])) { ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 4 warnings generated. 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt4.o -c src/crypt4.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt5.o -c src/crypt5.c 48 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt6.o -c src/crypt6.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt7.o -c src/crypt7.c 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt8.o -c src/crypt8.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/fec.o -c src/fec.c 9 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/file.o -c src/file.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sock.o -c src/sock.c 3 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/store.o -c src/store.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/client.o -c src/client.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peermsg.o -c src/peermsg.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peer.o -c src/peer.c src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ 2 errors generated. gmake: *** [Makefile:166: obj/bignum.o] Error 1 gmake: *** Waiting for unfinished jobs.... src/crypt8.c:155:6: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] pad = xmalloc(insize); ^ ~~~~~~~~~~~~~~~ src/peer.c:648:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*sol && isspace(*sol)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:654:39: warning: array subscript is of type 'char' [-Wchar-subscripts] while (eol >= pi->peer.hostname && isspace(*eol)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/file.c:609:13: warning: address of array 'tfdata->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfdata->name ? tfdata->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:622:13: warning: address of array 'tfmeta->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfmeta->name ? tfmeta->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1684:5: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1684:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1690:5: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:1690:16: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] msg->size, size)); ^~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:745:9: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] gzbuff = xrealloc(gzbuff, CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/file.c:1461:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(CHUNKSIZE, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/peer.c:3008:7: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(size, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/peer.c:3376:4: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] i, (unsigned)(PEERS_MAX - 1))); ^ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2011:13: warning: address of array 'tfdata->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfdata->name ? tfdata->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2019:13: warning: address of array 'tfmeta->name' will always evaluate to 'true' [-Wpointer-bool-conversion] tfmeta->name ? tfmeta->name : "[null]", strerror(errno))); ~~~~~~~~^~~~ ~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2257:9: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/file.c:2258:6: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par))); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:3924:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:3925:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4305:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4306:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4747:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:4748:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:6508:19: warning: passing '__uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] offs += snprintf(&version[offs], sizeof(version) - offs, ^~~~~~~~~~~~~~ /usr/include/stdio.h:348:32: note: passing argument to parameter here int snprintf(char * __restrict, size_t, const char * __restrict, ...) ^ src/peer.c:6618:26: warning: passing '__uint8_t [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (0 == XML_Parse(par, msg->data, size, 1)) { ^~~~~~~~~ /usr/include/expat.h:782:42: note: passing argument to parameter 's' here XML_Parse(XML_Parser parser, const char *s, int len, int isFinal); ^ src/peer.c:6621:8: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] rc, XML_GetCurrentLineNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:6622:4: warning: format specifies type 'int' but the argument has type 'XML_Size' (aka 'unsigned long') [-Wformat] XML_GetCurrentColumnNumber(par), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ src/peer.c:8189:8: warning: assigning to '__uint8_t *' (aka 'unsigned char *') from '__caddr_t' (aka 'char *') converts between pointers to integer types with different sign [-Wpointer-sign] buff = xcalloc(CHUNKSIZE, sizeof(uint8_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. src/peer.c:8470:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8544:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8673:23: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_port && isspace(*str_port)) ^~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/peer.c:8677:24: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_crypt && isdigit(*str_crypt)) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/peer.c:8680:25: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*str_crypt && isspace(*str_crypt)) ^~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 8 warnings generated. 24 warnings generated. *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/entropy *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/entropy