#981012 libfuse3-dev: Users broken on i386

Package:
libfuse3-dev
Source:
fuse3
Description:
Filesystem in Userspace (development) (3.x version)
Submitter:
наб
Date:
2025-03-23 16:18:04 UTC
Severity:
important
Tags:
#981012#5
Date:
2021-01-25 15:52:09 UTC
From:
To:
Dear Maintainer,

First, make a buildd-variant i386 sid chroot and install libfuse3-dev,
  (sid-i386 fest)root@tarta:/# cat > a.c
  #define FUSE_USE_VERSION 30
  #include <fuse.h>
  (sid-i386 fest)root@tarta:/# cc a.c -I/usr/include/fuse3
  In file included from /usr/include/fuse3/fuse.h:19,
                   from a.c:2:
  /usr/include/fuse3/fuse_common.h:853:1: error: static assertion failed: "fuse: off_t must be 64bit"
    853 | _Static_assert(sizeof(off_t) == 8, "fuse: off_t must be 64bit");
        | ^~~~~~~~~~~~~~
  (sid-i386 fest)root@tarta:/#

And likewise with __USE_FILE_OFFSET64 (which supposedly guards this,
or so I gathered from skimming libc headers).

This renders the package unusable.

Best,
наб

#981012#10
Date:
2021-01-25 17:20:30 UTC
From:
To:
function) with the following command line:
# cc a.c -I/usr/include/fuse3 -D_FILE_OFFSET_BITS=64
That is, the package is not broken, you have to use the needed compiler switch.

Hope this helps,
Laszlo/GCS

#981012#15
Date:
2021-01-25 17:39:12 UTC
From:
To:
Agh, dammit. I only tried __USE_FILE_OFFSET64, after seeing it
in a header somewhere. -D_FILE_OFFSET_BITS=64 does work, cheers!

наб