=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for sharity-light-1.3
--- nfs_dir ---
--- proc.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o proc.o proc.c
--- nfs_dir ---
(cd nfs; /usr/bin/make "CFLAGS=-Wall -O2 -DNETBSD"     "CC=gcc" "ARCH=	" "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized")
--- nfs_prot.h ---
rm -f nfs_prot.h
--- proc.o ---
distcc[5720] ERROR: nonblocking connect to 192.168.1.1:3748 failed: Connection refused
--- nfs_dir ---
rpcgen -h nfs_prot.x |  sed 's@char data\[NFS_FHSIZE\];@long long data\[NFS_FHSIZE / sizeof(long long)\];@' > nfs_prot.h
--- proc.o ---
distcc[5720] Warning: failed to distribute proc.c to 192.168.1.1:3748, running locally instead
--- nfs_dir ---
--- 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
--- mount.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD mount.c
distcc[20726] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- proc.o ---
In file included from /usr/include/string.h:127,
                 from ./syshdr.h:12,
                 from proc.c:13:
proc.c: In function 'smb_encode_dialect':
proc.c:88:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                ^
      |                |
      |                byte * {aka unsigned char *}
proc.c:88:16: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:88:19: warning: pointer targets in passing argument 2 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                   ^~~~
      |                   |
      |                   const byte * {aka const unsigned char *}
proc.c:88:19: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
proc.c:88:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                ^
      |                |
      |                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:88:19: warning: pointer targets in passing argument 2 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                   ^~~~
      |                   |
      |                   const byte * {aka const unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c: In function 'smb_encode_ascii':
proc.c:96:9: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
   96 |  strcpy(p, name);
      |         ^
      |         |
      |         byte * {aka unsigned char *}
proc.c:96:9: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:96:12: warning: pointer targets in passing argument 2 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
   96 |  strcpy(p, name);
      |            ^~~~
      |            |
      |            const byte * {aka const unsigned char *}
proc.c:96:12: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
proc.c:96:9: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
   96 |  strcpy(p, name);
      |         ^
      |         |
      |         byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:96:12: warning: pointer targets in passing argument 2 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
   96 |  strcpy(p, name);
      |            ^~~~
      |            |
      |            const byte * {aka const unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c: In function 'smb_name_mangle':
proc.c:137:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  137 |         len = strlen(name);
      |                      ^~~~
      |                      |
      |                      const byte * {aka const unsigned char *}
In file included from ./syshdr.h:12,
                 from proc.c:13:
/usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   61 | size_t  strlen(const char *);
      |                ^~~~~~~~~~~~
proc.c: In function 'smb_proc_open':
proc.c:546:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  546 |         char* buf = server->packet;
      |                     ^~~~~~
proc.c:554:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  554 |         p = smb_setup_header(server, SMBopen, 2, 2 + len);
      |           ^
proc.c:557:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  557 |         smb_encode_ascii(p, pathname, len);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:557:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  557 |         smb_encode_ascii(p, pathname, len);
      |                             ^~~~~~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:570:19: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  570 |                 p = smb_setup_header(server, SMBopen, 2, 2 + len);
      |                   ^
proc.c:573:34: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  573 |                 smb_encode_ascii(p, pathname, len);
      |                                  ^
      |                                  |
      |                                  char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:573:37: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  573 |                 smb_encode_ascii(p, pathname, len);
      |                                     ^~~~~~~~
      |                                     |
      |                                     const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  608 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c: In function 'smb_proc_read':
proc.c:628:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  628 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:645:50: warning: pointer targets in passing argument 2 of 'smb_decode_data' differ in signedness [-Wpointer-sign]
  645 |         smb_decode_data(SMB_BUF(server->packet), data, &data_len, fs);
      |                                                  ^~~~
      |                                                  |
      |                                                  char *
proc.c:113:32: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
  113 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  668 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:683:47: warning: pointer targets in passing argument 2 of 'smb_request_read_raw' differ in signedness [-Wpointer-sign]
  683 |         result = smb_request_read_raw(server, data, count);
      |                                               ^~~~
      |                                               |
      |                                               char *
In file included from proc.c:12:
include/smb/smb_fs.h:158:41: note: expected 'unsigned char *' but argument is of type 'char *'
  158 |                          unsigned char *target, int max_len);
      |                          ~~~~~~~~~~~~~~~^~~~~~
proc.c: In function 'smb_proc_write':
proc.c:693:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  693 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c: In function 'smb_proc_write_raw':
proc.c:720:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  720 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:748:48: warning: pointer targets in passing argument 2 of 'smb_request_write_raw' differ in signedness [-Wpointer-sign]
  748 |         result = smb_request_write_raw(server, data, count);
      |                                                ^~~~
      |                                                |
      |                                                const char *
--- nfs_dir ---
mount.c: In function 'mount_and_dispatch':
--- proc.o ---
In file included from proc.c:12:
include/smb/smb_fs.h:160:48: note: expected 'const unsigned char *' but argument is of type 'const char *'
  160 |                           unsigned const char *source, int length);
      |                           ~~~~~~~~~~~~~~~~~~~~~^~~~~~
