=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/filesystems/fuse-sshfs", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PYTHON_VERSION_REQD=313"] ===> Building for fuse-sshfs-3.7.5nb1 ninja: Entering directory `output' [1/8] Compiling C object sshfs.p/cache.c.o FAILED: [code=1] sshfs.p/cache.c.o clang -Isshfs.p -I. -I.. -I../compat -I/usr/local/include/fuse -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -DFUSE_DARWIN_ENABLE_EXTENSIONS=0 -pipe -Os -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/cache.c.o -MF sshfs.p/cache.c.o.d -o sshfs.p/cache.c.o -c ../cache.c ../cache.c:290:32: warning: declaration of 'struct fuse_config' will not be visible outside of this function [-Wvisibility] struct fuse_config *cfg) ^ ../cache.c:293:36: error: too many arguments to function call, expected 1, have 2 res = cache.next_oper->init(conn, cfg); ~~~~~~~~~~~~~~~~~~~~~ ^~~ ../cache.c:296:5: error: incomplete definition of type 'struct fuse_config' cfg->nullpath_ok = 0; ~~~^ ../cache.c:290:32: note: forward declaration of 'struct fuse_config' struct fuse_config *cfg) ^ ../cache.c:315:47: error: too many arguments to function call, expected 2, have 3 err = cache.next_oper->getattr(path, stbuf, fi); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ../cache.c:384:11: warning: declaration of 'enum fuse_fill_dir_flags' will not be visible outside of this function [-Wvisibility] enum fuse_fill_dir_flags flags) ^ ../cache.c:384:31: error: variable has incomplete type 'enum fuse_fill_dir_flags' enum fuse_fill_dir_flags flags) ^ ../cache.c:384:11: note: forward declaration of 'enum fuse_fill_dir_flags' enum fuse_fill_dir_flags flags) ^ ../cache.c:384:31: warning: unused parameter 'flags' [-Wunused-parameter] enum fuse_fill_dir_flags flags) ^ ../cache.c:419:10: warning: declaration of 'enum fuse_readdir_flags' will not be visible outside of this function [-Wvisibility] enum fuse_readdir_flags flags) ^ ../cache.c:419:29: error: variable has incomplete type 'enum fuse_readdir_flags' enum fuse_readdir_flags flags) ^ ../cache.c:419:10: note: forward declaration of 'enum fuse_readdir_flags' enum fuse_readdir_flags flags) ^ ../cache.c:440:53: error: too many arguments to function call, expected 4, have 5 filler(buf, (*cdent)->name, &(*cdent)->stat, 0, 0); ~~~~~~ ^ ../cache.c:419:29: warning: unused parameter 'flags' [-Wunused-parameter] enum fuse_readdir_flags flags) ^ ../cache.c:543:46: error: too many arguments to function call, expected 2, have 3 int err = cache.next_oper->rename(from, to, flags); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~ ../cache.c:572:47: error: too many arguments to function call, expected 2, have 3 int err = cache.next_oper->chmod(path, mode, fi); ~~~~~~~~~~~~~~~~~~~~~~ ^~ ../cache.c:591:51: error: too many arguments to function call, expected 3, have 4 int err = cache.next_oper->chown(path, uid, gid, fi); ~~~~~~~~~~~~~~~~~~~~~~ ^~ ../cache.c:610:47: error: too many arguments to function call, expected 2, have 3 int err = cache.next_oper->utimens(path, tv, fi); ~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ../cache.c:647:50: error: too many arguments to function call, expected 2, have 3 int err = cache.next_oper->truncate(path, size, fi); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~ ../cache.c:658:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, mode_t)' (aka 'int (*)(const char *, unsigned short)') from 'int (*)(const char *, mode_t, struct fuse_file_info *)' (aka 'int (*)(const char *, unsigned short, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] cache_oper->chmod = oper->chmod ? cache_chmod : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:659:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, uid_t, gid_t)' (aka 'int (*)(const char *, unsigned int, unsigned int)') from 'int (*)(const char *, uid_t, gid_t, struct fuse_file_info *)' (aka 'int (*)(const char *, unsigned int, unsigned int, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] cache_oper->chown = oper->chown ? cache_chown : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:663:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, struct stat *)' from 'int (*)(const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types] cache_oper->getattr = oper->getattr ? cache_getattr : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:665:23: warning: incompatible function pointer types assigning to 'void *(*)(struct fuse_conn_info *)' from 'void *(struct fuse_conn_info *, struct fuse_config *)' [-Wincompatible-function-pointer-types] cache_oper->init = cache_init; ^ ~~~~~~~~~~ ../cache.c:673:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *)' (aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long long), long long, struct fuse_file_info *)') from 'int (*)(const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags)' (aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long long), long long, struct fuse_file_info *, enum fuse_readdir_flags)') [-Wincompatible-function-pointer-types] cache_oper->readdir = oper->readdir ? cache_readdir : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:678:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, const char *)' from 'int (*)(const char *, const char *, unsigned int)' [-Wincompatible-function-pointer-types] cache_oper->rename = oper->rename ? cache_rename : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:683:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, off_t)' (aka 'int (*)(const char *, long long)') from 'int (*)(const char *, off_t, struct fuse_file_info *)' (aka 'int (*)(const char *, long long, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] cache_oper->truncate = oper->truncate ? cache_truncate : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../cache.c:685:23: warning: incompatible function pointer types assigning to 'int (*)(const char *, const struct timespec *)' from 'int (*)(const char *, const struct timespec *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types] cache_oper->utimens = oper->utimens ? cache_utimens : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings and 11 errors generated. [2/8] Compiling C object sshfs.p/sshfs.c.o FAILED: [code=1] sshfs.p/sshfs.c.o clang -Isshfs.p -I. -I.. -I../compat -I/usr/local/include/fuse -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/gio-unix-2.0 -fdiagnostics-color=always -Wall -Winvalid-pch -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -DFUSE_DARWIN_ENABLE_EXTENSIONS=0 -pipe -Os -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=31 -MD -MQ sshfs.p/sshfs.c.o -MF sshfs.p/sshfs.c.o.d -o sshfs.p/sshfs.c.o -c ../sshfs.c ../sshfs.c:999:35: error: too many arguments to function call, expected 4, have 5 filler(dbuf, name, &stbuf, 0, 0); ~~~~~~ ^ ../sshfs.c:1312:39: warning: unused parameter 'conn' [-Wunused-parameter] static int connect_vsock(struct conn *conn, char *vsock) ^ ../sshfs.c:1312:51: warning: unused parameter 'vsock' [-Wunused-parameter] static int connect_vsock(struct conn *conn, char *vsock) ^ ../sshfs.c:1987:32: warning: declaration of 'struct fuse_config' will not be visible outside of this function [-Wvisibility] struct fuse_config *cfg) ^ ../sshfs.c:1994:5: error: incomplete definition of type 'struct fuse_config' cfg->nullpath_ok = !(sshfs.truncate_workaround || sshfs.fstat_workaround); ~~~^ ../sshfs.c:1987:32: note: forward declaration of 'struct fuse_config' struct fuse_config *cfg) ^ ../sshfs.c:1998:6: error: incomplete definition of type 'struct fuse_config' cfg->nullpath_ok = 0; ~~~^ ../sshfs.c:1987:32: note: forward declaration of 'struct fuse_config' struct fuse_config *cfg) ^ ../sshfs.c:2007:8: error: no member named 'time_gran' in 'struct fuse_conn_info' conn->time_gran = 1000000000; ~~~~ ^ ../sshfs.c:2175:41: error: too many arguments to function call, expected 2, have 3 err = sshfs.op->getattr(path, &stbuf, NULL); ~~~~~~~~~~~~~~~~~ ^~~~ /System/Volumes/Data/Applications/Xcode-15.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ ../sshfs.c:2436:10: warning: declaration of 'enum fuse_readdir_flags' will not be visible outside of this function [-Wvisibility] enum fuse_readdir_flags flags __attribute__((__unused__))) ^ ../sshfs.c:2436:29: error: variable has incomplete type 'enum fuse_readdir_flags' enum fuse_readdir_flags flags __attribute__((__unused__))) ^ ../sshfs.c:2436:10: note: forward declaration of 'enum fuse_readdir_flags' enum fuse_readdir_flags flags __attribute__((__unused__))) ^ ../sshfs.c:3731:17: warning: incompatible function pointer types initializing 'void *(*)(struct fuse_conn_info *)' with an expression of type 'void *(struct fuse_conn_info *, struct fuse_config *)' [-Wincompatible-function-pointer-types] .init = sshfs_init, ^~~~~~~~~~ ../sshfs.c:3732:17: warning: incompatible function pointer types initializing 'int (*)(const char *, struct stat *)' with an expression of type 'int (const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types] .getattr = sshfs_getattr, ^~~~~~~~~~~~~ ../sshfs.c:3735:17: warning: incompatible function pointer types initializing 'int (*)(const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *)' (aka 'int (*)(const char *, void *, int (*)(void *, const char *, const struct stat *, long long), long long, struct fuse_file_info *)') with an expression of type 'int (const char *, void *, fuse_fill_dir_t, off_t, struct fuse_file_info *, enum fuse_readdir_flags)' (aka 'int (const char *, void *, int (*)(void *, const char *, const struct stat *, long long), long long, struct fuse_file_info *, enum fuse_readdir_flags)') [-Wincompatible-function-pointer-types] .readdir = sshfs_readdir, ^~~~~~~~~~~~~ ../sshfs.c:3743:17: warning: incompatible function pointer types initializing 'int (*)(const char *, const char *)' with an expression of type 'int (const char *, const char *, unsigned int)' [-Wincompatible-function-pointer-types] .rename = sshfs_rename, ^~~~~~~~~~~~ ../sshfs.c:3745:17: warning: incompatible function pointer types initializing 'int (*)(const char *, mode_t)' (aka 'int (*)(const char *, unsigned short)') with an expression of type 'int (const char *, mode_t, struct fuse_file_info *)' (aka 'int (const char *, unsigned short, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] .chmod = sshfs_chmod, ^~~~~~~~~~~ ../sshfs.c:3746:17: warning: incompatible function pointer types initializing 'int (*)(const char *, uid_t, gid_t)' (aka 'int (*)(const char *, unsigned int, unsigned int)') with an expression of type 'int (const char *, uid_t, gid_t, struct fuse_file_info *)' (aka 'int (const char *, unsigned int, unsigned int, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] .chown = sshfs_chown, ^~~~~~~~~~~ ../sshfs.c:3747:17: warning: incompatible function pointer types initializing 'int (*)(const char *, off_t)' (aka 'int (*)(const char *, long long)') with an expression of type 'int (const char *, off_t, struct fuse_file_info *)' (aka 'int (const char *, long long, struct fuse_file_info *)') [-Wincompatible-function-pointer-types] .truncate = sshfs_truncate, ^~~~~~~~~~~~~~ ../sshfs.c:3748:17: warning: incompatible function pointer types initializing 'int (*)(const char *, const struct timespec *)' with an expression of type 'int (const char *, const struct timespec *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types] .utimens = sshfs_utimens, ^~~~~~~~~~~~~ ../sshfs.c:4408:39: warning: call to undeclared function 'fuse_pkgversion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] printf("FUSE library version %s\n", fuse_pkgversion()); ^ ../sshfs.c:4408:39: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] printf("FUSE library version %s\n", fuse_pkgversion()); ~~ ^~~~~~~~~~~~~~~~~ %d ../sshfs.c:4411:3: warning: call to undeclared function 'fuse_lowlevel_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fuse_lowlevel_version(); ^ ../sshfs.c:4421:3: warning: call to undeclared function 'fuse_lib_help'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] fuse_lib_help(&args); ^ ../sshfs.c:4553:40: error: too few arguments to function call, expected 5, have 4 sizeof(struct fuse_operations), NULL); ^ /usr/local/include/fuse/fuse.h:723:14: note: 'fuse_new' declared here struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args, ^ ../sshfs.c:4566:14: warning: call to undeclared function 'fuse_session_fd'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] res = fcntl(fuse_session_fd(se), F_SETFD, FD_CLOEXEC); ^ ../sshfs.c:4602:19: warning: incompatible pointer types passing 'struct fuse *' to parameter of type 'const char *' [-Wincompatible-pointer-types] res = fuse_mount(fuse, sshfs.mountpoint); ^~~~ /usr/local/include/fuse/fuse_common.h:312:42: note: passing argument to parameter 'mountpoint' here struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args); ^ ../sshfs.c:4602:25: warning: incompatible pointer types passing 'char *' to parameter of type 'struct fuse_args *' [-Wincompatible-pointer-types] res = fuse_mount(fuse, sshfs.mountpoint); ^~~~~~~~~~~~~~~~ /usr/local/include/fuse/fuse_common.h:312:72: note: passing argument to parameter 'args' here struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args); ^ ../sshfs.c:4602:6: warning: incompatible pointer to integer conversion assigning to 'int' from 'struct fuse_chan *' [-Wint-conversion] res = fuse_mount(fuse, sshfs.mountpoint); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../sshfs.c:4616:28: error: too many arguments to function call, expected single argument 'f', have 2 arguments res = fuse_loop_mt(fuse, 0); ~~~~~~~~~~~~ ^ /usr/local/include/fuse/fuse.h:770:5: note: 'fuse_loop_mt' declared here int fuse_loop_mt(struct fuse *f); ^ ../sshfs.c:4629:19: error: too few arguments to function call, expected 2, have 1 fuse_unmount(fuse); ~~~~~~~~~~~~ ^ /usr/local/include/fuse/fuse_common.h:320:6: note: 'fuse_unmount' declared here void fuse_unmount(const char *mountpoint, struct fuse_chan *ch); ^ 20 warnings and 9 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/filesystems/fuse-sshfs *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/filesystems/fuse-sshfs