#70705 closed defect (fixed)
libghash: checksum mismatch
Reported by: | barracuda156 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | Cc: | ||
Port: | libghash |
Description
---> Fetching distfiles for libghash ---> GeneralHashFunctions_-_C.zip does not exist in /opt/local/var/macports/distfiles/libghash/0.0.2_1 ---> Attempting to fetch GeneralHashFunctions_-_C.zip from http://www.partow.net/downloads/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3137 100 3137 0 0 5921 0 --:--:-- --:--:-- --:--:-- 5918 ---> Verifying checksums for libghash ---> Checksumming GeneralHashFunctions_-_C.zip Error: Checksum (rmd160) mismatch for GeneralHashFunctions_-_C.zip Portfile checksum: GeneralHashFunctions_-_C.zip rmd160 c13ce6f0de3970b81dfffa989920c37a7cc5f410 Distfile checksum: GeneralHashFunctions_-_C.zip rmd160 0b717a6e9d35a710847c1ff41bfa7f8952ef250a Error: Checksum (sha256) mismatch for GeneralHashFunctions_-_C.zip Portfile checksum: GeneralHashFunctions_-_C.zip sha256 b352eda5d2660bfc4afc11918b577925d0d62fd39dcf6310be9bdb63d08b78c3 Distfile checksum: GeneralHashFunctions_-_C.zip sha256 2879f02a169e9494a4111bc6e2f00412d5dd3b919f8f6ac2b2eb5b3180e12c07 The correct checksum line may be: checksums rmd160 0b717a6e9d35a710847c1ff41bfa7f8952ef250a \ sha256 2879f02a169e9494a4111bc6e2f00412d5dd3b919f8f6ac2b2eb5b3180e12c07 \ size 3137 Error: Failed to checksum libghash: Unable to verify file checksums
Change History (3)
comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
The test results are the same for both versions but in @2.0.1_2 exit(EXIT_SUCCESS);
has simply been removed from the end of the test program so it will always exit with a failing status code, whereas before it would always end with a successful status code. Not much of a test…
comment:3 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
This project uses an unversioned distfile so it is normal for a checksum mismatch to occur when they update to a new version. The new version is still identified as 0.0.2 so this will be the second stealth update of that version (that we have noticed). The distfile and its contents appear to have had their modification dates artificially backdated to January 1, 2000, so I don't know when these versions were actually released.
The difference between the old and new 0.0.2 is:
GeneralHashFunctions_-_C/GeneralHashFunctions.c
har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)har* str, unsigned int len)GeneralHashFunctions_-_C/GeneralHashFunctions.h
har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);har* str, unsigned int len);GeneralHashFunctions_-_C/HashTest.c
\n");%s\n",key);(key,36));(key,36));(key,36));(key,36));(key,36));(key,36));(key,36));(key,36));(key,36));exit(EXIT_SUCCESS);GeneralHashFunctions_-_C/Makefile
Master MakeFileThe license has changed from CPL-1 to MIT.
The test suite for the new 0.0.2 fails. The test suite for the old 0.0.2 succeeds.