Bug 45006 - fileutils SRPM needs build-dependency on libtermcap-devel
Summary: fileutils SRPM needs build-dependency on libtermcap-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: fileutils
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-06-19 15:41 UTC by Jay Turner
Modified: 2015-01-07 23:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-06-21 13:14:20 UTC
Embargoed:


Attachments (Terms of Use)

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.




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