From: wlgivens at southkc dot net Operating system: RedHat [Alpha Linux] PHP version: 5.0.4 PHP Bug Type: Compile Failure Bug description: In this statement, "__getpgid" expects 1 arguments
Description: ------------ Receiving the error below on the following hardware/software: AlphaPC 164SX Redhat [Alpha] Kernel-2.6.11.6 Compaq C 6.5.9 Binutils-2.19.0.x Make-3.80 [EMAIL PROTECTED] php-5.0.4]# /bin/sh /usr2/www/linux-related/programming/php-4x/php-5.0.4/libtool --silent --preserve-dup-deps --mode=compile ccache ccc -Iext/posix/ -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/ -DPHP_ATOM_INC -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/include -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/main -I/usr2/www/linux-related/programming/php-4x/php-5.0.4 -I/usr/include/libxml2 -I/usr/include/mysql -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/TSRM -I/usr2/www/linux-related/programming/php-4x/php-5.0.4/Zend -O -w -std -pipe -D_BSD_SOURCE -c /usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c -o ext/posix/posix.lo cc: Error: /usr2/www/linux-related/programming/php-4x/php-5.0.4/ext/posix/posix.c, line 338: In this statement, "__getpgid" expects 1 arguments, but 0 are supplied. (toofewargs) PHP_POSIX_RETURN_LONG_FUNC(getpgrp); Reproduce code: --------------- just simply run: CC="ccache ccc" CXX="ccache cxx" \ CFLAGS="-O5 -fast -w -arch ev56 -w -std -pipe -D_BSD_SOURCE" \ CXXFLAGS="-O5 -fast -fast -arch ev56 -w -pipe\ -std ansi -nousing_std -D__USE_STD_IOSTREAM" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc/X11 \ --build=alphapca56-alpha-linux-gnu \ --enable-shared \ --with-apxs2=/usr/apache2/bin/apxs \ --with-apache2=shared,/usr/apache2 \ --with-mysql \ --with-gettext \ --with-openssl-dir=/usr \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-freetype-dir=/usr \ --enable-exif \ --with-openssl=shared,/usr \ --with-pgsql=shared,/usr \ --with-mnogosearch=shared,/usr \ --without-snmp sed -e 's/wl=""/wl="-Wl,"/g' libtool > TMP mv TMP libtool chmod 755 libtool make > MAKE_LOG 2>&1 & tail -f MAKE_LOG Expected result: ---------------- PHP to build/install, and everything would be alright in the world. Actual result: -------------- crash/burn -- Edit bug report at http://bugs.php.net/?id=34364&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34364&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34364&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34364&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34364&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34364&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34364&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34364&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34364&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34364&r=support Expected behavior: http://bugs.php.net/fix.php?id=34364&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34364&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34364&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34364&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34364&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34364&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34364&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34364&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34364&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34364&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34364&r=mysqlcfg