Red Hat Bugzilla – Bug 188969
groff-perl has broken dependency on /usr/local/bin/perl
Last modified: 2007-11-30 17:07:09 EST
Description of problem:
The groff-perl package built from the RPM groff-1.18.1-27.src.rpm depends on
/usr/local/bin/perl which doesn't appear to be provided by anything. Probably
should be /usr/bin/perl.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install source rpm groff-1.18.1-27.src.rpm from Red Hat Network
2. build rpms with "build -bb groff-1.18.spec". Builds four groff-* packages
3. Try to install groff-perl.
Fails because of dependency on /usr/local/sbin/perl:
# rpm -iv groff-perl-1.18.1-27.i386.rpm
error: Failed dependencies:
/usr/local/bin/perl is needed by groff-perl-1.18.1-27
.. not a bug. During rpm build, /usr/local/bin/perl was picked up as the perl
location. /usr/local/bin/perl was then required to install rpm. Made sure
/usr/local/bin was not in path when building rpm, and rpm works fine.