=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for fuse-afpfs-ng-0.8.1nb5
cd . && /opt/pkg/bin/mksh /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/missing --run aclocal-1.10 
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.ac'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
 cd . && /opt/pkg/bin/mksh /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/missing --run automake-1.10 --gnu 
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.ac'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
cd . && /opt/pkg/bin/mksh /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/missing --run autoconf
WARNING: 'autoconf' is missing on your system.  You should only need it if
         you modified 'configure.ac'.  You might want to install the
         Autoconf and GNU m4 packages.  Grab them from any GNU
         archive site.
/opt/pkg/bin/mksh ./config.status --recheck
cd . && /opt/pkg/bin/mksh /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/missing --run autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.ac'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /opt/pkg/bin/mksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
Making all in lib
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/lib'
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
 cd .. && /opt/pkg/bin/mksh ./config.status lib/Makefile depfiles
config.status: creating lib/Makefile
config.status: executing depfiles commands
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c -o libafpclient_la-afp.lo `test -f 'afp.c' || echo './'`afp.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c afp.c  -fno-common -DPIC -o .libs/libafpclient_la-afp.o
afp.c:264:43: warning: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'unsigned short *'; take the address with & [-Wint-conversion]
        if (volume->dtrefnum) afp_closedt(server,volume->dtrefnum);
                                                 ^~~~~~~~~~~~~~~~
                                                 &
../include/afp.h:373:62: note: passing argument to parameter 'refnum' here
int afp_closedt(struct afp_server * server, unsigned short * refnum);
                                                             ^
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-afp.lo -MD -MP -MF .deps/libafpclient_la-afp.Tpo -c afp.c -o libafpclient_la-afp.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-afp.Tpo .deps/libafpclient_la-afp.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-codepage.lo -MD -MP -MF .deps/libafpclient_la-codepage.Tpo -c -o libafpclient_la-codepage.lo `test -f 'codepage.c' || echo './'`codepage.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-codepage.lo -MD -MP -MF .deps/libafpclient_la-codepage.Tpo -c codepage.c  -fno-common -DPIC -o .libs/libafpclient_la-codepage.o
codepage.c:99:24: warning: passing arguments to 'UTF8toUCS2' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        path16dec = UTF8toUCS2(src);
                              ^
codepage.c:107:25: warning: passing arguments to 'UCS2precompose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        comp = UCS2precompose(prev, c);
                                             ^
codepage.c:129:33: warning: passing arguments to 'UCS2toUTF8' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        pathUTF8pre = UCS2toUTF8(path16pre);
                                ^
3 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-codepage.lo -MD -MP -MF .deps/libafpclient_la-codepage.Tpo -c codepage.c -o libafpclient_la-codepage.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-codepage.Tpo .deps/libafpclient_la-codepage.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-did.lo -MD -MP -MF .deps/libafpclient_la-did.Tpo -c -o libafpclient_la-did.lo `test -f 'did.c' || echo './'`did.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-did.lo -MD -MP -MF .deps/libafpclient_la-did.Tpo -c did.c  -fno-common -DPIC -o .libs/libafpclient_la-did.o
did.c:229:3: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        p=path+(p-copy);
         ^~~~~~~~~~~~~~
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-did.lo -MD -MP -MF .deps/libafpclient_la-did.Tpo -c did.c -o libafpclient_la-did.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-did.Tpo .deps/libafpclient_la-did.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-dsi.lo -MD -MP -MF .deps/libafpclient_la-dsi.Tpo -c -o libafpclient_la-dsi.lo `test -f 'dsi.c' || echo './'`dsi.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-dsi.lo -MD -MP -MF .deps/libafpclient_la-dsi.Tpo -c dsi.c  -fno-common -DPIC -o .libs/libafpclient_la-dsi.o
dsi.c:92:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at dsi.c:85:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&dsi_opensession_header.dsi_header,DSI_DSIOpenSession);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dsi.c:477:13: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast]
        p=(void *)((unsigned int) server->incoming_buffer + sizeof(*reply1));
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dsi.c:527:3: warning: call to undeclared function 'convert_utf8dec_to_utf8pre'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                convert_utf8dec_to_utf8pre(server->server_name_utf8,
                ^
dsi.c:760:5: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast]
                (((unsigned int) server->incoming_buffer)+server->data_read),
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dsi.c:759:26: warning: cast to 'void *' from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast]
                ret = read(server->fd, (void *)
                                       ^~~~~~~~
5 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-dsi.lo -MD -MP -MF .deps/libafpclient_la-dsi.Tpo -c dsi.c -o libafpclient_la-dsi.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-dsi.Tpo .deps/libafpclient_la-dsi.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-map_def.lo -MD -MP -MF .deps/libafpclient_la-map_def.Tpo -c -o libafpclient_la-map_def.lo `test -f 'map_def.c' || echo './'`map_def.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-map_def.lo -MD -MP -MF .deps/libafpclient_la-map_def.Tpo -c map_def.c  -fno-common -DPIC -o .libs/libafpclient_la-map_def.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-map_def.lo -MD -MP -MF .deps/libafpclient_la-map_def.Tpo -c map_def.c -o libafpclient_la-map_def.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-map_def.Tpo .deps/libafpclient_la-map_def.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-uams.lo -MD -MP -MF .deps/libafpclient_la-uams.Tpo -c -o libafpclient_la-uams.lo `test -f 'uams.c' || echo './'`uams.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-uams.lo -MD -MP -MF .deps/libafpclient_la-uams.Tpo -c uams.c  -fno-common -DPIC -o .libs/libafpclient_la-uams.o
uams.c:53:3: warning: incompatible function pointer types initializing 'int (*)(struct afp_server *, char *, char *, char *)' with an expression of type 'int (*)(struct afp_server *, char *, char *)' [-Wincompatible-function-pointer-types]
                &cleartxt_passwd,NULL};
                ^~~~~~~~~~~~~~~~
uams.c:183:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        if ((int)p & 0x1)
            ^~~~~~
uams.c:233:6: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        if ((int)p & 0x1)
            ^~~~~~
uams.c:583:7: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast]
        if (((int)d) % 2)
             ^~~~~~
uams.c:589:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, d, Ma_len, &len, Ma);
                                        ^
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
uams.c:681:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, d, nonce_len, &len, new_nonce);
                                        ^
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
uams.c:822:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, K_binary, bignum_len, &len, K);
                                        ^~~~~~~~
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
uams.c:864:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, d, bignum_len, &len, Ma);
                                        ^
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
uams.c:912:34: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, nonce_binary, sizeof(nonce_binary), &len,
                                        ^~~~~~~~~~~~
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
uams.c:947:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
        gcry_mpi_print(GCRYMPI_FMT_USG, d, sizeof(nonce_binary), &len, new_nonce);
                                        ^
/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/gcrypt.h:630:45: note: passing argument to parameter 'buffer' here
                             unsigned char *buffer, size_t buflen,
                                            ^
10 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-uams.lo -MD -MP -MF .deps/libafpclient_la-uams.Tpo -c uams.c -o libafpclient_la-uams.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-uams.Tpo .deps/libafpclient_la-uams.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-uams_def.lo -MD -MP -MF .deps/libafpclient_la-uams_def.Tpo -c -o libafpclient_la-uams_def.lo `test -f 'uams_def.c' || echo './'`uams_def.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-uams_def.lo -MD -MP -MF .deps/libafpclient_la-uams_def.Tpo -c uams_def.c  -fno-common -DPIC -o .libs/libafpclient_la-uams_def.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-uams_def.lo -MD -MP -MF .deps/libafpclient_la-uams_def.Tpo -c uams_def.c -o libafpclient_la-uams_def.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-uams_def.Tpo .deps/libafpclient_la-uams_def.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-unicode.lo -MD -MP -MF .deps/libafpclient_la-unicode.Tpo -c -o libafpclient_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-unicode.lo -MD -MP -MF .deps/libafpclient_la-unicode.Tpo -c unicode.c  -fno-common -DPIC -o .libs/libafpclient_la-unicode.o
unicode.c:1065:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int UCS2precompose(first, second)
    ^
In file included from unicode.c:42:
./unicode.h:190:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int UCS2precompose(
           ^
unicode.c:1102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int str16len(str16)
    ^
In file included from unicode.c:42:
./unicode.h:58:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int str16len(
           ^
unicode.c:1119:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char16 *str16chr(str16, ch)
        ^
In file included from unicode.c:42:
./unicode.h:72:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char16 *str16chr(
               ^
unicode.c:1140:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void str16cpy(dest, src)
     ^
In file included from unicode.c:42:
./unicode.h:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void str16cpy(
            ^
unicode.c:1155:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void str16ncpy(dest, src, n)
     ^
In file included from unicode.c:42:
./unicode.h:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void str16ncpy(
            ^
unicode.c:1173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void str16cat(dest, src)
     ^
In file included from unicode.c:42:
./unicode.h:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void str16cat(
            ^
unicode.c:1188:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mbCharLen(str)
    ^
In file included from unicode.c:42:
./unicode.h:128:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int mbCharLen(
           ^
unicode.c:1221:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int mbStrLen(str)
    ^
In file included from unicode.c:42:
./unicode.h:142:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int mbStrLen(
           ^
unicode.c:1250:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char16 *UTF8toUCS2(str)
        ^
In file included from unicode.c:42:
./unicode.h:163:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char16 *UTF8toUCS2(
               ^
unicode.c:1321:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
char *UCS2toUTF8(str16)
      ^
In file included from unicode.c:42:
./unicode.h:175:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern char *UCS2toUTF8(
             ^
20 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-unicode.lo -MD -MP -MF .deps/libafpclient_la-unicode.Tpo -c unicode.c -o libafpclient_la-unicode.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-unicode.Tpo .deps/libafpclient_la-unicode.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-users.lo -MD -MP -MF .deps/libafpclient_la-users.Tpo -c -o libafpclient_la-users.lo `test -f 'users.c' || echo './'`users.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-users.lo -MD -MP -MF .deps/libafpclient_la-users.Tpo -c users.c  -fno-common -DPIC -o .libs/libafpclient_la-users.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-users.lo -MD -MP -MF .deps/libafpclient_la-users.Tpo -c users.c -o libafpclient_la-users.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-users.Tpo .deps/libafpclient_la-users.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-utils.lo -MD -MP -MF .deps/libafpclient_la-utils.Tpo -c -o libafpclient_la-utils.lo `test -f 'utils.c' || echo './'`utils.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-utils.lo -MD -MP -MF .deps/libafpclient_la-utils.Tpo -c utils.c  -fno-common -DPIC -o .libs/libafpclient_la-utils.o
utils.c:199:3: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        p=filename+1;
         ^~~~~~~~~~~
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-utils.lo -MD -MP -MF .deps/libafpclient_la-utils.Tpo -c utils.c -o libafpclient_la-utils.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-utils.Tpo .deps/libafpclient_la-utils.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-resource.lo -MD -MP -MF .deps/libafpclient_la-resource.Tpo -c -o libafpclient_la-resource.lo `test -f 'resource.c' || echo './'`resource.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-resource.lo -MD -MP -MF .deps/libafpclient_la-resource.Tpo -c resource.c  -fno-common -DPIC -o .libs/libafpclient_la-resource.o
resource.c:357:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        get_dirid(volume,newpath,basename,&dirid);
                                                          ^~~~~~
./did.h:9:41: note: passing argument to parameter 'dirid' here
        char * basename, unsigned int * dirid);
                                        ^
resource.c:365:5: warning: call to undeclared function 'remove_opened_fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                                remove_opened_fork(volume,fp);
                                ^
resource.c:370:4: warning: call to undeclared function 'remove_opened_fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        remove_opened_fork(volume,fp);
                        ^
resource.c:527:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-resource.lo -MD -MP -MF .deps/libafpclient_la-resource.Tpo -c resource.c -o libafpclient_la-resource.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-resource.Tpo .deps/libafpclient_la-resource.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-log.lo -MD -MP -MF .deps/libafpclient_la-log.Tpo -c -o libafpclient_la-log.lo `test -f 'log.c' || echo './'`log.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-log.lo -MD -MP -MF .deps/libafpclient_la-log.Tpo -c log.c  -fno-common -DPIC -o .libs/libafpclient_la-log.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-log.lo -MD -MP -MF .deps/libafpclient_la-log.Tpo -c log.c -o libafpclient_la-log.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-log.Tpo .deps/libafpclient_la-log.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-client.lo -MD -MP -MF .deps/libafpclient_la-client.Tpo -c -o libafpclient_la-client.lo `test -f 'client.c' || echo './'`client.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-client.lo -MD -MP -MF .deps/libafpclient_la-client.Tpo -c client.c  -fno-common -DPIC -o .libs/libafpclient_la-client.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-client.lo -MD -MP -MF .deps/libafpclient_la-client.Tpo -c client.c -o libafpclient_la-client.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-client.Tpo .deps/libafpclient_la-client.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-server.lo -MD -MP -MF .deps/libafpclient_la-server.Tpo -c -o libafpclient_la-server.lo `test -f 'server.c' || echo './'`server.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-server.lo -MD -MP -MF .deps/libafpclient_la-server.Tpo -c server.c  -fno-common -DPIC -o .libs/libafpclient_la-server.o
server.c:75:3: warning: call to undeclared function 'gettimeofday'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                gettimeofday(&tv,NULL);
                ^
1 warning generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-server.lo -MD -MP -MF .deps/libafpclient_la-server.Tpo -c server.c -o libafpclient_la-server.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-server.Tpo .deps/libafpclient_la-server.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-connect.lo -MD -MP -MF .deps/libafpclient_la-connect.Tpo -c -o libafpclient_la-connect.lo `test -f 'connect.c' || echo './'`connect.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-connect.lo -MD -MP -MF .deps/libafpclient_la-connect.Tpo -c connect.c  -fno-common -DPIC -o .libs/libafpclient_la-connect.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-connect.lo -MD -MP -MF .deps/libafpclient_la-connect.Tpo -c connect.c -o libafpclient_la-connect.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-connect.Tpo .deps/libafpclient_la-connect.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-loop.lo -MD -MP -MF .deps/libafpclient_la-loop.Tpo -c -o libafpclient_la-loop.lo `test -f 'loop.c' || echo './'`loop.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-loop.lo -MD -MP -MF .deps/libafpclient_la-loop.Tpo -c loop.c  -fno-common -DPIC -o .libs/libafpclient_la-loop.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-loop.lo -MD -MP -MF .deps/libafpclient_la-loop.Tpo -c loop.c -o libafpclient_la-loop.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-loop.Tpo .deps/libafpclient_la-loop.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-midlevel.lo -MD -MP -MF .deps/libafpclient_la-midlevel.Tpo -c -o libafpclient_la-midlevel.lo `test -f 'midlevel.c' || echo './'`midlevel.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-midlevel.lo -MD -MP -MF .deps/libafpclient_la-midlevel.Tpo -c midlevel.c  -fno-common -DPIC -o .libs/libafpclient_la-midlevel.o
midlevel.c:81:6: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses]
        if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX)
            ^                 ~
midlevel.c:81:6: note: add parentheses after the '!' to evaluate the bitwise operator first
        if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX)
            ^
             (                                                      )
midlevel.c:81:6: note: add parentheses around left hand side expression to silence this warning
        if (!vol->extra_flags & VOLUME_EXTRA_FLAGS_VOL_SUPPORTS_UNIX)
            ^
            (                )
midlevel.c:735:6: warning: call to undeclared function 'appledouble_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        ret=appledouble_write(volume,fp,data,size,offset,&totalwritten);
            ^
midlevel.c:754:42: warning: incompatible pointer types passing 'int *' to parameter of type 'size_t *' (aka 'unsigned long *') [-Wincompatible-pointer-types]
        ret=ll_write(volume,data,size,offset,fp,&totalwritten);
                                                ^~~~~~~~~~~~~
./lowlevel.h:29:38: note: passing argument to parameter 'totalwritten' here
        struct afp_file_info * fp, size_t * totalwritten);
                                            ^
3 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-midlevel.lo -MD -MP -MF .deps/libafpclient_la-midlevel.Tpo -c midlevel.c -o libafpclient_la-midlevel.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-midlevel.Tpo .deps/libafpclient_la-midlevel.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_attr.lo -MD -MP -MF .deps/libafpclient_la-proto_attr.Tpo -c -o libafpclient_la-proto_attr.lo `test -f 'proto_attr.c' || echo './'`proto_attr.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_attr.lo -MD -MP -MF .deps/libafpclient_la-proto_attr.Tpo -c proto_attr.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_attr.o
proto_attr.c:39:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_attr.c:22:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_attr.c:80:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_attr.c:57:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:27: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                          ^
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:34: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
                                 ^
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:49:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x00ff0000U) >>  8) | \
                               ^
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:50:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x0000ff00U) <<  8) | \
                               ^
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:51:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x000000ffU) << 24)))
                               ^
proto_attr.c:88:31: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->maxreplysize=hton64(info->maxsize);
                                     ^~~~~~~~~~~~~~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:76: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                                           ^
proto_attr.c:158:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_attr.c:129:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_attr.c:169:7: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast]
        if (((unsigned int ) p2) & 0x1) p2++;
             ^~~~~~~~~~~~~~~~~~
proto_attr.c:163:25: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->offset=hton64(0);
                               ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:27: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                          ^
proto_attr.c:163:25: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->offset=hton64(0);
                               ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:34: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
                                 ^
proto_attr.c:163:25: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->offset=hton64(0);
                               ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:49:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x00ff0000U) >>  8) | \
                               ^
proto_attr.c:163:25: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->offset=hton64(0);
                               ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:50:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x0000ff00U) <<  8) | \
                               ^
proto_attr.c:163:25: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->offset=hton64(0);
                               ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:51:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x000000ffU) << 24)))
                               ^
proto_attr.c:164:27: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->reqcount=hton64(0);
                                 ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:27: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                          ^