proc.c: In function 'smb_proc_do_create':
proc.c:778:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  778 |   char *buf = server->packet;
      |               ^~~~~~
proc.c:782:5: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  782 |   p = smb_setup_header(server, command, 3, len + 2);
      |     ^
proc.c:785:20: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  785 |   smb_encode_ascii(p, path, len);
      |                    ^
      |                    |
      |                    char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:785:23: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  785 |   smb_encode_ascii(p, path, len);
      |                       ^~~~
      |                       |
      |                       const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  824 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:831:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  831 |         p = smb_setup_header(server, SMBmv, 1, olen + nlen + 4);
      |           ^
proc.c:833:30: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  833 |         p = smb_encode_ascii(p, opath, olen);
      |                              ^
      |                              |
      |                              char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:833:33: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  833 |         p = smb_encode_ascii(p, opath, olen);
      |                                 ^~~~~
      |                                 |
      |                                 const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:833:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  833 |         p = smb_encode_ascii(p, opath, olen);
      |           ^
proc.c:834:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  834 |         smb_encode_ascii(p, npath, olen);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:834:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  834 |         smb_encode_ascii(p, npath, olen);
      |                             ^~~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  854 |         p = smb_setup_header(server, SMBmkdir, 0, 2 + len);
      |           ^
proc.c:855:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  855 |         smb_encode_ascii(p, path, len);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:855:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  855 |         smb_encode_ascii(p, path, len);
      |                             ^~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  875 |         p = smb_setup_header(server, SMBrmdir, 0, 2 + len);
      |           ^
proc.c:876:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  876 |         smb_encode_ascii(p, path, len);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:876:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  876 |         smb_encode_ascii(p, path, len);
      |                             ^~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  891 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:897:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  897 |         p = smb_setup_header(server, SMBunlink, 1, 2 + len);
      |           ^
proc.c:899:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  899 |         smb_encode_ascii(p, path, len);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:899:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  899 |         smb_encode_ascii(p, path, len);
      |                             ^~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  914 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:919:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  919 |         p = smb_setup_header(server, SMBwrite, 5, 3);
      |           ^
proc.c:924:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  924 |         smb_encode_ascii(p, "", 0);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:924:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
  924 |         smb_encode_ascii(p, "", 0);
      |                             ^~
      |                             |
      |                             char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | 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 from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  987 |         buf = server->packet;
      |             ^
proc.c:998:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  998 |                         p = smb_setup_header(server, SMBsearch, 2,
      |                           ^
proc.c:1002:46: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1002 |                         p = smb_encode_ascii(p, mask, strlen(mask));
      |                                              ^
      |                                              |
      |                                              char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:1002:49: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1002 |                         p = smb_encode_ascii(p, mask, strlen(mask));
      |                                                 ^~~~
      |                                                 |
      |                                                 char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1002:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1002 |                         p = smb_encode_ascii(p, mask, strlen(mask));
      |                           ^
proc.c:1004:45: warning: pointer targets in passing argument 1 of 'smb_encode_word' differ in signedness [-Wpointer-sign]
 1004 |                         p = smb_encode_word(p, 0);
      |                                             ^
      |                                             |
      |                                             char *
proc.c:59:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   59 | smb_encode_word(byte *p, word data)
      |                 ~~~~~~^
proc.c:1004:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1004 |                         p = smb_encode_word(p, 0);
      |                           ^
proc.c:1006:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1006 |                         p = smb_setup_header(server, SMBsearch, 2,
      |                           ^
proc.c:1010:46: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1010 |                         p = smb_encode_ascii(p, "", 0);
      |                                              ^
      |                                              |
      |                                              char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:1010:49: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1010 |                         p = smb_encode_ascii(p, "", 0);
      |                                                 ^~
      |                                                 |
      |                                                 char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1010:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1010 |                         p = smb_encode_ascii(p, "", 0);
      |                           ^
proc.c:1011:47: warning: pointer targets in passing argument 1 of 'smb_encode_vblock' differ in signedness [-Wpointer-sign]
 1011 |                         p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0);
      |                                               ^
      |                                               |
      |                                               char *
proc.c:104:25: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
  104 | smb_encode_vblock(byte *p, const byte *data, word len, int fs)
      |                   ~~~~~~^
proc.c:1011:50: warning: pointer targets in passing argument 2 of 'smb_encode_vblock' differ in signedness [-Wpointer-sign]
 1011 |                         p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0);
      |                                                  ^~~~~~
      |                                                  |
      |                                                  char *
proc.c:104:40: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
  104 | smb_encode_vblock(byte *p, const byte *data, word len, int fs)
      |                            ~~~~~~~~~~~~^~~~
proc.c:1011:27: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1011 |                         p = smb_encode_vblock(p, status, SMB_STATUS_SIZE, 0);
      |                           ^
proc.c:1030:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
 1030 |                 p = SMB_VWV(server->packet);
      |                   ^
proc.c:1031:37: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1031 |                 p = smb_decode_word(p, &count); /* vwv[0] = count-returned */
      |                                     ^
      |                                     |
      |                                     char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1031:19: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1031 |                 p = smb_decode_word(p, &count); /* vwv[0] = count-returned */
      |                   ^
proc.c:1032:37: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1032 |                 p = smb_decode_word(p, &bcc);
      |                                     ^
      |                                     |
      |                                     char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1032:19: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1032 |                 p = smb_decode_word(p, &bcc);
      |                   ^
In file included from include/smb/smb_fs.h:11,
                 from proc.c:12:
proc.c: In function 'smb_proc_readdir_long':
include/smb/smb.h:36:42: warning: unsigned conversion from 'int' to 'unsigned char' changes value from '4079' to '239' [-Woverflow]
   36 | #define WSET(buf,pos,val) (BVAL(buf,pos)=(val), BVAL(buf,(pos)+1)=(unsigned)(val)>>8)
      |                                          ^
proc.c:1257:5: note: in expansion of macro 'WSET'
 1257 |     WSET(outbuf,smb_mdrcnt,TRANS2_MAX_TRANSFER);
      |     ^~~~
proc.c:1269:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
 1269 |     p = SMB_BUF(outbuf);
      |       ^
proc.c: In function 'smb_proc_getattr_core':
proc.c:1461:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
 1461 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c:1468:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1468 |         p = smb_setup_header(server, SMBgetatr, 0, 2 + len);
      |           ^
proc.c:1469:26: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1469 |         smb_encode_ascii(p, path, len);
      |                          ^
      |                          |
      |                          char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:1469:29: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1469 |         smb_encode_ascii(p, path, len);
      |                             ^~~~
      |                             |
      |                             const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | 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 of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
 1493 |         char* buf = server->packet;
      |                     ^~~~~~
proc.c: In function 'smb_proc_setattr_core':
--- nfs_dir ---
mount.c:150:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign]
  150 |   if (getsockname(sock, (struct sockaddr*) &sain, &namelen) <0) {
      |                                                   ^~~~~~~~
      |                                                   |
      |                                                   int *
--- proc.o ---
proc.c:1557:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
 1557 |         char *buf = server->packet;
      |                     ^~~~~~
--- nfs_dir ---
In file included from /usr/include/netinet6/in6.h:73,
                 from /usr/include/netinet/in.h:377,
                 from /usr/include/rpc/rpc.h:45,
                 from mount.c:14:
/usr/include/sys/socket.h:626:52: note: expected '__socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  626 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict);
      |                                                    ^
--- proc.o ---
proc.c:1564:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1564 |         p = smb_setup_header(server, SMBsetatr, 8, 4 + len);
      |           ^
proc.c:1567:30: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1567 |         p = smb_encode_ascii(p, path, len);
      |                              ^
      |                              |
      |                              char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:1567:33: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1567 |         p = smb_encode_ascii(p, path, len);
      |                                 ^~~~
      |                                 |
      |                                 const char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1567:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1567 |         p = smb_encode_ascii(p, path, len);
      |           ^
proc.c:1568:30: warning: pointer targets in passing argument 1 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1568 |         p = smb_encode_ascii(p, "", 0);
      |                              ^
      |                              |
      |                              char *
proc.c:93:24: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                  ~~~~~~^
proc.c:1568:33: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1568 |         p = smb_encode_ascii(p, "", 0);
      |                                 ^~
      |                                 |
      |                                 char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1568:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1568 |         p = smb_encode_ascii(p, "", 0);
      |           ^
proc.c: In function 'smb_proc_setattrE':
proc.c:1585:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
 1585 |         char *buf = server->packet;
      |                     ^~~~~~
proc.c: In function 'smb_proc_dskattr':
proc.c:1647:11: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
 1647 |         p = SMB_VWV(server->packet);
      |           ^
proc.c:1648:29: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1648 |         p = smb_decode_word(p, &attr->total);
      |                             ^
      |                             |
      |                             char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1648:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1648 |         p = smb_decode_word(p, &attr->total);
      |           ^
proc.c:1649:29: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1649 |         p = smb_decode_word(p, &attr->allocblocks);
      |                             ^
      |                             |
      |                             char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1649:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1649 |         p = smb_decode_word(p, &attr->allocblocks);
      |           ^
proc.c:1650:29: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1650 |         p = smb_decode_word(p, &attr->blocksize);
      |                             ^
      |                             |
      |                             char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1650:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1650 |         p = smb_decode_word(p, &attr->blocksize);
      |           ^
proc.c:1651:29: warning: pointer targets in passing argument 1 of 'smb_decode_word' differ in signedness [-Wpointer-sign]
 1651 |         p = smb_decode_word(p, &attr->free);
      |                             ^
      |                             |
      |                             char *
proc.c:67:23: note: expected 'byte *' {aka 'unsigned char *'} but argument is of type 'char *'
   67 | smb_decode_word(byte *p, word *data)
      |                 ~~~~~~^
proc.c:1651:11: warning: pointer targets in assignment from 'byte *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
 1651 |         p = smb_decode_word(p, &attr->free);
      |           ^
proc.c: In function 'smb_proc_reconnect':
proc.c:1728:41: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness [-Wpointer-sign]
 1728 |         p = smb_name_mangle(p, server->m.server_name);
      |                                ~~~~~~~~~^~~~~~~~~~~~
      |                                         |
      |                                         char *
proc.c:133:38: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
  133 | smb_name_mangle(byte *p, const byte *name)
      |                          ~~~~~~~~~~~~^~~~
proc.c:1729:41: warning: pointer targets in passing argument 2 of 'smb_name_mangle' differ in signedness [-Wpointer-sign]
 1729 |         p = smb_name_mangle(p, server->m.client_name);
      |                                ~~~~~~~~~^~~~~~~~~~~~
      |                                         |
      |                                         char *
proc.c:133:38: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
  133 | smb_name_mangle(byte *p, const byte *name)
      |                          ~~~~~~~~~~~~^~~~
proc.c:1773:50: warning: pointer targets in passing argument 2 of 'smb_encode_dialect' differ in signedness [-Wpointer-sign]
 1773 |                 p = smb_encode_dialect(p,prots[i].name, strlen(prots[i].name));
      |                                          ~~~~~~~~^~~~~
      |                                                  |
      |                                                  const char *
proc.c:85:41: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'const char *'
   85 | smb_encode_dialect(byte *p, const byte *name, int len)
      |                             ~~~~~~~~~~~~^~~~
In file included from /usr/include/string.h:127,
                 from ./syshdr.h:12,
                 from proc.c:13:
proc.c:1841:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1841 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1841:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1841:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1841 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1843:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1843 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1843:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1843:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1843 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1845:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1845 |                         strcpy(p, cfg_workgroup);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1845:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1845:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1845 |                         strcpy(p, cfg_workgroup);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1846:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1846 |                         p += strlen(p) + 1;
      |                                     ^
      |                                     |
      |                                     byte * {aka unsigned char *}
In file included from ./syshdr.h:12,
                 from proc.c:13:
/usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   61 | size_t  strlen(const char *);
      |                ^~~~~~~~~~~~
In file included from /usr/include/string.h:127,
                 from ./syshdr.h:12,
                 from proc.c:13:
proc.c:1847:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1847 |                         strcpy(p, OS_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1847:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1847:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1847 |                         strcpy(p, OS_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1848:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1848 |                         p += strlen(p) + 1;
      |                                     ^
      |                                     |
      |                                     byte * {aka unsigned char *}
In file included from ./syshdr.h:12,
                 from proc.c:13:
/usr/include/string.h:61:16: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   61 | size_t  strlen(const char *);
      |                ^~~~~~~~~~~~
In file included from /usr/include/string.h:127,
                 from ./syshdr.h:12,
                 from proc.c:13:
proc.c:1849:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1849 |                         strcpy(p, client_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1849:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1849:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1849 |                         strcpy(p, client_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1865:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1865 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1865:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1865:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1865 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1867:32: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign]
 1867 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
proc.c:1867:32: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
proc.c:1867:32: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign]
 1867 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   89 | __ssp_bos_icheck2_restrict(strcpy, char *, const char *)
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1893:42: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1893 |         p = smb_encode_ascii(p, server->m.service, strlen(server->m.service));
      |                                 ~~~~~~~~~^~~~~~~~
      |                                          |
      |                                          char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1894:41: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1894 |         p = smb_encode_ascii(p,server->m.password, strlen(server->m.password));
      |                                ~~~~~~~~~^~~~~~~~~
      |                                         |
      |                                         char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1895:33: warning: pointer targets in passing argument 2 of 'smb_encode_ascii' differ in signedness [-Wpointer-sign]
 1895 |         p = smb_encode_ascii(p, dev, strlen(dev));
      |                                 ^~~
      |                                 |
      |                                 char *
proc.c:93:39: note: expected 'const byte *' {aka 'const unsigned char *'} but argument is of type 'char *'
   93 | smb_encode_ascii(byte *p, const byte *name, int len)
      |                           ~~~~~~~~~~~~^~~~
proc.c:1908:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1908 |         if (server->max_xmit > given_max_xmit)
      |         ^~
proc.c:1913:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1913 |   if(server->maxxmt != 0 && server->max_xmit > server->maxxmt)
      |   ^~
--- nfs_dir ---
--- nfs_funcs.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c
distcc[23362] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
nfs_funcs.c: In function 'nfsproc_read':
nfs_funcs.c:371:7: warning: pointer targets in passing argument 2 of 'fo_read' differ in signedness [-Wpointer-sign]
  371 |       &res.readres_u.reply.data.data_len,
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |       |
      |       unsigned int *
In file included from nfs_funcs.c:15:
../my_defines.h:91:33: note: expected 'int *' but argument is of type 'unsigned int *'
   91 | int fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count);
      |                            ~~~~~^~~
--- syscalls.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c
distcc[10784] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
syscalls.c: In function 'syscall_mount':
syscalls.c:97:16: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
   97 |  nfs_args.fh   = (char *)root_fh;
      |                ^
--- nfs_prot_xdr.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD -Wno-unused -Wno-switch -Wno-uninitialized -c nfs_prot_xdr.c
distcc[29658] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
nfs_prot_xdr.c: In function 'xdr_nfs_fh':
nfs_prot_xdr.c:70:28: warning: passing argument 2 of 'xdr_opaque' from incompatible pointer type [-Wincompatible-pointer-types]
   70 |  if (!xdr_opaque(xdrs, objp->data, NFS_FHSIZE))
      |                        ~~~~^~~~~~
      |                            |
      |                            long long int *
In file included from /usr/include/rpc/rpc.h:48,
                 from nfs_prot.h:11,
                 from nfs_prot_xdr.c:6:
/usr/include/rpc/xdr.h:295:33: note: expected 'char *' but argument is of type 'long long int *'
  295 | extern bool_t xdr_opaque(XDR *, char *, unsigned int);
      |                                 ^~~~~~
--- nfs.o ---
ld  -r -o nfs.o nfs_prot_xdr.o mount.o nfs_funcs.o syscalls.o
--- recode.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o recode.o recode.c
distcc[23755] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
recode.c: In function 'recode':
recode.c:34:15: warning: 'table' may be used uninitialized in this function [-Wmaybe-uninitialized]
   34 |    *in = table[ *in & 0x7F ];
      |               ^
--- sock.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o sock.o sock.c
distcc[4480] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
sock.c: In function '_recvfrom':
sock.c:34:18: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign]
   34 |                  addr_len);
      |                  ^~~~~~~~
      |                  |
      |                  int *
