=> 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 cy2-ntlm-2.1.26nb4 cd .. && /usr/pkg/bin/gmake am--refresh gmake[1]: Entering directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26/config/missing --run aclocal-1.11 -I ./cmulocal -I ./config WARNING: 'aclocal' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.in'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. cd . && /bin/sh /data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26/config/missing --run automake-1.11 --gnu WARNING: 'automake' is missing on your system. You should only need it if you modified 'Makefile.am', 'acinclude.m4' or 'configure.in'. You might want to install the Automake and Perl packages. Grab them from any GNU archive site. CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26/config/missing --run autoconf WARNING: 'autoconf' is missing on your system. You should only need it if you modified 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. /bin/sh ./config.status --recheck cd . && /bin/sh ./config.status Makefile config.status: creating Makefile /bin/sh ./config.status --recheck gmake[1]: Leaving directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' gmake[1]: Entering directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' /bin/sh ./config.status --recheck gmake[1]: Leaving directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' cd .. && /usr/pkg/bin/gmake am--refresh gmake[1]: Entering directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' /bin/sh ./config.status --recheck gmake[1]: Leaving directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' cd .. && /bin/sh ./config.status plugins/Makefile depfiles config.status: creating plugins/Makefile config.status: executing depfiles commands cd .. && /usr/pkg/bin/gmake am--refresh gmake[1]: Entering directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' /bin/sh ./config.status --recheck gmake[1]: Leaving directory '/data/scratch/security/cy2-ntlm/work/cyrus-sasl-2.1.26' /bin/sh ../libtool --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../include -I/usr/pkg/include/sasl -I/usr/pkg/include -I/usr/include -I/usr/include -Wall -W -O2 -I/usr/pkg/include -I/usr/include -MT ntlm.lo -MD -MP -MF .deps/ntlm.Tpo -c -o ntlm.lo ntlm.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I/data/scratch/security/cy2-ntlm/work/.buildlink/include/sasl -I/data/scratch/security/cy2-ntlm/work/.buildlink/include -Wall -W -O2 -MT ntlm.lo -MD -MP -MF .deps/ntlm.Tpo -c ntlm.c -fPIC -DPIC -o .libs/ntlm.o ntlm.c:278:33: warning: passing 'const u_char *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] to_unicode(base + *offset, str, len); ^~~ ntlm.c:255:49: note: passing argument to parameter 'src' here static void to_unicode(u_char *dst, const char *src, int len) ^ ntlm.c:376:18: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(P14, passwd->data, sizeof(P14)); ^~~~~~~~~~~~ /usr/include/string.h:64:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ntlm.c:379:12: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] E(P16, P14, sizeof(P14), S8, sizeof(S8)); ^~~ ntlm.c:335:50: note: passing argument to parameter 'K' here static void E(unsigned char *out, unsigned char *K, unsigned Klen, ^ ntlm.c:393:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] to_unicode(*buf, passwd->data, passwd->len); ^~~~ ntlm.c:255:32: note: passing argument to parameter 'dst' here static void to_unicode(u_char *dst, const char *src, int len) ^ ntlm.c:393:19: warning: passing 'unsigned char [1]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] to_unicode(*buf, passwd->data, passwd->len); ^~~~~~~~~~~~ ntlm.c:255:49: note: passing argument to parameter 'src' here static void to_unicode(u_char *dst, const char *src, int len) ^ ntlm.c:394:6: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] MD4(*buf, 2 * passwd->len, P16); ^~~~ /usr/include/openssl/md4.h:43:41: note: passing argument to parameter 'd' here unsigned char *MD4(const unsigned char *d, size_t n, unsigned char *md); ^ ntlm.c:427:14: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ ntlm.c:447:13: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] to_unicode(*buf, upper, len); ^~~~ ntlm.c:255:32: note: passing argument to parameter 'dst' here static void to_unicode(u_char *dst, const char *src, int len) ^ ntlm.c:449:43: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] HMAC(EVP_md5(), hash, MD4_DIGEST_LENGTH, *buf, 2 * len, hash, &len); ^~~~ /usr/include/openssl/hmac.h:38:42: note: passing argument to parameter 'd' here const unsigned char *d, size_t n, unsigned char *md, ^ ntlm.c:452:2: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init(&ctx, hash, len, EVP_md5()); ^ /usr/include/openssl/hmac.h:28:1: note: 'HMAC_Init' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ ntlm.c:456:2: warning: implicit declaration of function 'HMAC_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_cleanup(&ctx); ^ ntlm.c:771:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(out+18, in, n); ^~~~~~ /usr/include/string.h:64:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ntlm.c:772:8: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] in = out+18; ^ ~~~~~~ ntlm.c:1036:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = text->out_buf; ^ ~~~~~~~~~~~~~ ntlm.c:1118:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] from_unicode(*domain, *domain, len); ^~~~~~~ ntlm.c:264:45: note: passing argument to parameter 'src' here static void from_unicode(char *dst, u_char *src, int len) ^ ntlm.c:1259:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = text->out_buf; ^ ~~~~~~~~~~~~~ ntlm.c:1346:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] base = *buf; ^ ~~~~ ntlm.c:1351:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ucase(target, 0), (uint16) xstrlen(target), flags & NTLM_USE_UNICODE, ^~~~~~~~~~~~~~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:1382:10: warning: array subscript is of type 'char' [-Wchar-subscripts] if(!isspace(tmp[i])) tmp[j++] = tmp[i]; ^~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ ntlm.c:1503:44: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result = unload_buffer(sparams->utils, clientin + NTLM_TYPE3_LMRESP_OFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:293:67: note: passing argument to parameter 'buf' here static int unload_buffer(const sasl_utils_t *utils, const u_char *buf, ^ ntlm.c:1505:7: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] clientin, clientinlen); ^~~~~~~~ ntlm.c:295:32: note: passing argument to parameter 'base' here int unicode, const u_char *base, unsigned msglen) ^ ntlm.c:1508:44: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result = unload_buffer(sparams->utils, clientin + NTLM_TYPE3_NTRESP_OFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:293:67: note: passing argument to parameter 'buf' here static int unload_buffer(const sasl_utils_t *utils, const u_char *buf, ^ ntlm.c:1510:7: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] clientin, clientinlen); ^~~~~~~~ ntlm.c:295:32: note: passing argument to parameter 'base' here int unicode, const u_char *base, unsigned msglen) ^ ntlm.c:1513:44: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result = unload_buffer(sparams->utils, clientin + NTLM_TYPE3_DOMAIN_OFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:293:67: note: passing argument to parameter 'buf' here static int unload_buffer(const sasl_utils_t *utils, const u_char *buf, ^ ntlm.c:1516:7: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] clientin, clientinlen); ^~~~~~~~ ntlm.c:295:32: note: passing argument to parameter 'base' here int unicode, const u_char *base, unsigned msglen) ^ ntlm.c:1519:44: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result = unload_buffer(sparams->utils, clientin + NTLM_TYPE3_USER_OFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:293:67: note: passing argument to parameter 'buf' here static int unload_buffer(const sasl_utils_t *utils, const u_char *buf, ^ ntlm.c:1522:7: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] clientin, clientinlen); ^~~~~~~~ ntlm.c:295:32: note: passing argument to parameter 'base' here int unicode, const u_char *base, unsigned msglen) ^ ntlm.c:1585:10: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(password->data, auxprop_values[0].values[0], pass_len + 1); ^~~~~~~~~~~~~~ /usr/include/string.h:64:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ ntlm.c:1808:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] base = *buf; ^ ~~~~ ntlm.c:1814:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] domain, (uint16) xstrlen(domain), 0, base, &offset); ^~~~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:1816:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] wkstn, (uint16) xstrlen(wkstn), 0, base, &offset); ^~~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:1861:10: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] base = *buf; ^ ~~~~ ntlm.c:1870:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ucase(domain, 0), (uint16) xstrlen(domain), flags & NTLM_USE_UNICODE, ^~~~~~~~~~~~~~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:1873:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] user, (uint16) xstrlen(user), flags & NTLM_USE_UNICODE, base, &offset); ^~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:1875:3: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] ucase(wkstn, 0), (uint16) xstrlen(wkstn), flags & NTLM_USE_UNICODE, ^~~~~~~~~~~~~~~ ntlm.c:273:52: note: passing argument to parameter 'str' here static void load_buffer(u_char *buf, const u_char *str, uint16 len, ^ ntlm.c:2014:43: warning: passing 'const char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] result = unload_buffer(params->utils, serverin + NTLM_TYPE2_TARGET_OFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:293:67: note: passing argument to parameter 'buf' here static int unload_buffer(const sasl_utils_t *utils, const u_char *buf, ^ ntlm.c:2030:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *cnonce = resp + MD5_DIGEST_LENGTH; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:2038:5: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] serverin + NTLM_TYPE2_CHALLENGE_OFFSET, cnonce, NTLM_NONCE_LENGTH, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntlm.c:422:26: note: passing argument to parameter 'challenge' here const unsigned char *challenge, ^ ntlm.c:2038:45: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] serverin + NTLM_TYPE2_CHALLENGE_OFFSET, cnonce, NTLM_NONCE_LENGTH, ^~~~~~ ntlm.c:423:26: note: passing argument to parameter 'blob' here const unsigned char *blob, unsigned bloblen, ^ 38 warnings and 1 error generated. Makefile:592: recipe for target 'ntlm.lo' failed gmake: *** [ntlm.lo] Error 1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/cy2-ntlm *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/cy2-ntlm