Bug 198654 - find missing Large File Support
Summary: find missing Large File Support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: findutils
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Miloslav Trmač
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: FAST4.5APPROVED
TreeView+ depends on / blocked
 
Reported: 2006-07-12 15:17 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2006-0679
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-09-27 06:35:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0679 0 normal SHIPPED_LIVE findutils bug fix update 2007-05-01 14:09:26 UTC

Description Bastien Nocera 2006-07-12 15:17:12 UTC
findutils-4.1.20-7

Microsoft NFS servers are known to create very high inode numbers in their
stat() output (see bug #163365 for example)

When running find on such a server, one would get the error:
Value too large for defined data type

Doing this change (tested by Hideshi Fuchi <hfuchi>):
-%define        optflags $RPM_OPT_FLAGS -D_GNU_SOURCE
+%define        optflags $RPM_OPT_FLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
to the spec file fixes the problem.

Comment 1 Miloslav Trmač 2006-07-15 20:07:17 UTC
Looks fine.

(The -D_FILE_OFFSET_BITS=64 is necessary even though the top-level configure
sets up _FILE_OFFSET_BITS because the included gnulib has its own configure script.)

Comment 18 Red Hat Bugzilla 2006-09-27 06:35:44 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0679.html



Note You need to log in before you can comment on or make changes to this bug.