Bug #66969 [NEW]: make install was failing for pear environment

From: Date: Thu, 27 Mar 2014 13:28:58 +0000
Subject: Bug #66969 [NEW]: make install was failing for pear environment
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184930@lists.php.net to get a copy of this message
From:             skatta33 at hotmail dot com
Operating system: SunOS 5.10 Geeric
PHP version:      5.5.10
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:make install was failing for pear environment

Description:
------------
Hi,

I was using gcc 4.8.2 with following config options for to build the php
5.5.10 and make was successfull and make install was failing at PEAR
environment.

Here is the os information;

SunOS 5.10 Generic_150400-05 sun4v sparc sun4v

Here is gcc version;
------------------------------------------------------------------
#> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc4/libexec/gcc/sparc-sun-solaris2.10/4.8.2/lto-wrapper
Target: sparc-sun-solaris2.10
Configured with: ./configure --without-gnu-as --with-as=/usr/ccs/bin/as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-shared
--enable-languages=c,c++,fortran,objc --prefix=/usr/local/gcc4
--with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local
Thread model: posix
gcc version 4.8.2 (GCC)
root@hq1-webdmz-s1
-------------------------------------------------------------------

Here is config options;

./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-curl=/usr/local/bin --with-openssl

Here is openssl version information;

OpenSSL 1.0.1f-fips 6 Jan 2014

openssl:        ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+
Required, UltraSPARC1 Extensions Required, dynamically linked, not
stripped, no debugging information available

Here is curl information;

$curl -V
curl 7.34.0 (sparc-sun-solaris2.10) libcurl/7.34.0 OpenSSL/1.0.1f
zlib/1.2.3 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps
pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP

Here is httpd information;

/usr/local/apache/bin/httpd -v
Server version: Apache/2.2.26 (Unix)
Server built:   Dec 20 2013 18:14:17

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

Note:Configure was going good and make was done for php-5.5.10 without
any problem.

Here is make version information;

$make --version
GNU Make 4.0
Built for sparc-sun-solaris2.10

Here is libtool information;


> ./libtool --version
ltmain.sh (GNU libtool) 1.5.26 (1.1220.2.492 2008/01/30 06:40:56)

Here is ld information;

/usr/ccs/bin/ld -V

ld -V
ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1518

I was getting following eror message,When I run make install;

---------------------------------------------------------------
Installing PEAR environment:      /usr/local/lib/php/
Makefile:377: recipe for target 'install-pear-installer' failed
make[1]: *** [install-pear-installer] Bus Error (core dumped)
Makefile:380: recipe for target 'install-pear' failed
make: *** [install-pear] Error 2
---------------------------------------------------------------

Note:If I given --without-pear as a configure option,make install was
running good.

Please advice me,How I can fix the above make install problem.

Thanks,
Srinivas







Test script:
---------------
Installing PEAR environment:      /usr/local/lib/php/
*** Signal 10 - core dumped
The following command caused the error:
/var/tmp/php-5.5.10/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir=
-derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0
pear/install-pear-nozlib.phar -d "/usr/local/lib/php" -b
"/usr/local/bin" -dp a -ds a
make: Fatal error: Command failed for target `install-pear-installer'
Current working directory /var/tmp/php-5.5.10
*** Error code 1
The following command caused the error:
if test -f pear/install-pear-nozlib.phar &&
/var/tmp/php-5.5.10/build/shtool mkdir -p /usr/local/lib/php; then \
        /usr/ccs/bin/make -s install-pear-installer; \
else \
        cat /var/tmp/php-5.5.10/pear/install-pear.txt; \
fi
make: Fatal error: Command failed for target `install-pear'

Actual result:
--------------
#pstack core_hq1-webdmz-s1_php_0_0_1395918369_6720

pstack core_hq1-webdmz-s1_php_0_0_1395918369_6720
core 'core_hq1-webdmz-s1_php_0_0_1395918369_6720' of 6720:     
/var/tmp/php-5.5.10/sapi/cli/php -dshort_open_tag=0 -dopen_basedir= -d
 0007c898 compare_opcodes (a6365d, 0, ffbfdb20, ffbfdb00, a63639,
a63638) + 7e0
 000851bc php_pcre_compile2 (b8cc38, 407a90, 0, ffbfed0c, ffbfed10,
a63617) + 1790
 0009d1f0 pcre_get_compiled_regex_cache (b8cc38, 2f, febad7ee, 77db2c,
7f9d6c, 0) + 400
 0009e210 php_do_pcre_match.isra.8 (3, c3ace0, 0, 0, 1, 2310) + 60
 00397b44 zend_do_fcall_common_helper_SPEC (3c, fffffff0, 77d488,
788028, 788038, 8fe820) + 6c4
 00301208 execute_ex (788038, 800000, 0, 77d488, ad33d8, 77d488) + 50
 00395c3c zend_execute (7a0328, 3011b8, 784cf0, 784d10, 784c70, 77d488)
+ 214
 002d8658 zend_execute_scripts (8, 0, 3, 1, 77d488, 77d488) + 128
 002721c8 php_execute_script (0, 79db30, 79db50, 1, 0, 0) + 1b0
 00399b44 do_cli   (0, 780428, 0, 18, a200b0, 1) + 1050
 003a97f0 main     (75d8f4, 0, 0, 57, 781ff8, 0) + 53c
 0002d410 _start   (0, 0, 0, 0, 0, 0) + 5c


-- 
Edit bug report at https://bugs.php.net/bug.php?id=66969&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66969&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66969&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66969&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66969&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66969&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66969&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66969&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66969&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66969&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66969&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66969&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66969&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66969&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66969&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66969&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66969&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66969&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66969&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66969&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66969&r=mysqlcfg



Thread (16 messages)

« previous php.bugs (#184930) next »