[MacPorts] #34653: sudo port -d install php5 checksum error

MacPorts noreply at macports.org
Mon May 28 03:21:34 PDT 2012


#34653: sudo port -d install php5 checksum error
---------------------------------+------------------------------------------
  Reporter:  comafirm@…          |       Owner:  macports-tickets@…                   
      Type:  defect              |      Status:  closed                               
  Priority:  Normal              |   Milestone:                                       
 Component:  ports               |     Version:  2.1.1                                
Resolution:  invalid             |    Keywords:  checksum error                       
      Port:  php5                |  
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: jwa@…, ryandesign@… (added)
  * keywords:  php5 checksum error => checksum error
  * resolution:  => invalid
  * port:  => php5


Old description:

> > sudo port -d install php5
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php5
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php5
> DEBUG: OS Platform: darwin
> DEBUG: OS Version: 10.8.0
> DEBUG: Mac OS X Version: 10.6
> DEBUG: System Arch: i386
>
> ...
>
> DEBUG: Executing org.macports.checksum (php5)
> --->  Checksumming php-5.3.2.tar.bz2
> Error: Checksum (md5) mismatch for php-5.3.2.tar.bz2
> Portfile checksum: php-5.3.2.tar.bz2 md5 46f500816125202c48a458d0133254a4
> Distfile checksum: php-5.3.2.tar.bz2 md5 146ec5045929d607e8de2bba14bc572f
> Error: Checksum (sha1) mismatch for php-5.3.2.tar.bz2
> Portfile checksum: php-5.3.2.tar.bz2 sha1
> 79ea4ee3da3a7542d1e348ac963a5b38bcbb4b6b
> Distfile checksum: php-5.3.2.tar.bz2 sha1
> 69bf2e04a140af63d899edb3e748ed064dc84bfb
> Error: Checksum (rmd160) mismatch for php-5.3.2.tar.bz2
> Portfile checksum: php-5.3.2.tar.bz2 rmd160
> 60a8aac0d51511ecaf8dcad9d31bdf072c0c99cf
> Distfile checksum: php-5.3.2.tar.bz2 rmd160
> 6988f7324090c5883525f4032a2887963b325cc7
> The correct checksum line may be:
> checksums           md5     146ec5045929d607e8de2bba14bc572f \
>                     sha1    69bf2e04a140af63d899edb3e748ed064dc84bfb \
>                     rmd160  6988f7324090c5883525f4032a2887963b325cc7
> Error: Target org.macports.checksum returned: Unable to verify file
> checksums
> DEBUG: Backtrace: Unable to verify file checksums
>     while executing
> "$procedure $targetname"
> 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.

New description:

 {{{
 > sudo port -d install php5
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php5
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/php5
 DEBUG: OS Platform: darwin
 DEBUG: OS Version: 10.8.0
 DEBUG: Mac OS X Version: 10.6
 DEBUG: System Arch: i386

 ...

 DEBUG: Executing org.macports.checksum (php5)
 --->  Checksumming php-5.3.2.tar.bz2
 Error: Checksum (md5) mismatch for php-5.3.2.tar.bz2
 Portfile checksum: php-5.3.2.tar.bz2 md5 46f500816125202c48a458d0133254a4
 Distfile checksum: php-5.3.2.tar.bz2 md5 146ec5045929d607e8de2bba14bc572f
 Error: Checksum (sha1) mismatch for php-5.3.2.tar.bz2
 Portfile checksum: php-5.3.2.tar.bz2 sha1
 79ea4ee3da3a7542d1e348ac963a5b38bcbb4b6b
 Distfile checksum: php-5.3.2.tar.bz2 sha1
 69bf2e04a140af63d899edb3e748ed064dc84bfb
 Error: Checksum (rmd160) mismatch for php-5.3.2.tar.bz2
 Portfile checksum: php-5.3.2.tar.bz2 rmd160
 60a8aac0d51511ecaf8dcad9d31bdf072c0c99cf
 Distfile checksum: php-5.3.2.tar.bz2 rmd160
 6988f7324090c5883525f4032a2887963b325cc7
 The correct checksum line may be:
 checksums           md5     146ec5045929d607e8de2bba14bc572f \
                     sha1    69bf2e04a140af63d899edb3e748ed064dc84bfb \
                     rmd160  6988f7324090c5883525f4032a2887963b325cc7
 Error: Target org.macports.checksum returned: Unable to verify file
 checksums
 DEBUG: Backtrace: Unable to verify file checksums
     while executing
 "$procedure $targetname"
 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.
 }}}

--

Comment:

 5.3.2 is quite obsolete. The current version in the php5 port is 5.3.12;
 the current version in the php53 port is 5.3.13, and you can have 5.4.3 in
 the php54 port. Please "sudo port selfupdate" to update your port
 definitions, "sudo port clean php5", and then try installing the php5 port
 again, or switch to the newer php53 or php54 ports.

-- 
Ticket URL: <https://trac.macports.org/ticket/34653#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list