Bug 127701 - rpmbuild --rebuild php-4.3.2-11.ent.src.rpm FAIL, needs bison and flex
rpmbuild --rebuild php-4.3.2-11.ent.src.rpm FAIL, needs bison and flex
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: php (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2004-07-12 14:44 EDT by Ben Russo
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: 4.3.2-14.ent
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-02 06:33:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ben Russo 2004-07-12 14:44:10 EDT
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):

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.
Comment 1 Joe Orton 2004-07-14 04:15:25 EDT
Thanks for the report.  If you change the line in php.spec from:

mkdir Zend && cp ../Zend/zend_{language,ini}_parser.[ch] Zend


mkdir Zend && cp ../Zend/zend_{language,ini}_{parser,scanner}.[ch] Zend

this will be fixed.  This change will be included in a future update.
Comment 2 Joe Orton 2004-09-02 06:33:15 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.