#24419: cmake: checksum mismatch -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: cmake -------------------------------------+-------------------------------------- I downloaded the cmake 2.8.1 distfile before you updated the checksums in r66243. Now, if I try to reinstall cmake 2.8.1, I get a checksum mismatch: {{{ $ sudo port -v checksum cmake ---> Computing dependencies for cmake. ---> Fetching cmake ---> Verifying checksum(s) for cmake ---> Checksumming cmake-2.8.1.tar.gz Error: Checksum (md5) mismatch for cmake-2.8.1.tar.gz Portfile checksum: cmake-2.8.1.tar.gz md5 feadc2e5ebbfed0efc90178583503725 Distfile checksum: cmake-2.8.1.tar.gz md5 a92ad653f9ccc1595d16cd9707f49acc Error: Checksum (sha1) mismatch for cmake-2.8.1.tar.gz Portfile checksum: cmake-2.8.1.tar.gz sha1 e9f99cfccf8ec4fb5bbd8ca7d499771a2f1d4ebe Distfile checksum: cmake-2.8.1.tar.gz sha1 fb93c8766a3bd71f2a824291717700c118d29be5 Error: Checksum (rmd160) mismatch for cmake-2.8.1.tar.gz Portfile checksum: cmake-2.8.1.tar.gz rmd160 71e216704ee4313640efdbefcc65c6576071ef82 Distfile checksum: cmake-2.8.1.tar.gz rmd160 38b0876597def32a535d5305fb8f706ff29beabe The correct checksum line may be: checksums md5 a92ad653f9ccc1595d16cd9707f49acc \ sha1 fb93c8766a3bd71f2a824291717700c118d29be5 \ rmd160 38b0876597def32a535d5305fb8f706ff29beabe Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for cmake): org.macports.checksum Error: Status 1 encountered during processing. }}} When you update checksums for a stealth-update, you must also change the location to which the file will download, to prevent this kind of problem. The usual method would be to modify the dist_subdir, for example: {{{ dist_subdir ${name}/${version}_1 }}} If they stealth-update 2.8.1 again, you'll change it to ${name}/${version}_2. When they update to 2.8.2, you'll remove this line. -- Ticket URL: <http://trac.macports.org/ticket/24419> MacPorts <http://www.macports.org/> Ports system for Mac OS