Bug 44743

Summary: gdb SRPM needs build dependency on ncurses-devel
Product: [Retired] Red Hat Linux Reporter: Jay Turner <jturner>
Component: gdbAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-15 21:09:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Glen Foster 2001-06-15 21:09:49 UTC
Description of Problem: with the 7.1 product, you cannot build the gdb SRPM
without having ncurses-devel installed.   But, if "rpm -ba
/usr/src/redhat/SPECS/gdb*spec" is executed, you do NOT get an error from
rpm about missing/unsatisfied build dependencies.  If you install the
ncurses-devel rpm, the gdb SRPM builds without problems.

 How Reproducible: Always

 Steps to Reproduce:
 1. rpm -e ncurses-devel
 2. rpm -Uvh <tree-path>/SRPMS/gdb*.src.rpm
 3. rpm -ba /usr/src/redhat/SPECS/gdb*spec
 4. rpm -Uvh <tree-path>/RedHat/RPMS/ncurses-devel*
 5. rpm -ba /usr/src/redhat/SPECS/gdb*spec

 Actual Results:
 first 3 steps result in a failure WITHOUT a build-requires error from
 next 2 steps build the SRPM without fail

 Expected Results: I would expect an rpm error message to be written to
stderr informing me the gdb SRPM cannot be built without installing the
ncurses-devel RPM.

Additional Information:

Comment 1 Trond Eivind Glomsrxd 2001-06-15 21:42:32 UTC
Fixed in gdb-5.0rh-11