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"
1. run a memory test against your machine. 2. remerge make then try to emerge mod_php again.
any update on this? this bug will be closed in 1 week if there is no response.
The same error while emerging mod_php-4.3.3-r3. I've reemerged make, without any positive effect.
Solved (for my case). Problem was in CLI wersion of PHP - seg-fault was caused by libsablot (tnx to gdb). Solution: emerge sablotron
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.
closing old bugs.