Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341909 - >=app-arch/unzip-5.0: does not recognize .zip files correctly if built with -malign-double on x86
Summary: >=app-arch/unzip-5.0: does not recognize .zip files correctly if built with -...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-20 15:54 UTC by Christian Franke
Modified: 2010-10-20 16:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Franke 2010-10-20 15:54:48 UTC
If there is -malign-double in CFLAGS, app-arch/unzip builds fine, however it fails to unpack any zip file. This is on x86.

The ebuild might filter -malign-double.

Reproducible: Always

Steps to Reproduce:
1. add -malign-double to CFLAGS
2. reemerge app-arch/unpack
3. try to unpack a zip file

Actual Results:  
sccd unzip60 # ./unzip testmake.zip
Archive:  testmake.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of testmake.zip or
        testmake.zip.zip, and cannot find testmake.zip.ZIP, period.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-20 16:30:04 UTC
You can resolve this by removing -malign-double from CFLAGS. Gentoo does not support it.