=> 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'. ===> 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 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/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/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/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) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/temp.o -c src/temp.c 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/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/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)) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/memalloc.o -c src/memalloc.c 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/shmalloc.o -c src/shmalloc.c 1 warning generated. 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 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/memalloc.c:938:4: warning: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from '__caddr_t' (aka 'char *') [-Wpointer-to-int-cast] (uint32_t)ptr, AT_FILE_LINE)); ^~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ 2 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sha1.o -c src/sha1.c 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) ^~~ src/shmalloc.c:800:3: warning: cast to smaller integer type 'uint32_t' (aka 'unsigned int') from '__caddr_t' (aka 'char *') [-Wpointer-to-int-cast] (uint32_t)ptr, AT_FILE_LINE)); ^~~~~~~~~~~~~ include/logger.h:71:64: note: expanded from macro 'LOGS' logprintf(level, __function__, __FILE__, __LINE__, logappend msg) ^~~ 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)); ^~~~~~~~~~~~~~ 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)) ^~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/ek5.o -c src/ek5.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:782:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] g_conf->loglevel[n] = L_NORMAL; ^ src/config.c:780:4: note: previous statement is here if (0 != strcasecmp(key + 9, str_logsection[n])) ^ 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)) ^~~~ 1 warning generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/key.o -c src/key.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/uri.o -c src/uri.c 9 warnings generated. 5 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/bignum.o -c src/bignum.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/twofish2.o -c src/twofish2.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt.o -c src/crypt.c 3 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt0.o -c src/crypt0.c 4 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt1.o -c src/crypt1.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: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)])) ^~~~ 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)])) ^~~~ 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)])) ^~~~ 48 warnings generated. clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/crypt3.o -c src/crypt3.c 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 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 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 clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/file.o -c src/file.c 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); ^ ~~~~~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/sock.o -c src/sock.c clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/store.o -c src/store.c 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/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/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ 1 warning generated. src/bignum.c:714:3: error: invalid operand for instruction "divl %4" ^ :1:7: note: instantiated into assembly here divl $-1610612736 ^~~~~~~~~~~~ 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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/client.o -c src/client.c 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) ^~~ clang -Iinclude -I/usr/include -O2 -I/usr/include -W -Wall -Wuninitialized -Wno-unused -o obj/peermsg.o -c src/peermsg.c 2 errors generated. gmake: *** [Makefile:166: obj/bignum.o] Error 1 gmake: *** Waiting for unfinished jobs.... 8 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