Ticket #15983 (closed defect: fixed)
Incorrect checksum on apache-ant 1.7.0
| Reported by: | christian@… | Owned by: | jberry@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | apache-ant |
Description (last modified by blb@…) (diff)
Cannot install apache-ant 1.7.0 due to incorrect checksum after fetching. Seems to me port tries to fetch binaries (according to url) so I tried port -s but same problem (same url...). I tried downloading several times, also a "port sync" but it only goes thru a lot of urls and finally gives my the checksum error:
[root@venus ~]# port -s install apache-ant ---> Fetching apache-ant ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://www.ibiblio.org/pub/mirrors/apache/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://www.gtlib.gatech.edu/pub/apache/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://apache.mirror.rafal.ca/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://apache.mirroring.de/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from ftp://ftp.planetmirror.com/pub/apache/dist/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://apache.multidist.com/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://mirror.internode.on.net/pub/apache/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://mirror.pacific.net.au/pub1/apache-dist/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://apache.wildit.net.au/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from ftp://ftp.pop-mg.com.br/data/apache/dist/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://www.mirrorservice.org/sites/ftp.apache.org/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://mirror.aarnet.edu.au/pub/apache/ant/binaries ---> Attempting to fetch apache-ant-1.7.0-bin.tar.bz2 from http://apache.adcserver.com.ar/ant/binaries ---> Verifying checksum(s) for apache-ant Error: Checksum (md5) mismatch for apache-ant-1.7.0-bin.tar.bz2 Error: Checksum (sha1) mismatch for apache-ant-1.7.0-bin.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
Change History
comment:1 Changed 5 years ago by jmr@…
- Owner changed from macports-tickets@… to jberry@…
- Milestone set to Port Bugs
comment:2 follow-up: ↓ 3 Changed 5 years ago by jberry@…
- Status changed from new to closed
- Resolution set to fixed
Apache-ant has been updated --> 1.7.1 as of r38362, which should resolve this bug.
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 4 years ago by com.macports@…
Replying to jberry@…:
Apache-ant has been updated --> 1.7.1 as of r38362, which should resolve this bug.
The problem persists with 1.7.1
---> Verifying checksum(s) for apache-ant
---> Checksumming apache-ant-1.7.1-bin.tar.bz2
Error: Checksum (md5) mismatch for apache-ant-1.7.1-bin.tar.bz2
Portfile checksum: apache-ant-1.7.1-bin.tar.bz2 md5 9330447f3763b87570dd1118c49a8efd
Distfile checksum: apache-ant-1.7.1-bin.tar.bz2 md5 054d4b32b532af931df35cb76fc4703c
Error: Checksum (sha1) mismatch for apache-ant-1.7.1-bin.tar.bz2
Portfile checksum: apache-ant-1.7.1-bin.tar.bz2 sha1 b078ba89301687662f100da7b059105f32004f7c
Distfile checksum: apache-ant-1.7.1-bin.tar.bz2 sha1 249952b915e015b54007af27bb0611b22823f948
Error: Checksum (rmd160) mismatch for apache-ant-1.7.1-bin.tar.bz2
Portfile checksum: apache-ant-1.7.1-bin.tar.bz2 rmd160 e3244035f0e3ac756a741d6d4fb5a91cfff4f0dd
Distfile checksum: apache-ant-1.7.1-bin.tar.bz2 rmd160 c999dd9dfe455e03d97b84648d55a33ffd437800
The correct checksum line may be:
checksums md5 054d4b32b532af931df35cb76fc4703c \
sha1 249952b915e015b54007af27bb0611b22823f948 \
rmd160 c999dd9dfe455e03d97b84648d55a33ffd437800
Error: Target org.macports.checksum returned: Unable to verify file checksums
comment:4 in reply to: ↑ 3 Changed 4 years ago by blb@…
- Port set to apache-ant
- Description modified (diff)
Replying to com.macports@…:
The problem persists with 1.7.1
I just grabbed it from a couple different mirrors, and everything appears fine with them. You may have simply ended up with a corrupt file, so run
sudo port clean --all apache-ant
then try again.


Assigning to maintainer.