Opened 11 years ago

Closed 11 years ago

#38162 closed defect (fixed)

php53 @5.3.22 bad checksum

Reported by: fabien@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: php53

Description

Hi,

I can't upgrade php53 @5.3.22, the checksum control fails.

Here is the log part :

:debug:checksum Executing org.macports.checksum (php53)
:info:checksum --->  Checksumming php-5.3.22.tar.bz2
:error:checksum Checksum (rmd160) mismatch for php-5.3.22.tar.bz2
:info:checksum Portfile checksum: php-5.3.22.tar.bz2 rmd160 dc51c94f4201aeb3bef03df8d1def780a1ab60f5
:info:checksum Distfile checksum: php-5.3.22.tar.bz2 rmd160 ca6b56858a38b400a67a96821d1d7b202217555c
:error:checksum Checksum (sha256) mismatch for php-5.3.22.tar.bz2
:info:checksum Portfile checksum: php-5.3.22.tar.bz2 sha256 2da5fefdd24dafd8a94b6e41ba2c308ee216f97b3d605abde513d0cdc680d588
:info:checksum Distfile checksum: php-5.3.22.tar.bz2 sha256 4cf9b849e5edb024ab34559d7b076b910053ae0538e46b867eaa7a49b035e687

Thx, Fabien

Change History (7)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

What server did your distfile come from?

Is the file that got downloaded a valid tar.bz2 file? Can you extract it?

comment:2 in reply to:  1 ; Changed 11 years ago by fabien@…

Replying to ryandesign@…:

What server did your distfile come from?

Is the file that got downloaded a valid tar.bz2 file? Can you extract it?

--->  Computing dependencies for php53
--->  Fetching archive for php53
--->  Attempting to fetch php53-5.3.22_0+readline.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/php53
--->  Attempting to fetch php53-5.3.22_0+readline.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/php53
--->  Attempting to fetch php53-5.3.22_0+readline.darwin_11.x86_64.tbz2 from http://packages.macports.org/php53
--->  Fetching distfiles for php53
--->  Attempting to fetch php-5.3.22.tar.bz2 from http://lil.fr.distfiles.macports.org/php5
--->  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 :-(

I have downloaded it manually, checksum control is good. The ticket can be closed.

comment:3 in reply to:  2 ; Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to 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.

comment:4 in reply to:  3 Changed 11 years ago by fabien@…

Replying to ryandesign@…:

Replying to 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 that downloaded file is an HTML file, I've not read the log file enough far, and stopped my read at the checksum error.

Last edited 11 years ago by fabien@… (previous) (diff)

comment:5 in reply to:  3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

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.

https://bugs.php.net/bug.php?id=64273

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

The UK mirror has caught up and has the current files now. I'm still working with the developers on finding the correct solution to prevent this from being a problem again in the future.

comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.