Red Hat Bugzilla – Bug 45006
fileutils SRPM needs build-dependency on libtermcap-devel
Last modified: 2015-01-07 18:46:30 EST
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
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
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.
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.