Package: capnproto
Version: 0.9.2
Severity: important
Dear Maintainer,
capnproto doesn't define the _FILE_OFFSET_BITS=64 [1] feature test macro for
Large File Support on 32 bits systems. As a reminder, this macro switches
types such as off_t (size of a file) and ino_t (inode number) from 32 to 64
bits. If capnproto encounters a file where these values exceed 32 bits, it'll
exit with an error.
# kj/filesystem-disk-unix.c++:305: failed: ::fstat(fd, &stats):
Value too large for defined data type
The issue has been fixed upstream since v1.0.0, in commit 7c8802f [2].
I suggest capnproto be updated to the latest version, or the macro
_FILE_OFFSET_BITS=64 be defined globally at compile-time for this package, or
apply the commit as a patch.
[1]:
https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html#index-_005fFILE_005fOFFSET_005fBITS
[2]:
https://github.com/capnproto/capnproto/commit/7c8802fb9bec8818f289a44b0ec22419a845b249
Thanks!
-- Antonin Décimo
-- System Information:
Debian Release: 12.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.5.2-zen1-1-zen (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_USER,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages capnproto depends on:
ii libc6 2.36-9+deb12u1
pn libcapnp-0.9.2
ii libgcc-s1 12.2.0-14
ii libstdc++6 12.2.0-14
capnproto recommends no packages.
capnproto suggests no packages.