Thursday, September 6, 2007

port install fails with 'checksum mismatch'

wanted to install Coin with
sudo port -v install coin
but only got
---> Verifying checksum(s) for Coin
---> Checksumming Coin-2.4.6.tar.gz
Error: Checksum (md5) mismatch for Coin-2.4.6.tar.gz
Portfile checksum: Coin-2.4.6.tar.gz md5 17f9a941cec7a1b69693d240e4ac308d
Distfile checksum: Coin-2.4.6.tar.gz md5 30efbdb9c761dd9fea7a7f4a0f01a50d
Error: Checksum (sha1) mismatch for Coin-2.4.6.tar.gz
Portfile checksum: Coin-2.4.6.tar.gz sha1 8595fcc9b4669b8c58490637d577f061589dbdbb
Distfile checksum: Coin-2.4.6.tar.gz sha1 662cde2c7fd06e79f95e02aa23325d283d3294a1
checked whether my download was 'broken': downloaded Coin-2.4.6.tar.gz from different sites and - consistently - found one other checksum...

...then changed the checksum in
/opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/Coin/Portfile
(for other ports the file will be different - but somewhere in that direction...)


references:
  1. http://blog.codefront.net/2007/05/29/imagemagick-port-broken-temporarily/
  2. http://groups.google.com/group/mailing.freebsd.questions/
  3. http://trac.macports.org/projects/macports/ticket/12618 - now, that's only the bug report...

No comments: