Bug 45006

Summary: fileutils SRPM needs build-dependency on libtermcap-devel
Product: [Retired] Red Hat Linux Reporter: Jay Turner <jturner>
Component: fileutilsAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-06-21 13:14:20 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 Glen Foster 2001-06-19 15:41:46 UTC
Description of Problem: with the 7.1 product, you cannot build the
fileutils SRPM without having libtermcap-devel installed.   But, if "rpm
-ba /usr/src/redhat/SPECS/fileutils*spec" is executed, you do NOT get an
error from rpm about missing/unsatisfied build dependencies.  If you
install the libtermcap-devel rpm, the fileutils SRPM builds without
problems.

How Reproducible: Always

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

Actual Results:
first 3 steps result in a failure WITHOUT a build-requires error from rpm
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 fileutils SRPM cannot be built without installing
the libtermcap-devel RPM.

Comment 1 Bernhard Rosenkraenzer 2001-06-26 16:21:06 UTC
fileutils compiles if either libtermcap-devel or ncurses-devel is installed.
Since they don't provide anything common, and there's no "BuildRequires: 
libtermcap-devel || ncurses-devel" tag, I'm not 100% sure that this is the 
right thing to do.

I'm adding it, though - after all, if fileutils is compiled without 
libtermcap-devel, it'll be linked against ncurses, which is not what we're 
doing in the official packages.