Summary: | ~sys-apps/slocate-3.1 ignores large files on 32bit x86 machines | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joe Stroller <stroller> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | major | CC: | holger, peterk2, wonko |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 338380 | ||
Bug Blocks: |
Description
Joe Stroller
2009-08-07 00:32:25 UTC
I can confirm this. Discussion on the gentoo-users mailing list suggests that it depends on the architecture - the original reporter, another person and me are running a 32bis system and see the problem, while another poster with 64bit system could not reproduce it. A workaround would be using sys-apps/mlocate instead of sys-apps/slocate. two posters with 64 bit machines could not reproduce it ;) (In reply to comment #0) I can reproduce this behaviour with my 32bit machine; files bigger than 2^32 bytes seem to be ignored when using the locate function even though updatedb picks the file up... Why slocate looks at file size is beyond my understanding; weird! Has this already been reported upstream? Reporting upstream: eix shows the homepage for this package as http://slocate.trakker.ca/ There's no bugtracker or anything there, just a mailto: link for the author. I have mailed him the details & requested kindly if he could possibly try to reproduce. this is a known issue. slocate uses the fts.h API and that does not work with LFS flags on 32bit systems. slocate is out of tree, use mlocate |