#15983: Incorrect checksum on apache-ant 1.7.0 ----------------------------------+----------------------------------------- Reporter: christian@… | Owner: jberry@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: apache-ant | ----------------------------------+----------------------------------------- Changes (by blb@…): * port: => apache-ant Old description:
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.
New description: 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. }}} -- Comment: Replying to [comment:3 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. -- Ticket URL: <http://trac.macports.org/ticket/15983#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS