zip-source unpacking error
It seems the ftp-server does not return correct info about the download:
<code class="text">
bui@localhost:~/dyn/zip$ abuild unpack
>>> zip: Fetching ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
99 1257k 99 1257k 0 0 75719 0 0:00:17 0:00:17 --:--:-- 132k
curl: (18) transfer closed with 914 bytes remaining to read
>>> ERROR: zip: unpack failed
</code>
But the source archive in fact is downloaded correctly:
<code class="text">
bui@localhost:~/dyn/zip$ abuild unpack
>>> zip: Fetching ftp://ftp.info-zip.org/pub/infozip/src/zip30.zip
>>> zip: Checking sha512sums...
zip30.zip: OK
10-zip-3.0-build.patch: OK
20-zip-3.0-exec-stack.patch: OK
30-zip-3.0-pic.patch: OK
>>> zip: Unpacking /var/cache/distfiles/zip30.zip...
bui@localhost:~/dyn/zip$ abuild prepare
>>> zip: 10-zip-3.0-build.patch
patching file unix/configure
>>> zip: 20-zip-3.0-exec-stack.patch
patching file crc_i386.S
patching file match.S
>>> zip: 30-zip-3.0-pic.patch
patching file unix/configure
</code>
(from redmine: issue id 8722, created on 2018-03-24)