=> 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 ircservices-5.0.64nb5 touch services.h /usr/pkg/bin/gmake -C lang index gmake[1]: Entering directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/lang' gmake[1]: 'index' is up to date. gmake[1]: Leaving directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/lang' cp -p lang/langstrs.h . touch language.h clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c actions.c -o actions.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c channels.c -o channels.o channels.c:251:50: warning: array subscript is of type 'char' [-Wchar-subscripts] if ((protocol_features & PF_MODETS_FIRST) && isdigit(av[1][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 -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c commands.c -o commands.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c compat.c -o compat.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c conffile.c -o conffile.o conffile.c:149:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ conffile.c:178:13: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ conffile.c:339:27: warning: array subscript is of type 'char' [-Wchar-subscripts] while (count < 3 && isdigit(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ conffile.c:346:14: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isdigit(*s)) ^~~~~~~~~~~ /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. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c encrypt.c -o encrypt.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c ignore.c -o ignore.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c init.c -o init.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c language.c -o language.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c log.c -o log.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c main.c -o main.o main.c:81:18: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] param_unused = param_unused; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ main.c:127:18: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] param_unused = param_unused; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ main.c:170:18: warning: explicitly assigning value of variable of type 'void *' to itself [-Wself-assign] param_unused = param_unused; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ 3 warnings generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c memory.c -o memory.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c messages.c -o messages.o messages.c:236:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] notice(av[0], source, getstring(NULL,SERVICES_IS_BUSY)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages.c:236:29: note: treat the string as an argument to avoid this notice(av[0], source, getstring(NULL,SERVICES_IS_BUSY)); ^ "%s", 1 warning generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c misc.c -o misc.o misc.c:147:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (tolower(*s1) == tolower(*d)) { ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:147:22: warning: array subscript is of type 'char' [-Wchar-subscripts] if (tolower(*s1) == tolower(*d)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:169:7: warning: array subscript is of type 'char' [-Wchar-subscripts] *t = toupper(*t); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ misc.c:179:7: warning: array subscript is of type 'char' [-Wchar-subscripts] *t = tolower(*t); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:230:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*s)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ misc.c:233:19: warning: array subscript is of type 'char' [-Wchar-subscripts] while (t >= s && isspace(*t)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ misc.c:299:35: warning: array subscript is of type 'char' [-Wchar-subscripts] if ((docase ? (*s==*pattern) : (tolower(*s)==tolower(*pattern))) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:299:48: warning: array subscript is of type 'char' [-Wchar-subscripts] if ((docase ? (*s==*pattern) : (tolower(*s)==tolower(*pattern))) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:306:34: warning: array subscript is of type 'char' [-Wchar-subscripts] if (docase ? (*str != c) : (tolower(*str) != tolower(c))) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:306:51: warning: array subscript is of type 'char' [-Wchar-subscripts] if (docase ? (*str != c) : (tolower(*str) != tolower(c))) ^~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ misc.c:587:17: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*numstr)) { ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ misc.c:738:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isspace(*s)) /* because strtol() will skip whitespace */ ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 12 warnings generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c modes.c -o modes.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c modules.c -o modules.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c process.c -o process.o process.c:116:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*++s)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ process.c:128:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*++s)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ process.c:137:7: warning: address of array 'source' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!source && stricmp(cmd, "NICK") != 0) { ~^~~~~~ 3 warnings generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c send.c -o send.o send.c:225:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] notice(source, dest, *text); ^~~~~ send.c:225:27: note: treat the string as an argument to avoid this notice(source, dest, *text); ^ "%s", 1 warning generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c servers.c -o servers.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c signals.c -o signals.o signals.c:29:16: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] sig_unused = sig_unused; ~~~~~~~~~~ ^ ~~~~~~~~~~ signals.c:43:16: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] sig_unused = sig_unused; ~~~~~~~~~~ ^ ~~~~~~~~~~ signals.c:60:16: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] sig_unused = sig_unused; ~~~~~~~~~~ ^ ~~~~~~~~~~ 3 warnings generated. clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c sockets.c -o sockets.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c suspinfo.c -o suspinfo.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c timeout.c -o timeout.o clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -c users.c -o users.o gmake[1]: Entering directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules' gmake[2]: Entering directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules/chanserv' cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/main.c -o modules/chanserv/main.o modules/chanserv/main.c:232:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] notice(s_ChanServ, source, getstring(NULL, INTERNAL_ERROR)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/chanserv/main.c:232:29: note: treat the string as an argument to avoid this notice(s_ChanServ, source, getstring(NULL, INTERNAL_ERROR)); ^ "%s", modules/chanserv/main.c:1942:21: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] shutdown_unused = shutdown_unused; ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 2 warnings generated. touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access.c -o modules/chanserv/access.o modules/chanserv/access.c:43:34: warning: use of GNU old-style field designator extension [-Wgnu-designator] CL_CLEAR_MODE|CL_LESSEQUAL, { cumode: {"oha",0} } }, ^~~~~~~ .cumode = 1 warning generated. touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/autokick.c -o modules/chanserv/autokick.o modules/chanserv/autokick.c:126:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*mask) && strspn(mask, "1234567890,-") == strlen(mask)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ modules/chanserv/autokick.c:169:14: warning: array subscript is of type 'char' [-Wchar-subscripts] if (mask && isdigit(*mask) && ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ 2 warnings generated. touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/check.c -o modules/chanserv/check.o touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/set.c -o modules/chanserv/set.o touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/util.c -o modules/chanserv/util.o touch .stamp clang -shared main.o access.o autokick.o check.o set.o util.o -o main.so cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access-levels.c -o modules/chanserv/access-levels.o modules/chanserv/access-levels.c:74:9: warning: array subscript is of type 'char' [-Wchar-subscripts] && isspace(param[6]) ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ modules/chanserv/access-levels.c:203:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ modules/chanserv/access-levels.c:516:21: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] shutdown_unused = shutdown_unused; ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 3 warnings generated. touch .stamp clang -shared access-levels.o -o access-levels.so cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/access-xop.c -o modules/chanserv/access-xop.o modules/chanserv/access-xop.c:167:6: warning: array subscript is of type 'char' [-Wchar-subscripts] if (isdigit(*nick) && strspn(nick, "1234567890,-") == strlen(nick)) { ^~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ modules/chanserv/access-xop.c:401:21: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] shutdown_unused = shutdown_unused; ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 2 warnings generated. touch .stamp clang -shared access-xop.o -o access-xop.so cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/chanserv/sendpass.c -o modules/chanserv/sendpass.o modules/chanserv/sendpass.c:212:21: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] shutdown_unused = shutdown_unused; ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ 1 warning generated. touch .stamp clang -shared sendpass.o -o sendpass.so gmake[2]: Leaving directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules/chanserv' touch .stamp gmake[2]: Entering directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules/database' cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/database/version4.c -o modules/database/version4.o modules/database/version4.c:209:5: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ni->nick, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:212:5: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(passbuf, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:257:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(si->who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:295:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ngi->memos.memos[i].sender, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:464:9: warning: explicitly assigning value of variable of type 'Module *' (aka 'struct Module_ *') to itself [-Wself-assign] mod = mod; ~~~ ^ ~~~ modules/database/version4.c:626:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ni->nick, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:628:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ngi->pass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:640:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(dummypass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:671:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ngi->suspendinfo->who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:692:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ngi->memos.memos[i].sender, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:710:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(buf, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:873:5: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ci->name, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:898:5: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ci->founderpass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:909:5: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ci->last_topic_setter, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:917:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(si->who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:984:7: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ci->akick[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1020:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(ci->memos.memos[i].sender, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1148:9: warning: explicitly assigning value of variable of type 'Module *' (aka 'struct Module_ *') to itself [-Wself-assign] mod = mod; ~~~ ^ ~~~ modules/database/version4.c:1265:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->name, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1274:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->founderpass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1281:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->last_topic_setter, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1286:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->suspendinfo->who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1326:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->akick[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1346:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(ci->memos.memos[i].sender, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1357:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(buf, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1516:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(local_supass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1569:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(local_supass, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1706:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(newslist[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1716:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(t, f)); ^~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1746:2: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(newslist[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1908:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(list[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1912:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(list[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1925:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(t, f)); ^~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1929:3: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(read_buffer(t, f)); ^~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1972:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(list[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ modules/database/version4.c:1976:6: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] SAFE(write_buffer(list[i].who, f)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modules/database/version4.c:38:30: note: expanded from macro 'SAFE' #define SAFE(x) do { if ((x) < 0) goto fail; } while (0) ~~~ ^ ~ 36 warnings generated. touch .stamp cd ../.. && clang -fPIC -O2 -g -Wall -Wmissing-prototypes -fno-builtin-log -I. -c modules/database/extsyms.c -o modules/database/extsyms.o modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_return' [-Wimplicit-function-declaration] IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi); ^ modules/database/extsyms.c:150:5: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ modules/database/extsyms.c:230:1: note: did you mean '__builtin_memcpy'? modules/database/extsyms.c:150:5: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ /usr/include/sys/endian.h:203:1: note: '__builtin_memcpy' declared here __GEN_ENDIAN_ENC(16, be) ^ /usr/include/sys/endian.h:200:2: note: expanded from macro '__GEN_ENDIAN_ENC' __builtin_memcpy(dst, &u, sizeof(u)); \ ^ modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration] IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi); ^ modules/database/extsyms.c:150:22: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ modules/database/extsyms.c:230:1: note: did you mean '__builtin_memcpy'? modules/database/extsyms.c:150:22: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ /usr/include/sys/endian.h:203:1: note: '__builtin_memcpy' declared here __GEN_ENDIAN_ENC(16, be) ^ /usr/include/sys/endian.h:200:2: note: expanded from macro '__GEN_ENDIAN_ENC' __builtin_memcpy(dst, &u, sizeof(u)); \ ^ modules/database/extsyms.c:230:1: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration] IMPORT_FUNC("nickserv/main", module_nickserv, _get_ngi); ^ modules/database/extsyms.c:150:43: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ modules/database/extsyms.c:230:1: note: did you mean '__builtin_apply'? modules/database/extsyms.c:150:43: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ modules/database/extsyms.c:230:1: note: '__builtin_apply' declared here modules/database/extsyms.c:150:22: note: expanded from macro 'IMPORT_FUNC' __builtin_return(__builtin_apply(ptr, __builtin_apply_args(), 64)); \ ^ 3 errors generated. ../Makerules:167: recipe for target '.compiled-extsyms.o' failed gmake[4]: *** [.compiled-extsyms.o] Error 1 ../Makerules:154: recipe for target 'extsyms.o' failed gmake[3]: *** [extsyms.o] Error 2 ../Makerules:97: recipe for target 'version4.so' failed gmake[2]: *** [version4.so] Error 2 gmake[2]: Leaving directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules/database' Makefile:20: recipe for target 'all-dynamic' failed gmake[1]: *** [all-dynamic] Error 2 gmake[1]: Leaving directory '/data/scratch/chat/ircservices/work/ircservices-5.0.64/modules' Makefile:120: recipe for target 'modules' failed gmake: *** [modules] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/chat/ircservices *** Error code 1 Stop. make: stopped in /data/pkgsrc/chat/ircservices