Re: Problem Installing lates PHP_5_2 CVS - Fatal error:Not validinternal .phar file (checksum error

From: Date: Sat, 06 Jan 2007 22:15:04 +0000
Subject: Re: Problem Installing lates PHP_5_2 CVS - Fatal error:Not validinternal .phar file (checksum error
References: 1 2 3 4 5  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-4140@lists.php.net to get a copy of this message
Hi Sebastian, Turns out crc32() acts differently on windows/unix, so I fixed that with the same fix used for unpack(). Not that you care about the details :) The updated .phars will be live any minute now, and snapshots should start working again. md5sum install-pear-nozlib.phar ebc03e1e5d6e20d5ef1e052590a5c37a install-pear-nozlib.phar Greg Sebastian Nohn wrote: > Hi Greg, > > Greg Beaver wrote: >> Sebastian Nohn wrote: >>> Hi Christan, >>> >>>>> Fatal error: Not valid internal .phar file (checksum error) in >>>>> ...../php5/pear/install-pear-nozlib.phar on line 411 >>>>> make[1]: *** [install-pear-installer] Error 255 >>>>> make: *** [install-pear] Error 2 >>>>> [...] >>>> I guess you are on a 64 bit system; >>>> >>>> http://greg.chiaraquartet.net/archives/160-problem-with-PHP_Archive-based-phars-tracked-to-odd-unpack-bug.html >>> That may very well be. It's an AMD Opteron and Greg's example returns >>> the same output. What irritates me a bit: It's a 32 bit OS running on >>> the machine and PEAR.phar-installation worked on that machine until >>> yesterday evening. >> I spent quite a bit of time fixing up both phars yesterday, and released >> new .phars at pear.php.net. If you could confirm that the .phars at >> http://pear.php.net/install-pear-nozlib.phar or >> http://pear.php.net/go-pear.phar do *not* work with current >> CVS, then we >> have a problem. I need to know whether it works for you, either way, >> today if possible. > > Until yesterday evening (23:something MET yesterday was the last time > tried), it worked, it didn't work since then (next try 10:something MET > today) and it doesn't work with the file from pear.php.net: > > ---------------------- cut here ---------------------- > $ wget http://pear.php.net/install-pear-nozlib.phar -O \ > /tmp/install-pear-nozlib.phar > [...] > 16:29:55 (273.68 KB/s) - `/tmp/install-pear-nozlib.phar' saved > [3287079/3287079] > > $ slash/opt/php/bin/php -n -dshort_open_tag=0 -dsafe_mode=0 \ > -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 \ > -ddetect_unicode=0 /tmp/install-pear-nozlib.phar \ > -d $(pwd)slash/opt/php/lib -b $(pwd)/slash/opt/php/bin > > Fatal error: Not valid internal .phar file (checksum error) in > /tmp/install-pear-nozlib.phar on line 411 > > $ slash/opt/php/bin/php -v > PHP 5.2.1RC3-dev (cli) (built: Jan 6 2007 15:33:58) > Copyright (c) 1997-2007 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies > ---------------------- cut here ---------------------- > > If it helps: > > $ uname -a > Linux h939937 2.6.15-26-686 #1 SMP PREEMPT Fri Sep 8 20:16:40 UTC 2006 > i686 GNU/Linux > $ gcc -v > Using built-in specs. > Target: i486-linux-gnu > Configured with: ../src/configure -v > --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr > --enable-shared --with-system-zlib --libexecdir=/usr/lib > --without-included-gettext --enable-threads=posix --enable-nls > --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu > --enable-libstdcxx-debug --enable-java-awt=gtk-default > --enable-gtk-cairo > --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre > --enable-mpfr --disable-werror --with-tune=pentium4 > --enable-checking=release i486-linux-gnu > Thread model: posix > gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) > > - Sebastian

« previous php.pear.qa (#4140) next »