Description of problem: php source RPM needs bison and flex, but doesn't give error when trying to build. Version-Release number of selected component (if applicable): 4.3.2-11.ent How reproducible: every time. Steps to Reproduce: 1. Install RHAS3 2. Install devel packages (cpp, gcc, libstdc, glibc, make, auto...) 3. Try to "rpmbuild --rebuild php-4.3.2-11.ent.src.rpm" you will get an error about zend build failed. 4. Install flex and bison 5. Now rpmbuild works fine. Expected results: rpmbuild --rebuild php-*.src.rpm should give an error message that bison and flex are dependencies unless these two packages are already installed.
Thanks for the report. If you change the line in php.spec from: mkdir Zend && cp ../Zend/zend_{language,ini}_parser.[ch] Zend to mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend this will be fixed. This change will be included in a future update.
This should be fixed in php-4.3.2-14.ent which was been shipped in U3. Please re-open if you encounter further rebuild issues.