Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29956 - make segfaults when installing pear during mod_php-4.3.2-r4 merge
Summary: make segfaults when installing pear during mod_php-4.3.2-r4 merge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-29 14:31 UTC by Rev. Jeffrey Paul
Modified: 2003-11-16 04:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rev. Jeffrey Paul 2003-09-29 14:31:35 UTC
i did an "emerge mod_ssl mod_php" and it emerged apache and mod_ssl just fine.  
when it got to mod_php, make segfaulted during the install.

Reproducible: Always
Steps to Reproduce:
emerge sync ; emerge mod_php (with apache already installed)
Actual Results:  
ser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo 
Zend/zend_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo 
Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo 
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo 
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo 
Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo 
sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -
lsablot -lexpat -lexpat -lcrypt -lpspell -lpdf -lz -ltiff -lpng -ljpeg -lmhash -
lmcrypt -lltdl -lexslt -lxsltbreakpoint -lxml2 -lxslt -lz -lndbm -lgdbm -
lcrack -lbz2 -lz -lssl -lcrypto -lresolv -lm -lnsl -lxmlparse -lxmltok -lxml2 -
lz -lm -lcrypt -lcrypt  -o sapi/cli/php

Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).


>>> Install mod_php-4.3.2-r4 into /var/tmp/portage/mod_php-4.3.2-r4/image/ 
category dev-php
Installing shared extensions:     /var/tmp/portage/mod_php-4.3.2-
r4/image//usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /var/tmp/portage/mod_php-4.3.2-
r4/image//usr/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2

!!! ERROR: dev-php/mod_php-4.3.2-r4 failed.
!!! Function php_src_install, Line 425, Exitcode 2
!!! (no error message)



Expected Results:  
not segfaulted

edge root # emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(TM) XP 2000+
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm imlib jpeg kde 
libg++ mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png 
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline 
tcpd pam libwww ssl perl python -X -gtk -gnome -alsa -apache2 -java -qt"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-09-29 20:55:25 UTC
1. run a memory test against your machine.
2. remerge make then try to emerge mod_php again.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-22 15:45:27 UTC
any update on this?
this bug will be closed in 1 week if there is no response.
Comment 3 Krzysztof Dziuba 2003-10-29 03:20:59 UTC
The same error while emerging mod_php-4.3.3-r3. I've reemerged make, without
any positive effect.
Comment 4 Krzysztof Dziuba 2003-10-29 03:52:19 UTC
Solved (for my case). Problem was in CLI wersion of PHP - seg-fault was caused
by libsablot (tnx to gdb). 
Solution: emerge sablotron
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-29 10:00:20 UTC
Jeffrey Paul: run revdep-rebuild then try again

if it fails again, find the libphp4.so that is built somewhere under /var/tmp/portage/mod_php-*/work/php-*/sapi,
run ldd on it, and trace the libraries with qpkg, then try to rebuild them.

Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-16 04:04:28 UTC
closing old bugs.