On Mon, Sep 11, 2023 at 03:19:34PM +0200, Antonin Décimo wrote: > 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
Hi Antonin, Thank you for the bug report. For the short-term, I'll apply the patch since it's so simple. Longer-term, I'll coordinate with Tom (the maintainer) on getting 1.0 into trixie. Cheers, tony
signature.asc
Description: PGP signature