First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 104315
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Frits Jalvingh <jal@mumble.to>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104315 depends on: Show dependency tree
Bug 104315 blocks: 194264
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-30 16:25 0000
The -D_FILE_OFFSET_BITS=64 parameter is missing from the cflags of the build.
This creates a 32bit unzip which fails with a stupid error (no such file xxx.zip
- man that's dumb) if the file exceeds 2GB.
Adding this define allows files > 2GB to be unzipped.

Reproducible: Always
Steps to Reproduce:
1. Unzip a file >2gb
2. Be amazed about the stupid error message telling you the file doesn't exist
(it DOES! Really!)

Actual Results:  
I recompiled unzip using the above flag.

Expected Results:  
At LEAST report the actual error which was "I cannot unzip files that are >2GB"
but preferably just unzip the thing.

------- Comment #1 From SpanKY 2005-08-31 15:25:48 0000 -------
if you put this into your CFLAGS does it work ?
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE

------- Comment #2 From Frits Jalvingh 2005-08-31 16:25:41 0000 -------
(In reply to comment #1)
I only added -D_FILE_OFFSET_BITS=64 and that was enough. I added it to the
original unzip 5.52 Makefile and recompiled; after that unzipping worked ok.

------- Comment #3 From SpanKY 2005-08-31 16:31:13 0000 -------
fixed in cvs, thanks

First Last Prev Next    No search results available      Search page      Enter new bug