=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for sharity-light-1.3 --- nfs_dir --- --- proc.o --- --- recode.o --- --- nfs_dir --- (cd nfs; /usr/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD" "CC=clang" "ARCH= " "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized") --- proc.o --- clang -Iinclude -I. -Wall -O2 -DNETBSD -c -o proc.o proc.c --- recode.o --- clang -Iinclude -I. -Wall -O2 -DNETBSD -c -o recode.o recode.c --- nfs_dir --- --- nfs_prot.h --- rm -f nfs_prot.h --- proc.o --- proc.c:88:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:88:19: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^~~~ /usr/include/string.h:82:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:96:9: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:96:12: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, name); ^~~~ /usr/include/string.h:82:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:137:22: warning: passing 'const byte *' (aka 'const unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] len = strlen(name); ^~~~ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ --- nfs_dir --- --- nfs_prot_xdr.c --- --- nfs_prot.h --- rpcgen -h nfs_prot.x | sed 's@char data\[NFS_FHSIZE\];@long long data\[NFS_FHSIZE / sizeof(long long)\];@' > nfs_prot.h --- nfs_prot_xdr.c --- rm -f nfs_prot_xdr.c rpcgen -c nfs_prot.x | sed 's;^#include ".*/nfs_prot.h"$;#include "nfs_prot.h";' >nfs_prot_xdr.c --- proc.o --- proc.c:546:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char* buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:554:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:557:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:557:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^~~~~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:570:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:573:34: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:573:37: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^~~~~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:608:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:628:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:645:50: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); ^~~~ proc.c:113:32: note: passing argument to parameter 'data' here smb_decode_data(byte *p, byte *data, word *data_len, int fs) ^ proc.c:668:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:683:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = smb_request_read_raw(server, data, count); ^~~~ include/smb/smb_fs.h:158:41: note: passing argument to parameter 'target' here unsigned char *target, int max_len); ^ proc.c:693:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:720:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:748:48: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = smb_request_write_raw(server, data, count); ^~~~ include/smb/smb_fs.h:160:48: note: passing argument to parameter 'source' here unsigned const char *source, int length); ^ proc.c:778:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:782:5: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, command, 3, len + 2); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:785:20: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:785:23: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:824:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:831:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBmv, 1, olen + nlen + 4); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:833:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:833:33: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:833:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:834:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:834:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:854:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBmkdir, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:855:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:855:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:875:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBrmdir, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:876:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:876:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:891:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:897:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBunlink, 1, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:899:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:899:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:914:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:919:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBwrite, 5, 3); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:924:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:924:29: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:987:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:998:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1002:46: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1002:49: warning: passing 'char [dirlen + 5]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1002:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1004:45: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_word(p, 0); ^ proc.c:59:23: note: passing argument to parameter 'p' here smb_encode_word(byte *p, word data) ^ proc.c:1004:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_word(p, 0); ^ ~~~~~~~~~~~~~~~~~~~~~ proc.c:1006:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1010:46: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1010:49: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1010:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1011:47: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ proc.c:104:25: note: passing argument to parameter 'p' here smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:1011:50: warning: passing 'char [21]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^~~~~~ proc.c:104:40: note: passing argument to parameter 'data' here smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:1011:27: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1030:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_VWV(server->packet); ^ ~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1031:37: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1031:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1032:37: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1032:19: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1269:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_BUF(outbuf); ^ ~~~~~~~~~~~~~~~ proc.c:1257:28: warning: implicit conversion from 'int' to 'unsigned char' changes value from 4079 to 239 [-Wconstant-conversion] WSET(outbuf,smb_mdrcnt,TRANS2_MAX_TRANSFER); ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ include/smb/smb.h:18:34: note: expanded from macro 'TRANS2_MAX_TRANSFER' #define TRANS2_MAX_TRANSFER (4096-17) ~~~~^~~ include/smb/smb.h:36:43: note: expanded from macro 'WSET' #define WSET(buf,pos,val) (BVAL(buf,pos)=(val), BVAL(buf,(pos)+1)=(unsigned)(val)>>8) ~ ^~~ proc.c:1461:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1468:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBgetatr, 0, 2 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1469:26: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1469:29: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1493:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char* buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1557:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1564:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_setup_header(server, SMBsetatr, 8, 4 + len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1567:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1567:33: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1567:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1568:30: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:24: note: passing argument to parameter 'p' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1568:33: warning: passing 'char [1]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1568:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1585:15: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] char *buf = server->packet; ^ ~~~~~~~~~~~~~~ proc.c:1647:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = SMB_VWV(server->packet); ^ ~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1648:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1648:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1649:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1649:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1650:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1650:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ proc.c:1651:29: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ proc.c:67:23: note: passing argument to parameter 'p' here smb_decode_word(byte *p, word *data) ^ proc.c:1651:11: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- nfs_dir --- --- mount.o --- clang -c -I. -I.. -Wall -O2 -DNETBSD mount.c --- proc.o --- proc.c:1728:32: warning: passing 'char [17]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_name_mangle(p, server->m.server_name); ^~~~~~~~~~~~~~~~~~~~~ proc.c:133:38: note: passing argument to parameter 'name' here smb_name_mangle(byte *p, const byte *name) ^ proc.c:1729:32: warning: passing 'char [17]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_name_mangle(p, server->m.client_name); ^~~~~~~~~~~~~~~~~~~~~ proc.c:133:38: note: passing argument to parameter 'name' here smb_name_mangle(byte *p, const byte *name) ^ proc.c:1773:42: warning: passing 'const char *' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name)); ^~~~~~~~~~~~~ proc.c:85:41: note: passing argument to parameter 'name' here smb_encode_dialect(byte *p, const byte *name, int len) ^ proc.c:1841:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.password); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1843:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.username); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1845:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, cfg_workgroup); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1846:37: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ proc.c:1847:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, OS_id); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1848:37: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] p += strlen(p) + 1; ^ /usr/include/string.h:95:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ proc.c:1849:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, client_id); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1865:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.password); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1867:32: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(p, server->m.username); ^ /usr/include/string.h:82:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ proc.c:1893:33: warning: passing 'char [64]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, server->m.service, strlen(server->m.service)); ^~~~~~~~~~~~~~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1894:32: warning: passing 'char [64]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p,server->m.password, strlen(server->m.password)); ^~~~~~~~~~~~~~~~~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1895:33: warning: passing 'char [3]' to parameter of type 'const byte *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] p = smb_encode_ascii(p, dev, strlen(dev)); ^~~ proc.c:93:39: note: passing argument to parameter 'name' here smb_encode_ascii(byte *p, const byte *name, int len) ^ --- nfs_dir --- --- nfs_funcs.o --- clang -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c --- mount.o --- mount.c:150:51: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(sock, (struct sockaddr*) &sain, &namelen) <0) { ^~~~~~~~ /usr/include/sys/socket.h:624:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ --- nfs_funcs.o --- nfs_funcs.c:371:7: warning: passing 'u_int *' (aka 'unsigned int *') to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &res.readres_u.reply.data.data_len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../my_defines.h:91:33: note: passing argument to parameter 'len' here int fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count); ^ nfs_funcs.c:556:7: warning: incompatible function pointer types passing 'bool_t (*)()' (aka 'int (*)()') to parameter of type 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') [-Wincompatible-function-pointer-types] if (!svc_getargs(transp, dent->xdr_argument, (caddr_t)&argument)){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/rpc/svc.h:188:40: note: expanded from macro 'svc_getargs' (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp)) ^~~~~~~ nfs_funcs.c:565:47: warning: incompatible function pointer types passing 'bool_t (*)()' (aka 'int (*)()') to parameter of type 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') [-Wincompatible-function-pointer-types] if (result != NULL && !svc_sendreply(transp, dent->xdr_result, result)){ ^~~~~~~~~~~~~~~~ /usr/include/rpc/svc.h:299:49: note: passing argument to parameter here extern bool_t svc_sendreply(SVCXPRT *, xdrproc_t, void *); ^ nfs_funcs.c:568:7: warning: incompatible function pointer types passing 'bool_t (*)()' (aka 'int (*)()') to parameter of type 'xdrproc_t' (aka 'int (*)(struct XDR *, ...)') [-Wincompatible-function-pointer-types] if (!svc_freeargs(transp, dent->xdr_argument, (caddr_t)&argument)){ --- mount.o --- 1 warning generated. --- sock.o --- --- nfs_dir --- --- nfs_funcs.o --- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/rpc/svc.h:198:41: note: expanded from macro 'svc_freeargs' (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp)) ^~~~~~~ --- sock.o --- clang -Iinclude -I. -Wall -O2 -DNETBSD -c -o sock.o sock.c --- nfs_dir --- 4 warnings generated. --- sock.o --- sock.c:34:18: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] addr_len); ^~~~~~~~ /usr/include/sys/socket.h:628:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ sock.c:264:22: warning: cast to 'struct file *' from smaller integer type 'int' [-Wint-to-pointer-cast] server->sock_file = (struct file *)sock_fd; ^ --- nfs_dir --- --- syscalls.o --- clang -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c --- sock.o --- 2 warnings generated. --- nfs_dir --- --- nfs_prot_xdr.o --- clang -c -I. -I.. -Wall -O2 -DNETBSD -Wno-unused -Wno-switch -Wno-uninitialized -c nfs_prot_xdr.c --- syscalls.o --- syscalls.c:64:11: fatal error: 'nfs/rpcv2.h' file not found # include ^~~~~~~~~~~~~ 1 error generated. *** [syscalls.o] Error code 1 bmake[1]: stopped in /var/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.3/nfs --- nfs_prot_xdr.o --- nfs_prot_xdr.c:64:24: warning: incompatible pointer types passing 'long long [4]' to parameter of type 'char *' [-Wincompatible-pointer-types] if (!xdr_opaque(xdrs, objp->data, NFS_FHSIZE)) ^~~~~~~~~~ /usr/include/rpc/xdr.h:303:39: note: passing argument to parameter here extern bool_t xdr_opaque(XDR *, char *, u_int); ^ 1 warning generated. 1 error bmake[1]: stopped in /var/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.3/nfs *** [nfs_dir] Error code 2 bmake: stopped in /var/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.3 --- proc.o --- 104 warnings generated. 1 error bmake: stopped in /var/pkgsrc/work/net/sharity-light/work/Sharity-Light.1.3 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/sharity-light *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sharity-light