Date: Thu, 07 Nov 2024 10:38:46 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282602] filesystems/httpdirfs: build fail Message-ID: <bug-282602-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282602 Bug ID: 282602 Summary: filesystems/httpdirfs: build fail Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: 0mp@FreeBSD.org Reporter: rozhuk.im@gmail.com Flags: maintainer-feedback?(0mp@FreeBSD.org) Assignee: 0mp@FreeBSD.org [ 90% 10/11] cc -Ihttpdirfs.p -I. -I.. -I/usr/local/include -I/usr/local/include/fuse3 -I/usr/local/include/uuid -fdiagnostics-color=3D= never -D_FILE_OFFSET_BITS=3D64 -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=3D/tmp/ports/usr/ports/filesystems/httpdirfs/work/httpdi= rfs-1.2.6=3D. -Wstrict-prototypes -pthread -D_GNU_SOURCE '-DVERSION=3D"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=20 cc -Ihttpdirfs.p -I. -I.. -I/usr/local/include -I/usr/local/include/fuse3 -I/usr/local/include/uuid -fdiagnostics-color=3Dnever -D_FILE_OFFSET_BITS= =3D64 -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=3D/tmp/ports/usr/ports/filesystems/httpdirfs/work/httpdi= rfs-1.2.6=3D. -Wstrict-prototypes -pthread -D_GNU_SOURCE '-DVERSION=3D"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 'enu= m' 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) |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ ../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) |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ ../src/fuse_local.c:180:16: error: incompatible function pointer types initializing 'int (*)(const char *, struct stat *)' with an expression of t= ype 'int (const char *, struct stat *, struct fuse_file_info *)' [-Wincompatible-function-pointer-types] 180 | .getattr =3D 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, stru= ct 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 =3D 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 =3D fs_init, | ^~~~~~~ 11 errors generated. ninja: build stopped: subcommand failed. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282602-7788>