| Summary: | dev-java/icedtea does not compile for "End-of-central-directory signature not found" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Yichao Zhou <broken.zhou> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Package removed. |
1. echo 'UNZIP="-O CP936"' > /etc/env.d/zip I use this setting because in our country the filename in all zip files is encoding in CP936. 2. env-update 3. emerge -1 dev-java/icedtea emerge should fail at something like ( cd /var/notmpfs/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/openjdk.build && /usr/bin/unzip -o /var/notmpfs/portage/dev-java/icedtea-7.2.4.3/work/icedtea-2.4.3/openjdk.build/corba/dist/lib/bin.zip ) Archive: /usr/bin/unzip 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. note: /usr/bin/unzip may be a plain executable, not an archive unzip: cannot find zipfile directory in one of /usr/bin/unzip or /usr/bin/unzip.zip, and cannot find /usr/bin/unzip.ZIP, period. It seems that after setting UNZIP environment variable, the build system of icedtea cannot find unzip correctly and set UNZIP=/usr/bin/unzip. This lead unzip to be insane.