#38162: php53 @5.3.22 bad checksum -----------------------+-------------------------------- Reporter: fabien@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: php53 | -----------------------+-------------------------------- Comment (by fabien@…): Replying to [comment:3 ryandesign@…]:
Replying to [comment:2 fabien@…]:
{{{ ---> Attempting to fetch php-5.3.22.tar.bz2 from http://uk.php.net/distributions/ ---> Verifying checksum(s) for php53 Error: Checksum (rmd160) mismatch for php-5.3.22.tar.bz2 Error: Checksum (sha256) mismatch for php-5.3.22.tar.bz2 }}}
from uk.php.net. I've looked at the dowloaded file, It's not a correct archive, just a html page :-(
Ok. The error message MacPorts printed should have included a statement to that effect.
I have downloaded it manually, checksum control is good. The ticket can be closed.
Well we should check if any of the mirrors in the php fetchgroup have gone offline and should be removed.
Looks like uk.php.net is still online, just a little behind; it lists 5.3.22RC1 but not 5.3.22 final.
And all of the PHP mirrors I've tested have a misconfiguration where requesting a nonexistent file does not deliver an HTTP 404 error code like it should, but instead issues an HTTP 302 redirect to a list of available versions. I'll try to figure out how to report this problem to whoever runs the PHP mirror servers so that they can fix it.
Ok. In addition, and for information, I got the same problem with php54 @5.4.12 {{{ Error: Checksum (rmd160) mismatch for php-5.4.12.tar.bz2 Error: Checksum (sha256) mismatch for php-5.4.12.tar.bz2 *** The non-matching file appears to be HTML. See this page for possible reasons for the checksum mismatch: <https://trac.macports.org/wiki/MisbehavingServers> *** The file has been moved to: /opt/local/var/macports/distfiles/php5/php-5.4.12.tar.bz2.html Error: org.macports.checksum for port php54 returned: Unable to verify file checksums }}} Like php53, Macports prints "the file has been moved to", and this file has the "html" extension. -- Ticket URL: <https://trac.macports.org/ticket/38162#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS