Bug#981012: libfuse3-dev: Users broken on i386
On Mon, Jan 25, 2021 at 06:20:30PM +0100, László Böszörményi (GCS) wrote: > Anyway, the solution to ask for 64 bit off_t with: -D_FILE_OFFSET_BITS=64 Agh, dammit. I only tried __USE_FILE_OFFSET64, after seeing it in a header somewhere. -D_FILE_OFFSET_BITS=64 does work, cheers! наб signature.asc Description: PGP signature
Bug#981012: libfuse3-dev: Users broken on i386
On Mon, Jan 25, 2021 at 4:54 PM наб wrote: > 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 > (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. It is known and as I know, upstream maintainer doesn't want to care about this. As the assertion states it should be off64_t instead. Anyway, the solution to ask for 64 bit off_t with: -D_FILE_OFFSET_BITS=64 Your example compiles (well, cc will bark about missing main() 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
Bug#981012: libfuse3-dev: Users broken on i386
Package: libfuse3-dev Version: 3.10.1-2 Severity: important 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 (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, наб -- System Information: Debian Release: 10.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-13-amd64 (SMP w/24 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libfuse3-dev depends on: ii libfuse3-33.4.1-1+deb10u1 ii libselinux1-dev [libselinux-dev] 2.8-1+b1 libfuse3-dev recommends no packages. Versions of packages libfuse3-dev suggests: ii fuse 2.9.9-1+deb10u1 -- no debconf information signature.asc Description: PGP signature