Bug #71007 [Com]: phar.php: unexpected '/' on line 20

From: Date: Tue, 01 Dec 2015 13:11:39 +0000
Subject: Bug #71007 [Com]: phar.php: unexpected '/' on line 20
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-197542@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71007&edit=1

 ID:                 71007
 Comment by:         cyrus at safe-mail dot net
 Reported by:        cyrus at safe-mail dot net
 Summary:            phar.php: unexpected '/' on line 20
 Status:             Open
 Type:               Bug
 Package:            Compile Failure
 Operating System:   Solaris 11 sparc
 PHP Version:        7.0.0RC8
 Block user comment: N
 Private report:     N

 New Comment:

It seems Zend build works well with added patch:
https://bugs.php.net/bug.php?id=71006

Probably, something went wrong?


Previous Comments:
------------------------------------------------------------------------
[2015-12-01 12:53:27] nikic@php.net

Does sapi/cli/php -P run-tests.php Zend/ generate any failures?

If the phar doesn't build, it's probably a broken PHP build, but it's likely easier
to debug it using something else.

------------------------------------------------------------------------
[2015-12-01 12:45:27] cyrus at safe-mail dot net

occurred while compile php-7.0.0RC8 on Solaris 11 Sparc with two patches included:
https://bugs.php.net/bug.php?id=70999
https://bugs.php.net/bug.php?id=71006

------------------------------------------------------------------------
[2015-12-01 12:42:43] cyrus at safe-mail dot net

Description:
------------
Generating phar.php
Generating phar.phar

Parse error: syntax error, unexpected '/' in
<path>/php-7.0.0RC8-70999-71006/ext/phar/phar.php on line 20
*** Error code 255
The following command caused the error:
  if test -x "<path>/php-7.0.0RC8-70999-71006/sapi/cli/php"; then 
<path>/php-7.0.0RC8-70999-71006/build/shtool echo -n --
"<path>/php-7.0.0RC8-70999-71006/sapi/cli/php -n";  if test "x" !=
"x"; then  <path>/php-7.0.0RC8-70999-71006/build/shtool echo -n -- " -d
extension_dir=<path>/php-7.0.0RC8-70999-71006/modules";  for i in bz2 zlib phar; do  if
test -f "<path>/php-7.0.0RC8-70999-71006/modules/$i.la"; then  .
<path>/php-7.0.0RC8-70999-71006/modules/$i.la;
<path>/php-7.0.0RC8-70999-71006/build/shtool echo -n -- " -d extension=$dlname"; 
fi;  done;  fi;  else  <path>/php-7.0.0RC8-70999-71006/build/shtool echo -n --
"<path>/php-7.0.0RC8-70999-71006/sapi/cli/php";  fi; -n -d
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d
phar.readonly=0 -d 'safe_mode=0' ext/phar/phar.php pack -f ext/phar/phar.phar -a
pharcommand -c auto -x \\.svn -p 0 -s <path>/php-7.0.0RC8-70999-71006/ext/phar/phar/phar.php
-h sha1 -b "`<path>/php-7.0.0RC8-70999-71006/build/shtool echo -n -!
 - "/home/bea/nightly_httpd/workspace/sun4u_64/tempbuilds/php/oracle/bin/php";`" 
<path>/php-7.0.0RC8-70999-71006/ext/phar/phar/
make: Fatal error: Command failed for target `ext/phar/phar.phar'



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71007&edit=1


Thread (9 messages)

« previous php.bugs (#197542) next »