proto_attr.c:164:27: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->reqcount=hton64(0);
                                 ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:34: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
                                 ^
proto_attr.c:164:27: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->reqcount=hton64(0);
                                 ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:49:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x00ff0000U) >>  8) | \
                               ^
proto_attr.c:164:27: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->reqcount=hton64(0);
                                 ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:50:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x0000ff00U) <<  8) | \
                               ^
proto_attr.c:164:27: warning: shift count >= width of type [-Wshift-count-overflow]
        request_packet->reqcount=hton64(0);
                                 ^~~~~~~~~
../include/utils.h:11:50: note: expanded from macro 'hton64'
#define hton64(x)       ((u_int64_t) (htonl(((x) >> 32) & 0xffffffffLL)) | \
                                                 ^  ~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:46: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:58: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                         ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:51:25: note: expanded from macro '__DARWIN_OSSwapConstInt32'
                (((__uint32_t)(x) & 0x000000ffU) << 24)))
                               ^
proto_attr.c:211:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_attr.c:190:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
21 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_attr.lo -MD -MP -MF .deps/libafpclient_la-proto_attr.Tpo -c proto_attr.c -o libafpclient_la-proto_attr.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_attr.Tpo .deps/libafpclient_la-proto_attr.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_desktop.lo -MD -MP -MF .deps/libafpclient_la-proto_desktop.Tpo -c -o libafpclient_la-proto_desktop.lo `test -f 'proto_desktop.c' || echo './'`proto_desktop.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_desktop.lo -MD -MP -MF .deps/libafpclient_la-proto_desktop.Tpo -c proto_desktop.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_desktop.o
proto_desktop.c:35:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_desktop.c:24:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_desktop.c:90:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_desktop.c:73:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_desktop.c:135:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_desktop.c:120:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet->dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_desktop.c:180:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_desktop.c:173:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_desktop.c:183:24: warning: cast to smaller integer type '__uint16_t' (aka 'unsigned short') from 'unsigned short *' [-Wpointer-to-int-cast]
        request_packet.refnum=htons(refnum);
                              ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:133:25: note: expanded from macro 'htons'
#define htons(x)        __DARWIN_OSSwapInt16(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:45: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:44:21: note: expanded from macro '__DARWIN_OSSwapConstInt16'
    ((__uint16_t)((((__uint16_t)(x) & 0xff00U) >> 8) | \
                    ^~~~~~~~~~~~~~~
proto_desktop.c:183:24: warning: cast to smaller integer type '__uint16_t' (aka 'unsigned short') from 'unsigned short *' [-Wpointer-to-int-cast]
        request_packet.refnum=htons(refnum);
                              ^~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:133:25: note: expanded from macro 'htons'
#define htons(x)        __DARWIN_OSSwapInt16(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:45: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:45:12: note: expanded from macro '__DARWIN_OSSwapConstInt16'
                (((__uint16_t)(x) & 0x00ffU) << 8)))
                  ^~~~~~~~~~~~~~~
proto_desktop.c:183:30: warning: incompatible pointer to integer conversion passing 'unsigned short *' to parameter of type 'uint16_t' (aka 'unsigned short'); dereference with * [-Wint-conversion]
        request_packet.refnum=htons(refnum);
                                    ^~~~~~
                                    *
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:133:46: note: expanded from macro 'htons'
#define htons(x)        __DARWIN_OSSwapInt16(x)
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:85:89: note: expanded from macro '__DARWIN_OSSwapInt16'
    ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
                                                                                        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/libkern/arm/OSByteOrder.h:16:18: note: passing argument to parameter '_data' here
        uint16_t        _data
                        ^
proto_desktop.c:200:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_desktop.c:193:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
8 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_desktop.lo -MD -MP -MF .deps/libafpclient_la-proto_desktop.Tpo -c proto_desktop.c -o libafpclient_la-proto_desktop.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_desktop.Tpo .deps/libafpclient_la-proto_desktop.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_directory.lo -MD -MP -MF .deps/libafpclient_la-proto_directory.Tpo -c -o libafpclient_la-proto_directory.lo `test -f 'proto_directory.c' || echo './'`proto_directory.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_directory.lo -MD -MP -MF .deps/libafpclient_la-proto_directory.Tpo -c proto_directory.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_directory.o
proto_directory.c:61:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_directory.c:24:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_directory.c:110:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_directory.c:90:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_directory.c:155:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_directory.c:135:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_directory.c:296:9: warning: incompatible pointer types assigning to 'struct (unnamed struct at proto_directory.c:261:2) *' from 'char *' [-Wincompatible-pointer-types]
                entry = p;
                      ^ ~
proto_directory.c:350:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_directory.c:320:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&afp_enumerate_request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_directory.c:410:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_directory.c:380:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&afp_enumerateext2_request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_directory.lo -MD -MP -MF .deps/libafpclient_la-proto_directory.Tpo -c proto_directory.c -o libafpclient_la-proto_directory.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_directory.Tpo .deps/libafpclient_la-proto_directory.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_files.lo -MD -MP -MF .deps/libafpclient_la-proto_files.Tpo -c -o libafpclient_la-proto_files.lo `test -f 'proto_files.c' || echo './'`proto_files.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_files.lo -MD -MP -MF .deps/libafpclient_la-proto_files.Tpo -c proto_files.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_files.o
proto_files.c:51:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:25:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:166:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:147:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:200:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:189:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:249:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:240:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&readext_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:299:2: warning: call to undeclared function 'parse_reply_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        parse_reply_block(server, 
        ^
