Subject: pkg/36105: lnag/php5 sparc64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 03/29/2007 15:25:00
>Number:         36105
>Category:       pkg
>Synopsis:       lnag/php5 sparc64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 29 15:25:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 sun4u
>Organization:
ENST 
>Environment:


SunOS biqueen.enst.fr 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Blade-1500



>Description:


===> Installing for php-5.2.1nb1
=> Generating pre-install file lists
.:      gid (3, 0, modified)
=> Running PRE-INSTALL script actions
Installing PHP SAPI module:       cgi
Installing PHP CGI into: /usr/pkg/bin/
Installing build environment:     /usr/pkg/lib/php/build/
Installing header files:          /usr/pkg/include/php/
Installing helper programs:       /usr/pkg/bin/
  program: phpize
  program: php-config
Installing man pages:             /usr/pkg/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /usr/pkg/lib/php/

Fatal error: Not valid internal .phar file (checksum error) in /pkg/obj/lang/php5/work/php-5.2.1/pear/install-pear-nozlib.phar on line 411
gmake[1]: *** [install-pear-installer] Error 255
gmake: *** [install-pear] Error 2



>How-To-Repeat:


bmake install


>Fix:


think it would be hard, 
work on i386 x86_64 
but not on sparc64!!!
have a look at http://news.php.net/php.qa/26993
or
http://www.nabble.com/Problem-Installing-lates-PHP_5_2-CVS---Fatal-error:-Not-valid-internal-.phar-file-(checksum-error-t2930215.html