On Tue, Dec 13, 2022 at 07:08:29PM +0100, Helge Deller wrote: > tag: hppa, lfs, patch > > This bug usually indicates that a 32-bit application uses > functions like readdir() which (by default on a 32bit platform) > can only handle 32-bit values for inode numbers. > You can overcome that issue by recompiling the code while providing > "-D_FILE_OFFSET_BITS=64" on the gcc command line.
Thanks for the investigation. Subversion is using libapr to perform the directory listing, which builds with -D_LARGEFILE64_SUPPORT but not -D_FILE_OFFSET_BITS=64. Subversion itself also builds with -D_LARGEFILE64_SUPPORT and (for the Perl bindings) -D_FILE_OFFSET_BITS=64. It should probably be consistent about that, which your suggestion would enforce. > In this specific case I suggest to add the "future=+lfs" option > to debian/rules like this (copy/pasted here - may not apply cleanly but you > get the idea): I'll need to double check whether this affects the ABI of subversions library. Hopefully not, since it tends to defer to APR for OS-specific things. However, I'm not sure changing subversion's build alone will address the problem. APR may need a similar change. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB