Bug 83553

Summary: postgresql should buildreq bison and flex.
Product: [Retired] Red Hat Raw Hide Reporter: Tarhon-Onu Victor <lsmituc>
Component: postgresqlAssignee: Andrew Overholt <overholt>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-02-05 23:36:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tarhon-Onu Victor 2003-02-05 16:08:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021217

Description of problem:
If you do not have bison and flex installed in your system, building process of
postgresql source rpm will fail.

Version-Release number of selected component (if applicable):
7.3.1-7 and for sure other.

How reproducible:
Always

Steps to Reproduce:
1. rpm -e bison and flex and their dependencies
2. rpmbuild --rebuild --target your_arch postgresql-7.3.1-7.src.rpm
3. wait until an error will occur, claiming that bison or flex cannot be found.


Additional info:

Comment 1 Andrew Overholt 2003-02-05 23:36:32 UTC
Thanks for pointing this out.  I've fixed it in the most recent PostgreSQL
package  set - postgresql-7.3.2-1.  When I remove bison from my system and try:

rpmbuild  --rebuild postgresql-7.3.2-1.src.rpm

I get:

Installing postgresql-7.3.2-1.src.rpm
error: Failed build dependencies:
        bison is needed by postgresql-7.3.2-1

as expected.  Resolving.