=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for jabberd-2.7.0nb8 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in man --- jabberd.8 --- --- c2s.8 --- --- router.8 --- --- s2s.8 --- --- sm.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 --- sm.8 --- generating sm.8 from sm.8.in --- s2s.8 --- generating s2s.8 from s2s.8.in Making all in subst --- dirent.lo --- --- getopt.lo --- --- gettimeofday.lo --- --- inet_aton.lo --- --- inet_ntop.lo --- --- inet_pton.lo --- --- snprintf.lo --- --- syslog.lo --- --- dirent.lo --- CC dirent.lo --- getopt.lo --- CC getopt.lo --- gettimeofday.lo --- CC gettimeofday.lo --- inet_aton.lo --- CC inet_aton.lo --- inet_ntop.lo --- CC inet_ntop.lo --- inet_pton.lo --- CC inet_pton.lo --- syslog.lo --- CC syslog.lo --- snprintf.lo --- CC snprintf.lo --- strndup.lo --- --- timegm.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_select.lo --- --- mio_kqueue.lo --- --- mio_wsasync.lo --- --- mio.lo --- CC mio.lo --- mio_epoll.lo --- CC mio_epoll.lo --- mio_poll.lo --- CC mio_poll.lo --- mio_kqueue.lo --- CC mio_kqueue.lo --- mio_select.lo --- CC mio_select.lo --- mio_wsasync.lo --- CC mio_wsasync.lo --- libmio.la --- CCLD libmio.la Making all in sx --- libsx_la-callback.lo --- --- libsx_la-chain.lo --- --- libsx_la-client.lo --- --- libsx_la-env.lo --- --- libsx_la-error.lo --- --- libsx_la-io.lo --- --- libsx_la-server.lo --- --- libsx_la-sx.lo --- --- libsx_la-callback.lo --- CC libsx_la-callback.lo --- libsx_la-chain.lo --- CC libsx_la-chain.lo --- libsx_la-client.lo --- CC libsx_la-client.lo --- libsx_la-env.lo --- CC libsx_la-env.lo --- libsx_la-error.lo --- CC libsx_la-error.lo --- libsx_la-io.lo --- CC libsx_la-io.lo --- libsx_la-server.lo --- CC libsx_la-server.lo --- libsx_la-sx.lo --- CC libsx_la-sx.lo --- libsx_la-client.lo --- In file included from client.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-io.lo --- In file included from io.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-error.lo --- In file included from error.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-sx.lo --- In file included from sx.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-callback.lo --- In file included from callback.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-env.lo --- In file included from env.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-server.lo --- In file included from server.c:21: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-chain.lo --- In file included from chain.c:23: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-error.lo --- 1 warning generated. --- libsx_la-callback.lo --- 1 warning generated. --- libsx_la-client.lo --- 1 warning generated. --- libsx_la-chain.lo --- 1 warning generated. --- libsx_la-env.lo --- 1 warning generated. --- libsx_la-io.lo --- 1 warning generated. --- libsx_la-sx.lo --- 1 warning generated. --- libsx_la-server.lo --- 1 warning generated. --- libsx_la-sasl.lo --- CC libsx_la-sasl.lo --- libsx_la-ack.lo --- CC libsx_la-ack.lo --- libsx_la-ssl.lo --- --- libsx_la-compress.lo --- --- libsx_la-ssl.lo --- CC libsx_la-ssl.lo --- libsx_la-compress.lo --- CC libsx_la-compress.lo --- libsx_la-websocket.lo --- CC libsx_la-websocket.lo --- libsx_la-ack.lo --- In file included from ack.c:24: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ --- libsx_la-websocket.lo --- In file included from websocket.c:25: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] --- libsx_la-ack.lo --- ../util/util_compat.h:104:9: note: previous definition is here --- libsx_la-websocket.lo --- # define SSL_OP_NO_TICKET 0x00004000U  ^ --- libsx_la-ack.lo --- #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-websocket.lo --- ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-ssl.lo --- In file included from ssl.c:26: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-compress.lo --- In file included from compress.c:23: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-sasl.lo --- In file included from sasl.c:23: In file included from ./sx.h:418: In file included from ./plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- libsx_la-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);  ^ --- libsx_la-ack.lo --- 1 warning generated. --- libsx_la-compress.lo --- 1 warning generated. --- libsx_la-websocket.lo --- 6 warnings generated. --- libsx_la-sasl.lo --- 1 warning generated. --- libsx_la-ssl.lo --- 1 warning generated. --- libsx.la --- CCLD libsx.la Making all in util --- access.lo --- --- base64.lo --- --- config.lo --- --- datetime.lo --- --- hex.lo --- --- inaddr.lo --- --- jid.lo --- --- jqueue.lo --- --- access.lo --- CC access.lo --- base64.lo --- CC base64.lo --- jid.lo --- CC jid.lo --- config.lo --- CC config.lo --- hex.lo --- CC hex.lo --- datetime.lo --- CC datetime.lo --- jqueue.lo --- CC jqueue.lo --- inaddr.lo --- CC inaddr.lo --- jsignal.lo --- CC jsignal.lo --- log.lo --- CC log.lo --- md5.lo --- CC md5.lo --- nad.lo --- CC nad.lo --- pool.lo --- CC pool.lo --- rate.lo --- CC rate.lo --- serial.lo --- CC serial.lo --- sha1.lo --- CC sha1.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 --- str.lo --- str.c:99:22: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] while(atts[i] != '\0')  ^~~~  (void *)0 1 warning generated. --- libutil.la --- CCLD libutil.la Making all in c2s --- c2s-authreg.o --- --- c2s-bind.o --- --- c2s-c2s.o --- --- c2s-main.o --- --- c2s-sm.o --- --- c2s-pbx.o --- --- c2s-pbx_commands.o --- --- c2s-address.o --- --- c2s-authreg.o --- CC c2s-authreg.o --- c2s-bind.o --- CC c2s-bind.o --- c2s-sm.o --- CC c2s-sm.o --- c2s-pbx.o --- CC c2s-pbx.o --- c2s-c2s.o --- CC c2s-c2s.o --- c2s-main.o --- CC c2s-main.o --- c2s-address.o --- CC c2s-address.o --- c2s-pbx_commands.o --- CC c2s-pbx_commands.o --- c2s-authreg.o --- In file included from authreg.c:21: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-bind.o --- In file included from bind.c:28: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-pbx_commands.o --- In file included from pbx_commands.c:37: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-c2s.o --- In file included from c2s.c:22: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-main.o --- In file included from main.c:21: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-sm.o --- In file included from sm.c:21: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-pbx.o --- In file included from pbx.c:28: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-address.o --- In file included from address.c:24: In file included from ./c2s.h:28: In file included from ../sx/sx.h:418: In file included from ../sx/plugins.h:60: /opt/work/chat/jabberd2/work/.buildlink/include/openssl/ssl.h:333:10: warning: 'SSL_OP_NO_TICKET' macro redefined [-Wmacro-redefined] # define SSL_OP_NO_TICKET 0x00004000U  ^ ../util/util_compat.h:104:9: note: previous definition is here #define SSL_OP_NO_TICKET 0x00004000L  ^ --- c2s-bind.o --- 1 warning generated. --- c2s-sm.o --- 1 warning generated. --- c2s-pbx_commands.o --- 1 warning generated. --- c2s-pbx.o --- 1 warning generated. --- c2s-address.o --- 1 warning generated. --- c2s-authreg.o --- 1 warning generated. --- c2s-main.o --- 1 warning generated. --- c2s-c2s.o --- 1 warning generated. --- c2s --- CCLD c2s ld: warning: directory not found for option '-L../../lib' Undefined symbols for architecture arm64: "_htobe16", referenced from: _libwebsock_send_fragment in libsx.a(libsx_la-websocket.o) _libwebsock_close_with_reason in libsx.a(libsx_la-websocket.o) _libwebsock_close in libsx.a(libsx_la-websocket.o) _libwebsock_fail_connection in libsx.a(libsx_la-websocket.o) __sx_websocket_rio in libsx.a(libsx_la-websocket.o) __sx_websocket_wio in libsx.a(libsx_la-websocket.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [c2s] Error code 1 bmake[2]: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0/c2s 1 error bmake[2]: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0/c2s *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0 1 error bmake[1]: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0 *** [all] Error code 2 bmake: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0 1 error bmake: stopped in /opt/work/chat/jabberd2/work/jabberd-2.7.0 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/chat/jabberd2 *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/chat/jabberd2