From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 Galeon/1.3.10 Description of problem: The php source doesn't compile. Not enough of /Zend gets copied into /build-cgi/Zend and /build-apache/Zend Below is an example of /build-cgi/Zend: /bin/sh /usr/src/redhat/BUILD/php-4.3.4/build-cgi/libtool --silent --preserve-dup-deps --mode=compile gcc -IZend/ -I/usr/src/redhat/BUILD/php-4.3.4/Zend/ -DPHP_ATOM_INC -I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/include -I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/main -I/usr/src/redhat/BUILD/php-4.3.4 -I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/Zend -I/usr/kerberos/include -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/mbregex -I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/libmbfl -I/usr/src/redhat/BUILD/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/usr/src/redhat/BUILD/php-4.3.4/main -I/usr/src/redhat/BUILD/php-4.3.4/Zend -I/usr/src/redhat/BUILD/php-4.3.4/TSRM -I/usr/src/redhat/BUILD/php-4.3.4/build-cgi/TSRM -O2 -g -pipe -march=i386 -mcpu=i686 -Wall -fno-strict-aliasing -I/usr/kerberos/include -prefer-non-pic -c Zend/zend_language_scanner.c -o Zend/zend_language_scanner.o gcc: Zend/zend_language_scanner.c: No such file or directory gcc: no input files make: *** [Zend/zend_language_scanner.lo] Error 1 Version-Release number of selected component (if applicable): php-4.3.4-1.1 How reproducible: Always Steps to Reproduce: 1. rpm -i php-4.3.4-1.1.src.rpm 2. cd /usr/src/redhat/SPECS 3. rpmbuild -bb php.spec Actual Results: Doesn't finish compiling Expected Results: For it to finish compiling Additional info: Same problem with php-4.3.3-6.
I can't reproduce this here on an FC1 system. What versions of autoconf and libtool are you running?
libtool-1.5-8 autoconf-2.57-3 Both built by Red Hat. I do note that autoconf doesn't seem to have been upgraded since the version is the exact same from RH9, and the Build date is Fri 24 Jan 2003 02:01:48 PM PST.
The fix to this problem is attached. The problem was found in the workaround for the bug in bison-1.875-2 It does not copy the zend *scanner* files.
Created attachment 96235 [details] patch against php-4.3.3-6 spec file
Thanks for the patch Jan! I've added this for 4.3.4-2 in Raw Hide.