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.
You can resolve this by removing -malign-double from CFLAGS. Gentoo does not support it.