php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55276 Phar Error 139
Submitted: 2011-07-24 16:05 UTC Modified: 2011-07-30 14:35 UTC
From: richard at bizznix dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.3.6 OS: OS X 10.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: richard at bizznix dot com
New email:
PHP Version: OS:

 

 [2011-07-24 16:05 UTC] richard at bizznix dot com
Description:
------------
I recently upgraded to OS X 10.7 with the newest Xcode tools installed. Whenever 
I try to compile PHP, the make fails with an error 139, with the following text:

Generating phar.php
/bin/sh: line 1: 29420 Segmentation fault: 11  ` if test -x 
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; then 
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- 
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php -n"; if test 
"x/Users/richardd/Downloads/php-5.3.6/modules/curl.la 
/Users/richardd/Downloads/php-5.3.6/modules/mcrypt.la" != "x"; then 
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- " -d 
extension_dir=/Users/richardd/Downloads/php-5.3.6/modules"; for i in bz2 zlib 
phar; do if test -f "/Users/richardd/Downloads/php-5.3.6/modules/$i.la"; then . 
/Users/richardd/Downloads/php-5.3.6/modules/$i.la; /Users/richardd/Downloads/php-
5.3.6/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else 
/Users/richardd/Downloads/php-5.3.6/build/shtool echo -n -- 
"/Users/richardd/Downloads/php-5.3.6/sapi/cli/php"; fi;` -d 'open_basedir=' -d 
'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' 
/Users/richardd/Downloads/php-5.3.6/ext/phar/build_precommand.php > 
ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 139

This happens with 5.3.6 and 5.3.7RC3.

Expected result:
----------------
Expect PHP to compile.

Actual result:
--------------
PHP compile fails.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-30 13:41 UTC] richard at bizznix dot com
-Status: Open +Status: Closed
 [2011-07-30 13:41 UTC] richard at bizznix dot com
The error 139 was due to the Oracle extension that is part of my PHP build. The 
upgrade to OS X 10.7 killed my paths, which broke the Oracle PHP compile.
 [2011-07-30 14:35 UTC] richard at bizznix dot com
Further investigation reveals that the 64 bit Oracle instant client does not work 
on OS X 10.7.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 11:01:33 2025 UTC