ID: 45726
User updated by: Bjorn dot Wiberg at its dot uu dot se
Reported By: Bjorn dot Wiberg at its dot uu dot se
Status: Open
Bug Type: PHAR related
Operating System: *
PHP Version: 5.3CVS-2008-08-06
Assigned To: helly
New Comment:
It doesn't like my autoconf, so running buildconf is unfortunately a
no-go for me...
Awaiting responses to felipe's comments instead -- they sound very
interesting!
Best regards,
Björn
---8<---
+ ./buildconf --force
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
"build/build2.mk", line 32: make: Dependency line needs colon or double
colon operator.
"build/build2.mk", line 33: make: Dependency line needs colon or double
colon operator.
"build/build2.mk", line 35: make: Dependency line needs colon or double
colon operator.
make: Fatal errors encountered -- cannot continue.
make: The error code from the last command is 2.
--->8---
Previous Comments:
------------------------------------------------------------------------
[2008-09-14 15:13:07] felipe@php.net
s/php executable path/php directory/
The file_get_contents() is reading the dir. as a real file.
sapi/cli/php -r 'var_dump(file_get_contents("/home/felipe/php5"));'
string(2560) "��l
.�k
..-�l
buildmk.stamp��.�l
CVS��l▒
.cvsignoreB�.gdbinitw�U��CODING_STANDARDS�j��CREDITS��l
------------------------------------------------------------------------
[2008-09-14 13:48:05] felipe@php.net
Hi,
I can reproduce on BSD.
The php executable path (/usr/home/felipe/php5) is being passed to
phar_set_stub_begin() in the $loader parameter, hence the binary is
included in string passed to $phar->setStub();
------------------------------------------------------------------------
[2008-09-14 07:29:48] helly@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Cannot reproduce, Iirc this did happen in earlier versions though.
Try running buildconf.
./buildconf --force && ./configure --disable-all --enable-phar && make
[...]
Generating phar.php
Generating phar.phar
Pear package PHP_Archive or Archive.php class file not found.
clicommand.inc
directorygraphiterator.inc
directorytreeiterator.inc
invertedregexiterator.inc
pharcommand.inc
phar.inc
Build complete.
Don't forget to run 'make test'.
------------------------------------------------------------------------
[2008-08-29 12:26:01] rainer dot tammer at schulergroup dot com
Hello,
the same problem exists on AIX 5.2 / 5.3.
Bye
Rainer
------------------------------------------------------------------------
[2008-08-22 22:12:30] technopark02 at gmail dot com
This issue is easy to reproduce with php5.3-200808220630 on Solaris 10
x86/x64 as well.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45726--
Edit this bug report at http://bugs.php.net/?id=45726&edit=1