+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sharity-light-1.3/work.log
===> Building for sharity-light-1.3
--- nfs_dir ---
--- proc.o ---
--- recode.o ---
--- nfs_dir ---
(cd nfs; /opt/local/bin/bmake "CFLAGS=-Wall -O2 -DNETBSD"     "CC=gcc" "ARCH=	" "RPC_WARNFLAGS=-Wno-unused -Wno-switch -Wno-uninitialized")
--- proc.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o proc.o proc.c
--- recode.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o recode.o recode.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
--- recode.o ---
recode.c: In function 'recode':
recode.c:34:36: warning: 'table' may be used uninitialized [-Wmaybe-uninitialized]
   34 |                         *in = table[ *in & 0x7F ];
      |                                    ^
recode.c:25:15: note: 'table' was declared here
   25 |         char *table;
      |               ^~~~~
--- nfs_dir ---
--- nfs_prot_xdr.c ---
--- sock.o ---
--- nfs_dir ---
rm -f nfs_prot_xdr.c
--- sock.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o sock.o sock.c
--- nfs_dir ---
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
--- proc.o ---
proc.c: In function 'smb_encode_dialect':
proc.c:88:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                ^
      |                |
      |                byte * {aka unsigned char *}
In file included from /usr/include/string.h:34,
                 from ./syshdr.h:12,
                 from proc.c:13:
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:88:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
   88 |         strcpy(p, name);
      |                   ^~~~
      |                   |
      |                   const byte * {aka const unsigned char *}
/usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                                           ^
proc.c: In function 'smb_encode_ascii':
proc.c:96:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
   96 |         strcpy(p, name);
      |                ^
      |                |
      |                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:96:19: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign]
   96 |         strcpy(p, name);
      |                   ^~~~
      |                   |
      |                   const byte * {aka const unsigned char *}
/usr/include/iso/string_iso.h:75:43: note: expected 'const char * restrict' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                                           ^
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 /usr/include/sys/socket_impl.h:56,
                 from /usr/include/netinet/in.h:44,
                 from include/smb/smb_fs.h:12,
                 from proc.c:12:
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'const byte *' {aka 'const unsigned char *'}
   76 | extern 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 *
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 *
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:29: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  778 |                 char *buf = server->packet;
      |                             ^~~~~~
proc.c:782:19: 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:34: 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:37: 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:
proc.c: In function 'smb_proc_readdir_long':
include/smb/smb.h:36:48: 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:33: note: in expansion of macro 'WSET'
 1257 |                                 WSET(outbuf,smb_mdrcnt,TRANS2_MAX_TRANSFER);
      |                                 ^~~~
proc.c:1269:35: 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':
proc.c:1557:21: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
 1557 |         char *buf = server->packet;
      |                     ^~~~~~
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 *
--- sock.o ---
sock.c: In function 'close_fp':
sock.c:18:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   18 |         return close((int)filp);
      |                      ^
sock.c: In function 'server_sock':
sock.c:264:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  264 |         server->sock_file = (struct file *)sock_fd;
      |                             ^
sock.c: In function 'smb_request_read_raw':
sock.c:421:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  421 |                         (unsigned int)target, max_len);
      |                         ^
sock.c:423:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  423 |                         (unsigned int)buffer, (unsigned int)sock_fd);
      |                         ^
--- proc.o ---
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)
      |                             ~~~~~~~~~~~~^~~~
proc.c:1841:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1841 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:1843:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1843 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:1845:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1845 |                         strcpy(p, cfg_workgroup);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
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 *}
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
proc.c:1847:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1847 |                         strcpy(p, OS_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
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 *}
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'byte *' {aka 'unsigned char *'}
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
proc.c:1849:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1849 |                         strcpy(p, client_id);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:1865:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1865 |                         strcpy(p, server->m.password);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
proc.c:1867:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
 1867 |                         strcpy(p, server->m.username);
      |                                ^
      |                                |
      |                                byte * {aka unsigned char *}
/usr/include/iso/string_iso.h:75:21: note: expected 'char * restrict' but argument is of type 'byte *' {aka 'unsigned char *'}
   75 | extern char *strcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                     ^
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:17: 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 ---
mount.c: In function 'mount_and_dispatch':
mount.c:138:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
  138 |         bzero(&sain, sizeof(struct sockaddr_in));
      |         ^~~~~
mount.c:138:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
--- rumba.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o rumba.o rumba.c
--- nfs_dir ---
--- nfs_funcs.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD nfs_funcs.c
nfs_funcs.c: In function 'output_attr':
nfs_funcs.c:81:9: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration]
   81 |         bzero(fa, sizeof(*fa));
      |         ^~~~~
