From: Ian McWilliam Subject: Re: samba: don't pick up fuse To: Stuart Henderson Cc: Bjorn Ketelaars , OpenBSD ports , Helg Date: Wed, 10 Dec 2025 14:55:37 +1100 Sure, we don’t support anything for making samba ctdb clusters, so no point in trying to make the vfs_gluster fuse plugin. Ian McWilliam > On 10 Dec 2025, at 13:34, Stuart Henderson wrote: > > samba started picking up fuse now that the headers moved, and currently > fails to build; ok to just disable it for now? (diff below, builds ok > for me). > > ../../examples/fuse/clifuse.c:110:2: error: unknown type name 'fuse_req_t'; did you mean 'fuse_ino_t'? > 110 | fuse_req_t freq; > | ^~~~~~~~~~ > | fuse_ino_t > /usr/include/fuse/fuse_lowlevel.h:33:15: note: 'fuse_ino_t' declared here > 33 | typedef ino_t fuse_ino_t; > | ^ > ../../examples/fuse/clifuse.c:117:27: error: unknown type name 'fuse_req_t'; did you mean 'fuse_ino_t'? > 117 | static void cli_ll_create(fuse_req_t freq, fuse_ino_t parent, const char *name, > | ^~~~~~~~~~ > | fuse_ino_t > /usr/include/fuse/fuse_lowlevel.h:33:15: note: 'fuse_ino_t' declared here > 33 | typedef ino_t fuse_ino_t; > | ^ > ../../examples/fuse/clifuse.c:121:3: warning: call to undeclared function 'fuse_req_userdata'; ISO C99 and later do not support implic > it function declarations [-Wimplicit-function-declaration] > 121 | fuse_req_userdata(freq), struct mount_state); > | ^ > ../../examples/fuse/clifuse.c:121:3: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const voi > d *' [-Wint-conversion] > 121 | fuse_req_userdata(freq), struct mount_state); > | ^~~~~~~~~~~~~~~~~~~~~~~ > > > Index: patches/patch-examples_fuse_wscript_build > =================================================================== > RCS file: patches/patch-examples_fuse_wscript_build > diff -N patches/patch-examples_fuse_wscript_build > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ patches/patch-examples_fuse_wscript_build 10 Dec 2025 02:20:47 -0000 > @@ -0,0 +1,13 @@ > +disable fuse for now; build fails > + > +Index: examples/fuse/wscript_build > +--- examples/fuse/wscript_build.orig > ++++ examples/fuse/wscript_build > +@@ -1,6 +1,6 @@ > + #!/usr/local/bin/python3.13 > + > +-if bld.env.HAVE_FUSE: > ++if False and bld.env.HAVE_FUSE: > + bld.SAMBA_BINARY('smb2mount', > + source='smb2mount.c clifuse.c', > + deps='smbconf CMDLINE_S3 libsmb fuse', >