Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20672 closed defect (fixed)

php4, php5, php5extension: doesn't fetch from right URL

Reported by: macports@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: PHP Cc: jyrkiwahlstedt
Port: php4, php5, php5extension

Description

Hello,

I have a problem about checksums on the port PHP5. I have try the command port clean (and port clean --all) on this package but i have the same thing.

imac-de-tewfik:~ tewfik$ sudo port clean --all php5
--->  Cleaning php5
imac-de-tewfik:~ tewfik$ sudo port -v checksum php5
--->  Fetching php5
--->  php-5.3.0.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/php5
--->  Attempting to fetch php-5.3.0.tar.bz2 from http://fr.php.net/distributions/php5
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6382    0  6382    0     0   8185      0 --:--:-- --:--:-- --:--:--  228k
--->  Verifying checksum(s) for php5
--->  Checksumming php-5.3.0.tar.bz2
Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2
Portfile checksum: php-5.3.0.tar.bz2 md5 846760cd655c98dfd86d6d97c3d964b0
Distfile checksum: php-5.3.0.tar.bz2 md5 60d242c2a1417ce17a8733b5243f0f0e
Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2
Portfile checksum: php-5.3.0.tar.bz2 sha1 934700941d216c453376e3bf24347041cf12c6dc
Distfile checksum: php-5.3.0.tar.bz2 sha1 8963ba6297fc7983f2059bff13bfc961e1610678
Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2
Portfile checksum: php-5.3.0.tar.bz2 rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44
Distfile checksum: php-5.3.0.tar.bz2 rmd160 9be7cb0c62abbaf233888efc723b836898e770a7
The correct checksum line may be:
checksums           md5     60d242c2a1417ce17a8733b5243f0f0e \
                    sha1    8963ba6297fc7983f2059bff13bfc961e1610678 \
                    rmd160  9be7cb0c62abbaf233888efc723b836898e770a7
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for php5): org.macports.checksum
Error: Status 1 encountered during processing.

Best regards, Tewfik

Change History (3)

comment:1 Changed 15 years ago by blb@…

Cc: jwa@… added
Keywords: PHP5 removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: php5 added

Hmm, just a day after se.php.net was found to not exist (#20654), fr.php.net appears to redirect to a doc page for PHP instead of the distfile...

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Port: php4 php5extension added
Resolution: fixed
Status: newclosed
Summary: PHP5 - Checksum error.php4, php5, php5extension: doesn't fetch from right URL

Except here, the fault lies not with the mirror but with me for switching things over to a mirror group without remembering that mirror groups append the port name to the URL, which is not appropriate here. I fixed the mirror group in r55585 to not do that anymore. Thanks very much for the problem report.

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Type: enhancementdefect
Note: See TracTickets for help on using tickets.