[ 90% 10/11] cc -Ihttpdirfs.p -I. -I.. -I/usr/local/include -I/usr/local/include/fuse3 -I/usr/local/include/uuid -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -O2 -pipe -O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks -fstack-protector-strong -fno-strict-aliasing -fdebug-prefix-map=/tmp/ports/usr/ports/filesystems/httpdirfs/work/httpdirfs-1.2.6=. -Wstrict-prototypes -pthread -D_GNU_SOURCE '-DVERSION="1.2.6"' -MD -MQ httpdirfs.p/src_fuse_local.c.o -MF httpdirfs.p/src_fuse_local.c.o.d -o httpdirfs.p/src_fuse_local.c.o -c ../src/fuse_local.c FAILED: httpdirfs.p/src_fuse_local.c.o cc -Ihttpdirfs.p -I. -I.. -I/usr/local/include -I/usr/local/include/fuse3 -I/usr/local/include/uuid -fdiagnostics-color=never -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -Werror -O2 -pipe -O3 -funroll-loops -mretpoline -fno-delete-null-pointer-checks -fstack-protector-strong -fno-strict-aliasing -fdebug-prefix-map=/tmp/ports/usr/ports/filesystems/httpdirfs/work/httpdirfs-1.2.6=. -Wstrict-prototypes -pthread -D_GNU_SOURCE '-DVERSION="1.2.6"' -MD -MQ httpdirfs.p/src_fuse_local.c.o -MF httpdirfs.p/src_fuse_local.c.o.d -o httpdirfs.p/src_fuse_local.c.o -c ../src/fuse_local.c ../src/fuse_local.c:16:58: error: declaration of 'struct fuse_config' will not be visible outside of this function [-Werror,-Wvisibility] 16 | static void *fs_init(struct fuse_conn_info *conn, struct fuse_config *cfg) | ^ ../src/fuse_local.c:144:58: error: ISO C forbids forward references to 'enum' types [-Werror,-Wpedantic] 144 | off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags fr_flags) | ^ ../src/fuse_local.c:144:58: error: declaration of 'enum fuse_readdir_flags' will not be visible outside of this function [-Werror,-Wvisibility] ../src/fuse_local.c:144:77: error: variable has incomplete type 'enum fuse_readdir_flags' 144 | off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags fr_flags) | ^ ../src/fuse_local.c:144:58: note: forward declaration of 'enum fuse_readdir_flags' 144 | off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags fr_flags) | ^ ../src/fuse_local.c:166:32: error: too many arguments to function call, expected 4, have 5 166 | dir_add(buf, ".", NULL, 0, 0); | ~~~~~~~ ^ ../src/fuse_local.c:167:33: error: too many arguments to function call, expected 4, have 5 167 | dir_add(buf, "..", NULL, 0, 0); | ~~~~~~~ ^ ../src/fuse_local.c:172:51: error: too many arguments to function call, expected 4, have 5 172 | dir_add(buf, link->linkname, NULL, 0, 0); | ~~~~~~~ ^ ../src/fuse_local.c:144:77: error: unused parameter 'fr_flags' [-Werror,-Wunused-parameter] 144 | off_t offset, struct fuse_file_info *fi, enum fuse_readdir_flags fr_flags) | ^ ../src/fuse_local.c:180:16: error: 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] 180 | .getattr = fs_getattr, | ^~~~~~~~~~ ../src/fuse_local.c:181:16: error: 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, 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, struct fuse_file_info *, enum fuse_readdir_flags)') [-Wincompatible-function-pointer-types] 181 | .readdir = fs_readdir, | ^~~~~~~~~~ ../src/fuse_local.c:184:13: error: 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] 184 | .init = fs_init, | ^~~~~~~ 11 errors generated. ninja: build stopped: subcommand failed.
Hey, thanks for the report. I've just returned this port to the pool since I'm not using it at the moment.
Updated to 1.2.7 some days ago (401efad6e4be8872258f1c18fdf9f653fd848897).