+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for sharity-light-1.3 --- nfs_dir --- --- proc.o --- --- nfs_dir --- (cd nfs; /usr/pkg/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD" "CC=cc" "ARCH= " "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized") --- proc.o --- cc -Iinclude -I. -Wall -O2 -DNETBSD -c -o proc.o proc.c --- nfs_dir --- --- nfs_prot.h --- rm -f 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: In function 'smb_encode_dialect': proc.c:88:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:88:9: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'const byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c: In function 'smb_encode_ascii': proc.c:96:2: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:96:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, name); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'const byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c: In function 'smb_name_mangle': proc.c:137:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(name); ^ In file included from ./syshdr.h:12:0, from proc.c:13: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'const byte *' extern size_t strlen (const char *__s) ^ proc.c: In function 'smb_proc_open': proc.c:546:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char* buf = server->packet; ^ proc.c:554:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ --- nfs_dir --- --- mount.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD mount.c --- proc.o --- proc.c:557:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:557:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:570:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBopen, 2, 2 + len); ^ proc.c:573:17: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:573:17: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, pathname, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_close': proc.c:608:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c: In function 'smb_proc_read': proc.c:628:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:645:9: warning: pointer targets in passing argument 2 of 'smb_decode_data' differ in signedness [-Wpointer-sign] smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs); ^ proc.c:113:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_data(byte *p, byte *data, word *data_len, int fs) ^ proc.c: In function 'smb_proc_read_raw': proc.c:668:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:683:9: warning: pointer targets in passing argument 2 of 'smb_request_read_raw' differ in signedness [-Wpointer-sign] result = smb_request_read_raw(server, data, count); ^ In file included from proc.c:12:0: include/smb/smb_fs.h:157:5: note: expected 'unsigned char *' but argument is of type 'char *' int smb_request_read_raw(struct smb_server *server, ^ proc.c: In function 'smb_proc_write': proc.c:693:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c: In function 'smb_proc_write_raw': proc.c:720:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:748:9: warning: pointer targets in passing argument 2 of 'smb_request_write_raw' differ in signedness [-Wpointer-sign] result = smb_request_write_raw(server, data, count); ^ In file included from proc.c:12:0: include/smb/smb_fs.h:159:5: note: expected 'const unsigned char *' but argument is of type 'const char *' int smb_request_write_raw(struct smb_server *server, ^ proc.c: In function 'smb_proc_do_create': proc.c:778:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:782:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, command, 3, len + 2); ^ proc.c:785:3: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:785:3: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_mv': proc.c:824:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:831:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBmv, 1, olen + nlen + 4); ^ proc.c:833:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:833:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:833:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, opath, olen); ^ proc.c:834:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:834:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, npath, olen); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_mkdir': proc.c:854:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBmkdir, 0, 2 + len); ^ proc.c:855:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:855:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_rmdir': proc.c:875:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBrmdir, 0, 2 + len); ^ proc.c:876:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:876:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_unlink': proc.c:891:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:897:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBunlink, 1, 2 + len); ^ proc.c:899:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:899:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_trunc': proc.c:914:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:919:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBwrite, 5, 3); ^ proc.c:924:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:924:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_readdir_short': proc.c:987:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = server->packet; ^ proc.c:998:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ proc.c:1002:25: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1002:25: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1002:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, mask, strlen(mask)); ^ proc.c:1004:25: warning: pointer targets in passing argument 1 of 'smb_encode_word' differ in signedness [-Wpointer-sign] p = smb_encode_word(p, 0); ^ proc.c:59:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_word(byte *p, word data) ^ proc.c:1004:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_word(p, 0); ^ proc.c:1006:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBsearch, 2, ^ proc.c:1010:25: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1010:25: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1010:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:1011:25: warning: pointer targets in passing argument 1 of 'smb_encode_vblock' differ in signedness [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ proc.c:104:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:1011:25: warning: pointer targets in passing argument 2 of 'smb_encode_vblock' differ in signedness [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ proc.c:104:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_vblock(byte *p, const byte *data, word len, int fs) ^ proc.c:1011:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0); ^ proc.c:1030:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = SMB_VWV(server->packet); ^ proc.c:1031:17: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1031:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &count); /* vwv[0] = count-returned */ ^ proc.c:1032:17: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1032:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &bcc); ^ proc.c: In function 'smb_proc_readdir_long': proc.c:1257:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] WSET(outbuf,smb_mdrcnt,TRANS2_MAX_TRANSFER); ^ proc.c:1269:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = SMB_BUF(outbuf); ^ proc.c: In function 'smb_proc_getattr_core': proc.c:1461:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:1468:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBgetatr, 0, 2 + len); ^ proc.c:1469:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1469:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c: In function 'smb_proc_getattrE': proc.c:1493:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char* buf = server->packet; ^ proc.c: In function 'smb_proc_setattr_core': proc.c:1557:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c:1564:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_setup_header(server, SMBsetatr, 8, 4 + len); ^ proc.c:1567:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1567:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1567:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, path, len); ^ proc.c:1568:9: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1568:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1568:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, "", 0); ^ proc.c: In function 'smb_proc_setattrE': proc.c:1585:21: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *buf = server->packet; ^ proc.c: In function 'smb_proc_dskattr': proc.c:1647:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = SMB_VWV(server->packet); ^ proc.c:1648:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1648:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->total); ^ proc.c:1649:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1649:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->allocblocks); ^ proc.c:1650:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1650:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->blocksize); ^ proc.c:1651:9: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ proc.c:67:1: note: expected 'byte *' but argument is of type 'char *' smb_decode_word(byte *p, word *data) ^ proc.c:1651:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = smb_decode_word(p, &attr->free); ^ proc.c: In function 'smb_proc_reconnect': proc.c:1728:9: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness [-Wpointer-sign] p = smb_name_mangle(p, server->m.server_name); ^ proc.c:133:1: note: expected 'const byte *' but argument is of type 'char *' smb_name_mangle(byte *p, const byte *name) ^ proc.c:1729:9: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness [-Wpointer-sign] p = smb_name_mangle(p, server->m.client_name); ^ proc.c:133:1: note: expected 'const byte *' but argument is of type 'char *' smb_name_mangle(byte *p, const byte *name) ^ proc.c:1773:17: warning: pointer targets in passing argument 2 of 'smb_encode_dialect' differ in signedness [-Wpointer-sign] p = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name)); ^ proc.c:85:1: note: expected 'const byte *' but argument is of type 'const char *' smb_encode_dialect(byte *p, const byte *name, int len) ^ proc.c:1841:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, server->m.password); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1843:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, server->m.username); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1845:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, cfg_workgroup); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1846:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./syshdr.h:12:0, from proc.c:13: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'byte *' extern size_t strlen (const char *__s) ^ proc.c:1847:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, OS_id); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1848:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] p += strlen(p) + 1; ^ In file included from ./syshdr.h:12:0, from proc.c:13: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'byte *' extern size_t strlen (const char *__s) ^ proc.c:1849:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, client_id); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1865:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, server->m.password); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1867:25: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(p, server->m.username); ^ In file included from /usr/include/features.h:375:0, from /usr/include/sys/types.h:25, from include/smb/smb.h:20, from include/smb/smb_fs.h:11, from proc.c:12: /usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'byte *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ proc.c:1893:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, server->m.service, strlen(server->m.service)); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1894:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p,server->m.password, strlen(server->m.password)); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ proc.c:1895:9: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign] p = smb_encode_ascii(p, dev, strlen(dev)); ^ proc.c:93:1: note: expected 'const byte *' but argument is of type 'char *' smb_encode_ascii(byte *p, const byte *name, int len) ^ --- nfs_dir --- mount.c: In function 'mount_and_dispatch': mount.c:150:33: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(sock, (struct sockaddr*) &sain, &namelen) <0) { ^ In file included from /usr/include/netinet/in.h:24:0, from /usr/include/rpc/types.h:91, from /usr/include/rpc/rpc.h:38, from mount.c:14: /usr/include/sys/socket.h:128:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^ --- nfs_funcs.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c nfs_funcs.c: In function 'nfsproc_readdir': nfs_funcs.c:274:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ntohl(*(int *)(ra->cookie))); ^ nfs_funcs.c:276:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(int *)p->cookie = htonl(*(int *)p->cookie); ^ nfs_funcs.c:276:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] nfs_funcs.c: In function 'nfsproc_read': nfs_funcs.c:375:7: warning: pointer targets in passing argument 2 of 'fo_read' differ in signedness [-Wpointer-sign] ra->count)); ^ In file included from nfs_funcs.c:15:0: ../my_defines.h:91:5: note: expected 'int *' but argument is of type 'u_int *' int fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count); ^ nfs_funcs.c: In function 'nfs_dispatch': nfs_funcs.c:556:2: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [enabled by default] if (!svc_getargs(transp, dent->xdr_argument, (caddr_t)&argument)){ ^ nfs_funcs.c:556:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' nfs_funcs.c:565:2: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [enabled by default] if (result != NULL && !svc_sendreply(transp, dent->xdr_result, result)){ ^ In file included from /usr/include/rpc/rpc.h:56:0, from nfs_funcs.c:14: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^ nfs_funcs.c:568:2: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [enabled by default] if (!svc_freeargs(transp, dent->xdr_argument, (caddr_t)&argument)){ ^ nfs_funcs.c:568:2: note: expected 'xdrproc_t' but argument is of type 'bool_t (*)()' --- syscalls.o --- cc -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:45:2: error: redeclaration of enumerator 'NFS_OK' NFS_OK = 0, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:69:2: note: previous definition of 'NFS_OK' was here NFS_OK = 0, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:46:2: error: redeclaration of enumerator 'NFSERR_PERM' NFSERR_PERM = 1, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:70:2: note: previous definition of 'NFSERR_PERM' was here NFSERR_PERM = 1, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:47:2: error: redeclaration of enumerator 'NFSERR_NOENT' NFSERR_NOENT = 2, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:71:2: note: previous definition of 'NFSERR_NOENT' was here NFSERR_NOENT = 2, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:48:2: error: redeclaration of enumerator 'NFSERR_IO' NFSERR_IO = 5, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:72:2: note: previous definition of 'NFSERR_IO' was here NFSERR_IO = 5, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:49:2: error: redeclaration of enumerator 'NFSERR_NXIO' NFSERR_NXIO = 6, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:73:2: note: previous definition of 'NFSERR_NXIO' was here NFSERR_NXIO = 6, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:51:2: error: redeclaration of enumerator 'NFSERR_ACCES' NFSERR_ACCES = 13, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:74:2: note: previous definition of 'NFSERR_ACCES' was here NFSERR_ACCES = 13, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:52:2: error: redeclaration of enumerator 'NFSERR_EXIST' NFSERR_EXIST = 17, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:75:2: note: previous definition of 'NFSERR_EXIST' was here NFSERR_EXIST = 17, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:54:2: error: redeclaration of enumerator 'NFSERR_NODEV' NFSERR_NODEV = 19, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:76:2: note: previous definition of 'NFSERR_NODEV' was here NFSERR_NODEV = 19, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:55:2: error: redeclaration of enumerator 'NFSERR_NOTDIR' NFSERR_NOTDIR = 20, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:77:2: note: previous definition of 'NFSERR_NOTDIR' was here NFSERR_NOTDIR = 20, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:56:2: error: redeclaration of enumerator 'NFSERR_ISDIR' NFSERR_ISDIR = 21, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:78:2: note: previous definition of 'NFSERR_ISDIR' was here NFSERR_ISDIR = 21, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:58:2: error: redeclaration of enumerator 'NFSERR_FBIG' NFSERR_FBIG = 27, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:79:2: note: previous definition of 'NFSERR_FBIG' was here NFSERR_FBIG = 27, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:59:2: error: redeclaration of enumerator 'NFSERR_NOSPC' NFSERR_NOSPC = 28, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:80:2: note: previous definition of 'NFSERR_NOSPC' was here NFSERR_NOSPC = 28, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:60:2: error: redeclaration of enumerator 'NFSERR_ROFS' NFSERR_ROFS = 30, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:81:2: note: previous definition of 'NFSERR_ROFS' was here NFSERR_ROFS = 30, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:63:2: error: redeclaration of enumerator 'NFSERR_NAMETOOLONG' NFSERR_NAMETOOLONG = 63, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:82:2: note: previous definition of 'NFSERR_NAMETOOLONG' was here NFSERR_NAMETOOLONG = 63, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:64:2: error: redeclaration of enumerator 'NFSERR_NOTEMPTY' NFSERR_NOTEMPTY = 66, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:83:2: note: previous definition of 'NFSERR_NOTEMPTY' was here NFSERR_NOTEMPTY = 66, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:65:2: error: redeclaration of enumerator 'NFSERR_DQUOT' NFSERR_DQUOT = 69, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:84:2: note: previous definition of 'NFSERR_DQUOT' was here NFSERR_DQUOT = 69, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:66:2: error: redeclaration of enumerator 'NFSERR_STALE' NFSERR_STALE = 70, /* v2 v3 v4 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:85:2: note: previous definition of 'NFSERR_STALE' was here NFSERR_STALE = 70, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:68:2: error: redeclaration of enumerator 'NFSERR_WFLUSH' NFSERR_WFLUSH = 99, /* v2 */ ^ In file included from syscalls.c:16:0: nfs_prot.h:86:2: note: previous definition of 'NFSERR_WFLUSH' was here NFSERR_WFLUSH = 99, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:122:2: error: redeclaration of enumerator 'NFNON' NFNON = 0, ^ In file included from syscalls.c:16:0: nfs_prot.h:91:2: note: previous definition of 'NFNON' was here NFNON = 0, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:123:2: error: redeclaration of enumerator 'NFREG' NFREG = 1, ^ In file included from syscalls.c:16:0: nfs_prot.h:92:2: note: previous definition of 'NFREG' was here NFREG = 1, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:124:2: error: redeclaration of enumerator 'NFDIR' NFDIR = 2, ^ In file included from syscalls.c:16:0: nfs_prot.h:93:2: note: previous definition of 'NFDIR' was here NFDIR = 2, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:125:2: error: redeclaration of enumerator 'NFBLK' NFBLK = 3, ^ In file included from syscalls.c:16:0: nfs_prot.h:94:2: note: previous definition of 'NFBLK' was here NFBLK = 3, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:126:2: error: redeclaration of enumerator 'NFCHR' NFCHR = 4, ^ In file included from syscalls.c:16:0: nfs_prot.h:95:2: note: previous definition of 'NFCHR' was here NFCHR = 4, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:127:2: error: redeclaration of enumerator 'NFLNK' NFLNK = 5, ^ In file included from syscalls.c:16:0: nfs_prot.h:96:2: note: previous definition of 'NFLNK' was here NFLNK = 5, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:128:2: error: redeclaration of enumerator 'NFSOCK' NFSOCK = 6, ^ In file included from syscalls.c:16:0: nfs_prot.h:97:2: note: previous definition of 'NFSOCK' was here NFSOCK = 6, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:129:2: error: redeclaration of enumerator 'NFBAD' NFBAD = 7, ^ In file included from syscalls.c:16:0: nfs_prot.h:98:2: note: previous definition of 'NFBAD' was here NFBAD = 7, ^ In file included from /usr/include/linux/nfs_mount.h:12:0, from syscalls.c:151: /usr/include/linux/nfs.h:130:2: error: redeclaration of enumerator 'NFFIFO' NFFIFO = 8 ^ In file included from syscalls.c:16:0: nfs_prot.h:99:2: note: previous definition of 'NFFIFO' was here NFFIFO = 8, ^ syscalls.c: In function 'syscall_mount': syscalls.c:192:17: error: incompatible types when assigning to type 'struct nfs3_fh' from type 'nfs_fh' nfs_args.root = *(nfs_fh *)root_fh; ^ *** [syscalls.o] Error code 1 bmake[1]: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs 1 error bmake[1]: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3/nfs *** [nfs_dir] Error code 2 bmake: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 1 error bmake: stopped in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/sharity-light *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/sharity-light