=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for anope-1.7.21nb8 (cd lang ; /usr/pkg/bin/gmake 'CFLAGS=-pipe -O2 -I/usr/include -Wl,--export-dynamic' 'CC=clang' 'ANOPELIBS=' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'BINDEST=/usr/pkg/lib/anope' 'INSTALL=/usr/bin/install -c -o root -g wheel' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/usr/pkg/lib/anope' 'RUNGROUP=anope' 'MODULE_PATH=/usr/pkg/lib/anope/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' all language.h ; ) (cd include ; /usr/pkg/bin/gmake 'CFLAGS=-pipe -O2 -I/usr/include -Wl,--export-dynamic' 'CC=clang' 'ANOPELIBS=' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' 'BINDEST=/usr/pkg/lib/anope' 'INSTALL=/usr/bin/install -c -o root -g wheel' 'INCLUDEDIR=../include' 'RM=/bin/rm' 'CP=/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'DATDEST=/usr/pkg/lib/anope' 'RUNGROUP=anope' 'MODULE_PATH=/usr/pkg/lib/anope/modules/' 'RDB=' 'MYSQL=' 'SHARED=-shared' 'MODULEFLAGS=-fPIC -DPIC -shared' ) gmake[1]: Entering directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/include' touch services.h gmake[1]: Entering directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/lang' clang -pipe -O2 -I/usr/include -Wl,--export-dynamic langcomp.c -o langcomp grep '^[A-Z]' en_us.l >index sh version.sh Generating language.h... gmake[1]: Leaving directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/include' 1684 strings cp language.h ../include ./langcomp cat.l ./langcomp de.l ./langcomp en_us.l ./langcomp es.l ./langcomp fr.l ./langcomp gr.l ./langcomp hun.l ./langcomp it.l ./langcomp nl.l ./langcomp pl.l ./langcomp pt.l ./langcomp ru.l ./langcomp tr.l gmake[1]: Leaving directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/lang' *** Building src gmake[1]: Entering directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/src' clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c actions.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c base64.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c botserv.c base64.c:298:14: warning: cast to 'unsigned char *' from smaller integer type 'in_addr_t' (aka 'unsigned int') [-Wint-to-pointer-cast] cp = (unsigned char *) ia.s_addr; ^ clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c channels.c 1 warning generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c chanserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c commands.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c compat.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c config.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c datafiles.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c encrypt.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c events.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c helpserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c hostserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c init.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c ircd.c hostserv.c:127:31: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((next->vIdent == NULL)) { ~~~~~~~~~~~~~^~~~~~~ hostserv.c:127:31: note: remove extraneous parentheses around the comparison to silence this warning if ((next->vIdent == NULL)) { ~ ^ ~ hostserv.c:127:31: note: use '=' to turn this equality comparison into an assignment if ((next->vIdent == NULL)) { ^~ = hostserv.c:216:34: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((newCore->vIdent == NULL)) { ~~~~~~~~~~~~~~~~^~~~~~~ hostserv.c:216:34: note: remove extraneous parentheses around the comparison to silence this warning if ((newCore->vIdent == NULL)) { ~ ^ ~ hostserv.c:216:34: note: use '=' to turn this equality comparison into an assignment if ((newCore->vIdent == NULL)) { ^~ = ircd.c:290:6: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ 2 warnings generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c language.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c list.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c log.c 1 warning generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c mail.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c main.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c memory.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c memoserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c messages.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c misc.c memoserv.c:386:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(mail->pipe, getstring2(NULL, MEMO_MAIL_TEXT3)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/extern.h:710:2: note: expanded from macro 'getstring2' (langtexts[((nc)?((NickCore*)nc)->language:NSDefLanguage)][(index)]) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memoserv.c:386:25: note: treat the string as an argument to avoid this fprintf(mail->pipe, getstring2(NULL, MEMO_MAIL_TEXT3)); ^ "%s", ../include/extern.h:710:2: note: expanded from macro 'getstring2' (langtexts[((nc)?((NickCore*)nc)->language:NSDefLanguage)][(index)]) ^ memoserv.c:429:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(text, fmt); ^~~ memoserv.c:429:27: note: treat the string as an argument to avoid this sprintf(text, fmt); ^ "%s", 2 warnings generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c modules.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c news.c modules.c:286:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] alog(ano_moderr()); ^~~~~~~~~~~~ ../include/modules.h:36:24: note: expanded from macro 'ano_moderr' #define ano_moderr() dlerror() ^~~~~~~~~ modules.c:286:21: note: treat the string as an argument to avoid this alog(ano_moderr()); ^ "%s", ../include/modules.h:36:24: note: expanded from macro 'ano_moderr' #define ano_moderr() dlerror() ^ modules.c:621:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] alog(err); ^~~ modules.c:621:14: note: treat the string as an argument to avoid this alog(err); ^ "%s", modules.c:737:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] alog(ano_moderr()); ^~~~~~~~~~~~ ../include/modules.h:36:24: note: expanded from macro 'ano_moderr' #define ano_moderr() dlerror() ^~~~~~~~~ modules.c:737:14: note: treat the string as an argument to avoid this alog(ano_moderr()); ^ "%s", ../include/modules.h:36:24: note: expanded from macro 'ano_moderr' #define ano_moderr() dlerror() ^ modules.c:1245:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] && (!strcmp(c->service, current->c->service) == 0)) { ^ ~~ modules.c:1245:17: note: add parentheses after the '!' to evaluate the comparison first && (!strcmp(c->service, current->c->service) == 0)) { ^ ( ) modules.c:1245:17: note: add parentheses around left hand side expression to silence this warning && (!strcmp(c->service, current->c->service) == 0)) { ^ ( ) clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c nickserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c operserv.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c process.c 4 warnings generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c send.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c servers.c send.c:55:14: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ send.c:95:14: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ send.c:129:14: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ send.c:299:14: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ send.c:335:10: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ send.c:361:10: warning: address of array 'buf' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!buf) { ~^~~ clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c sessions.c 6 warnings generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c slist.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c sockutil.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c timeout.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -I../include/ -c users.c clang -pipe -O2 -I/usr/include -Wl,--export-dynamic -fPIC -DPIC -shared -I../include/ -c mod_version.c users.c:509:46: warning: illegal character encoding in string literal [-Winvalid-source-encoding] alog("debug: new userwith no vhost in NICK command: %s", nick); ^~~~ 1 warning generated. clang -pipe -O2 -I/usr/include -Wl,--export-dynamic actions.o base64.o botserv.o channels.o chanserv.o commands.o compat.o config.o datafiles.o encrypt.o events.o helpserv.o hostserv.o init.o ircd.o language.o list.o log.o mail.o main.o memory.o memoserv.o messages.o misc.o modules.o news.o nickserv.o operserv.o process.o send.o servers.o sessions.o slist.o sockutil.o timeout.o users.o -o services -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib main.o: In function `do_backtrace': main.c:(.text+0x977): undefined reference to `backtrace' main.c:(.text+0x985): undefined reference to `backtrace_symbols' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:36: recipe for target 'services' failed gmake[1]: *** [services] Error 1 gmake[1]: Leaving directory '/var/pkgsrc/work/chat/anope/work/anope-1.7.21/src' Makefile:36: recipe for target 'build' failed gmake: *** [build] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/chat/anope *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/chat/anope