nfs_funcs.c:81:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
nfs_funcs.c: In function 'nfsproc_create':
nfs_funcs.c:183:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  183 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_mkdir':
nfs_funcs.c:205:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  205 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_getattr':
nfs_funcs.c:227:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  227 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_lookup':
nfs_funcs.c:242:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  242 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_readdir':
nfs_funcs.c:269:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  269 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_setattr':
nfs_funcs.c:292:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  292 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_remove':
nfs_funcs.c:307:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  307 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_rmdir':
nfs_funcs.c:320:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  320 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_rename':
nfs_funcs.c:333:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  333 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_statfs':
nfs_funcs.c:349:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  349 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_read':
nfs_funcs.c:369:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  369 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c:371:49: warning: pointer targets in passing argument 2 of 'fo_read' differ in signedness [-Wpointer-sign]
  371 |                                                 &res.readres_u.reply.data.data_len,
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 u_int * {aka unsigned int *}
In file included from nfs_funcs.c:15:
../my_defines.h:91:37: note: expected 'int *' but argument is of type 'u_int *' {aka 'unsigned int *'}
   91 | int     fo_read(my_attr_t *fa, int *len, char **data, fh_t fh, int off, int count);
      |                                ~~~~~^~~
nfs_funcs.c: In function 'nfsproc_write':
nfs_funcs.c:391:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  391 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_link':
nfs_funcs.c:411:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  411 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_readlink':
nfs_funcs.c:425:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  425 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfsproc_symlink':
nfs_funcs.c:440:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  440 |         bzero(&res, sizeof(res));
      |         ^~~~~
nfs_funcs.c: In function 'nfs_dispatch':
nfs_funcs.c:549:47: warning: expression does not compute the number of elements in this array; element type is 'struct dentry', not 'struct entry' [-Wsizeof-array-div]
  549 |         if (proc_i >= (sizeof(dispatch_table) / sizeof(struct entry))){
      |                                               ^
nfs_funcs.c:549:47: note: add parentheses around the second 'sizeof' to silence this warning
nfs_funcs.c:503:22: note: array 'dispatch_table' declared here
  503 | static struct dentry dispatch_table[] = {
      |                      ^~~~~~~~~~~~~~
nfs_funcs.c:555:9: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch]
  555 |         bzero(&argument, dent->arg_size);
      |         ^~~~~
--- psinode.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o psinode.o psinode.c
psinode.c: In function 'psi_lookup':
psinode.c:326:78: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  326 |                                 fatal("could not find parent of inode %d\n", (int)ino);
      |                                                                              ^
--- nfs_dir ---
--- syscalls.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD syscalls.c
--- proc.o ---
proc.c: In function 'smb_proc_readdir_long':
proc.c:1302:49: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
 1302 |                                                 strncpy(p, mask, masklen);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1239:47: note: length computed here
 1239 |                                 int masklen = strlen(mask);
      |                                               ^~~~~~~~~~~~
proc.c:1281:49: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
 1281 |                                                 strncpy(p, mask, masklen);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
proc.c:1239:47: note: length computed here
 1239 |                                 int masklen = strlen(mask);
      |                                               ^~~~~~~~~~~~
--- kernel.o ---
gcc -Iinclude -I. -Wall -O2 -DNETBSD 	 -c -o kernel.o kernel.c
--- nfs_dir ---
--- nfs_prot_xdr.o ---
gcc  -c -I. -I.. -Wall -O2 -DNETBSD -Wno-unused -Wno-switch -Wno-uninitialized -c nfs_prot_xdr.c
--- kernel.o ---
kernel.c: In function 'kernel_init':
kernel.c:48:48: error: 'struct tm' has no member named 'tm_gmtoff'
   48 |         sys_tz.tz_minuteswest = -(localtime(&t)->tm_gmtoff) / 60;
      |                                                ^~
*** [kernel.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3
--- nfs_dir ---
nfs_prot_xdr.c: In function 'xdr_nfs_fh':
nfs_prot_xdr.c:81:35: warning: passing argument 2 of 'xdr_opaque' from incompatible pointer type [-Wincompatible-pointer-types]
   81 |         if (!xdr_opaque(xdrs, objp->data, NFS_FHSIZE))
      |                               ~~~~^~~~~~
      |                                   |
      |                                   long long int *
In file included from /usr/include/rpc/rpc.h:58,
                 from nfs_prot.h:9,
                 from nfs_prot_xdr.c:6:
/usr/include/rpc/xdr.h:424:35: note: expected 'caddr_t' {aka 'char *'} but argument is of type 'long long int *'
  424 | extern bool_t   xdr_opaque(XDR *, caddr_t, const uint_t);
      |                                   ^~~~~~~
*** [nfs_dir] Error code 6

bmake: stopped making "all" in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/net/sharity-light/work/Sharity-Light.1.3
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/sharity-light
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/net/sharity-light