===> Building for fuse-curlftpfs-0.9.2nb16
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2'
Making all in compat
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2/compat'
if /opt/pkg/bin/mksh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT fuse_opt.lo -MD -MP -MF ".deps/fuse_opt.Tpo" -c -o fuse_opt.lo fuse_opt.c; \
then mv -f ".deps/fuse_opt.Tpo" ".deps/fuse_opt.Plo"; else rm -f ".deps/fuse_opt.Tpo"; exit 1; fi
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/glib-2.0 -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/gio-unix-2.0 -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/lib/glib-2.0/include -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include -DLDAP_DEPRECATED -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/libxml2 -pipe -Os -DLDAP_DEPRECATED -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64 -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c  -fno-common -DPIC -o .libs/fuse_opt.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/glib-2.0 -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/gio-unix-2.0 -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/lib/glib-2.0/include -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include -DLDAP_DEPRECATED -I/Users/pbulk/build/filesystems/fuse-curlftpfs/work/.buildlink/include/libxml2 -pipe -Os -DLDAP_DEPRECATED -Wall -W -Wno-sign-compare -D_REENTRANT -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64 -MT fuse_opt.lo -MD -MP -MF .deps/fuse_opt.Tpo -c fuse_opt.c -o fuse_opt.o >/dev/null 2>&1
/opt/pkg/bin/mksh ../libtool --tag=CC --mode=link clang  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include  -L/opt/pkg/lib -L/opt/pkg/lib -o libcompat.la   fuse_opt.lo  -L/opt/pkg/lib -lglib-2.0 -lintl -L/usr/local/lib -lfuse -pthread -L/opt/pkg/lib -L/opt/pkg/lib -lcurl
libtool: link: ar cr .libs/libcompat.a .libs/fuse_opt.o 
libtool: link: ranlib .libs/libcompat.a
libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" )
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2/compat'
Making all in doc
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2/doc'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2/doc'
gmake[2]: Entering directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2'
if clang -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT cache.o -MD -MP -MF ".deps/cache.Tpo" -c -o cache.o cache.c; \
then mv -f ".deps/cache.Tpo" ".deps/cache.Po"; else rm -f ".deps/cache.Tpo"; exit 1; fi
cache.c:139:12: warning: variable 'now' set but not used [-Wunused-but-set-variable]
    time_t now;
           ^
cache.c:160:12: warning: variable 'now' set but not used [-Wunused-but-set-variable]
    time_t now;
           ^
cache.c:185:12: warning: variable 'now' set but not used [-Wunused-but-set-variable]
    time_t now;
           ^
3 warnings generated.
if clang -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT ftpfs-ls.o -MD -MP -MF ".deps/ftpfs-ls.Tpo" -c -o ftpfs-ls.o ftpfs-ls.c; \
then mv -f ".deps/ftpfs-ls.Tpo" ".deps/ftpfs-ls.Po"; else rm -f ".deps/ftpfs-ls.Tpo"; exit 1; fi
if clang -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT charset_utils.o -MD -MP -MF ".deps/charset_utils.Tpo" -c -o charset_utils.o charset_utils.c; \
then mv -f ".deps/charset_utils.Tpo" ".deps/charset_utils.Po"; else rm -f ".deps/charset_utils.Tpo"; exit 1; fi
if clang -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT path_utils.o -MD -MP -MF ".deps/path_utils.Tpo" -c -o path_utils.o path_utils.c; \
then mv -f ".deps/path_utils.Tpo" ".deps/path_utils.Po"; else rm -f ".deps/path_utils.Tpo"; exit 1; fi
path_utils.c:89:40: warning: operator '?:' has lower precedence than '-'; '-' will be evaluated first [-Wparentheses]
                        lastdir - path ? "/" : "");
                        ~~~~~~~~~~~~~~ ^
path_utils.c:89:40: note: place parentheses around the '-' expression to silence this warning
                        lastdir - path ? "/" : "");
                                       ^
                        (             )
path_utils.c:89:40: note: place parentheses around the '?:' expression to evaluate it first
                        lastdir - path ? "/" : "");
                                       ^
                                  (              )
path_utils.c:85:30: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
  ret = g_strdup_printf("%s%.*s%s",
                           ~~^~
2 warnings generated.
rm -f libcurlftpfs.a
ar cru libcurlftpfs.a cache.o ftpfs-ls.o charset_utils.o path_utils.o 
ranlib libcurlftpfs.a
if clang -DHAVE_CONFIG_H -I. -I. -I.  -DFUSE_USE_VERSION=26 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -DLDAP_DEPRECATED -I/opt/pkg/include/libxml2 -Wall -W -Wno-sign-compare -D_REENTRANT -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/usr/local/include/fuse -D_FILE_OFFSET_BITS=64  -I/opt/pkg/include -MT ftpfs.o -MD -MP -MF ".deps/ftpfs.Tpo" -c -o ftpfs.o ftpfs.c; \
then mv -f ".deps/ftpfs.Tpo" ".deps/ftpfs.Po"; else rm -f ".deps/ftpfs.Tpo"; exit 1; fi
ftpfs.c:499:8: warning: unused variable 'range' [-Wunused-variable]
  char range[15];
       ^
ftpfs.c:559:2: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
        sem_init(&fh->data_avail, 0, 0);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:560:2: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
        sem_init(&fh->data_need, 0, 0);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:561:2: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
        sem_init(&fh->data_written, 0, 0);
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:562:2: warning: 'sem_init' is deprecated [-Wdeprecated-declarations]
        sem_init(&fh->ready, 0, 0);     
        ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:55:42: note: 'sem_init' has been explicitly marked deprecated here
int sem_init(sem_t *, int, unsigned int) __deprecated;
                                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:596:5: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
    sem_destroy(&fh->data_avail);
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:597:5: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
    sem_destroy(&fh->data_need);
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:598:5: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
    sem_destroy(&fh->data_written);
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:599:5: warning: 'sem_destroy' is deprecated [-Wdeprecated-declarations]
    sem_destroy(&fh->ready);    
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/semaphore.h:53:26: note: 'sem_destroy' has been explicitly marked deprecated here
int sem_destroy(sem_t *) __deprecated;
                         ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:204:40: note: expanded from macro '__deprecated'
#define __deprecated    __attribute__((__deprecated__))
                                       ^
ftpfs.c:686:8: error: unknown type name '__off_t'; did you mean 'off_t'?
static __off_t test_size(const char* path)
       ^~~~~~~
       off_t
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_types/_off_t.h:31:33: note: 'off_t' declared here
typedef __darwin_off_t          off_t;
                                ^
ftpfs.c:735:51: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
        DEBUG(1, "initial read failed size=%d\n", size);
                                           ~~     ^~~~
                                           %zu
./ftpfs.h:80:32: note: expanded from macro 'DEBUG'
               fprintf(stderr, args);\
                               ^~~~
ftpfs.c:949:3: error: unknown type name '__off_t'; did you mean 'off_t'?
  __off_t size = (long long int)test_size(path); 
  ^~~~~~~
  off_t
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_types/_off_t.h:31:33: note: 'off_t' declared here
typedef __darwin_off_t          off_t;
                                ^
ftpfs.c:977:3: error: unknown type name '__off_t'; did you mean 'off_t'?
  __off_t size = test_size(path); 
  ^~~~~~~
  off_t
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_types/_off_t.h:31:33: note: 'off_t' declared here
typedef __darwin_off_t          off_t;
                                ^
10 warnings and 3 errors generated.
gmake[2]: *** [Makefile:336: ftpfs.o] Error 1
gmake[2]: Leaving directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2'
gmake[1]: *** [Makefile:373: all-recursive] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/filesystems/fuse-curlftpfs/work/curlftpfs-0.9.2'
gmake: *** [Makefile:230: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/filesystems/fuse-curlftpfs
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/filesystems/fuse-curlftpfs