In file included from syshdr.h:15,
                 from sock.c:9:
/usr/include/sys/socket.h:634:36: note: expected '__socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
  634 |      struct sockaddr * __restrict, socklen_t * __restrict);
      |                                    ^
--- rumba.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o rumba.o rumba.c
--- psinode.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o psinode.o psinode.c
--- rumba.o ---
distcc[20555] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- psinode.o ---
distcc[25486] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- rumba.o ---
In file included from /usr/include/ctype.h:100,
                 from rumba.c:15:
rumba.c: In function 'str_upper':
rumba.c:81:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   81 |   *name = toupper(*name);
      |                   ^
rumba.c: In function 'main':
rumba.c:377:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  377 |    if(isdigit(optarg[0])){
      |                     ^
rumba.c:389:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  389 |    if(isdigit(optarg[0])){
      |                     ^
--- kernel.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o kernel.o kernel.c
distcc[22173] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- smb_abstraction.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o smb_abstraction.o smb_abstraction.c
distcc[29745] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
In file included from /usr/include/ctype.h:100,
                 from smb_abstraction.c:13:
smb_abstraction.c: In function 'str_upper':
smb_abstraction.c:85:19: warning: array subscript has type 'char' [-Wchar-subscripts]
   85 |   *name = toupper(*name);
      |                   ^
--- fo_nfs.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o fo_nfs.o fo_nfs.c
distcc[2423] (dcc_build_somewhere) Warning: failed to distribute, running locally instead
--- smb_abstraction.o ---
smb_abstraction.c: In function 'uncase_strcmp':
smb_abstraction.c:100:14: warning: array subscript has type 'char' [-Wchar-subscripts]
  100 |   if(tolower(*s1) != tolower(*s2))
      |              ^
smb_abstraction.c:100:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  100 |   if(tolower(*s1) != tolower(*s2))
      |                              ^
--- shlight ---
gcc -Iinclude -I. -Wl,-R/usr/pkg/lib 	 -o shlight proc.o recode.o sock.o rumba.o psinode.o kernel.o smb_abstraction.o fo_nfs.o nfs/nfs.o 
cd /tmp/pkgbuild/net/sharity-light/work.sparc/unshlight && /usr/bin/make
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Usysutils/checkperms})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Upkgtools/digest})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Udevel/distcc})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Udevel/popt})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Udevel/libtool-base})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Udevel/gmake})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Udevel/m4})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Upkgtools/cwrappers})
make[2]: "/etc/mk.conf" line 9: Malformed conditional (${PKGPATH} == ${:Upkgtools/mktools})
make[2]: Fatal errors encountered -- cannot continue
make[2]: stopped in /tmp/pkgbuild/net/sharity-light/work.sparc/unshlight
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/net/sharity-light
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/sharity-light