Description of problem:
unzip has not been compiled with large file support and cannot unzip files > 2G
Version-Release number of selected component (if applicable):
RHEL 3 & RHEL 4
Steps to Reproduce:
1. get a 850M zip file that SHOULD unzip to 2.8G
for example http://www.foresightlinux.com/ vmware vmdk downloaded from
2. unzip bigfile.zip
OUT OF DISK SPACE ERROR
All 2.8G should be unzipped with no error
In the unzip unix makefile find the section begining
# Linux on 386 platform, using the assembler replacement for crc32.c. (-O4 and
# -fno-strength-reduce have virtually no effect beyond -O3. Add "-m486
# -malign-functions=2 -malign-jumps=2 -malign-loops=2" for Pentium [Pro]
then find the line
CF="-O3 -Wall -I. -DASM_CRC $(LOC)"\
and replace it with
CF="-O3 -Wall -I. -DASM_CRC -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
ALREADY FIXED in rPath and Ubuntu distros
this seems to have been fixed in rPath and ubuntu
Trove information for unzip:source
Trove name: unzip:source
Tue Feb 7 12:54:20 2006 by Matt Wilson (http://bugs.rpath.com/) [^]
build unzip with -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
*** Bug 236312 has been marked as a duplicate of this bug. ***
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.
The original bug mentions RHEL3 and RHEL4.
The advisory only mentions RHEL4.
Any plans to release an update for RHEL3?
RHEL5 x86 also has this bug, could you please fix and update for RHEL5?
Hello, please could you create a separate by for RHEL5.
Some time this year would be nice.
FYI, the RHEL 5 version of this BZ appears to be here: