=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for jabberd-2.6.1nb3 --- config.h --- --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in man --- jabberd.8 --- --- c2s.8 --- --- router.8 --- --- jabberd.8 --- generating jabberd.8 from jabberd.8.in --- c2s.8 --- generating c2s.8 from c2s.8.in --- router.8 --- generating router.8 from router.8.in --- s2s.8 --- --- sm.8 --- --- s2s.8 --- generating s2s.8 from s2s.8.in --- sm.8 --- generating sm.8 from sm.8.in Making all in subst --- dirent.lo --- --- getopt.lo --- --- gettimeofday.lo --- --- dirent.lo --- CC dirent.lo --- getopt.lo --- CC getopt.lo --- gettimeofday.lo --- CC gettimeofday.lo --- inet_aton.lo --- --- inet_ntop.lo --- --- inet_aton.lo --- CC inet_aton.lo --- inet_pton.lo --- --- inet_ntop.lo --- CC inet_ntop.lo --- inet_pton.lo --- CC inet_pton.lo --- snprintf.lo --- --- syslog.lo --- --- snprintf.lo --- CC snprintf.lo --- strndup.lo --- --- syslog.lo --- CC syslog.lo --- strndup.lo --- CC strndup.lo --- timegm.lo --- CC timegm.lo --- libsubst.la --- CCLD libsubst.la Making all in tools --- jabberd --- generating jabberd from jabberd.in Making all in mio --- mio.lo --- --- mio_epoll.lo --- --- mio_poll.lo --- --- mio.lo --- CC mio.lo --- mio_epoll.lo --- CC mio_epoll.lo --- mio_poll.lo --- CC mio_poll.lo --- mio_select.lo --- CC mio_select.lo --- mio_kqueue.lo --- CC mio_kqueue.lo --- mio_wsasync.lo --- CC mio_wsasync.lo --- libmio.la --- CCLD libmio.la Making all in sx --- callback.lo --- --- chain.lo --- --- client.lo --- --- callback.lo --- CC callback.lo --- chain.lo --- CC chain.lo --- client.lo --- CC client.lo --- env.lo --- --- error.lo --- --- env.lo --- CC env.lo --- error.lo --- CC error.lo --- io.lo --- CC io.lo --- server.lo --- CC server.lo --- sx.lo --- CC sx.lo --- sasl.lo --- CC sasl.lo --- ack.lo --- CC ack.lo --- ssl.lo --- CC ssl.lo --- compress.lo --- --- websocket.lo --- --- compress.lo --- CC compress.lo --- websocket.lo --- CC websocket.lo websocket.c:217:15: warning: implicit declaration of function 'htobe16' is invalid in C99 [-Wimplicit-function-declaration] code_be = htobe16(code);  ^ websocket.c:238:16: warning: implicit declaration of function 'htobe16' is invalid in C99 [-Wimplicit-function-declaration] *code_be = htobe16(WS_CLOSE_PROTOCOL_ERROR);  ^ websocket.c:256:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] strunescape(sc->p, spool_print(sc->field)),  ^~~~~~~~~~~~~~~~~~~~~~ ../util/util.h:135:48: note: passing argument to parameter 'buf' here JABBERD2_API char *strunescape(pool_t p, char* buf);  ^ websocket.c:257:38: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] strunescape(sc->p, spool_print(sc->value)));  ^~~~~~~~~~~~~~~~~~~~~~ ../util/util.h:135:48: note: passing argument to parameter 'buf' here JABBERD2_API char *strunescape(pool_t p, char* buf);  ^ websocket.c:361:48: warning: passing 'unsigned char [20]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] char * accept = b64_encode(hash, sizeof(hash));  ^~~~ ../util/util.h:362:37: note: passing argument to parameter 'buf' here JABBERD2_API char *b64_encode(char *buf, int len);  ^ 5 warnings generated. --- libsx.la --- CCLD libsx.la Making all in util --- access.lo --- --- base64.lo --- --- config.lo --- --- access.lo --- CC access.lo --- base64.lo --- CC base64.lo --- config.lo --- CC config.lo --- datetime.lo --- CC datetime.lo --- hex.lo --- CC hex.lo --- inaddr.lo --- CC inaddr.lo --- jid.lo --- --- jqueue.lo --- --- jid.lo --- CC jid.lo --- jqueue.lo --- CC jqueue.lo --- jsignal.lo --- CC jsignal.lo --- log.lo --- --- md5.lo --- --- log.lo --- CC log.lo --- md5.lo --- CC md5.lo --- nad.lo --- CC nad.lo --- pool.lo --- --- rate.lo --- --- pool.lo --- CC pool.lo --- rate.lo --- CC rate.lo --- serial.lo --- CC serial.lo --- sha1.lo --- CC sha1.lo --- stanza.lo --- --- str.lo --- --- stanza.lo --- CC stanza.lo --- str.lo --- CC str.lo --- xdata.lo --- CC xdata.lo --- xhash.lo --- CC xhash.lo --- crypt_blowfish.lo --- CC crypt_blowfish.lo --- libutil.la --- CCLD libutil.la Making all in c2s --- c2s-authreg.o --- --- c2s-bind.o --- --- c2s-c2s.o --- --- c2s-authreg.o --- CC c2s-authreg.o --- c2s-bind.o --- CC c2s-bind.o --- c2s-c2s.o --- CC c2s-c2s.o --- c2s-main.o --- CC c2s-main.o --- c2s-sm.o --- CC c2s-sm.o --- c2s-pbx.o --- CC c2s-pbx.o --- c2s-pbx_commands.o --- CC c2s-pbx_commands.o --- c2s-address.o --- CC c2s-address.o --- c2s --- CCLD c2s ../sx/.libs/libsx.a(websocket.o): In function `libwebsock_send_fragment': websocket.c:(.text+0x236): undefined reference to `htobe16' ../sx/.libs/libsx.a(websocket.o): In function `libwebsock_close_with_reason': websocket.c:(.text+0x2ef): undefined reference to `htobe16' ../sx/.libs/libsx.a(websocket.o): In function `libwebsock_close': websocket.c:(.text+0x3ac): undefined reference to `htobe16' ../sx/.libs/libsx.a(websocket.o): In function `libwebsock_fail_connection': websocket.c:(.text+0x430): undefined reference to `htobe16' ../sx/.libs/libsx.a(websocket.o): In function `_sx_websocket_rio': websocket.c:(.text+0xa50): undefined reference to `htobe16' ../sx/.libs/libsx.a(websocket.o):websocket.c:(.text+0xfca): more undefined references to `htobe16' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [c2s] Error code 1 bmake[2]: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1/c2s 1 error bmake[2]: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1/c2s *** [all-recursive] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1 1 error bmake[1]: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1 *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1 1 error bmake: stopped in /var/pkgsrc/work/chat/jabberd2/work/jabberd-2.6.1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/chat/jabberd2 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/chat/jabberd2