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"
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).
Created attachment 13325 [details] Requested backtrace
Closing per user request, no longer valid.
Actually fixed, but meh.