Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22842 - Installation of PHP-CVS fails
Summary: Installation of PHP-CVS fails
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-14 18:31 UTC by Lisa Seelye (RETIRED)
Modified: 2003-06-22 17:09 UTC (History)
1 user (show)

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


Attachments
Requested backtrace (bt.txt,3.37 KB, text/plain)
2003-06-15 13:05 UTC, Lisa Seelye (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lisa Seelye (RETIRED) gentoo-dev 2003-06-14 18:31:30 UTC
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
 
/usr/sbin/ebuild.sh: line 27: return: true: numeric argument required
 
>>> Install php-cvs-5.0 into /var/tmp/portage/php-cvs-5.0/image/ category 
dev-php
Installing shared extensions:     /var/tmp/portage/php-cvs-5.
0/image//usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /var/tmp/portage/php-cvs-5.
0/image//usr/lib/php/
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR           - installed: 1.1
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
 
!!! ERROR: dev-php/php-cvs-5.0 failed.
!!! Function php_src_install, Line 342, Exitcode 2
!!! (no error message)

***** After changing php.eclass to use 0 and 1 (respectivly) as per bug 22829 
this output was created:

>>> Install php-cvs-5.0 into /var/tmp/portage/php-cvs-5.0/image/ category 
dev-php
Installing shared extensions:     /var/tmp/portage/php-cvs-5.
0/image//usr/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /var/tmp/portage/php-cvs-5.
0/image//usr/lib/php/
[PEAR] Archive_Tar    - installed: 0.9
[PEAR] Console_Getopt - installed: 1.0
[PEAR] PEAR           - installed: 1.1
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
 
!!! ERROR: dev-php/php-cvs-5.0 failed.
!!! Function php_src_install, Line 342, Exitcode 2
!!! (no error message)

---- In both cases this is the line in error:
make INSTALL_ROOT=${D} ${PHP_INSTALLTARGETS} || die



---- Emerge info:
root@time php-cvs # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-pfeifer-r1_pre11 i586 AMD-K6(tm) 3D processor
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://cs.ubishops.
ca/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/mnt/nfs/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/mnt/nfs/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 crypt cups jpeg libg++ mmx motif ncurses pdflib png spell xml2 xv zlib 
gdbm berkdb slang readline svga mysql postgres tcpd pam ssl perl python snmp acl 
-doc fbcon -freetds guile informix innodb ipv6 junit maildir mbox memlimit mpi 
nhc98 oav oci8 odbc pnp ruby samba sasl slp sse xml zeo -oss -3dnow -apm -arts 
-avi -encode -gif -gpm -gtk -imlib -java -kde -gnome -mikmod -mpeg -nls 
-oggvorbis -opengl -qt -quicktime -sdl -truetype -xmms -tcltk -X -libwww"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-mcpu=k6-2 -O3 -pipe"
CXXFLAGS="-mcpu=k6-2 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="fixpackages sandbox ccache distcc userpriv usersandbox"
Comment 1 Tal Peer (RETIRED) gentoo-dev 2003-06-15 11:46:41 UTC
Can you provide a backtrace please?  If you don't know hoe, follow these steps: 1. run 'ulimit -c unlimited' in the same console where you run the emerge command. 2. cd /var/tmp/portage/php-cvs-5.0/work/php5/ 3. remove any -f flags from your CFLAGS and emerge php-cvs. 4. run 'gdb php core' (if you don't have gdb, emerge it) 5. inside the gdb console, type 'bt' and post the output here.  This will show us wether this is a bug in php itself (which is quite normal for cvs versions, of course) or a bug in the installation process (it is possible, from experience).
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2003-06-15 13:05:55 UTC
Created attachment 13325 [details]
Requested backtrace
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-22 16:58:20 UTC
Closing per user request, no longer valid.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-22 17:09:36 UTC
Actually fixed, but meh.