proto_files.c:339:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:315:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&getfiledirparms->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:378:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:361:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:420:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:399:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
proto_files.c:479:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_files.c:458:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request_packet->dsi_header,DSI_DSIWrite);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
9 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_files.lo -MD -MP -MF .deps/libafpclient_la-proto_files.Tpo -c proto_files.c -o libafpclient_la-proto_files.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_files.Tpo .deps/libafpclient_la-proto_files.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_fork.lo -MD -MP -MF .deps/libafpclient_la-proto_fork.Tpo -c -o libafpclient_la-proto_fork.lo `test -f 'proto_fork.c' || echo './'`proto_fork.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_fork.lo -MD -MP -MF .deps/libafpclient_la-proto_fork.Tpo -c proto_fork.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_fork.o
proto_fork.c:45:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:26:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_fork.c:74:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:67:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_fork.c:94:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:87:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request_packet.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
proto_fork.c:114:32: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_fork.c:107:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        struct dsi_header * header = &afp_openfork_reply_packet->header;
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_fork.c:160:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:138:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&afp_openfork_request->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_fork.c:194:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:184:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~
proto_fork.c:237:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_fork.c:227:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~
7 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_fork.lo -MD -MP -MF .deps/libafpclient_la-proto_fork.Tpo -c proto_fork.c -o libafpclient_la-proto_fork.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_fork.Tpo .deps/libafpclient_la-proto_fork.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_login.lo -MD -MP -MF .deps/libafpclient_la-proto_login.Tpo -c -o libafpclient_la-proto_login.lo `test -f 'proto_login.c' || echo './'`proto_login.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_login.lo -MD -MP -MF .deps/libafpclient_la-proto_login.Tpo -c proto_login.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_login.o
proto_login.c:27:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_login.c:22:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~
proto_login.c:75:27: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_login.c:60:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request->header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~
proto_login.c:130:27: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_login.c:115:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request->header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~
proto_login.c:169:28: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_login.c:152:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server, &request->header, DSI_DSICommand);
                                  ^~~~~~~~~~~~~~~
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_login.lo -MD -MP -MF .deps/libafpclient_la-proto_login.Tpo -c proto_login.c -o libafpclient_la-proto_login.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_login.Tpo .deps/libafpclient_la-proto_login.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_map.lo -MD -MP -MF .deps/libafpclient_la-proto_map.Tpo -c -o libafpclient_la-proto_map.lo `test -f 'proto_map.c' || echo './'`proto_map.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_map.lo -MD -MP -MF .deps/libafpclient_la-proto_map.Tpo -c proto_map.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_map.o
proto_map.c:38:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_map.c:28:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~
proto_map.c:103:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_map.c:94:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~
proto_map.c:125:28: warning: incompatible pointer types passing 'char **' to parameter of type 'char *'; remove & [-Wincompatible-pointer-types]
        copy_from_pascal_two(name,&reply->name,255);
                                  ^~~~~~~~~~~~
../include/utils.h:30:55: note: passing argument to parameter 'pascal' here
unsigned short copy_from_pascal_two(char *dest, char *pascal,unsigned int max_len);
                                                      ^
proto_map.c:154:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_map.c:133:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request->dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_map.lo -MD -MP -MF .deps/libafpclient_la-proto_map.Tpo -c proto_map.c -o libafpclient_la-proto_map.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_map.Tpo .deps/libafpclient_la-proto_map.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_replyblock.lo -MD -MP -MF .deps/libafpclient_la-proto_replyblock.Tpo -c -o libafpclient_la-proto_replyblock.lo `test -f 'proto_replyblock.c' || echo './'`proto_replyblock.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_replyblock.lo -MD -MP -MF .deps/libafpclient_la-proto_replyblock.Tpo -c proto_replyblock.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_replyblock.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_replyblock.lo -MD -MP -MF .deps/libafpclient_la-proto_replyblock.Tpo -c proto_replyblock.c -o libafpclient_la-proto_replyblock.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_replyblock.Tpo .deps/libafpclient_la-proto_replyblock.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_server.lo -MD -MP -MF .deps/libafpclient_la-proto_server.Tpo -c -o libafpclient_la-proto_server.lo `test -f 'proto_server.c' || echo './'`proto_server.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_server.lo -MD -MP -MF .deps/libafpclient_la-proto_server.Tpo -c proto_server.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_server.o
proto_server.c:25:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_server.c:20:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&afp_getsrvrparms_request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_server.c:128:27: warning: taking address of packed member 'dsi_header' of class or structure 'afp_getsrvrmsg_request_packet' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&afp_getsrvrmsg_request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_server.c:151:27: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_server.c:144:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server,&request.dsi_header,DSI_DSICommand);
                                 ^~~~~~~~~~~~~~~~~~
3 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_server.lo -MD -MP -MF .deps/libafpclient_la-proto_server.Tpo -c proto_server.c -o libafpclient_la-proto_server.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_server.Tpo .deps/libafpclient_la-proto_server.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_volume.lo -MD -MP -MF .deps/libafpclient_la-proto_volume.Tpo -c -o libafpclient_la-proto_volume.lo `test -f 'proto_volume.c' || echo './'`proto_volume.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_volume.lo -MD -MP -MF .deps/libafpclient_la-proto_volume.Tpo -c proto_volume.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_volume.o
proto_volume.c:102:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_volume.c:96:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&request.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~
proto_volume.c:170:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_volume.c:147:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&afp_volopen_request->dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_volume.c:235:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_volume.c:227:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&afp_flush_request.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_volume.c:257:35: warning: taking address of packed member 'dsi_header' of class or structure 'struct (unnamed at proto_volume.c:248:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(volume->server,&afp_getvolparms_request.dsi_header,DSI_DSICommand);
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_volume.lo -MD -MP -MF .deps/libafpclient_la-proto_volume.Tpo -c proto_volume.c -o libafpclient_la-proto_volume.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_volume.Tpo .deps/libafpclient_la-proto_volume.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-proto_session.lo -MD -MP -MF .deps/libafpclient_la-proto_session.Tpo -c -o libafpclient_la-proto_session.lo `test -f 'proto_session.c' || echo './'`proto_session.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_session.lo -MD -MP -MF .deps/libafpclient_la-proto_session.Tpo -c proto_session.c  -fno-common -DPIC -o .libs/libafpclient_la-proto_session.o
proto_session.c:42:28: warning: cast to smaller integer type 'unsigned int' from 'struct (unnamed struct at proto_session.c:20:2) *' [-Wpointer-to-int-cast]
                uint32_t *p = (void *) (((unsigned int) request)+
                                         ^~~~~~~~~~~~~~~~~~~~~~
proto_session.c:66:18: warning: cast to smaller integer type 'unsigned int' from 'struct (unnamed struct at proto_session.c:20:2) *' [-Wpointer-to-int-cast]
        data=(void *) (((unsigned int) request)+sizeof(*request)+offset);
                        ^~~~~~~~~~~~~~~~~~~~~~
proto_session.c:70:28: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_session.c:20:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server, &request->header, DSI_DSICommand);
                                  ^~~~~~~~~~~~~~~
proto_session.c:130:14: warning: incompatible pointer types assigning to 'char *' from 'struct (unnamed struct at proto_session.c:117:2) *' [-Wincompatible-pointer-types]
        token_data  = request + sizeof(*request);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
proto_session.c:136:28: warning: taking address of packed member 'header' of class or structure 'struct (unnamed at proto_session.c:117:2)' may result in an unaligned pointer value [-Waddress-of-packed-member]
        dsi_setup_header(server, &request->header, DSI_DSICommand);
                                  ^~~~~~~~~~~~~~~
5 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-proto_session.lo -MD -MP -MF .deps/libafpclient_la-proto_session.Tpo -c proto_session.c -o libafpclient_la-proto_session.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-proto_session.Tpo .deps/libafpclient_la-proto_session.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-afp_url.lo -MD -MP -MF .deps/libafpclient_la-afp_url.Tpo -c -o libafpclient_la-afp_url.lo `test -f 'afp_url.c' || echo './'`afp_url.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-afp_url.lo -MD -MP -MF .deps/libafpclient_la-afp_url.Tpo -c afp_url.c  -fno-common -DPIC -o .libs/libafpclient_la-afp_url.o
afp_url.c:36:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        for (p=uam;*p;p++) {
              ^~~~
afp_url.c:191:16: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        if (p==NULL) p=toparse;
                      ^~~~~~~~
afp_url.c:236:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        snprintf(url->servername,strlen(p)+1,p);
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:236:39: note: treat the string as an argument to avoid this
        snprintf(url->servername,strlen(p)+1,p);
                                             ^
                                             "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
afp_url.c:266:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                snprintf(url->password,strlen(q)+1,q);
                                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:266:38: note: treat the string as an argument to avoid this
                snprintf(url->password,strlen(q)+1,q);
                                                   ^
                                                   "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
afp_url.c:279:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                snprintf(url->uamname,strlen(q)+1,q);
                                                  ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:279:37: note: treat the string as an argument to avoid this
                snprintf(url->uamname,strlen(q)+1,q);
                                                  ^
                                                  "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
afp_url.c:287:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                snprintf(url->username,strlen(p)+1,p);
                                                   ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:287:38: note: treat the string as an argument to avoid this
                snprintf(url->username,strlen(p)+1,p);
                                                   ^
                                                   "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
afp_url.c:307:39: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        snprintf(url->volumename,strlen(p)+1,p);
                                             ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:307:39: note: treat the string as an argument to avoid this
        snprintf(url->volumename,strlen(p)+1,p);
                                             ^
                                             "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
afp_url.c:312:36: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                snprintf(url->path+1,strlen(q)+1,q);
                                                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
afp_url.c:312:36: note: treat the string as an argument to avoid this
                snprintf(url->path+1,strlen(q)+1,q);
                                                 ^
                                                 "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^
8 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-afp_url.lo -MD -MP -MF .deps/libafpclient_la-afp_url.Tpo -c afp_url.c -o libafpclient_la-afp_url.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-afp_url.Tpo .deps/libafpclient_la-afp_url.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-status.lo -MD -MP -MF .deps/libafpclient_la-status.Tpo -c -o libafpclient_la-status.lo `test -f 'status.c' || echo './'`status.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-status.lo -MD -MP -MF .deps/libafpclient_la-status.Tpo -c status.c  -fno-common -DPIC -o .libs/libafpclient_la-status.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-status.lo -MD -MP -MF .deps/libafpclient_la-status.Tpo -c status.c -o libafpclient_la-status.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-status.Tpo .deps/libafpclient_la-status.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c -o libafpclient_la-forklist.lo `test -f 'forklist.c' || echo './'`forklist.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c forklist.c  -fno-common -DPIC -o .libs/libafpclient_la-forklist.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-forklist.lo -MD -MP -MF .deps/libafpclient_la-forklist.Tpo -c forklist.c -o libafpclient_la-forklist.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-forklist.Tpo .deps/libafpclient_la-forklist.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c -o libafpclient_la-debug.lo `test -f 'debug.c' || echo './'`debug.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c debug.c  -fno-common -DPIC -o .libs/libafpclient_la-debug.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-debug.lo -MD -MP -MF .deps/libafpclient_la-debug.Tpo -c debug.c -o libafpclient_la-debug.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-debug.Tpo .deps/libafpclient_la-debug.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c -o libafpclient_la-lowlevel.lo `test -f 'lowlevel.c' || echo './'`lowlevel.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c lowlevel.c  -fno-common -DPIC -o .libs/libafpclient_la-lowlevel.o
lowlevel.c:280:5: warning: call to undeclared function 'ml_creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        (ml_creat(volume,path,0644)==0)) {
                         ^
lowlevel.c:314:2: warning: call to undeclared function 'add_opened_fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        add_opened_fork(volume, fp);
        ^
lowlevel.c:257:40: warning: result of comparison of constant 4294967295 with expression of type 'unsigned short' is always false [-Wtautological-constant-out-of-range-compare]
                if ((fp->resource ? (fp->resourcesize>=(AFP_MAX_AFP2_FILESIZE-1)) :
                                     ~~~~~~~~~~~~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~
lowlevel.c:499:23: warning: taking address of packed member 'permissions' of class or structure 'afp_unixprivs' may result in an unaligned pointer value [-Waddress-of-packed-member]
                        set_nonunix_perms(&p->unixprivs.permissions, p);
                                           ^~~~~~~~~~~~~~~~~~~~~~~~
lowlevel.c:585:21: warning: incompatible pointer types passing 'struct stat *' to parameter of type 'unsigned int *' [-Wincompatible-pointer-types]
                set_nonunix_perms(stbuf,&fp);
                                  ^~~~~
lowlevel.c:29:46: note: passing argument to parameter 'mode' here
static void set_nonunix_perms(unsigned int * mode, struct afp_file_info *fp) 
                                             ^
5 warnings generated.
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -pipe -Os -MT libafpclient_la-lowlevel.lo -MD -MP -MF .deps/libafpclient_la-lowlevel.Tpo -c lowlevel.c -o libafpclient_la-lowlevel.o >/dev/null 2>&1
mv -f .deps/libafpclient_la-lowlevel.Tpo .deps/libafpclient_la-lowlevel.Plo
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=link clang -D_FILE_OFFSET_BITS=64 -I../include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -L/opt/pkg/lib -o libafpclient.la -rpath /opt/pkg/lib libafpclient_la-afp.lo libafpclient_la-codepage.lo libafpclient_la-did.lo libafpclient_la-dsi.lo libafpclient_la-map_def.lo libafpclient_la-uams.lo libafpclient_la-uams_def.lo libafpclient_la-unicode.lo libafpclient_la-users.lo libafpclient_la-utils.lo libafpclient_la-resource.lo libafpclient_la-log.lo libafpclient_la-client.lo libafpclient_la-server.lo libafpclient_la-connect.lo libafpclient_la-loop.lo libafpclient_la-midlevel.lo libafpclient_la-proto_attr.lo libafpclient_la-proto_desktop.lo libafpclient_la-proto_directory.lo libafpclient_la-proto_files.lo libafpclient_la-proto_fork.lo libafpclient_la-proto_login.lo libafpclient_la-proto_map.lo libafpclient_la-proto_replyblock.lo libafpclient_la-proto_server.lo libafpclient_la-proto_volume.lo libafpclient_la-proto_session.lo libafpclient_la-afp_url.lo libafpclient_la-status.lo libafpclient_la-forklist.lo libafpclient_la-debug.lo libafpclient_la-lowlevel.lo  -lgmp -lgcrypt -lpthread -lreadline -lncurses 
libtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libafpclient.0.dylib  .libs/libafpclient_la-afp.o .libs/libafpclient_la-codepage.o .libs/libafpclient_la-did.o .libs/libafpclient_la-dsi.o .libs/libafpclient_la-map_def.o .libs/libafpclient_la-uams.o .libs/libafpclient_la-uams_def.o .libs/libafpclient_la-unicode.o .libs/libafpclient_la-users.o .libs/libafpclient_la-utils.o .libs/libafpclient_la-resource.o .libs/libafpclient_la-log.o .libs/libafpclient_la-client.o .libs/libafpclient_la-server.o .libs/libafpclient_la-connect.o .libs/libafpclient_la-loop.o .libs/libafpclient_la-midlevel.o .libs/libafpclient_la-proto_attr.o .libs/libafpclient_la-proto_desktop.o .libs/libafpclient_la-proto_directory.o .libs/libafpclient_la-proto_files.o .libs/libafpclient_la-proto_fork.o .libs/libafpclient_la-proto_login.o .libs/libafpclient_la-proto_map.o .libs/libafpclient_la-proto_replyblock.o .libs/libafpclient_la-proto_server.o .libs/libafpclient_la-proto_volume.o .libs/libafpclient_la-proto_session.o .libs/libafpclient_la-afp_url.o .libs/libafpclient_la-status.o .libs/libafpclient_la-forklist.o .libs/libafpclient_la-debug.o .libs/libafpclient_la-lowlevel.o   -L/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgmp.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgcrypt.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgpg-error.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libintl.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libiconv.dylib -lpthread /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libedit.dylib -L../lib -lcurses /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libncurses.dylib  -Os -Os   -install_name  /opt/pkg/lib/libafpclient.0.dylib -compatibility_version 1 -current_version 1.0 
libtool: link: (cd ".libs" && rm -f "libafpclient.dylib" && ln -s "libafpclient.0.dylib" "libafpclient.dylib")
libtool: link: ar cr .libs/libafpclient.a  libafpclient_la-afp.o libafpclient_la-codepage.o libafpclient_la-did.o libafpclient_la-dsi.o libafpclient_la-map_def.o libafpclient_la-uams.o libafpclient_la-uams_def.o libafpclient_la-unicode.o libafpclient_la-users.o libafpclient_la-utils.o libafpclient_la-resource.o libafpclient_la-log.o libafpclient_la-client.o libafpclient_la-server.o libafpclient_la-connect.o libafpclient_la-loop.o libafpclient_la-midlevel.o libafpclient_la-proto_attr.o libafpclient_la-proto_desktop.o libafpclient_la-proto_directory.o libafpclient_la-proto_files.o libafpclient_la-proto_fork.o libafpclient_la-proto_login.o libafpclient_la-proto_map.o libafpclient_la-proto_replyblock.o libafpclient_la-proto_server.o libafpclient_la-proto_volume.o libafpclient_la-proto_session.o libafpclient_la-afp_url.o libafpclient_la-status.o libafpclient_la-forklist.o libafpclient_la-debug.o libafpclient_la-lowlevel.o
libtool: link: ranlib .libs/libafpclient.a
libtool: link: ( cd ".libs" && rm -f "libafpclient.la" && ln -s "../libafpclient.la" "libafpclient.la" )
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/lib'
Making all in cmdline
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/cmdline'
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
 cd .. && /opt/pkg/bin/mksh ./config.status cmdline/Makefile depfiles
config.status: creating cmdline/Makefile
config.status: executing depfiles commands
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT afpcmd-cmdline_afp.o -MD -MP -MF .deps/afpcmd-cmdline_afp.Tpo -c -o afpcmd-cmdline_afp.o `test -f 'cmdline_afp.c' || echo './'`cmdline_afp.c
cmdline_afp.c:420:20: warning: more '%' conversions than data arguments [-Wformat-insufficient-args]
                printf("Mode of %s isn't octal\n");
                                ~^
cmdline_afp.c:831:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        printf(text);
               ^~~~
cmdline_afp.c:831:9: note: treat the string as an argument to avoid this
        printf(text);
               ^
               "%s", 
cmdline_afp.c:835:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        printf(text);
               ^~~~
cmdline_afp.c:835:9: note: treat the string as an argument to avoid this
        printf(text);
               ^
               "%s", 
cmdline_afp.c:1220:2: warning: 'snprintf' will always overflow; destination buffer has size 768, but size argument is 1024 [-Wbuiltin-memcpy-chk-size]
        snprintf(curdir,PATH_MAX,"%s",DEFAULT_DIRECTORY);
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:3: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
  ^
4 warnings generated.
mv -f .deps/afpcmd-cmdline_afp.Tpo .deps/afpcmd-cmdline_afp.Po
clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT afpcmd-cmdline_main.o -MD -MP -MF .deps/afpcmd-cmdline_main.Tpo -c -o afpcmd-cmdline_main.o `test -f 'cmdline_main.c' || echo './'`cmdline_main.c
cmdline_main.c:181:12: warning: incompatible function pointer types initializing 'int (*)(char *)' with an expression of type 'int (void)' [-Wincompatible-function-pointer-types]
  { "test",test_urls,"URL parsing test",1},
           ^~~~~~~~~
cmdline_main.c:416:2: warning: call to undeclared function 'cmdline_afp_setup_client'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        cmdline_afp_setup_client();
        ^
cmdline_main.c:418:2: warning: call to undeclared function 'afp_main_quick_startup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        afp_main_quick_startup(NULL);
        ^
3 warnings generated.
mv -f .deps/afpcmd-cmdline_main.Tpo .deps/afpcmd-cmdline_main.Po
clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT afpcmd-cmdline_testafp.o -MD -MP -MF .deps/afpcmd-cmdline_testafp.Tpo -c -o afpcmd-cmdline_testafp.o `test -f 'cmdline_testafp.c' || echo './'`cmdline_testafp.c
cmdline_testafp.c:17:2: warning: declaration of 'enum (unnamed at cmdline_testafp.c:17:2)' will not be visible outside of this function [-Wvisibility]
        enum {TCPIP,AT} protocol, 
        ^
cmdline_testafp.c:29:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.servername,servername);
                                     ^~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:29:31: note: treat the string as an argument to avoid this
        sprintf(valid_url.servername,servername);
                                     ^
                                     "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
cmdline_testafp.c:30:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.volumename,volumename);
                                     ^~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:30:31: note: treat the string as an argument to avoid this
        sprintf(valid_url.volumename,volumename);
                                     ^
                                     "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
cmdline_testafp.c:31:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.path,path);
                               ^~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:31:25: note: treat the string as an argument to avoid this
        sprintf(valid_url.path,path);
                               ^
                               "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
cmdline_testafp.c:32:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.username,username);
                                   ^~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:32:29: note: treat the string as an argument to avoid this
        sprintf(valid_url.username,username);
                                   ^
                                   "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
cmdline_testafp.c:33:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.password,password);
                                   ^~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:33:29: note: treat the string as an argument to avoid this
        sprintf(valid_url.password,password);
                                   ^
                                   "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
cmdline_testafp.c:34:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        sprintf(valid_url.uamname,uamname);
                                  ^~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
cmdline_testafp.c:34:28: note: treat the string as an argument to avoid this
        sprintf(valid_url.uamname,uamname);
                                  ^
                                  "%s", 
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^
7 warnings generated.
mv -f .deps/afpcmd-cmdline_testafp.Tpo .deps/afpcmd-cmdline_testafp.Po
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=link clang -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -L/opt/pkg/lib -o afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o -lreadline -lncurses  ../lib/libafpclient.la -lgmp -lgcrypt -lpthread -lreadline -lncurses 
libtool: link: clang -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -pipe -Os -o .libs/afpcmd afpcmd-cmdline_afp.o afpcmd-cmdline_main.o afpcmd-cmdline_testafp.o  -L/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib -L../lib ../lib/.libs/libafpclient.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgmp.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgcrypt.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgpg-error.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libintl.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libiconv.dylib -lpthread /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libedit.dylib -lcurses /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libncurses.dylib
clang -DHAVE_CONFIG_H -I. -I..   -I/opt/pkg/include/ncurses -I/opt/pkg/include -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include -MT afpgetstatus-getstatus.o -MD -MP -MF .deps/afpgetstatus-getstatus.Tpo -c -o afpgetstatus-getstatus.o `test -f 'getstatus.c' || echo './'`getstatus.c
getstatus.c:59:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        free(server);
        ^
getstatus.c:59:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
getstatus.c:90:14: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        if ((port=atoi(p))<=0) {
                                  ^
2 warnings generated.
mv -f .deps/afpgetstatus-getstatus.Tpo .deps/afpgetstatus-getstatus.Po
/opt/pkg/bin/mksh ../libtool --tag=CC   --mode=link clang -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/ncurses -I/opt/pkg/include  -L/opt/pkg/lib -o afpgetstatus afpgetstatus-getstatus.o ../lib/libafpclient.la -lgmp -lgcrypt -lpthread -lreadline -lncurses 
libtool: link: clang -I../include -D_FILE_OFFSET_BITS=64 -pipe -Os -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include/ncurses -I/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/include -pipe -Os -o .libs/afpgetstatus afpgetstatus-getstatus.o  -L/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib ../lib/.libs/libafpclient.dylib -L../lib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgmp.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgcrypt.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libgpg-error.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libintl.dylib /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libiconv.dylib -lpthread /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libedit.dylib -lcurses /Users/pbulk/build/filesystems/fuse-afpfs-ng/work/.buildlink/lib/libncurses.dylib
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/cmdline'
Making all in docs
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/docs'
cd .. && /opt/pkg/bin/gmake  am--refresh
gmake[3]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[3]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1/docs'
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
/opt/pkg/bin/mksh ./config.status --recheck
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'
gmake[1]: Leaving directory '/Users/pbulk/build/filesystems/fuse-afpfs-ng/work/afpfs-ng-0.8.1'