[MacPorts] #20654: PHP 5 port: unable to verify file checksums
#20654: PHP 5 port: unable to verify file checksums ------------------------------------+--------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: php5 checksum | Port: php5 ------------------------------------+--------------------------------------- I get the following error message when I try to install the new PHP 5 port. daniel-bettless-macbook:~ danbettles$ sudo port install php5 +mysqlnd ---> Verifying checksum(s) for php5 Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2 Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2 Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/20654> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => worksforme Old description:
I get the following error message when I try to install the new PHP 5 port.
daniel-bettless-macbook:~ danbettles$ sudo port install php5 +mysqlnd ---> Verifying checksum(s) for php5 Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2 Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2 Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
New description: I get the following error message when I try to install the new PHP 5 port. {{{ daniel-bettless-macbook:~ danbettles$ sudo port install php5 +mysqlnd ---> Verifying checksum(s) for php5 Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2 Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2 Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. }}} -- Comment: In the future, please refer to [wiki:WikiFormatting] before filing a ticket. Anyway, run 'sudo port clean --all php5' and try again, you most likely just have a corrupt download. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Comment(by danbettles@…): Replying to [comment:1 toby@…]:
In the future, please refer to [wiki:WikiFormatting] before filing a ticket.
Anyway, run 'sudo port clean --all php5' and try again, you most likely just have a corrupt download.
Sorry for that. I ran the "clean" command, as suggested, but I'm still experiencing the same problem. I've been using php5-devel, but I uninstalled that before attempting to install the production-ready version. Is there something else I should try? Many thanks -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Comment(by blb@…): Can you run {{{ sudo port clean --all php5 sudo port -d install php5 +mysqlnd }}} and if it still fails to checksum, post the information from where it fetched the bad file. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Comment(by danbettles@…): Replying to [comment:3 blb@…]:
Can you run {{{ sudo port clean --all php5 sudo port -d install php5 +mysqlnd }}} and if it still fails to checksum, post the information from where it fetched the bad file.
I'm afraid it failed again. It's failed when fetching from other locations. {{{ ---> Attempting to fetch php-5.3.0.tar.bz2 from http://se.php.net/distributions/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2043 0 2043 0 0 530 0 --:--:-- 0:00:03 --:--:-- 530 ---> Verifying checksum(s) for php5 DEBUG: Executing org.macports.checksum (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 ef5d5519f7b141e0281abc58340cdf78 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 940a9098e8a8de74fb1c52ba24b590f303b085e1 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 997532b6881ec9bcf1e6b81f27a63d1a592f26dd The correct checksum line may be: checksums md5 ef5d5519f7b141e0281abc58340cdf78 \ sha1 940a9098e8a8de74fb1c52ba24b590f303b085e1 \ rmd160 997532b6881ec9bcf1e6b81f27a63d1a592f26dd Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for php5): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Thanks for getting back to me so quickly. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Changes (by blb@…): * status: closed => reopened * resolution: worksforme => -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Changes (by blb@…): * cc: jwa@… (added) * owner: macports-tickets@… => ryandesign@… * status: reopened => new Comment: It's interesting you get anything at all from se.php.net, that name doesn't even resolve here...but I'm guessing that mirror needs to be removed. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: php5 checksum Port: php5 | -------------------------------------+-------------------------------------- Changes (by toby@…): * status: new => closed * resolution: => fixed Comment: doesn't resolve for me either, pretty scary... anyway, r55531 -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: checksum Port: php5, php4 | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: php5 checksum => checksum * port: php5 => php5, php4 Comment: Replying to [comment:6 blb@…]:
It's interesting you get anything at all from se.php.net, that name doesn't even resolve here...but I'm guessing that mirror needs to be removed.
Perhaps your DNS is one of those that resolves unknown hostnames to a search results page. This prevents MacPorts from responding correctly when a server it wants to try is down. So I recommend you turn this feature off in your DNS if possible, or use a different DNS, like [http://www.opendns.com/ OpenDNS], which, though by default it has such a search results page, can be configured not to. Replying to [comment:7 toby@…]:
doesn't resolve for me either, pretty scary... anyway, r55531
r55531 only removed this mirror from the php5 port. I removed it from the php4 portfile and the php5extension portgroup in r55541. The php5-devel portfile was not affected. It has been suggested to me by email that I should create a php mirror group so that the list of sites is not duplicated in three places. I agree I should do this. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: checksum Port: php5, php4 | -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:8 ryandesign@…]:
It has been suggested to me by email that I should create a php mirror group so that the list of sites is not duplicated in three places. I agree I should do this.
The [http://www.php.net/mirrors.php complete list of mirrors] is in fact much greater than what we currently use. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: checksum Port: php5, php4 | -------------------------------------+-------------------------------------- Comment(by ryandesign@…): * r55555: Added php mirror group, just copied from php5 port (not yet adding in all the others because of [http://lists.macosforge.org/pipermail /macports-dev/2009-August/009598.html problems]) * r55557: Use php mirror group in php4 and php5 ports and php5extension portgroup -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20654: PHP 5 port: unable to verify file checksums -------------------------------------+-------------------------------------- Reporter: danbettles@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: checksum Port: php5, php4 | -------------------------------------+-------------------------------------- Comment(by danbettles@…): Replying to [comment:10 ryandesign@…]:
* r55555: Added php mirror group, just copied from php5 port (not yet adding in all the others because of [http://lists.macosforge.org/pipermail /macports-dev/2009-August/009598.html problems]) * r55557: Use php mirror group in php4 and php5 ports and php5extension portgroup
That seems to have done the trick. Thank you all. -- Ticket URL: <http://trac.macports.org/ticket/20654#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts